1 2007-04-16 Andrew Haley <aph@redhat.com>
3 * org/omg/IOP/TaggedComponentHelper.java (read): Use
4 read_octet_array(), not read().
5 (write): Use write_octet_array(), not write().
7 * org/omg/PortableServer/Servant.java (_get_delegate): Throw if no
10 * javax/management/ObjectName.java serialVersionUID: Declare.
11 Make all fields transient.
12 (parse): Break out from constructor.
13 (writeObject, readObject): New methods.
15 2007-04-02 Keith Seitz <keiths@redhat.com>
17 * gnu/classpath/jdwp/event/ThreadStartEvent.java (Event):
18 Event type is "THREAD_START" not "THREAD_END".
20 * gnu/classpath/jdwp/transport/SocketTransport.java (ITransport):
21 Handle configure strings ":port" and "port".
23 2007-03-30 Andrew Haley <aph@redhat.com>
25 * javax/management/ObjectName.java: Handle 0-length names.
27 2007-03-27 Andrew Haley <aph@redhat.com>
29 * javax/management/MBeanServerFactory.java: Use the domain that
30 we've been passed, not the fixed string "DefaultDomain".
32 2007-03-29 Tom Tromey <tromey@redhat.com>
35 * gnu/java/util/jar/JarUtils.java (log): Commented out.
36 (readSFManifest): Don't log.
38 2007-03-28 Casey Marshall <csm@gnu.org>
40 * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
41 check keyEncipherment bit of the certificate, and just pass the public
44 2007-03-27 Casey Marshall <csm@gnu.org>
47 * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl):
48 Always make a new socket.
49 (bind, connect, getInetAddress, getLocalAddress, getPort,
50 getLocalPort, getRemoteSocketAddress, getLocalSocketAddress,
51 setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger,
52 setOOBInline, getOOBInline, setSoTimeout, getSoTimeout,
53 setSendBufferSize, getSendBufferSize, setReceiveBufferSize,
54 getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass,
55 getTrafficClass, setReuseAddress, getReuseAddress, close,
56 shutdownInput, shutdownOutput, isConnected, isBound, isClosed,
57 isInputShutdown, isOutputShutdown): Always use
60 2007-03-27 Tom Tromey <tromey@redhat.com>
63 * external/sax/org/xml/sax/helpers/XMLReaderFactory.java
64 (createXMLReader): Code in Classpath default.
66 2007-03-27 Keith Seitz <keiths@redhat.com>
69 2007-03-09 Kyle Galloway <kgallowa@redhat.com>
70 * gnu/classpath/jdwp/exception/InvalidTagException.java: New file.
71 * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java
72 (executeGetValues): Use Value type.
73 (exectureSetValues): Ditto.
74 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
75 (executeGetValues): Use Value type.
76 (executeSetValues): Ditto.
77 (invokeMethod): Record method return type.
78 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
79 (executeGetValues): Use Value type.
80 (executeSetValues): Ditto.
81 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
82 (executeGetValues): Use Value type.
83 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
84 (executeGetValues): Use Value type.
85 (executeSetValues): Ditto.
86 * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store
88 (getResultType): New Method.
89 (setResultType): Ditto.
90 * gnu/classpath/jdwp/util/Value.java: Remove.
91 * gnu/classpath/jdwp/value: New Package.
92 * gnu/classpath/jdwp/value/Value.java: New file.
93 * gnu/classpath/jdwp/value/BooleanValue.java: New file.
94 * gnu/classpath/jdwp/value/ByteValue.java: New file.
95 * gnu/classpath/jdwp/value/CharValue.java: New file.
96 * gnu/classpath/jdwp/value/DoubleValue.java: New file.
97 * gnu/classpath/jdwp/value/FloatValue.java: New file.
98 * gnu/classpath/jdwp/value/IntValue.java: New file.
99 * gnu/classpath/jdwp/value/LongValue.java: New file.
100 * gnu/classpath/jdwp/value/ObjectValue.java: New file.
101 * gnu/classpath/jdwp/value/ShortValue.java: New file.
102 * gnu/classpath/jdwp/value/StringValue.java: New file.
103 * gnu/classpath/jdwp/value/ValueFactory.java: New file.
104 * gnu/classpath/jdwp/value/VoidValue.java: New file.
106 2007-02-28 Keith Seitz <keiths@redhat.com>
107 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
108 (executeSet): Check if VM has capability for field access
109 or modification events.
110 * gnu/classpath/jdwp/processor/MethodCommandSet.java
111 (executeByteCodes): Check if VM has capability and
113 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
114 (executeMonitorInfo): Likewise.
115 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
116 (executeSourceDebugExtension): Likewise.
117 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
118 (executePopFrames): Likewise.
119 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
120 (executeOwnedMonitors): Likewise.
121 (executeCurrentContendedMonitor): Likewise.
122 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
123 (executeCapabilities): Rewrite using new VMVirtualMachine
125 (executeRedefineClasses): Check if VM has capability and
127 (executeSetDefaultStratum): Likewise.
128 * gnu/classpath/jdwp/util/MonitorInfo.java; New file.
129 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
130 (canWatchFieldModification): New class constant.
131 (canWatchFieldAccess): Likewise.
132 (canGetBytecodes): Likewise.
133 (canGetSyntheticAttribute): Likewise.
134 (canGetOwnedMonitorInfo): Likewise.
135 (canGetCurrentContendedMonitor): Likewise.
136 (canGetMonitorInfo): Likewise.
137 (canRedefineClasses): Likewise.
138 (canAddMethod): Likewise.
139 (canUnrestrictedlyRedefineClasses): Likewise.
140 (canPopFrames): Likewise.
141 (canUseInstanceFilters): Likewise.
142 (canGetSourceDebugExtension): Likewise.
143 (canRequestVMDeathEvent): Likewise.
144 (canSetDefaultStratum): Likewise.
145 (redefineClasses): New method.
146 (setDefaultStratum): Likewise.
147 (getSourceDebugExtension): Likewise.
148 (getBytecodes): Likewise.
149 (getMonitorInfo): Likewise.
150 (getOwnedMonitors): Likewise.
151 (getCurrentContendedMonitor): Likewise.
152 (popFrames): Likewise.
154 2007-02-28 Keith Seitz <keiths@redhat.com>
155 * gnu/classpath/jdwp/processor/MethodCommandSet.java
156 (executeLineTable): Use ReferenceTypeId instead of
157 ClassReferenceTypeId.
158 (executeVariableTable): Likewise.
159 (executeVariableTableWithGeneric): Fix error message.
160 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
161 (executeSignatureWithGeneric): Fix error message.
162 (executeFieldWithGeneric): Likewise.
163 (executeMethodsWithGeneric): Likewise.
164 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
165 (executeGetValues): Use ThreadId instead of ObjectId.
166 (executeSetValues): Likewise.
167 (executeThisObject): Likewise.
169 2007-02-28 Kyle Galloway <kgallowa@redhat.com>
170 * gnu/classpath/jdwp/id/NullObjectId.java: New class.
171 * gnu/classpath/jdwp/util/NullObject.java: New class.
172 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
173 (getObjectId): Handle null object.
174 (get): Handle objectId of 0.
176 2007-02-22 Keith Seitz <keiths@redhat.ecom>
177 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
178 (getAllLoadedClassesCount): Remove.
179 (getAllLoadedClasses): Return a Collection.
180 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
181 (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses
182 now returns Collection.
183 (executeAllClasses): Likewise.
184 Get size of return from Colleciton instead of calling
185 getAllLoadedClassesCount.
187 2007-02-22 Kyle Galloway <kgallowa@redhat.com>
188 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
189 (executeGetValues): Pass a signature byte to VMFrame.getValue.
190 * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add
193 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
194 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
195 (executeGetValues): Changed getFrame to use a jlong to pass frameID.
196 (executeSetValues): Ditto.
197 (executeThisObject): Ditto.
198 * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field
199 and a constructor used to create VMFrames.
200 (getThread): New method.
201 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame):
202 Changed to take a long instead of a ByteBuffer to pass the frameID.
204 2007-01-15 Kyle Galloway <kgallowa@redhat.com>
205 * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
207 2007-03-26 Tom Tromey <tromey@redhat.com>
209 * doc/cp-tools.texinfo (gcjh Tool): Added more text.
210 (rmid Tool): Likewise.
212 2007-03-25 Dalibor Topic <robilad@kaffe.org>
214 * doc/cp-tools.texinfo: Fix node ordering.
216 2007-03-19 Matthias Klose <doko@ubuntu.com>
218 * doc/Makefile.am: Build a gcjh(1) man page.
219 * doc/cp-tools.texinfo: Add documentation for gcjh.
221 2007-03-26 Stepan Kasal <skasal@redhat.com>
223 * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
225 (getParser): Use new field.
227 2007-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
229 * resource/com/sun/tools/javac/messages.properties
230 (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
231 messages for when --with-ecj-jar is not specified.
232 * configure.ac (FOUND_ECJ_JAR): Remove conditional.
233 * tools/Makefile.am: Build com.sun.tools.javac package
235 * configure, doc/api/Makefile.in, doc/Makefile.in,
236 examples/Makefile.in, external/jsr166/Makefile.in,
237 external/Makefile.in, external/relaxngDatatype/Makefile.in,
238 external/sax/Makefile.in, external/w3c_dom/Makefile.in,
239 include/Makefile.in, lib/Makefile.in, Makefile.in,
240 native/fdlibm/Makefile.in, native/jawt/Makefile.in,
241 native/jni/classpath/Makefile.in,
242 native/jni/gconf-peer/Makefile.in,
243 native/jni/gtk-peer/Makefile.in, native/jni/java-io/Makefile.in,
244 native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in,
245 native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in,
246 native/jni/Makefile.in, native/jni/midi-alsa/Makefile.in,
247 native/jni/midi-dssi/Makefile.in,
248 native/jni/native-lib/Makefile.in, native/jni/qt-peer/Makefile.in,
249 native/jni/xmlj/Makefile.in, native/Makefile.in,
250 native/plugin/Makefile.in, resource/Makefile.in,
251 scripts/Makefile.in, tools/Makefile.in: Regenerate.
252 * tools/classes/com/sun/tools/javac: New directory.
253 * tools/classes/com/sun/tools/javac/Main.class,
254 tools/classes/com/sun/tools/javac/Messages.class: New files.
256 2007-03-16 Tom Tromey <tromey@redhat.com>
258 * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
261 2007-03-16 Tom Tromey <tromey@redhat.com>
263 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
264 (printClass): Added filename argument.
265 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
266 (printClass): Added filename argument.
267 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
268 (printClass): Use user's file name.
269 * tools/gnu/classpath/tools/javah/CniStubPrinter.java
270 (printClass): Use user's file name.
271 * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
273 * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
275 (writeHeaders): Use a HashMap.
276 (run): Put class name into HashMap for writeHeaders.
278 2007-03-02 Mario Torre <neugens@limasoftware.net>
281 committed for Petteri Räty <betelgeuse@gentoo.org>
282 * configure.ac: fix broken build for gcj browser plugin
284 2007-02-20 Jakub Jelinek <jakub@redhat.com>
286 * java/util/Date.java (parse): Properly parse 09:01:02 as
287 hours/minutes/seconds, not as hours/minutes/year.
288 * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
289 {start,end}TimeMode constructor by calling shorter constructor,
290 set {start,end}TimeMode fields after it returns.
291 (setStartRule): Don't adjust startTime into WALL_TIME. Set
292 startTimeMode to WALL_TIME.
293 (endStartRule): Similarly.
294 (getOffset): Handle properly millis + dstOffset overflowing into the
295 next day. Adjust startTime resp. endTime based on startTimeMode
297 * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
299 (timezones): Remove synchronized keyword. Set zoneinfo_dir.
300 If non-null, set up aliases0 and don't put anything into
302 (defaultZone): Call getTimeZone instead of timezones().get.
303 (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6. Use
304 getTimeZoneInternal instead of timezones().get.
305 (parseTime): Parse correctly hour:minute.
306 (getTimeZoneInternal): New private method.
307 (getTimeZone): Do the custom ID checking first, canonicalize
308 ID for custom IDs as required by documentation. Call
309 getTimeZoneInternal to handle the rest.
310 (getAvailableIDs(int)): Add locking. Handle zoneinfo_dir != null.
311 (getAvailableIDs(File,String,ArrayList)): New private method.
312 (getAvailableIDs()): Add locking. Handle zoneinfo_dir != null.
313 * gnu/java/util/ZoneInfo.java: New file.
315 2007-02-20 Matthias Klose <doko@ubuntu.com>
317 * doc/Makefile.am: Add rules to build and install man pages
319 * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
320 Rename, prefix files with "cp-".
321 * doc/cp-tools.texinfo: Add markup for man page generation,
322 add documentation for command line options for gjar, gjavah,
323 gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
324 doc/texi2pod.pl: New, taken from the GCC sources.
326 2006-10-14 Edwin Steiner <edwin.steiner@gmx.net>
329 * javax/management/MBeanInfo.java (MBeanInfo):
330 Use clone to duplicate the arrays in order to
331 preserve the array type.
333 2007-02-16 Andrew Haley <aph@redhat.com>
335 * gnu/java/lang/management/MemoryMXBeanImpl.java,
336 javax/management/MBeanServerDelegate.java: Use
337 gnu.javax.management.ListenerData rather than
338 gnu.classpath.ListenerData.
339 * gnu/javax/management/ListenerData.java: Move here from
340 gnu/classpath/ListenerData.java.
342 2007-02-14 Jakub Jelinek <jakub@redhat.com>
343 Andrew Haley <aph@redhat.com>
345 * java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
347 2007-02-09 Tom Tromey <tromey@redhat.com>
350 * configure: Rebuilt.
351 * configure.ac: Also check for jack/jack.h.
353 2007-02-09 Jakub Jelinek <jakub@redhat.com>
355 * java/util/TimeZone.java: Handle default (one hour) daylight
358 2007-02-09 Jakub Jelinek <jakub@redhat.com>
361 * scripts/timezones.pl: Parse each file in 2 passes, in one parse
362 just Rule lines, in the other everything else. Pass 0 instead of
363 $savings as second argument to parseRule when parsing the start
365 * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
367 2007-02-07 Chris Burdess <dog@gnu.org>
370 * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
371 * gnu/xml/transform/XSLURIResolver.java: Add support for custom
372 SAXSources without a backing URL or stream.
375 * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
376 LSParser if implementation does not support asynchronous.
377 * gnu/xml/stream/XMLParser.java,
378 gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
379 java.net.URL to resolve to an an absolute URI, to avoid nonexistent
380 protocol handler problems.
382 2007-02-06 Tom Tromey <tromey@redhat.com>
385 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
386 (printClass): Always print a header.
388 2007-02-05 Andrew Haley <aph@redhat.com>
391 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
392 (printClass): Replace '/' in filenames with '_'.
393 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
394 (printClass): Likewise.
396 2007-02-05 Tom Tromey <tromey@redhat.com>
398 * java/net/Proxy.java (equals): Handle case where address==null.
399 (hashCode): Likewise.
400 (toString): Likewise.
402 2007-01-31 Tom Tromey <tromey@redhat.com>
404 * resource/gnu/classpath/tools/jar/messages.properties
405 (Main.Stdin): New message.
406 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
408 (readNames): New method.
411 2007-01-26 Andrew Haley <aph@redhat.com>
413 * java/lang/SecurityManager.java: Load and initialize
414 java.security.Security.
416 2007-01-26 Tom Tromey <tromey@redhat.com>
418 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
419 'volatile' after field type.
421 2007-01-23 Marco Trudel <mtrudel@gmx.ch>
423 * java/util/Arrays.java (binarySearch): Change comparison order.
425 2007-01-17 Tom Tromey <tromey@redhat.com>
427 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
428 (PathOptionGroup): Set default boot class path.
430 2006-12-14 Andrew Haley <aph@redhat.com>
432 * tools/gnu/classpath/tools/jar/Creator.java: Close the
435 2006-10-12 Andrew Haley <aph@redhat.com>
437 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
438 * java/lang/ThreadLocal.java: Likewise.
440 2006-09-13 Andrew Haley <aph@redhat.com>
442 * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
443 Revert previous gcj-specific disabling of checks.
444 * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
446 * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
449 2006-09-13 Andrew Haley <aph@redhat.com>
451 * java/util/PriorityQueue.java: Throw IllegalArgumentException for
453 (Iterator.remove()): Decrement index after removing element.
455 2006-12-11 Jeroen Frijters <jeroen@frijters.net>
457 * javax/net/ssl/SSLSocketFactory.java (getDefault):
458 Chain exception cause.
460 2006-12-11 Roman Kennke <kennke@aicas.com>
462 * .classpath: Include ASM in Eclipse classpath.
464 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
466 * gnu/java/lang/management/BeanImpl.java:
467 (translate(String)): Trim strings of whitespace.
468 * javax/management/MBeanAttributeInfo.java:
469 (MBeanAttributeInfo(String,String,Method,Method)):
470 Use Class.getName() for normal (non-parameterized) cases.
471 * javax/management/MBeanConstructorInfo.java:
472 (MBeanConstructorInfo(String, Constructor)):
474 * javax/management/MBeanOperationInfo.java:
475 (MBeanOperationInfo(String, Method)):
478 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
480 * java/lang/Class.java:
481 (getClasses()): Return Class<?>[].
482 (internalGetClasses()): Likewise.
483 (getConstructor(Class<?>...)): Add type parameter
485 (getDeclaredConstructor(Class<?>...)): Likewise.
486 (getDeclaredClasses()): Return Class<?>[].
487 (getDeclaredClasses(boolean)): Likewise.
488 (getDeclaredConstructors()): Return Constructor<?>[].
489 (getDeclaredConstructors(boolean)): Likewise.
490 (getDeclaredMethod(String,Class<?>...)): Add type
491 parameter to parameters.
492 (getInterfaces()): Return Class<?>[].
493 (getMethods(String,Class<?>...)): Add type
494 parameter to parameters.
495 * java/text/CollationKey.java:
497 * java/text/DecimalFormatSymbols.java:
500 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
502 * gnu/java/lang/management/BeanImpl.java:
503 (translate(String)): Handle Map and List as
504 Strings of the form "java.util.Map<K,V>" and
506 * javax/management/MBeanAttributeInfo.java:
507 (MBeanAttributeInfo(String,String,Method,Method)):
508 Use generic parameter and return types.
509 * javax/management/MBeanConstructorInfo.java:
510 (MBeanConstructorInfo(String, Constructor)):
511 Use generic parameter types.
512 * javax/management/MBeanOperationInfo.java:
513 (MBeanOperationInfo(String, Method)):
514 Use generic parameter and return types.
516 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
518 * gnu/java/lang/management/BeanImpl.java:
519 (translate(String)): Comment out code for using type
520 variables for Map and List.
521 * java/lang/Thread.java:
522 (Thread(ThreadGroup,Runnable,String,long)): Fix
523 incrementation of totalThreadsCreated to be prior to use.
525 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
527 * javax/management/MBeanServerFactory.java:
528 (createMBeanServer(String)): Added security check.
529 (findMBeanServer(String)): Likewise.
530 (newMBeanServer(String)): Likewise.
531 (releaseMBeanServer(String)): Likewise.
532 * javax/management/MBeanServerPermission.java:
535 2006-12-08 David Daney <ddaney@avtrex.com>
537 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
540 2006-12-08 David Daney <ddaney@avtrex.com>
542 * NEWS: Mention URLConnection.[get|set]ReadTimeout.
544 2006-12-08 David Daney <ddaney@avtrex.com>
546 * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
548 (HTTPConnection): Handle NumberFormatException in properties parsing.
549 (Pool.get): Set timeout on reused sockets.
550 * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
552 (HTTPURLConnection): Cleanup properties handling.
553 (getConnection): Use both connection and read timeouts.
554 (setConnectTimeout): Removed.
555 (setReadTimeout): New method.
556 * java/net/URLConnection.java (timeout): Renamed to...
557 (connectTimeout): ... connectTimeout throughout.
558 (readTimeout): New field.
559 (getReadTimeout): New method.
560 (setReadTimeout): New method.
562 2006-12-08 Tania Bento <tbento@redhat.com>
564 * java/awt/ScrollPane.java
565 (doLayout): Change the location of the scrollpane's child
568 2006-12-08 David Daney <ddaney@avtrex.com>
570 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
572 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
573 SocketTimeoutException if a blocking socket timesout.
574 (Java_gnu_java_nio_VMChannel_readScattering): Same.
575 (Java_gnu_java_nio_VMChannel_read__I): Same.
576 (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
577 (Java_gnu_java_nio_VMChannel_connect6): Same.
579 2006-12-08 Mark Wielaard <mark@klomp.org>
581 * configure.ac (VERSION): Set to 0.93-generics.
582 * NEWS: Add release date.
584 2006-12-08 Tania Bento <tbento@redhat.com>
586 * java/awt/ScrollPane.java
587 (getScrollPosition): Throw NullPointerException if scrollpane
589 (setScrollPosition(int, int)): Throw NullPointerException if
590 scrollpane does have a child. Check that both ints are within
591 the allowed bounds; If they are not, scroll to the closest allowed
594 2006-12-07 Roman Kennke <kennke@aicas.com>
596 * javax/swing/JEditorPane.java
597 (EditorKitMapping): New inner helper class.
598 (editorKits): New static field for caching editor kit instances.
599 (static_initiazer): Initialize static mappings here.
600 (createEditorKitForContentType): Try to use cached instance.
601 Use correct classloader for loading.
602 (getEditorKitClassNameForContentType): Make use of EditorKitMapping
604 (getEditorKitForContentType): Store the fetched editor kit.
605 Fallback to createDefaultEditorKit().
606 (init): Don't clean the static registry here.
607 (registerEditorKitForContentType(String,String,ClassLoader)):
609 (registerEditorKitForContentType(String,String)): Delegate to
610 the other version of this method with the thread's context
613 2006-12-07 Mark Wielaard <mark@klomp.org>
615 * examples/gnu/classpath/examples/swing/HtmlDemo.java
616 (setPage): Don't convert URL to String for setPage().
618 2006-12-07 Mark Wielaard <mark@klomp.org>
620 * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
622 2006-12-07 Mark Wielaard <mark@klomp.org>
624 * tools/Makefile.am: Explicitly define and use bootclasspath as
627 2006-12-07 Mark Wielaard <mark@klomp.org>
629 * javax/swing/JEditorPane.java (createEditorKitForContentType):
630 Always load from system class loader.
632 2006-12-07 Mark Wielaard <mark@klomp.org>
634 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
636 (URL(URL,String,URLStreamHandler)): Call new constructor.
637 (URL(URL,String)): Likewise.
638 (URL(String)): Likewise.
640 2006-12-07 Tom Tromey <tromey@redhat.com>
643 * INSTALL: Don't mention --with-asm.
644 * tools/external/README: New file.
645 * tools/toolwrapper.c (main): Don't use ASM_JAR.
646 * tools/gjavah.in: Don't use PATH_TO_ASM.
647 * tools/grmic.in: Likewise.
648 * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
650 (javah, rmic): Removed variables.
651 (bin_PROGRAMS): Updated.
652 (gappletviewer_CFLAGS): Don't define ASM_JAR.
653 (gjarsigner_CFLAGS): Likewise.
654 (gkeytool_CFLAGS): Likewise.
655 (gjar_CFLAGS): Likewise.
656 (gnative2ascii_CFLAGS): Likewise.
657 (gserialver_CFLAGS): Likewise.
658 (grmiregistry_CFLAGS): Likewise.
659 (gtnameserv_CFLAGS): Likewise.
660 (gorbd_CFLAGS): Likewise.
661 (grmid_CFLAGS): Likewise.
662 (gjavah_CFLAGS): Likewise.
663 (grmic_CFLAGS): Likewise.
664 (bin_SCRIPTS): Updated.
665 (TOOLS_JAVA_FILES): Updated.
666 ($(TOOLS_ZIP)): Compile ASM sources. Copy resource files.
667 * configure.ac: Removed --with-asm. Always build gjavah.
669 2006-12-06 Roman Kennke <kennke@aicas.com>
671 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
673 * examples/gnu/classpath/examples/swing/HtmlDemo.java
674 (LoadActionListener): Call setPage() helper method.
675 (createContent): Register tweaked editor kit. For FormSubmitEvents
676 call submitForm(), otherwise setPage().
677 (postData): Helper method for posting form data.
678 (setPage): Helper method for navigating to a new URL.
679 (submitForm): Helper method for submitting a form.
680 * examples/gnu/classpath/examples/swing/forms.html:
681 Added text/password fields and select boxes.
682 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
684 2006-12-06 Roman Kennke <kennke@aicas.com>
686 * javax/swing/text/html/FormView.java
687 (SubmitThread.postData): Implemented.
688 (SubmitThread.run): Pass data to postData().
689 (actionPerformed): Reset form when reset button is activated.
690 (createComponent): Add support for select lists and comboboxes.
691 Don't set value of text and password fields here, this is done
692 now in HTMLDocument for consistency.
693 (getElementFormData): Add support for fetching form data from
694 select lists and comboboxes as well as textareas.
695 (getSelectData): New helper method. Fetches form data from
697 (getTextAreaData): New helper method. Fetches form data from
699 (resetForm): New helper method. Resets the entire form.
700 * javax/swing/text/html/HTMLDocument.java
701 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
702 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
703 (HTMLReader.FormAction.setModel): Initialize text and password
704 values here. Also, use the resetable special models.
705 Group radio buttons into ButtonGroup for exclusive selection.
706 (HTMLReader.FormTagAction): New class. Handles FORM tags.
707 (HTMLReader.buttonGroups): New field.
708 (HTMLReader.numOptions): New field.
709 (HTMLReader.option): New field.
710 (HTMLReader.selectModel): New field.
711 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
712 (HTMLReader.handleText): Handle OPTION text.
713 (HTMLReader.initTags): Map FORM tags to FormTagAction.
714 (HTMLReader.textAreaContent): Set initial content.
715 * javax/swing/text/html/Option.java
716 (Option): Make copy of attribute set. Initialize selected state.
717 (getValue): Fetch value from attribute set.
718 * javax/swing/text/html/ResetableModel.java: New interface.
719 * javax/swing/text/html/ResetablePlainDocument.java: New class.
720 Supports resetting the state.
721 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
722 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
723 * javax/swing/text/html/SelectListModel.java: Likewise.
725 2006-12-06 Roman Kennke <kennke@aicas.com>
727 * javax/swing/text/DefaultCaret.java
728 (appear): Adjust visibility here.
729 (setDotImpl): Don't adjust visibility here.
730 (moveDotImpl): Don't adjust visibility here.
732 2006-12-06 Roman Kennke <kennke@aicas.com>
734 * gnu/java/awt/peer/gtk/AsyncImage.java
735 (Loader.run): Synchronize on the AsyncImage to avoid threading
737 (addObservers): Check for obs==null outside and synchronize on
738 this inside to avoid locking issues.
739 (checkImage): New helper method.
740 (notifyObservers): Check that the correct lock is held and
741 remove actual locking.
742 * gnu/java/awt/peer/gtk/GtkToolkit.java
743 (checkImage): Added special handling for AsyncImages.
745 2006-12-06 Roman Kennke <kennke@aicas.com>
747 * examples/gnu/classpath/examples/swing/Demo.java
748 (getIcon): Made package private.
749 * examples/gnu/classpath/examples/swing/HtmlDemo.java
750 (hyperlinkUpdate): Convert URL to string.
752 2006-12-06 Mark Wielaard <mark@klomp.org>
754 * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
757 2006-12-06 Roman Kennke <kennke@aicas.com>
759 * examples/gnu/classpath/examples/icons/back.png,
760 * examples/gnu/classpath/examples/icons/reload.png:
761 New icons for the HTML browser.
762 * examples/gnu/classpath/examples/swing/HtmlDemo.java
763 (history): New field. Manages the browsing history.
764 (HtmlDemo): Initialize history.
765 (createContent): Set location and add history. Add toolbar.
766 (createToolBar): New helper method.
767 (main): Make default size bigger.
768 * examples/gnu/classpath/examples/swing/frame1.html,
769 * examples/gnu/classpath/examples/swing/frame2.html,
770 * examples/gnu/classpath/examples/swing/frame3.html,
771 * examples/gnu/classpath/examples/swing/frame4.html,
772 * examples/gnu/classpath/examples/swing/frames.html,
773 * examples/gnu/classpath/examples/swing/tables.html:
775 * examples/gnu/classpath/examples/swing/welcome.html
776 Add a couple of links and new test pages.
778 2006-12-06 Roman Kennke <kennke@aicas.com>
780 * javax/swing/JEditorPane.java
781 (getStream): Buffer the stream for efficiency.
782 (setPage): Don't scroll the view at this point.
783 * javax/swing/plaf/basic/BasicTextUI.java
784 (RootView.paint): Call RootView's setSize to get synchronization.
785 (RootView.setSize): Synchronize to prevent race in layout code.
786 * javax/swing/text/AbstractDocument.java
787 (notifyListeners): New field.
788 (fireChangedUpdate): Track notifyListener field.
789 (fireRemoveUpdate): Track notifyListener field.
790 (fireIndertUpdate): Track notifyListener field.
791 (writeLock): Check notifyListener and throw IllegalStateException.
792 * javax/swing/text/View.java
793 (preferenceChanged): Create local var for better thread safety and
796 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
798 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
799 lightweight component, not just for non-Panel components.
800 (addImpl): Do not call doLayout.
801 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
802 (setNativeBounds): Ensure widget parent is a GtkFixed before
803 calling gtk_fixed_move.
804 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
805 (setNativeBounds): Likewise.
806 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
807 (setNativeBounds): Likewise.
809 2006-12-06 Roman Kennke <kennke@aicas.com>
811 * javax/swing/text/html/TableView.java
812 (RowView.layoutMajorAxis): Check column index for invalid value.
813 (updateGrid): Check column index for invalid value.
815 2006-12-06 Roman Kennke <kennke@aicas.com>
817 * javax/swing/text/html/BlockView.java
818 (getAlignment): Align blocks horizontally by the superclass.
819 * javax/swing/text/html/HTMLEditorKit.java
820 (HTMLFactory.create): Replace equals comparison by == for efficiency.
821 Add mapping for misplaced tr, td and th tags. Include object mapping.
822 * javax/swing/text/html/TableView.java
823 (RowView.replace): Invalidate grid early.
824 (gridValid): Initialize with false.
825 (create): Only create RowView and CellView for correctly placed
826 tags. Avoid unnecessary casts.
827 (getAlignment): Removed.
828 (replace): Invalidate grid early.
830 2006-12-06 Francis Kung <fkung@redhat.com>
832 * java/awt/geom/RectangularShape.java
833 (getBounds): Remove empty rectangle check.
835 2006-12-06 Ben Konrath <bkonrath@redhat.com>
838 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
839 newValue are the same.
840 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
842 2006-12-06 Tania Bento <tbento@redhat.com>
844 * javax/swing/border/CompoundBorder.java:
845 (isBorderOpaque): If inside border is null, return true if outside
846 border is opaque, false otherwise; if outside border is null, return
847 true if inside border is opaque, false otherwise; if inside or
848 outside border are both not null, then return true only if both the
849 inside and outside border are opaque, false otherwise.
851 2006-12-06 Tania Bento <tbento@redhat.com>
853 * javax/swing/border/CompoundBorder.java:
854 (isBorderOpaque): If inside and outside border both have a null
857 2006-12-06 Chris Burdess <dog@gnu.org>
860 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
861 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
863 2006-12-06 Chris Burdess <dog@gnu.org>
866 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
869 2006-12-06 Chris Burdess <dog@gnu.org>
872 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
873 discover schema factory implementation class.
875 2006-12-05 Francis Kung <fkung@redhat.com>
877 * java/awt/BasicStroke.java
878 (capEnd): Prevent division by zero.
879 * java/awt/geom/Arc2D.java
880 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
881 (ArcIterator.currentSegment): Handle a negative extent.
883 2006-12-05 Francis Kung <fkung@redhat.com>
885 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
886 (constructor): Handle translated subimages properly, ie, if the image's
887 0,0 position is not the data buffer's first element.
889 2006-12-05 Roman Kennke <kennke@aicas.com>
891 * gnu/java/awt/peer/gtk/AsyncImage.java
892 (Loader.run): Nullify observers after loading.
893 (observers): Made package private.
894 (addObserver): Check for null observers field. Create local
895 variable for thread safety.
896 (getHeight): Use addObserver() for checking state of field
897 and notifying observer when necessary.
898 (getWidth): Use addObserver() for checking state of field
899 and notifying observer when necessary.
900 (getProperty): Use addObserver() for checking state of field
901 and notifying observer when necessary.
902 (notifyObservers): Check for null observers field. Create local
903 variable for thread safety.
905 2006-12-05 Roman Kennke <kennke@aicas.com>
907 * javax/swing/text/html/HTMLEditorKit.java
908 (HTMLFactory.create): Removed debug output.
909 * javax/swing/text/html/InlineView.java
910 (getBreakWeight): Likewise.
911 * javax/swing/text/html/StyleSheet.java
913 (ListPainter.paint): Removed debug output.
915 2006-12-05 Roman Kennke <kennke@aicas.com>
917 * javax/swing/text/html/BlockView.java
918 (painter): Made package visible.
919 * javax/swing/text/html/StyleSheet.java
920 (translateBorder): New helper method.
921 (translateHTMLToCSS): Add mappings for border attributes.
922 * javax/swing/text/html/TableView.java
923 Made class subclass of BlockView to get CSS goodness.
924 (CellView.rowSpan): New field.
925 (CellView.setPropertiesFromAttributes): Fetch rowspan.
926 (RowView.overlap): New field.
927 (RowView.rowIndex): New field.
928 (RowView.layoutMajorAxis): Skip overlapping cells.
929 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
930 (numColumns): New field.
931 (tmpRect): New field.
932 (TableView): Initialize tmpRect.
933 (calculateColumnRequirements): Adjusted and fixed for multirows.
934 (getAlignment): Overridden to center tables.
935 (paint): Overridden to fix clipping.
936 (getStyleSheet): Made protected.
937 (layoutMajorAxis): Invalidate rows.
938 (setPropertiesFromAttributes): Made protected and call super.
939 (updateGrid): Update the overlapping information for multirows.
941 2006-12-05 Roman Kennke <kennke@aicas.com>
943 * gnu/java/awt/peer/gtk/AsyncImage.java
944 (addObserver): Check for null and ignore null observers.
945 (getWidth): Check for null and ignore null observers.
946 (getHeight): Check for null and ignore null observers.
947 (getProperty): Check for null and ignore null observers.
949 2006-12-05 Francis Kung <fkung@redhat.com>
951 * java/awt/BasicStroke.java
952 (capEnd): Prevent division by zero.
953 * java/awt/geom/Arc2D.java
954 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
955 (ArcIterator.currentSegment): Handle a negative extent.
957 2006-12-05 Francis Kung <fkung@redhat.com>
959 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
960 (constructor): Handle translated subimages properly, ie, if the image's
961 0,0 position is not the data buffer's first element.
963 2006-12-05 Roman Kennke <kennke@aicas.com>
965 * javax/swing/text/html/ImageView.java
966 (imageUpdate): Use spans field to determine if the CSS width/height
967 are set. Call safePreferenceChanged to protect view structure
968 from threading issues.
969 (spans): Made package private.
970 (ImageView): Initialize loadOnDemand with false.
971 (loadImage): Call Toolkit.prepareImage() to make sure we have
972 our Observer registered.
973 (safePreferenceChanged): New helper method. Calls preferenceChanged
974 in a thread safe environment.
976 2006-12-05 Roman Kennke <kennke@aicas.com>
978 * NEWS: Add entry about improved HTML support.
980 2006-12-05 Roman Kennke <kennke@aicas.com>
982 * javax/swing/text/html/ImageView.java
983 (ImageView): Initialize spans array here.
984 (setPropertiesFromAttributes): Moved init of spans array to
987 2006-12-05 Roman Kennke <kennke@aicas.com>
989 * javax/swing/text/html/BlockView.java
990 (painter): Made package visible.
991 * javax/swing/text/html/StyleSheet.java
992 (translateBorder): New helper method.
993 (translateHTMLToCSS): Add mappings for border attributes.
994 * javax/swing/text/html/TableView.java
995 Made class subclass of BlockView to get CSS goodness.
996 (CellView.rowSpan): New field.
997 (CellView.setPropertiesFromAttributes): Fetch rowspan.
998 (RowView.overlap): New field.
999 (RowView.rowIndex): New field.
1000 (RowView.layoutMajorAxis): Skip overlapping cells.
1001 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
1002 (numColumns): New field.
1003 (tmpRect): New field.
1004 (TableView): Initialize tmpRect.
1005 (calculateColumnRequirements): Adjusted and fixed for multirows.
1006 (getAlignment): Overridden to center tables.
1007 (paint): Overridden to fix clipping.
1008 (getStyleSheet): Made protected.
1009 (layoutMajorAxis): Invalidate rows.
1010 (setPropertiesFromAttributes): Made protected and call super.
1011 (updateGrid): Update the overlapping information for multirows.
1013 2006-12-05 Roman Kennke <kennke@aicas.com>
1015 * javax/swing/text/html/HTMLEditorKit.java
1016 (HTMLFactory.create): Removed debug output.
1017 * javax/swing/text/html/InlineView.java
1018 (getBreakWeight): Likewise.
1019 * javax/swing/text/html/StyleSheet.java
1020 (addRule): Likewise.
1021 (ListPainter.paint): Removed debug output.
1023 2006-12-06 Roman Kennke <kennke@aicas.com>
1025 * javax/swing/text/html/BlockView.java
1026 (getAlignment): Align blocks horizontally by the superclass.
1027 * javax/swing/text/html/HTMLEditorKit.java
1028 (HTMLFactory.create): Replace equals comparison by == for efficiency.
1029 Add mapping for misplaced tr, td and th tags. Include object mapping.
1030 * javax/swing/text/html/TableView.java
1031 (RowView.replace): Invalidate grid early.
1032 (gridValid): Initialize with false.
1033 (create): Only create RowView and CellView for correctly placed
1034 tags. Avoid unnecessary casts.
1035 (getAlignment): Removed.
1036 (replace): Invalidate grid early.
1039 2006-12-06 Roman Kennke <kennke@aicas.com>
1041 * javax/swing/text/html/TableView.java
1042 (RowView.layoutMajorAxis): Check column index for invalid value.
1043 (updateGrid): Check column index for invalid value.
1045 2006-12-06 Roman Kennke <kennke@aicas.com>
1047 * javax/swing/JEditorPane.java
1048 (getStream): Buffer the stream for efficiency.
1049 (setPage): Don't scroll the view at this point.
1050 * javax/swing/plaf/basic/BasicTextUI.java
1051 (RootView.paint): Call RootView's setSize to get synchronization.
1052 (RootView.setSize): Synchronize to prevent race in layout code.
1053 * javax/swing/text/AbstractDocument.java
1054 (notifyListeners): New field.
1055 (fireChangedUpdate): Track notifyListener field.
1056 (fireRemoveUpdate): Track notifyListener field.
1057 (fireIndertUpdate): Track notifyListener field.
1058 (writeLock): Check notifyListener and throw IllegalStateException.
1059 * javax/swing/text/View.java
1060 (preferenceChanged): Create local var for better thread safety and
1063 2006-12-06 Roman Kennke <kennke@aicas.com>
1065 * examples/gnu/classpath/examples/icons/back.png,
1066 * examples/gnu/classpath/examples/icons/reload.png:
1067 New icons for the HTML browser.
1068 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1069 (history): New field. Manages the browsing history.
1070 (HtmlDemo): Initialize history.
1071 (createContent): Set location and add history. Add toolbar.
1072 (createToolBar): New helper method.
1073 (main): Make default size bigger.
1074 * examples/gnu/classpath/examples/swing/frame1.html,
1075 * examples/gnu/classpath/examples/swing/frame2.html,
1076 * examples/gnu/classpath/examples/swing/frame3.html,
1077 * examples/gnu/classpath/examples/swing/frame4.html,
1078 * examples/gnu/classpath/examples/swing/frames.html,
1079 * examples/gnu/classpath/examples/swing/tables.html:
1081 * examples/gnu/classpath/examples/swing/welcome.html
1082 Add a couple of links and new test pages.
1084 2006-12-06 Roman Kennke <kennke@aicas.com>
1086 * examples/gnu/classpath/examples/swing/Demo.java
1087 (getIcon): Made package private.
1088 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1089 (hyperlinkUpdate): Convert URL to string.
1091 2006-12-06 Roman Kennke <kennke@aicas.com>
1093 * javax/swing/text/DefaultCaret.java
1094 (appear): Adjust visibility here.
1095 (setDotImpl): Don't adjust visibility here.
1096 (moveDotImpl): Don't adjust visibility here.
1098 2006-12-06 Roman Kennke <kennke@aicas.com>
1100 * javax/swing/text/html/FormView.java
1101 (SubmitThread.postData): Implemented.
1102 (SubmitThread.run): Pass data to postData().
1103 (actionPerformed): Reset form when reset button is activated.
1104 (createComponent): Add support for select lists and comboboxes.
1105 Don't set value of text and password fields here, this is done
1106 now in HTMLDocument for consistency.
1107 (getElementFormData): Add support for fetching form data from
1108 select lists and comboboxes as well as textareas.
1109 (getSelectData): New helper method. Fetches form data from
1111 (getTextAreaData): New helper method. Fetches form data from
1113 (resetForm): New helper method. Resets the entire form.
1114 * javax/swing/text/html/HTMLDocument.java
1115 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
1116 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
1117 (HTMLReader.FormAction.setModel): Initialize text and password
1118 values here. Also, use the resetable special models.
1119 Group radio buttons into ButtonGroup for exclusive selection.
1120 (HTMLReader.FormTagAction): New class. Handles FORM tags.
1121 (HTMLReader.buttonGroups): New field.
1122 (HTMLReader.numOptions): New field.
1123 (HTMLReader.option): New field.
1124 (HTMLReader.selectModel): New field.
1125 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
1126 (HTMLReader.handleText): Handle OPTION text.
1127 (HTMLReader.initTags): Map FORM tags to FormTagAction.
1128 (HTMLReader.textAreaContent): Set initial content.
1129 * javax/swing/text/html/Option.java
1130 (Option): Make copy of attribute set. Initialize selected state.
1131 (getValue): Fetch value from attribute set.
1132 * javax/swing/text/html/ResetableModel.java: New interface.
1133 * javax/swing/text/html/ResetablePlainDocument.java: New class.
1134 Supports resetting the state.
1135 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
1136 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
1137 * javax/swing/text/html/SelectListModel.java: Likewise.
1139 2006-12-06 Roman Kennke <kennke@aicas.com>
1141 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
1143 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1144 (LoadActionListener): Call setPage() helper method.
1145 (createContent): Register tweaked editor kit. For FormSubmitEvents
1146 call submitForm(), otherwise setPage().
1147 (postData): Helper method for posting form data.
1148 (setPage): Helper method for navigating to a new URL.
1149 (submitForm): Helper method for submitting a form.
1150 * examples/gnu/classpath/examples/swing/forms.html:
1151 Added text/password fields and select boxes.
1152 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
1154 2006-12-07 Mark Wielaard <mark@klomp.org>
1156 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
1157 private constructor.
1158 (URL(URL,String,URLStreamHandler)): Call new constructor.
1159 (URL(URL,String)): Likewise.
1160 (URL(String)): Likewise.
1162 2006-12-07 Mark Wielaard <mark@klomp.org>
1164 * javax/swing/JEditorPane.java (createEditorKitForContentType):
1165 Always load from system class loader.
1167 2006-12-06 Ben Konrath <bkonrath@redhat.com>
1170 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
1171 newValue are the same.
1172 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
1174 2006-12-06 Chris Burdess <dog@gnu.org>
1177 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1178 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1180 2006-12-06 Chris Burdess <dog@gnu.org>
1183 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1186 2006-12-056 Chris Burdess <dog@gnu.org>
1189 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1190 discover schema factory implementation class.
1192 2006-12-05 Roman Kennke <kennke@aicas.com>
1194 * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
1195 asynchronous loading of images.
1196 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1197 (drawImage): Fetch real image from possibly AsyncImage.
1198 * gnu/java/awt/peer/gtk/ComponentGraphics.java
1199 (drawImage): Fetch real image from possibly AsyncImage.
1200 * gnu/java/awt/peer/gtk/GtkToolkit.java
1201 (createImage(URL)): Create async image.
1202 (imageOrError): Made method static for easy access from AsyncImage.
1203 (prepareImage): For async images, register the observer to the
1206 2006-12-05 Roman Kennke <kennke@aicas.com>
1208 (paintComponent): Include paint area from event.
1209 (updateComponent): Include paint area from event.
1211 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
1213 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
1214 lightweight component, not just for non-Panel components.
1215 (addImpl): Do not call doLayout.
1216 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1217 (setNativeBounds): Ensure widget parent is a GtkFixed before
1218 calling gtk_fixed_move.
1219 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1220 (setNativeBounds): Likewise.
1221 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1222 (setNativeBounds): Likewise.
1224 2006-12-04 Thomas Fitzsimmons <fitzsim@redhat.com>
1226 * java/awt/Component.java (getFontImpl): Return a default font if
1227 topmost parent's font is null.
1229 2006-12-04 Mark Wielaard <mark@klomp.org>
1231 * javax/swing/text/html/CSS.java (parseMarginShorthand):
1232 Remove debug output.
1234 2006-12-04 Roman Kennke <kennke@aicas.com>
1236 * java/awt/font/TextLayout.java
1237 (hitTestChar): Fixed conditions for inclusion of range.
1238 Use layout information in the run for more efficiency.
1240 2006-12-04 Roman Kennke <kennke@aicas.com>
1242 * javax/swing/text/GlyphView.java
1243 (J2DGlyphPainter): New inner class.
1244 (checkPainter): For Java2D capable environments create
1247 2006-12-04 Roman Kennke <kennke@aicas.com>
1249 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1250 (FreeTypeGlyphVector): Don't filter control chars here.
1251 (getGlyphs): Filter control chars and replace them by
1254 2006-12-04 Roman Kennke <kennke@aicas.com>
1256 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1257 (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
1259 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1261 * gnu/java/lang/management/BeanImpl.java:
1262 (translate(String)): Don't assume the list uses "E",
1263 just use the first and only type variable.
1264 * java/lang/management/ManagementFactory.java:
1265 (getPlatformMBeanServer()): Register logging bean.
1266 * javax/management/openmbean/OpenType.java:
1267 (OpenType(String,String,String)): Actually use
1268 the string created to handle arrays.
1270 2006-12-04 Mark Wielaard <mark@klomp.org>
1272 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1273 (JCL_thread_interrupted): Use CallStaticBooleanMethod.
1275 2006-12-04 Mark Wielaard <mark@klomp.org>
1277 * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
1279 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1280 (JCL_thread_interrupted): Only take JNIEnv.
1281 (vm_channel_class): New static variable.
1282 (initID): Set vm_channel_class.
1283 Wrap all reads() and writes() in do-while blocks that check
1286 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1288 * gnu/javax/management/Server.java:
1289 Make map final and initialise it.
1290 (unregisterMBean(ObjectName)): Match against
1291 delegate's object name and not the instance.
1292 * java/lang/management/ManagementFactory.java:
1293 Added constant fields.
1294 (getPlatformMBeanServer()): Implemented.
1295 * javax/management/MBeanServerFactory.java: New file.
1297 2006-12-04 Roman Kennke <kennke@aicas.com>
1299 * javax/swing/text/BoxView.java
1300 (paint): Replaced painting algorithm with more simple and more
1301 reliable painting of the box.
1302 * javax/swing/text/html/BlockView.java
1303 (PositionInfo): New inner class. Stores additional CSS
1304 positioning information.
1305 (positionInfo): New field.
1306 (BlockView): Initialize positionInfo field.
1307 (fetchLayoutInfo): New helper method. Fetches additional
1308 CSS positioning information.
1309 (layoutMajorAxis): Perform additional CSS layout.
1310 (layoutMinorAxis): Perform additional CSS layout.
1311 (positionView): New helper method.
1312 (replace): Overridden to fetch additional layout information.
1313 * javax/swing/text/html/CSS.java
1314 (Attribute.POSITION): New field.
1315 (Attribute.LEFT): New field.
1316 (Attribute.RIGHT): New field.
1317 (Attribute.TOP): New field.
1318 (Attribute.BOTTOM): New field.
1319 (getValue): Create Length for left, right, top and bottom
1322 2006-12-04 Roman Kennke <kennke@aicas.com>
1324 * gnu/javax/swing/text/html/parser/support/Parser.java
1325 (Sgml): Consume any whitespace that immediately follows
1327 (parseDocument): Consume any initial whitespace.
1329 2006-12-03 Mark Wielaard <mark@klomp.org>
1331 * gnu/javax/management/Server.java (beans): Initialize.
1332 (registerMBean): Don't initialize beans.
1334 2006-12-03 Mark Wielaard <mark@klomp.org>
1336 * java/util/logging/LogManager.java (getLevelProperty): Check
1337 whether value is null before passing to Level.parse().
1339 2006-12-04 Robert Lougher <rob.lougher@gmail.com>
1341 * java/lang/management/ThreadInfo.java (ThreadInfo): Check
1342 whether given a null lock and lockOwner.
1344 2006-12-03 Mark Wielaard <mark@klomp.org>
1346 * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
1347 (PageLoader.page): Made package local.
1348 (PageLoader.run): Don't reset loader.
1349 (PageLoader.cancel): New method.
1350 (loading): Renamed to loader.
1351 (getPage): Return loader.page.
1352 (setPage): Always set loader. Never reset to null.
1354 2006-12-03 Mark Wielaard <mark@klomp.org>
1356 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
1358 (isLastChild): Return false when path is null.
1360 2006-12-03 Mark Wielaard <mark@klomp.org>
1362 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
1363 to currentPaintArea.
1364 (paintComponent): Work with local reference to currentPaintArea.
1365 (updateComponent): Likewise.
1366 (coalescePaintEvent): Set currentPaintArea.
1368 2006-12-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
1370 * javax/management/MBeanServerBuilder.java: New file.
1372 2006-12-01 Mark Wielaard <mark@klomp.org>
1374 * java/text/DecimalFormat.java (parse): Always increment parsing
1375 index and adjust pos result.
1377 2006-12-01 Roman Kennke <kennke@aicas.com>
1379 * javax/swing/text/html/HTML.java
1380 (Attribute.DYNAMIC_CLASS): New field.
1381 (Attribute.PSEUDO_CLASS): New field.
1382 * javax/swing/text/html/HTMLDocument.java
1383 (HTMLReader.CharacterAction.start): Initialize anchor with link
1385 (updateSpecialClass): New helper method. Updates the dynamic
1386 or pseudo class for anchor tags.
1387 * javax/swing/text/html/HTMLEditorKit.java
1388 (LinkController.lastAnchorElement): New field. For tracking
1389 enter/exit of anchors.
1390 (LinkController.activateLink): Set pseudo class to 'visited'.
1391 (LinkController.mouseMoved): Added support for tracking
1392 the 'hover' dynamic class.
1393 * javax/swing/text/html/InlineView.java
1394 (changedUpdate): Fetch new properties.
1395 * javax/swing/text/html/StyleSheet.java
1396 (attributeSetToMap): New helper method.
1397 (getRule): Also append dynamic and pseudo class to key.
1398 (resolveStyle): Resolve style based generally on all attributes.
1399 * javax/swing/text/html/TableView.java
1400 (RowView.layoutMajorAxis): Make sure the grid is valid.
1401 (updateGrid): Made package private.
1402 * gnu/javax/swing/text/html/css/Selector.java
1403 (calculateSpecificity): Added support for dynamic and pseudo classes.
1404 (matches): Changed to operate on general attributes.
1405 Added support for dynamic and pseudo classes.
1407 2006-12-01 Mario Torre <neugens@limasoftware.net>
1409 * java/text/DecimalFormat.java (formatInternal): move the formatting of
1410 fractional portion in a separate method.
1411 Also fixes the handling of decimal separator and its associated field.
1412 (handleFractionalPart): new method, needed to relax a bit
1415 2006-12-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
1417 * java/beans/beancontext/BeanContextServicesSupport.java:
1418 (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
1419 Class)): Implemented.
1420 (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1421 Class, Object)): Implemented.
1422 (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1423 Object, Object)): Implemented.
1424 (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1426 (initialiseBeanContextResources()): Implemented.
1427 (releaseBeanContextResoures()): Implemented.
1429 2006-12-01 Mark Wielaard <mark@klomp.org>
1431 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1433 2006-12-01 Roman Kennke <kennke@aicas.com>
1435 * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1436 handling border styles.
1437 * gnu/javax/swing/text/html/css/BorderWidth.java
1438 (isValid): New method.
1439 * gnu/javax/swing/text/html/css/Length.java
1440 (isValid): New method.
1441 * javax/swing/text/html/CSS.java
1442 (addInternal): Added shorthand parsing for border, padding and
1444 (parseBackgroundShorthand): Added API docs.
1445 (parsePaddingShorthand): New method. Handles padding shorthand
1447 (parseMarginShorthand): New method. Handles margin shorthand
1449 (parseBorderShorthand): New method. Handles border shorthand
1451 * javax/swing/text/html/StyleSheet.java
1452 (translateHTMLToCSS): Set specific padding attributes.
1453 (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1454 These shorthands are now handled in CSS.
1455 (BoxPainter.paint): Exclude the outer margin.
1457 2006-12-01 Roman Kennke <kennke@aicas.com>
1459 * gnu/javax/swing/text/html/css/Length.java
1460 (emBase): New field.
1461 (exBase): New field.
1462 (isFontEMRelative): New field.
1463 (isFontEXRelative): New field.
1464 (Length): Recognize and setup EM and EX relative values.
1465 (getValue): Handle EM and EX relative values.
1466 (isEMRelative): New method.
1467 (isEXRelative): New method.
1468 (setEMBase): New method.
1469 (setEXBase): New method.
1470 (setFontBases): New method.
1471 * gnu/javax/swing/text/html/parser/support/Parser.java
1472 (_handleEmptyTag): Use new isBlock() helper method.
1473 (_handleEndTag_remaining): Use new isBlock() helper method.
1474 (_handleStartTag): Consume whitespace after block start tag.
1475 (Comment): Consume whitespace after a comment.
1476 (isBlock): New helper method.
1477 (readAttributes): Consider all characters in unquoted attribute
1479 * javax/swing/text/html/BlockView.java
1480 (layoutMinorAxis): Use cached span value.
1481 (paint): Added debug code (commented out).
1482 (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1483 * javax/swing/text/html/CSSBorder.java
1484 (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1486 (getBorderWidth): Set the EM and EX base on the length values.
1487 * javax/swing/text/html/HTMLDocument.java
1488 (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1489 (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1490 (HTMLReader.inImpliedParagraph): Removed.
1491 (HTMLReader.inParagraph): Removed.
1492 (HTMLReader.parseStack): New field.
1493 (HTMLReader.addContent): Use new paragraph handling.
1494 (HTMLReader.addSpecialElement): Use new paragraph handling.
1495 (HTMLReader.blockClose): Use new paragraph handling.
1496 (HTMLReader.blockOpen): Use new paragraph handling.
1497 (HTMLReader.inImpliedParagraph): New helper method.
1498 (HTMLReader.inParagraph): New helper method.
1499 * javax/swing/text/html/ImageView.java
1500 (attributes): New field. Caches view attributes.
1501 (spans): New field. Caches CSS spans.
1502 (getAttributes): Correctly setup CSS view attributes.
1503 (getPreferredSpan): Use caches spans.
1504 (getStyleSheet): Use the view's getDocument() method.
1505 (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1506 (updateSize): Use cached spans.
1507 * javax/swing/text/html/ParagraphView.java
1508 (setPropertiesFromAttributes): Setup EM and EX.
1509 * javax/swing/text/html/StyleSheet.java
1510 (BoxPainter.BoxPainter): Setup EM and EX correctly.
1511 (getEMBase): New helper method.
1512 (getEXBase): New helper method.
1513 * javax/swing/text/html/TableView.java
1514 (width): New field. Caches the table width.
1515 (calculateMinorAxisRequirements): Use caches span.
1516 (setPropertiesFromAttributes): Cache span and setup EM/EX.
1517 (updateGrid): Correctly setup EM/EX.
1519 2006-11-30 Roman Kennke <kennke@aicas.com>
1521 * javax/swing/text/html/FormSubmitEvent.java: New class.
1522 * javax/swing/text/html/FormView.java
1523 (SubmitThread): New class for submitting data in a separate thread.
1524 (actionPerformed): Fetch the actual for data.
1525 (addData): New helper method.
1526 (getElementFormData): New helper method.
1527 (getFormData): New helper method.
1528 (getInputFormData): New helper method.
1529 (submitData): Implemented.
1530 * javax/swing/text/html/FrameView.java
1531 (createComponent): Add this as hyperlink listener.
1532 Set the target document as frame document.
1533 (getTopEditorPane): New helper method.
1534 (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1535 (handleHyperlinkEvent): New helper method.
1536 (handleFormSubmitEvent): New helper method.
1537 * javax/swing/text/html/HTMLDocument.java
1538 (HTMLReader.BaseAction.start): Track the base target.
1539 (HTMLReader.BaseAction.end): Removed.
1540 (baseTarget): New field.
1541 (frameDocument): New field.
1542 (getBaseTarget): New property accessor.
1543 (isFrameDocument): New property accessor.
1544 (processHTMLFrameHyperlinkEvent): Implemented.
1545 (setFrameDocument): New property accessor.
1546 (updateFrame): New helper method.
1547 (updateFrameSet): New helper method.
1548 * javax/swing/text/html/HTMLEditorKit.java
1549 (LinkController.createHyperlinkEvent): Handle frame documents.
1550 (autoFormSubmission): New field.
1551 (HTMLEditorKit): Set autoFormSubmission to true.
1552 (isAutoFormSubmission): New property accessor.
1553 (setAutoFormSubmission): New property accessor.
1555 2006-11-30 Roman Kennke <kennke@aicas.com>
1557 * javax/swing/text/ElementIterator.java
1558 (ElementRef): New inner class.
1559 (currentDepth): Removed.
1560 (currentElement): Removed.
1561 (previousItem): Removed.
1562 (stack): New field. Holds the iteration stack.
1564 (ElementIterator(Document)): Removed init of removed fields.
1565 (ElementIterator(Element)): Removed init of removed fields.
1566 (current): Changed to stack based algorithm.
1567 (deepestLeaf): New helper method.
1568 (depth): Changed to stack based algorithm.
1569 (first): Changed to stack based algorithm.
1570 (next): Changed to stack based algorithm.
1571 (previous): Changed to stack based algorithm.
1573 2006-11-30 Francis Kung <fkung@redhat.com>
1575 * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1576 * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1578 2006-11-30 Francis Kung <fkung@redhat.com>
1580 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1581 (draw): Set transform in buffered composite.
1582 (drawComposite): Do not transform bounds; round bounds.
1583 (drawGlyphVector): Set transform in buffered composite.
1584 (drawRenderedImage): Set transform in buffered composite.
1585 (fill): Set transform in buffered composite.
1586 (updateBufferedImage): Fix scanline & height calculations.
1587 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1588 (createPath): Simplify width & height calculation.
1589 (drawImage): Also transform width & height.
1591 2006-11-30 Roman Kennke <kennke@aicas.com>
1593 * javax/swing/text/html/FrameSetView.java: New class. Implements
1595 * javax/swing/text/html/FrameView.java: New class. Implements
1597 * javax/swing/text/html/HTMLDocument.java:
1598 (HTMLReader.addSpecialElement): Only add one artificial space.
1599 * javax/swing/text/html/HTMLEditorKit.java
1600 (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1601 * gnu/javax/swing/text/html/parser/support/Parser.java
1602 (_handleEmptyTag): Also consume whitespace after frame tags.
1604 2006-11-30 Gary Benson <gbenson@redhat.com>
1606 * java/lang/Thread.java: Javadoc fixes.
1608 2006-11-29 Tom Tromey <tromey@redhat.com>
1611 * java/lang/Class.java (getAnnotations): Rewrote.
1613 2006-11-29 Tania Bento <tbento@redhat.com>
1615 * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1616 (parseParams): Unescape 'val' before putting it into the Map.
1617 (unescapeString): New private method.
1619 2006-11-29 Tom Tromey <tromey@redhat.com>
1621 * tools/gnu/classpath/tools/getopt/package.html: New file.
1623 2006-11-29 David Gilbert <david.gilbert@object-refinery.com>
1625 * javax/swing/plaf/metal/MetalIconFactory.java
1626 (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1627 (VerticalSliderThumbIcon.paintIcon()): Likewise.
1629 2006-11-29 Mario Torre <neugens@limasoftware.net>
1631 * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1632 with the default international currency sign \u00A4.
1633 * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1634 table for string formatting.
1635 (formatInternal): likewise.
1636 (scanNegativePattern): likewise.
1637 (applyPattern): likewise.
1638 * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1639 Locale is immutable and does not need clone.
1641 2006-11-29 Francis Kung <fkung@redhat.com>
1643 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1644 (drawLine): Remove hard-coded pixel shifting.
1646 2006-11-29 Roman Kennke <kennke@aicas.com>
1648 * java/awt/Component.java
1649 (isShowing): Simplified condition code and avoid unnecessary
1651 (coalesceEvents): Always coalesce paint events and let the peer
1652 figure out the expanding of the repaint area.
1653 * gnu/java/awt/peer/swing/SwingComponentPeer.java
1654 (currentPaintEvents): Removed. Replaced by paintArea.
1655 (paintArea): New field. Tracks the dirty area.
1656 (SwingComponentPeer): Removed init of currentPaintEvents.
1657 (coalescePaintEvent): Simplified to only union the dirty regions.
1658 (handleEvent): Paint dirty region that was tracked in paintArea.
1659 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1660 (paintArea): New field. Tracks the dirty region.
1661 (coalescePaintEvent): Implemented to track the dirty region.
1662 (paintComponent): Use the dirty region in paintArea. Protect
1663 state by putting the paint and dispose code in a try-finally.
1664 (updateComponent): Use the dirty region in paintArea. Protect
1665 state by putting the paint and dispose code in a try-finally.
1667 2006-11-29 Roman Kennke <kennke@aicas.com>
1669 * java/awt/font/TextLayout.java
1670 (getVisualHighlightShape): Removed debug output.
1672 2006-11-28 Andrew Haley <aph@redhat.com>
1674 * vm/reference/sun/reflect/misc/ReflectUtil.java
1675 (checkPackageAccess): Implement.
1677 2006-11-28 Dalibor Topic <robilad@kaffe.org>
1679 * native/jni/java-lang/java_lang_VMDouble.c:
1680 (parseDoubleFromChars) New function. Factored out from ...
1681 (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1682 (dtoa_toString): New function. Factored out from ...
1683 (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1684 Changed conversion mode to 2, as modes 0 and 1 don't round
1685 as the API spec demands. Invoke conversion function as often
1686 as necessary with growing precision until a reversible
1687 representation of the double in form of a string is reached.
1689 2006-11-28 Roman Kennke <kennke@aicas.com>
1691 * javax/swing/JComponent.java
1692 (putClientProperty): Do not fire event when both old and new
1695 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1697 * java/lang/Enum.java:
1698 Make name and ordinal final.
1700 2006-11-27 Casey Marshall <csm@gnu.org>
1702 * java/util/jar/JarEntry.java (certs): removed.
1703 (jarfile): new field.
1704 (getCertificates): read the certificates from the containing JarFile.
1705 * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1706 fill in 'certs,' fill in 'jarfile' for the entry.
1707 (getEntry): likewise.
1709 2006-11-27 Francis Kung <fkung@redhat.com>
1711 * java/awt/image/WritableRaster.java
1712 (createChild): Implemented.
1714 2006-11-27 Roman Kennke <kennke@aicas.com>
1716 * java/awt/font/TextLayout.java
1717 (TextLayout(TextLayout,int,int)): Also layout the new runs.
1718 (getVisualHighlightShape): Implemented.
1719 (layoutRuns): Fixed boundary so that the last run is also laid out.
1720 (left): New helper method.
1721 (right): New helper method.
1723 2006-11-27 Roman Kennke <kennke@aicas.com>
1725 * java/awt/font/TextLayout.java
1726 (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1727 (getCaretShape(TextHitInfo)): Use natural bounds.
1728 (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1729 (getCaretShapes(int,Rectangle2D)): Delegate to new method
1730 above with DEFAULT_CARET_POLICY.
1731 (getCaretShapes(int)): Use natural bounds.
1733 2006-11-27 Roman Kennke <kennke@aicas.com>
1735 * java/awt/font/TextLayout.java
1736 (Run.font): New field.
1737 (Run.location): New field.
1738 (Run.Run): Initialize font.
1739 (font): Removed field. This is moved into Run as the actual font
1740 is something run-specific.
1741 (TextLayout(String,Font,FontRenderContext)): Set font on the
1742 single runs. Layout the runs here.
1743 (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1744 (findRunAtIndex): New helper method.
1745 (getCaretInfo): Implemented.
1746 (layoutRuns): New helper method.
1747 (toString): Don't put font in output string.
1749 2006-11-27 Raif S. Naffah <classpath@naffah-raif.name>
1751 * AUTHORS: Added Jeroen Fritjers.
1753 2006-11-27 neugens <neugens@nirvana.limasoftware.net>
1755 * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1756 for FieldPosition to be null.
1757 Check if the factional part is just 0 and can be omitted from the
1759 (scanNegativePattern): Fixed index out of bound exception when searching
1760 for international currency symbol in negative pattern.
1762 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1764 * java/beans/beancontext/BeanContextSupport.java:
1765 (readObject(ObjectInputStream)): Implemented.
1766 (writeObject(ObjectOutputStream)): Likewise.
1767 (BCSChild.getTargetChild()): Added.
1768 (bcsPreDeserializationHook()): Implemented.
1769 (bcsPreSerializationHook()): Likewise.
1770 (childDeserializedHook(Object,BCSChild)): Likewise.
1771 (isSerializing()): Likewise.
1772 (readChildren(ObjectInputStream)): Likewise.
1773 (writeChildren(ObjectOutputStream)): Likewise.
1775 2006-11-26 Roger Sayle <roger <at> eyesopen.com>
1776 Ian Lance Taylor <ian <at> airs.com>
1777 Paolo Bonzini <bonzini <at> gnu.org>
1781 * lib/gen-classlist.sh.in: Avoid using test's -ef operator for
1782 increased portability. Likewise, use -f instead of -e.
1784 2006-11-26 Mark Wielaard <mark@klomp.org>
1786 * lib/Makefile.am (propertydirs): Removed.
1787 (resources): Explicitly create all dirs.
1789 2006-11-26 Mark Wielaard <mark@klomp.org>
1791 * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
1793 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1795 * native/target/.cvsignore,
1796 native/target/generic/.cvsignore,
1797 native/target/Linux/.cvsignore:
1798 Removed no longer used files.
1800 * native/target: Removed no longer used directory.
1802 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1806 * libraries/clib/nio/gnu_java_nio_VMSelector.c
1807 (Java_gnu_java_nio_VMSelector_select):
1808 Use strerror if strerror_r is not available.
1810 Reported by: Michael Franz <mvfranz@gmail.com>,
1811 Riccardo Mottola <zuse@libero.it>
1813 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1817 * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed
1818 STRICT_WARNING_CFLAGS since it caused the build to fail
1821 2006-11-26 Ian Rogers <ian.rogers@manchester.ac.uk>
1823 * doc/vmintegration.texinfo: Update VM Threading Model section.
1825 2006-11-26 Tom Tromey <tromey@redhat.com>
1827 * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
1829 (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
1831 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
1832 Conditionally include ifaddrs.h.
1833 (getif_address): Updated conditional.
1834 (getif_index): Likewise.
1835 * configure.ac: Check for ifaddrs.h.
1837 2006-11-25 Mark Wielaard <mark@klomp.org>
1839 * java/io/File.java (list): Return empty list for unreadable dirs.
1841 2006-11-25 Mark Wielaard <mark@klomp.org>
1843 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
1844 Synchronize on font peer.
1845 (setFont): Likewise.
1846 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
1848 (getTextMetrics): Likewise.
1850 2006-11-25 Roman Kennke <kennke@aicas.com>
1852 * javax/swing/text/GapContent.java
1853 (getPositionsInRange): Rewritten to use the more efficient
1854 binary search searchFirst() and avoid an NPE that was caused
1857 2006-11-25 Mark Wielaard <mark@klomp.org>
1859 * javax/swing/text/CompositeView.java (modelToView): Never return
1862 2006-11-25 Mark Wielaard <mark@klomp.org>
1864 * javax/swing/text/html/TableView.java (calculateColumnRequirements):
1865 Check whether rowView instanceof RowView.
1866 (updateGrid): Likewise.
1868 2006-11-25 Mario Torre <neugens@nirvana.limasoftware.net>
1871 * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
1872 * java/text/NumberFormat.java (format): all format methods, fixed
1873 FieldPosition argument should never be null.
1874 (format(Object, StringBuffer, FieldPosition)): fixed signature,
1875 method is not final.
1876 * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
1878 * AUTHORS: added my name to the file.
1880 2006-11-25 Mark Wielaard <mark@klomp.org>
1882 * javax/swing/text/html/StyleSheet.java (paint): Guard against
1883 getChildAllocation() returning null.
1885 2006-11-25 Mark Wielaard <mark@klomp.org>
1887 * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
1888 Use clazzIndex for id substring.
1890 2006-11-25 Mark Wielaard <mark@klomp.org>
1892 * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
1893 it is still running.
1895 2006-11-25 Mark Wielaard <mark@klomp.org>
1898 * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
1901 2006-11-24 Tania Bento <tbento@redhat.com>
1903 * java/awt/font/TextHitInfo.java
1904 (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
1905 (beforeOffset): Decreased first parameter by 1.
1907 2006-11-24 Francis Kung <fkung@redhat.com>
1909 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1910 (constructor): Check sample model when setting fastCM flag.
1911 (updateBufferedImage): Check scanline and sample model offsets before
1912 copying data directly into the image data buffer.
1914 2006-11-24 Francis Kung <fkung@redhat.com>
1916 * gnu/java/awt/java2d/QuadSegment.java
1917 (offsetSubdivided): Handle special straight-line cases.
1919 2006-11-24 Roman Kennke <kennke@aicas.com>
1921 * java/awt/dnd/DropTarget.java
1922 (DropTargetAutoScroller.HYSTERESIS): New constant.
1923 (DropTargetAutoScroller.DELAY): New constant.
1924 (DropTargetAutoScroller.inner): New field. A cached
1926 (DropTargetAutoScroller.outer): New field. A cached
1928 (DropTargetAutoScroller.timer): New field. The actual timer.
1929 (DropTargetAutoScroller.DropTargetAutoScroller):
1931 (DropTargetAutoScroller.actionPerformed): Implemented.
1932 (DropTargetAutoScroller.stop): Implemented.
1933 (DropTargetAutoScroller.updateLocation): Implemented.
1934 (clearAutoscroll): Stop the autoscroller before nullifying it.
1935 (createDropTargetAutoScroller): Don't set the field here,
1936 only return a new instance.
1937 (dragEnter): Only do something when active. Initialize
1939 (dragExit): Only do something when active. Stop auto scrolling.
1940 (dragOver): Only do something when active. Update auto scrolling.
1941 (drop): Only do something when active. Update auto scrolling.
1942 (dropActionChanged): Only do something when active. Update
1944 (initializeAutoScrolling): Check if component is an instance
1945 of Autoscroll, otherwise do nothing.
1946 (setActive): Disable autoscrolling when deactivating.
1947 (setComponent): When component is set to null, disable autoscrolling.
1949 2006-11-24 David Gilbert <david.gilbert@object-refinery.com>
1951 * java/beans/beancontext/BeanContextServicesSupport.java
1952 (getChildBeanContextServicesListener): Implemented.
1954 2006-11-23 Roman Kennke <kennke@aicas.com>
1956 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1957 (createGraphics): Use constructor to create new instance of
1958 BufferedImageGraphics.
1959 * java/awt/Toolkit.java
1960 (getDefaultToolkit): Really try to get a real toolkit. Only
1961 use HeadlessToolkit if no other is available.
1962 * gnu/java/awt/peer/gtk/GtkToolkit.java
1963 (checkHeadless): New helper method. Checks for headless environment
1964 and throws HeadlessException if appropriate.
1965 (createButton): Check for headless.
1966 (createCanvas): Check for headless.
1967 (createCheckbox): Check for headless.
1968 (createCheckboxMenuItem): Check for headless.
1969 (createChoice): Check for headless.
1970 (createDialog): Check for headless.
1971 (createDragGestureRecognizer): Check for headless.
1972 (createDragSourceContextPeer): Check for headless.
1973 (createEmbeddedWindow): Check for headless.
1974 (createFileDialog): Check for headless.
1975 (createFrame): Check for headless.
1976 (createCheckbox): Check for headless.
1977 (createLabel): Check for headless.
1978 (createList): Check for headless.
1979 (createMenu): Check for headless.
1980 (createMenuBar): Check for headless.
1981 (createMenuItem): Check for headless.
1982 (createPanel): Check for headless.
1983 (createPopupMenu): Check for headless.
1984 (createScrollbar): Check for headless.
1985 (createScrollPane): Check for headless.
1986 (createTextArea): Check for headless.
1987 (createTextField): Check for headless.
1988 (createWindow): Check for headless.
1990 2006-11-23 David Gilbert <david.gilbert@object-refinery.com>
1992 * java/beans/beancontext/BeanContextSupport.java
1993 (deserialize): Implemented,
1994 (serialize): Implemented.
1996 2006-11-23 Roman Kennke <kennke@aicas.com>
1998 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1999 (createGraphics): Try to use Cairo graphics if available.
2001 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
2003 * java/beans/beancontext/BeanContextSupport.java
2004 (toArray): Added API docs,
2005 (toArray(Object[])): Added API docs, removed NotImplementedException.
2007 2006-11-22 Tania Bento <tbento@redhat.com>
2009 * javax/swing/JRootPane.java
2010 (setLayeredPane): Added documentation; throw
2011 IllegalComponentStateException if layered pane parameter is null.
2013 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
2015 * java/beans/beancontext/BeanContextSupport.java
2016 (avoidingGui): Removed NotImplementedException.
2018 2006-11-22 Francis Kung <fkung@redhat.com>
2020 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2021 (drawGlyphVector): Clip updated area to glyph bounds.
2022 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2023 (createPath): Eliminate distortion when pixel-shifting rectangles; separate
2024 x-coordinate and y-coordinate pixel shifting.
2025 (shifted): Removed method.
2026 (shiftX): New method, recognising scaling transforms.
2027 (shiftY): New method, recognising scaling transforms.
2028 (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
2030 2006-11-22 Roman Kennke <kennke@aicas.com>
2032 * java/awt/font/TextLayout.java
2033 (hash): New field. Caches the hash code.
2034 (hashCode): Implemented.
2036 2006-11-22 Roman Kennke <kennke@aicas.com>
2038 * java/awt/image/ImageFilter.java
2039 Reformat whole class.
2040 (getFilterInstance): Don't touch the consumer field. Don't check
2042 (imageComplete): Don't check consumer.
2043 (setColorModel): Don't check consumer.
2044 (setDimensions): Don't check consumer.
2045 (setHints): Don't check consumer.
2046 (setPixels): Don't check consumer.
2047 (setProperties): Pass the original property too.
2048 * java/awt/image/IndexColorModel.java
2049 (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
2050 transparent pixel by calling the new helper method.
2051 (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
2052 transparent pixel by calling the new helper method.
2053 (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
2054 transparent pixel by calling the new helper method.
2055 (coerceData): Removed. This is not needed.
2056 (getAlpha): Simply return value from color map. The transparent
2057 pixel has to be there.
2058 (setTransparentPixel): New helper method. Inserts the transparent
2060 * java/awt/image/RGBImageFilter.java
2061 Reformat whole class.
2062 (convertColorModelToDefault): Removed. No longer needed.
2063 (filterIndexColorModel): Don't handle transparent pixels
2065 (filterRGBPixels): Set pixels on consumer already.
2066 (makeColor): Removed. No longer needed.
2067 * java/awt/image/ReplicateScaleFilter.java
2068 (replicatePixels): Removed.
2069 (setDimension): Correctly compute destination size, avoid double
2071 (setPixels): Avoid double calculations. Fixed some boundary cases.
2072 (setupSources): New helper method.
2073 * java/awt/image/SampleModel.java
2074 (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
2076 * java/awt/image/SinglePixelPackedSampleModel.java
2077 (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
2078 This is not needed as the superclass already copies line
2080 (setDataElements(int,int,Object,DataBuffer)): Simplified code,
2081 removed some checks that the RI also doesn't perform. Call
2082 DataBuffer.setElem().
2084 2006-11-22 Roman Kennke <kennke@aicas.com>
2086 * java/awt/text/TextLayout.java
2087 (getLogicalRangesForVisualSelection): Implemented.
2089 2006-11-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
2091 * sun/reflect/annotation/AnnotationParser.java,
2092 * sun/reflect/annotation/AnnotationType.java,
2093 * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
2094 * sun/reflect/annotation/ExceptionProxy.java:
2096 * sun/misc/ServiceConfigurationError.java,
2097 * sun/misc/Service.java:
2100 2006-11-21 Roman Kennke <kennke@aicas.com>
2102 * java/awt/text/TextLayout.java
2103 (Run.isLeftToRight): New helper method.
2104 (logicalToVisual): New field. Maps logical indices to visual
2106 (visualToLogical): New field. Maps visual indices to logical
2108 (TextLayout): Setup mappings.
2109 (setupMappings): New method for setting up the mappings.
2110 (getCharacterLevel): Reorganized code.
2111 (getNextLeftHit(int)): Implemented.
2112 (getNextLeftHit(int,CaretPolicy)): New method.
2113 (getNextLeftHit(TextHitInfo)): Implemented.
2114 (getNextRightHit(int)): Implemented.
2115 (getNextRightHit(int,CaretPolicy)): New method.
2116 (getNextRightHit(TextHitInfo)): New method.
2117 (getVisualOtherHit): Implemented.
2118 (checkHitInfo): New helper methods for checking parameters.
2119 (hitToCaret): New helper method. Maps hit infos to caret locations.
2120 (caretToHit): New helper method. Maps caret locations to hit infos.
2121 (isCharacterLTR): New helper method.
2122 (CaretPolicy.getStrongCaret): Implemented.
2124 2006-11-21 Francis Kung <fkung@redhat.com>
2126 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2127 (draw): Include stroke width when calculating bounds.
2128 (updateBufferedImage): Round bounds more generously, handle negative
2129 height/width values, and clip more intelligently.
2130 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2131 (createPath): Add shortcut optimization for lines.
2132 (draw): Include stroke width when calculating bounds.
2133 (drawLine): Delegate to main draw() method.
2134 (drawRect): Likewise.
2135 (fillRect): Delegate to main fill() method.
2136 (findStrokedBounds): New method.
2137 (setCustomPaint): Round bounds more generously.
2138 * gnu/java/awt/peer/gtk/ComponentGraphics.java
2139 (drawLine): Removed.
2140 (drawRect): Removed.
2141 (fillRect): Removed.
2143 2006-11-21 Francis Kung <fkung@redhat.com>
2145 * gnu/java/awt/java2d/TexturePaintContext.java
2146 (getRaster): Handle negative coordinate values.
2147 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2148 (setPaint): Moved custom paint processing to a new method.
2149 (setPaintPixels): Added x, y parameters.
2150 (getRealBounds): Added documentation.
2151 (copy): Copy clipping information.
2152 (drawLine): Process custom paints.
2153 (setCustomPaint): New method.
2154 (fill): Process custom paints.
2155 (drawGlyphVector): Process custom paints.
2156 (drawRect): Process custom paints.
2157 (draw): Process custom paints.
2158 * gnu/java/awt/peer/gtk/CairoSurface.java
2159 (cairoCM_opaque): New constant.
2160 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2161 (argb32): Removed constant.
2162 (rgb32): Removed constant.
2163 (BufferedImageGraphics(BufferedImage)): Updated constant names.
2164 (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
2165 (updateBufferedImage): Transform to device-space before updating.
2166 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
2167 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
2169 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
2170 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
2171 source at designated x, y origin.
2173 2006-11-21 Roman Kennke <kennke@aicas.com>
2175 * java/awt/text/TextLayout.java
2176 (Run): New inner helper class.
2177 (length): New field.
2178 (naturalBounds): New field.
2179 (offset): New field.
2180 (runIndices): Removed. This is now encapsulate in a Run object.
2181 (runs): Changed to Run[].
2182 (string): Changed to char[].
2183 (totalAdvance): New field. Caches advance value.
2184 (TextLayout(String,Font,FontRenderContext)): Change to store
2185 string as char[] and run layout as Run[]. Clean out empty
2187 (TextLayout(TextLayout,int,int)): Change to store
2188 string as char[] and run layout as Run[].
2189 (clone): Call private constructor for maximum efficiency.
2190 (determineWhitespace): Adapted to use char[] data.
2191 (draw): Adapted to use Run objects.
2192 (getAdvance): Cache computed total advance.
2193 (getBlackBoxBounds): Adapted to use Run objects.
2194 (getCaretInfo): Use natural layout bounds.
2195 (getCharacterCount): Return length field.
2196 (getLogicalHighlightShape): Adapted to use Run objects.
2197 (getNaturalBounds): New helper method. Calculates and returns the
2198 natural bounds of this text layout.
2199 (getOutline): Adapted to use Run objects.
2200 (getStringProperties): Adapted to use char[] data.
2201 (getVisibleAdvance): Adapted to use char[] and Run data.
2202 (handleJustify): Adapted to use char[] and Run data.
2203 (hitTestChar(float,float,Rectangle2D)): Implemented.
2204 (hitTestChar(float,float)): Use natural bounds.
2205 (setCharIndices): Adapted to use char[] and Run data.
2206 (toString): Adapted to use char[] and Run data.
2207 * java/text/Bidi.java
2208 (requiresBidi): Exclude paragraph separators from bidi-triggers.
2210 2006-11-21 Roman Kennke <kennke@aicas.com>
2212 * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
2213 Removed. This is now an inner class in GdkFontPeer.
2214 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2215 (drawString(float,float)): Use text layout cache from
2217 (getFontMetrics): Delegate to GdkFontPeer.
2218 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2219 (getGlyphCodes): Also check array size.
2220 (getGlyphPositions): Also check array size.
2221 * gnu/java/awt/peer/gtk/GdkFontPeer.java
2222 (GdkFontLineMetrics.fm): Removed.
2223 (GdkFontLineMetrics.strikeThroughOffset): Removed.
2224 (GdkFontLineMetrics.strikeThroughThickness): Removed.
2225 (GdkFontLineMetrics.underlineOffset): Removed.
2226 (GdkFontLineMetrics.underlineThickness): Removed.
2227 (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
2228 FontMetrics argument. Don't init removed fields.
2229 (GdkFontLineMetrics.getAscent): Return font peer's field.
2230 (GdkFontLineMetrics.getDescent): Return font peer's field.
2231 (GdkFontLineMetrics.getHeight): Return font peer's field.
2232 (GdkFontLineMetrics.getLeading): Return font peer's field.
2233 (GdkFontLineMetrics.getNumChars): Reformat.
2234 (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
2235 (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
2236 (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
2237 (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
2238 (GdkFontMetrics): Moved class in here as inner class.
2239 Make it use the font peer's fields and for the char(s) width
2240 and string width method, use TextLayout to measure the actual widths.
2241 (ascent): New field.
2243 (DEFAULT_CTX): New constant field.
2244 (descent): New field.
2245 (FONT_METRICS_ASCENT): New constant.
2246 (FONT_METRICS_DESCENT): New constant.
2247 (FONT_METRICS_HEIGHT): New constant.
2248 (FONT_METRICS_MAX_ADVANCE): New constant.
2249 (FONT_METRICS_MAX_ASCENT): New constant.
2250 (FONT_METRICS_MAX_DESCENT): New constant.
2251 (FONT_METRICS_UNDERLINE_OFFSET): New constant.
2252 (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
2253 (height): New field.
2254 (maxAdvance): New field.
2255 (maxAscent): New field.
2256 (maxDescent): New field.
2257 (metrics): New field. Stores a FontMetrics for this font.
2258 (textLayoutCache): New field. Caches TextLayout instances.
2259 (underlineOffset): New field.
2260 (underlineThickness): New field.
2261 (cinit): Don't initialize resource bundle.
2262 (GdkFontPeer): Setup the metrics.
2263 (getFontMetrics): Return stored metrics if possible.
2264 (getLineMetrics): Adapt to new constructor.
2265 (initFont): New helper method.
2266 (setupMetrics): New helper method.
2267 * gnu/java/awt/peer/gtk/GtkToolkit.java
2268 (LRUCache): Made class a static class.
2269 (getFontMetrics): Delegate to GdkFontPeer.
2270 * native/jni/gtk-peer/gdkfont.h
2271 Added new constant defines.
2272 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2273 (getFontMetrics): Rewritten to fetch the font metrics from
2276 2006-11-20 Tania Bento <tbento@redhat.com>
2278 * javax/swing/ButtonGroup.java:
2279 (setSelected): Select the ButtonModel if all conditions
2282 2006-11-20 Tania Bento <tbento@redhat.com>
2284 * javax/swing/JSlider.java:
2285 (updateLabelUIs): Removed casting.
2287 2006-11-20 Mark Wielaard <mark@klomp.org>
2289 * gnu/java/util/regex/RE.java (messages): Don't initialize.
2290 (bundle): New static final String field.
2291 (getLocalizedMessage): Initialize messages when still null.
2292 * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
2293 (set): Use RE.getLocalizedMessage().
2295 (setLineSeparator): Likewise.
2297 2006-11-20 Roman Kennke <kennke@aicas.com>
2299 * javax/swing/text/html/StyleSheet.java
2300 (linked): New field.
2301 (styleSheet): Replaced by linked.
2302 (addStyleSheet): Use an arraylist for simplicity.
2303 (getRule): Removed useless instantiation.
2304 (getStyleSheets): Convert array list to array.
2305 (removeStyleSheet): Use an arraylist for simplicity.
2306 (resolveStyle): Include styles from linked lists.
2308 2006-11-20 Roman Kennke <kennke@aicas.com>
2310 * javax/swing/text/BoxView.java
2311 (BoxView): Initialize with invalid req's.
2312 (forwardUpdate): Trigger repaint when children changed the
2314 (getResizeWeight): Return resizable when the pref differs from
2315 the min or the pref differs from the max size.
2316 (layoutMajorAxis): Actually sum up the preferred sizes.
2317 (paint): Made binary search more robust.
2318 (replace): Let arrays shrink when needed.
2319 (replaceLayoutArray): Let arrays shrink when needed.
2320 (setAxis): Trigger preferenceChanged.
2321 * javax/swing/text/CompositeView.java
2322 (getInsideAllocation): Call insets method to take account
2323 of overriding subclasses.
2324 * javax/swing/text/DefaultStyledDocument.java
2325 (ElementBuffer.finishEdit): Clear the stack and edits buffer.
2326 (ElementBuffer.insertUpdate): Only remove the found element, not
2328 * javax/swing/text/GlyphView.java
2329 (insertUpdate): Pass null in preferenceChanged.
2330 (removeUpdate): Pass null in preferenceChanged.
2331 (changedUpdate): Pass null in preferenceChanged.
2332 * javax/swing/text/Utilities.java
2333 (drawTabbedText): Avoid single calls to charWidth() and instead
2334 call charsWidth() on whole chunks.
2335 * javax/swing/text/html/HTMLDocument.java
2336 (BlockElement.getName): Fall back to super when necessary.
2337 (RunElement.getName): Fall back to super when necessary.
2338 (HTMLReader.MAX_THRESHOLD): New constant field.
2339 (HTMLReader.GROW_THRESHOLD): New constant field.
2340 (HTMLReader.theshold): New field.
2341 (HTMLReader.HTMLReader): Fetch threshold from document.
2342 (HTMLReader.addContent): Sucessivly grow the threshold.
2343 (createLeafElement): Don't create two elemens and don't set
2345 * javax/swing/text/html/TableView.java
2346 (RowView.replace): Invalidate grid.
2347 (gridValid): Made package private.
2348 (layoutMinorAxis): Mark all rows as invalid.
2349 (replace): Invalidate grid.
2351 2006-11-20 Roman Kennke <kennke@aicas.com>
2353 * javax/swing/text/AbstractDocument.java
2354 (DefaultDocumentEvent.changes): Changed to be a HashMap.
2355 (DefaultDocumentEvent.modified): Made private.
2356 (DefaultDocumentEvent.THRESHOLD): New constant field.
2357 (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
2359 (DefaultDocumentEvent.addEdit): Switch to hashmap only when
2360 exceeding threshold.
2361 (DefaultDocumentEvent.getChange): Use iterative approach
2362 when we have no hashmap yet.
2363 (documentCV): Removed.
2364 (numWriters): Renamed from numWritersWaiting.
2365 (createPosition): Reformat.
2366 (getCurrentWriter): Synchronized.
2367 (readLock): Implement more straightforward.
2368 (readUnlock): Implement more straightforward.
2369 (writeLock): Implement more straightforward.
2370 (writeUnlock): Implement more straightforward.
2371 (remove): Write-lock here.
2372 (removeImpl): Don't write-lock here.
2374 2006-11-20 Roman Kennke <kennke@aicas.com>
2376 * javax/swing/JEditorPane.java
2377 (setPage): Set priority on loading thread.
2379 2006-11-20 Roman Kennke <kennke@aicas.com>
2381 * javax/swing/plaf/basic/BasicTextUI.java
2382 (RootView.paint): Avoid allocation.
2383 (cachedInsets): New field. Caches an Insets instance.
2384 (getNextVisualPositionFrom): Read-lock the document to avoid
2385 thread nastiness. Push allocation.
2386 (getPreferredSize): Push fake allocation when not yet laid out.
2387 (getVisibleEditorRect): Use cached insets.
2388 (viewToModel): Read-lock the document to avoid
2389 thread nastiness. Push allocation.
2391 2006-11-20 Roman Kennke <kennke@aicas.com>
2393 * javax/swing/text/StyleContext.java
2394 (attributeSetPool): Synchronize this map.
2395 (addAttribute): Synchronize this method.
2396 (addAttributes: Synchronize this method.
2397 (readObject): Install synchronized map on target object.
2398 (removeAttribute): Synchronize this method.
2399 (removeAttributes): Synchronize this method.
2400 (removeAttributes): Synchronize this method.
2402 2006-11-20 Roman Kennke <kennke@aicas.com>
2404 * javax/swing/text/GapContent.java
2405 (GapContentPosition.GapContentPosition): Removed constructor.
2406 (Mark): Made subclass of WeakReference to refer directly to
2407 the associated position.
2408 (Mark.refCount): Removed.
2409 (Mark.Mark(int,GapContentPosition,ReferenceQueue):
2410 New constructor. Used to reference a position and register the
2412 (Mark.Mark(index)): Call super and don't adjust mark offset.
2413 (Mark.compareTo): Removed.
2414 (Mark.equals): Removed.
2415 (Mark.getOffset): Return at least null. Removed assert.
2416 (Mark.getPosition): New helper method.
2417 (garbageMarks): New field.
2418 (positions): Removed.
2419 (searchMark): New field.
2420 (GapContent): Removed init of positions map.
2421 (addImpl): New helper method.
2422 (adjustPositionsInRange): Removed.
2423 (compare): New helper method.
2424 (createPosition): Rewritten for new datastructures. This now
2425 performs a much more efficient binary search for finding
2426 a position at the requested offste.
2427 (garbageCollect): Rewritten to collect unused marks.
2428 (getPositionsInRange): Adjusted for new data structures.
2429 (removeImpl): New helper method.
2430 (replace): Use new addImpl() and removeImpl() helper method for
2431 correctly adjusting the positions and gap.
2432 (search): Rewritten. Implements a more suitable binary search.
2433 (searchFirst): New helper method.
2434 (setPositionsInRange): Removed.
2435 (shiftEnd): Update the marks here.
2436 (shiftGap): Update the marks here.
2437 (shiftGapEndUp): Update the marks here.
2438 (shiftGapStartDown): Update the marks here.
2440 2006-11-20 Marco Trudel <mtrudel@gmx.ch>
2442 * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2443 digest algorithm implementations.
2444 (readSignatures): Parse the manifest once and reuse that data.
2445 Add support for line breaks.
2446 (verifyHashes): Use the parsed manifest entry.
2447 (readManifestEntry): Removed.
2449 2006-11-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
2451 * java/beans/beancontext/BeanContextServicesSupport.java:
2452 Added more documentation.
2453 (addService(Class,BeanContextServiceProvider,boolean)):
2454 Synchronized over global hierarchy lock.
2455 (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2456 (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2457 (childJustRemovedHook(Object,BCSChild)): Implemented.
2458 (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2460 (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2461 Added revocation-only listeners.
2462 (getBeanContextServicesPeer()): Implemented.
2463 (getCurrentServiceClasses(Class)): Synchronized over global
2465 (getCurrentServiceSelectors(Class)): Synchronized over global
2466 hierarchy lock, and fixed FIXME.
2467 (getService(BeanContextChild,Object,Class,Object,
2468 BeanContextServiceRevokedListener)): Implemented.
2469 (hasService(Class)): Synchronized over global hierarchy lock.
2470 (releaseService(BeanContextChild,Object,Object)): Implemented.
2471 (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2472 * java/beans/beancontext/BeanContextSupport.java:
2473 (remove(Object, boolean)): Documentation correction.
2475 2006-11-19 Roman Kennke <kennke@aicas.com>
2477 * javax/swing/JEditorPane.java
2478 (PageStream): New inner class.
2479 (PageLoader): New inner class.
2480 (loading): New field.
2481 (setPage): Implemented asynchronous loading.
2482 * javax/swing/text/DefaultStyledDocument.java
2483 (ElementBuffer.create): New helper method.
2484 (create): Use new ElementBuffer method instead of hack.
2485 * javax/swing/text/html/HTMLDocument.java
2486 (HTMLReader.flushImpl): New helper method.
2487 (HTMLReader.addContent): Use flushImpl().
2488 (HTMLReader.blockClose): Added null check.
2489 (HTMLReader.flush): Use flushImpl().
2490 * javax/swing/text/html/HTMLEditorKit.java
2491 (createDefaultDocument): Set load priority to 4 and token threshold
2493 * javax/swing/text/html/TableView.java
2494 (insertUpdate): Overridden to provide correct view factory.
2495 (removeUpdate): Overridden to provide correct view factory.
2496 (changedUpdate): Overridden to provide correct view factory.
2498 2006-11-19 Roman Kennke <kennke@aicas.com>
2500 * javax/swing/text/BoxView.java
2501 (clipRect): New field.
2502 (tmpRect): New field.
2503 (layout): Reorganized code. Now uses layoutAxis() helper method.
2504 (layoutAxis): New helper method.
2505 (paint): Optimized by using cached Rectangle objects and
2506 a binary search for child views inside the clip.
2507 * javax/swing/text/CompositeView.java
2508 (insideAllocation): Made private and initialized in constructor.
2509 (getInsideAllocation): Removed initialization block for
2510 insideAllocation field. Avoid unnecessary allocations.
2511 * javax/swing/text/GlyphView.java
2512 (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2513 The remaining stuff (background, underline and striking) is
2514 done in the GlpyhView itself. Avoid unnecessary allocations.
2515 (cached): A cached Segment instance.
2516 (getText): Return cached segment.
2517 (paint): Paint underline, strike and background here. Avoid
2520 2006-11-19 Roman Kennke <kennke@aicas.com>
2522 * javax/swing/text/html/StyleSheet.java
2523 (getFontSize): Removed debug output.
2524 (ListPainter.tmpRect): New field.
2525 (ListPainter.paint): Align bullet vertically centered to
2526 the first line of the paragraph.
2528 2006-11-17 Roman Kennke <kennke@aicas.com>
2530 * gnu/javax/swing/text/html/css/CSSParser.java
2531 (parseDeclaration): Trim string before reporting.
2532 * gnu/javax/swing/text/html/css/FontSize.java
2534 (isRelative): New field.
2535 (sizeIndex): New field.
2536 (FontSize): Initialize new fields.
2537 (getValue): Changed to call getValue(int).
2538 (getValue(int)): New method. Implements relative font sizes.
2539 (isRelative): New method.
2540 (mapAbsolute): Store index.
2541 (mapEM): New helper method.
2542 (mapLarger): New helper method.
2543 (mapPercent): New helper method.
2544 (mapRelative): New helper method.
2545 (mapSmaller): New helper method.
2546 (mapValue): New helper method.
2547 * javax/swing/text/html/CSS.java
2548 (parseBackgroundShorthand): Create CSSColor directly.
2549 * javax/swing/text/html/StyleSheet.java
2550 (addRule): Invalidate resolved styles.
2551 (getFont): Call new getFontSize() method to resolve relative
2553 (getFontSize): New helper method. Resolves relative font sizes.
2554 (translateHTMLToCSS): Create CSS objects directly.
2556 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2558 * gnu/java/util/regex/RETokenNamedProperty.java:
2559 (getHandler(String)): Add support for 'all'.
2561 2006-11-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
2563 * gnu/javax/management/Server.java:
2564 Initial implementation of a GNU management server.
2565 * javax/management/MBeanPermission.java,
2566 * javax/management/MBeanRegistration.java,
2567 * javax/management/MBeanTrustPermission.java:
2570 2006-11-17 Mark Wielaard <mark@klomp.org>
2572 * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2574 2006-11-17 Gary Benson <gbenson@redhat.com>
2576 * java/net/DatagramSocket.java (getLocalAddress, connect,
2577 receive): Perform security check on address not hostname.
2579 2006-11-16 Roman Kennke <kennke@aicas.com>
2581 * gnu/javax/swing/text/html/parser/support/Parser.java
2582 (_handleText): Fixed condition for consuming whitespace.
2583 Removed validator check, this is superfluous now.
2585 2006-11-16 Roman Kennke <kennke@aicas.com>
2587 * gnu/javax/swing/text/html/css/CSSParser.java
2588 (parseRuleset): Support 'combined' selectors.
2589 (main): Adapt callback for combined selectors support.
2590 * gnu/javax/swing/text/html/css/CSSParserCallback.java
2591 (startStatement): Take selector array as argument, to
2592 support combined selectors.
2593 * javax/swing/text/html/BlockView.java
2594 (calculateMinorAxisRequirements): Fetch and apply alignment.
2595 * javax/swing/text/html/StyleSheet.java
2596 (CSSStyle): Inverted the constants for correct precedence.
2597 (CSSStyleSheetParserCallback.styles): New field. Stores the current
2599 (CSSStyleSheetParserCallback.style): Removed.
2600 (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2601 (CSSStyleSheetParserCallback.end): Push multiple styles.
2602 (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2604 2006-11-16 Roman Kennke <kennke@aicas.com>
2606 * javax/swing/text/FlowView.java
2607 (LogicalView.getPreferredSpan): Calculate maximum correctly.
2608 * javax/swing/text/GlyphView.java
2609 (tabExpander): New field.
2611 (breakView): Set tabX on broken view.
2612 (getPartialSpan): Let the painter fetch the span.
2613 (getTabbedSpan): Update the tab expander field. Maybe trigger
2615 (getTabExpander): Simply return the stored expander.
2616 * javax/swing/text/Utilities.java
2617 (getTabbedTextOffset): Made algoritm a little smarter and more
2619 (getTabbedTextWidth): Don't add single char widths, instead add
2620 chunks of characters.
2621 * javax/swing/text/html/ParagraphView.java
2622 (calculateMinorAxisRequirements): Adjust margin only when the
2623 CSS span is not fixed.
2625 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2627 * java/beans/beancontext/BeanContextSupport.java
2628 (getChildBeanContextMembershipListener): Implemented,
2629 (getChildPropertyChangeListener): Implemented,
2630 (getChildSerializable): Implemented,
2631 (getChildVetoableChangeListener): Implemented,
2632 (getChildVisibility): Implemented,
2633 (setDesignTime): Use same property name as Sun's implementation.
2635 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2637 * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2638 * java/beans/Statement.java
2639 (toString): Updated to match reference implementation.
2641 2006-11-15 Roman Kennke <kennke@aicas.com>
2643 * javax/swing/text/html/HTMLEditorKit.java
2644 (InsertHTMLTextAction.actionPerformed): Also try inserting
2645 the alternate tag. Adjust the selection accordingly.
2646 (InsertHTMLTextAction.adjustSelection): New helper method.
2647 Adjusts the selection after an insertion.
2648 (insertAtBoundary): Delegate to deprecated method.
2649 (insertAtBoundry): Implemented missing method.
2650 (tryInsert): New helper method.
2651 (defaultActions): Implemented to fill the array with
2652 a couple of InsertHTMLTextActions.
2654 2006-11-15 Roman Kennke <kennke@aicas.com>
2656 * javax/swing/text/html/ImageView.java
2657 (Observer): New class. Observes image loading.
2658 (haveHeight): New field.
2659 (haveWidth): New field.
2660 (height): New field.
2663 (imageIcon): New field.
2664 (loading): New field.
2665 (observer): New field.
2666 (reloadImage): New field.
2667 (reloadProperties): New field.
2668 (ImageView): Initialize observer and some flags.
2669 (getImage): Update the image state and return the image.
2670 (loadImage): New helper method. Actually starts loading.
2671 (paint): Rewritten to paint the image directly, not via Icon.
2672 (reloadImage): Rewritten. Loads the image and its properties.
2673 (renderIcon): Removed. No more necessary.
2674 (setPropertiesFromAttributes): Don't nullify image here.
2675 Added comment about missing impl.
2676 (setSize): Added comment about missing impl.
2677 (updateSize): New helper method. Updates the size attributes.
2678 (updateState): New helper method. Makes sure the image
2679 and its properties are valid.
2681 2006-11-15 Roman Kennke <kennke@aicas.com>
2683 * gnu/javax/swing/text/html/parser/support/Parser.java
2684 (_handleEndTag_remaining): Consume whitespace after a closing
2687 2006-11-15 Roman Kennke <kennke@aicas.com>
2689 * javax/swing/text/html/HTMLDocument.java
2690 (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2692 (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2694 (HTMLReader.parseStack): Removed.
2695 (HTMLReader.blockClose): Simply call addContent() with ' '
2696 instead of doing more complicated stuff. Removed parseStack
2698 (HTMLReader.blockOpen): Removed parseStack handling.
2699 (getInsertingReader): Removed parseStack init.
2700 * gnu/javax/swing/text/html/parser/htmlValidator.java
2701 (closeTag): Return true only when the tag actually should be
2703 * gnu/javax/swing/text/html/parser/support/Parser.java
2704 (_handleEndTag): Only actually close the tag when the validator
2707 2006-11-15 Roman Kennke <kennke@aicas.com>
2709 * javax/swing/text/html/CSS.java
2710 (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2712 * javax/swing/text/html/StyleSheet.java
2713 (BoxPainter.bottomPadding): New field.
2714 (BoxPainter.leftPadding): New field.
2715 (BoxPainter.rightPadding): New field.
2716 (BoxPainter.topPadding): New field.
2717 (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2719 (BoxPainter.getInset): Recognize and include the padding.
2720 (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2721 javax/swing/text/html/TableView.java
2722 (RowView.calculateMajorAxisRequirements): Adjust req's for
2724 (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2725 (cellSpacing): New field.
2726 (columnRequirements): Made package private to avoid accessor method.
2727 (calculateMinorAxisRequirements): Include cellSpacing.
2728 (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2729 (layoutMajorAxis): Likewise.
2730 (layoutColumns): Respect cellSpacing.
2731 (setParent): Overridden to fetch the CSS attributes when view gets
2733 (setPropertiesFromAttributes): New method. Fetches the cell
2734 spacing from the CSS attributes.
2736 2006-11-15 Roman Kennke <kennke@aicas.com>
2738 * gnu/javax/swing/text/html/parser/support/Parser.java
2739 (_handleText): Consume whitespace directly before a closing tag.
2740 (restOfTag): Consume whitespace directly after opening.
2741 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2742 (preprocess): Don't perform array boundary checking by
2743 catch AIOOBE, instead check the boundary in loop condition.
2744 * gnu/javax/swing/text/html/parser/support/low/Constants.java
2745 (TAG_CLOSE): New constants. Describes the token pattern for
2748 2006-11-14 Roman Kennke <kennke@aicas.com>
2750 * javax/swing/text/html/ImageView.java
2751 (getPreferredSpan): Use CSS length values.
2752 * javax/swing/text/html/TableView.java
2753 (CellView.calculateMajorAxisRequirements): Overridden to
2754 set the maximum reqs to maximum.
2755 (RowView.getMaximumSize): For the X_AXIS, set the maximum
2757 (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2758 the total column reqs.
2759 (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2760 the total column reqs.
2761 * gnu/javax/swing/text/html/css/CSSColor.java
2762 (convertValue): Catch NumberFormatExceptions for more robustness.
2763 * gnu/javax/swing/text/html/css/FontSize.java
2764 (mapPixels): Actually map px values. Catch NFE for more robustness.
2766 2006-11-14 Roman Kennke <kennke@aicas.com>
2768 * gnu/java/awt/font/autofit/AxisHints.java,
2769 * gnu/java/awt/font/autofit/Constants.java,
2770 * gnu/java/awt/font/autofit/GlyphHints.java,
2771 * nu/java/awt/font/autofit/Latin.java,
2772 * nu/java/awt/font/autofit/LatinAxis.java,
2773 * gnu/java/awt/font/autofit/LatinMetrics.java,
2774 * gnu/java/awt/font/autofit/Scaler.java,
2775 * gnu/java/awt/font/autofit/Script.java,
2776 * gnu/java/awt/font/autofit/ScriptMetrics.java,
2777 * gnu/java/awt/font/autofit/Segment.java,
2778 * gnu/java/awt/font/autofit/Width.java:
2779 New classes. This is some skeleton stuff for the FreeType-alike
2781 * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2782 * gnu/java/awt/font/opentype/OpenTypeFont.java
2783 (unitsPerEm): Made field public.
2784 (getRawGlyphOutline): New method. Fetches the raw outline.
2785 * gnu/java/awt/font/opentype/Scaler.java
2786 (getRawGlyphOutline): New method. Fetches the raw outline.
2787 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2788 (loadGlyph): New method. This is used to load raw outlines.
2789 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2790 (getRawOutline): New method. Fetches the raw outline.
2791 * gnu/java/awt/font/opentype/truetype/Zone.java:
2794 2006-11-14 Roman Kennke <kennke@aicas.com>
2796 * javax/swing/RepaintManager.java
2797 (RepaintManager): Fetch the default state for the double buffering
2798 from a system property gnu.swing.doublebuffering.
2800 2006-11-14 Roman Kennke <kennke@aicas.com>
2802 * javax/swing/plaf/basic/BasicLabelUI.java
2803 (cachedInsets): New field.
2804 (getFontMetrics): New helper method. Fetches the font metrics
2805 from the component or the toolkit.
2806 (getPreferredSize): Use getFontMetrics() helper method for
2807 fetching the font metrics.
2808 (paint): Use getFontMetrics() helper method for
2809 fetching the font metrics. Only paint if icon or text
2810 are != null. Use cached insets.
2811 (paintDisabledText): Don't store/restore color object. The
2812 JComponent painting mechanism takes care of this by calling
2814 (paintEnabledText): Don't store/restore color object. The
2815 JComponent painting mechanism takes care of this by calling
2818 2006-11-14 Roman Kennke <kennke@aicas.com>
2820 * gnu/java/awt/peer/GLightweightPeer.java
2821 (handleEvent): Try to do something reasonable and trigger painting
2822 for the lightweight component.
2823 (getFontMetrics): Fetch and return a font metrics object from
2826 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2828 * gnu/java/util/regex/RETokenNamedProperty.java:
2829 (getHandler(String)): Add support for 'all'.
2831 2006-11-13 Andreas Tobler <a.tobler@schweiz.org>
2833 * AUTHORS: Add myself.
2835 2006-11-13 Thomas Fitzsimmons <fitzsim@redhat.com>
2837 * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
2838 Dalibor Topic. Re-order 'K' section. Remove trailing space from
2839 Roman Kennke's entry.
2841 2006-11-13 Roman Kennke <kennke@aicas.com>
2843 * java/awt/image/IndexColorModel.java
2844 (createCompatibleSampleModel): Implemented missing method.
2846 2006-11-11 Andreas Tobler <a.tobler@schweiz.org>
2848 * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
2849 from big endian systems correctly.
2851 2006-11-11 Roman Kennke <kennke@aicas.com>
2853 * gnu/javax/swing/text/html/css/CSSColor.java
2854 (isValidColor): New helper method. Checks strings if they
2855 form a valid color value.
2856 * gnu/javax/swing/text/html/css/Length.java
2857 (Length): Catch number format exceptions.
2858 * javax/swing/text/html/CSS.java
2859 (addInternal): New method. Checks for shorthand CSS attributes
2861 (parseBackgroundShorthand): New method. Parses the background
2862 shorthand attribute.
2863 * javax/swing/text/html/HTMLDocument.java
2864 (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
2865 (HTMLReader.LinkAction.start): Implemented to load the linked
2867 (HTMLReader.LinkAction.end): Removed. This is not needed.
2868 * javax/swing/text/html/StyleSheet.java
2869 (CSSStyleSheetParserCallback.declaration): Push declaration
2870 through CSS.addInternal() to parse shorthand attributes.
2871 (addCSSAttribute): Push declaration through CSS.addInternal()
2872 to parse shorthand attributes.
2873 (importStyleSheet): Implemented. This adds a stylesheet from
2875 * javax/swing/text/html/TableView.java
2876 (calculateColumnRequirements): Increase column index for
2877 non CellView children to avoid endless loop.
2878 * javax/swing/text/CompositeView.java
2879 (setParent): Comparen with numChildren not with real arraylength.
2881 2006-11-11 David Gilbert <david.gilbert@object-refinery.com>
2883 * java/beans/beancontext/BeanContextSupport.java
2884 (getChildBeanContextChild): Implemented.
2886 2006-11-10 Roman Kennke <kennke@aicas.com>
2888 * javax/swing/text/View.java
2889 (updateLayout): Only repaint when needed.
2891 2006-11-10 David Gilbert <david.gilbert@object-refinery.com>
2893 * java/util/Collections.java
2894 (sort(List)): Minor API doc addition,
2895 (sort(List, Comparator)): Likewise.
2897 2006-11-10 David Fu <fchoong@netbeans.jp>
2899 * javax/swing/text/html/HTMLWriter.java
2900 (traverse): Removed Classpath specific handling of implied
2902 (traverseHtmlFragment): Removed Classpath specific handling of
2905 2006-11-10 Roman Kennke <kennke@aicas.com>
2907 * javax/swing/text/ParagraphView.java
2908 (Row.getMaximumSize): Removed. This method is not necessary.
2909 * javax/swing/text/html/TableView.java
2910 (CellView): Moved attribute init to setPropertiesFromAttributes().
2911 (setPropertiesFromAttributes): Fetch attributes here.
2912 (RowView.RowView): Documented.
2913 (RowView.getMaximumSpan): Overridden to restrict the max span
2915 (RowView.layoutMajorAxis): Correctly layout the spans.
2916 (columnWidths): New field. Stores the width attributes of
2918 (calculateColumnRequirements): Added support for relative
2919 (== percent) width attributes.
2920 (calculateMajorAxisRequirements): Removed.
2921 (calculateMinorAxisRequirements): Removed unnecessary code.
2922 (getMaximumSpan): Overridden to restrict the table's width.
2923 (layoutColumns): Documented. Implement more clever table layout,
2924 i.e. for relative columns etc.
2925 (layoutMinorAxis): Don't mark rows invalid.
2926 (updateGrid): Added docs. Initialize column widths.
2928 2006-11-09 Roman Kennke <kennke@aicas.com>
2930 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
2931 * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
2932 Implement basic headless toolkit.
2933 * java/awt/Toolkit.java
2934 (getDefaultToolkit): Check headless property and create
2935 headless toolkit when true.
2937 2006-11-09 Ingo Proetel <proetel@aicas.com>
2938 2006-11-09 Roman Kennke <kennke@aicas.com>
2940 * gnu/java/awt/peer/swing/SwingButtonPeer.java
2941 (SwingButton.button): New field.
2942 (SwingButton.SwingButton): Added constructor.
2943 (SwingButton.isShowing): Access button field instead of
2944 the surrounding class.
2945 (SwingButton.getParent): Access button field instead of
2946 the surrounding class.
2947 (SwingButtonPeer): Call new SwingButton constructor.
2948 * gnu/java/awt/peer/swing/SwingComponent.java:
2949 Several documentation updates.
2950 * gnu/java/awt/peer/swing/SwingComponentPeer.java
2951 (currentPaintEvents): New field.
2952 (peerFont): New field.
2953 (SwingComponentPeer): Initialize currentPaintEvents fields.
2954 (coalescePaintEvents): Implemented.
2955 (dispose): Unregister peer from heavyweight list of its container.
2956 (getGraphics): Fetch graphics from parent component.
2957 (handleEvent): Discard paint event if its coalesced.
2958 (init): Register component with its container for proper painting.
2959 (paint): Call peerPaint().
2960 (peerPaint): Added argument that indicates if we should update.
2961 Call paint or update on the actual AWT component.
2962 (peerPaintComponent): New method. Paints the peer (Swing) component.
2963 (setFont): Set peerFont field.
2964 * gnu/java/awt/peer/swing/SwingContainerPeer.java
2965 (backbuffer): New field.
2966 (focusOwner): New field.
2967 (heavyweightDescendents): New field.
2968 (SwingContainerPeer): Take Container as argument. Don't call init
2970 (addHeavyweightDescendent): New method.
2971 (getFocusOwner): New helper method.
2972 (getInsets): Delegate to insets().
2973 (handleKeyEvent): Dispatch event to focus owner.
2974 (handleMouseEvent): Dispatch to child component.
2975 (isDoubleBuffering): New helper method.
2976 (peerPaint): Overridden to implement container painting with
2978 (peerPaintChildren): New method. Paints the descendents of this
2980 (removeHeavyweightDescendent): New helper method.
2981 * gnu/java/awt/peer/swing/SwingFramePeer.java
2982 (peerPaint): Removed.
2983 (peerPaintComponent): Overridden to paint the menu bar.
2984 * gnu/java/awt/peer/swing/SwingLabelPeer.java
2985 (SwingLabel.label): New field.
2986 (SwingLabel.SwingLabel): Added constructor with Label argument.
2987 (SwingLabel.getGraphics): Implemented to fetch the graphics from
2988 the actual AWT component.
2989 (SwingLabel.getParent): Implemented to fetch the parent from
2991 (SwingLabel.isShowing): Access the label field.
2992 (SwingLabelPeer): Set alignment from label.
2993 * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
2994 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
2996 * gnu/java/awt/peer/swing/SwingPanelPeer.java:
2997 Don't be a lighweight peer.
2998 (SwingPanelPeer): Call init.
2999 * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
3000 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
3001 (SwingTextField.textField): New field.
3002 (SwingTextField.SwingTextField): New constructor.
3003 (SwingTextField.isShowing): Access field not enclosing class.
3004 (SwingTextField.getGraphics): New method.
3005 (SwingTextField.getParent): New method.
3006 (SwingTextFieldPeer): Call new constructor.
3007 (select): Renamed arguments.
3008 * gnu/java/awt/peer/swing/SwingWindowPeer.java
3009 (SwingWindowPeer): Call init.
3011 2006-11-09 Tania Bento <tbento@redhat.com>
3013 * javax/swing/JLabel.java
3014 (JLabel(Icon)): Changed documentation; Changed text to null.
3015 (JLabel(Icon,int)): Likewise.
3016 (JLabel(text)): Changed documenation.
3017 (JLabel(text,int)): Likewise.
3018 (JLabel(text,Icon,int)): Changed documentation; Throw
3019 IllegalArgumentException if int is not one of LEFT, RIGHT,
3020 CENTER, LEADING or TRAILING.
3022 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3024 * java/beans/beancontext/BeanContextSupport.java
3025 (BeanContextSupport): Use correct dtime default,
3026 (BeanContextSupport(BeanContext)): Likewise,
3027 (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
3029 (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
3030 (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
3032 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3034 * java/beans/beancontext/BeanContextSupport.java
3035 (getBeanContextPeer): Implemented.
3037 2006-11-09 Roman Kennke <kennke@aicas.com>
3039 * javax/swing/text/html/BlockView.java
3040 (cssHeight): Removed.
3041 (cssWidth): Removed.
3042 (cssSpans): New field. Replaces the two fields above.
3043 (BlockView): Allocate cssSpans array.
3044 (layoutMinorAxis): Fetch and use child span, not this view's span.
3045 (setCSSSpan): Adjusted to use cssSpans array.
3046 (setPropertiesFromAttributes): Adjusted to use cssSpans array.
3048 2006-11-09 Roman Kennke <kennke@aicas.com>
3050 * javax/swing/text/html/InlineView.java
3051 (nowrap): New field.
3052 (getBreakWeight): Add support for nowrap.
3053 (setPropertiesFromAttributes): Fetch the nowrap setting.
3055 2006-11-09 Roman Kennke <kennke@aicas.com>
3057 * gnu/javax/swing/text/html/css/CSSParser.java
3058 (parseRuleset): Use new Selector class.
3059 (parseValue): Parse multiple anys, not only one.
3060 (main): Allow stylesheet be specified on the command line.
3061 Use new Selector class.
3062 * gnu/javax/swing/text/html/css/CSSParserCallback.java
3063 (startStatement): Use Selector class.
3064 * gnu/javax/swing/text/html/css/CSSScanner.java
3065 (readName): Actually read a character in the loop to avoid
3067 * gnu/javax/swing/text/html/css/Length.java
3068 (getValue): Only multiply when we have a percentage value.
3069 * gnu/javax/swing/text/html/css/Selector.java:
3070 New class. Provides handling of CSS selectors.
3071 * javax/swing/text/html/StyleSheet.java
3072 (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
3073 (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
3074 (CSSStyle.PREC_NORM): New constant field.
3075 (CSSStyle.PREC_UA): New constant field.
3076 (CSSStyle.PREC_USER_IMPORTANT): New constant field.
3077 (CSSStyle.precedence): New field.
3078 (CSSStyle.priority): Removed.
3079 (CSSStyle.selector): New field.
3080 (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
3082 (CSSStyle.compareTo): Adjusted to use the precedence and
3083 specificity of the selector.
3084 (CSSStyleSheetParserCallback.precedence): New field.
3085 (CSSStyleSheetParserCallback.selector): Removed.
3086 (CSSStyleSheetParserCallback.style): New field.
3087 (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
3088 Initialize with precedence.
3089 (CSSStyleSheetParserCallback.declaration): Don't look up
3090 existing rule, simply create new one.
3091 (CSSStyleSheetParserCallback.endStatement): Append style
3093 (CSSStyleSheetParserCallback.startStatement): Use new Selector
3095 (css): Changed to be ArrayList.
3096 (addRule): Create parser with author-normal precendence.
3097 (getRule): Fixed implementation.
3098 (loadRules): Create parser with UA precendence.
3099 (resolveStyle): Use Selector class for resolving and matching
3101 (translateHTMLToCSS): Added mappings for a couple of HTML
3104 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3107 * java/beans/SimpleBeanInfo.java
3108 (loadImage): Check for nulls.
3110 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
3112 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3113 (getpeername): Added 16 byte offset to memcpy operation.
3115 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
3117 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3118 (getsockname): Added 16 byte offset to memcpy operation.
3120 2006-11-08 Mark Wielaard <mark@klomp.org>
3123 * java/io/OutputStreamWriter.java
3124 (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
3125 (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
3127 2006-11-08 Roman Kennke <kennke@aicas.com>
3129 * javax/swing/text/html/HTMLEditorKit.java
3130 (getParser): Use plain HTML_401F DTD.
3131 * javax/swing/text/html/HTMLDocument.java
3132 (HTMLReader.print): Removed method and all calls to it.
3133 (HTMLReader.printBuffer): Removed method and all calls to it.
3134 (HTMLReader.inImpliedParagraph): New field.
3135 (HTMLReader.inParagraph): New field.
3136 (HTMLReader.addContent): Create implied p-tag if necessary.
3137 (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
3138 (HTMLReader.blockClose): Close implied p-tag if necessary.
3139 (HTMLReader.blockOpen): Close implied p-tag if necessary.
3140 * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
3142 2006-11-08 Roman Kennke <kennke@aicas.com>
3144 * javax/swing/text/html/HTMLEditorKit.java
3145 (HTMLFactory.create): Removed mapping for TD tag. This
3146 is done in TableView.
3147 * javax/swing/text/html/TableView.java:
3148 Implemented from scratch.
3150 2006-11-07 Roman Kennke <kennke@aicas.com>
3152 * gnu/javax/swing/text/html/parser/support/Parser.java
3153 (_handleText): Check if text content is actually allowed before
3154 passing empty text fragments on to the parser callbacks.
3156 2006-11-07 Mark Wielaard <mark@klomp.org>
3158 * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
3162 2006-11-07 Tania Bento <tbento@redhat.com>
3164 * java/awt/FlowLayout.java
3165 (getSize): If parent does not have a component, then a
3166 different formula is used to calcuate the width.
3168 2006-11-07 Roman Kennke <kennke@aicas.com>
3170 * javax/swing/text/html/HTMLEditorKit.java
3171 (HTMLFactory.create): Include ListView.
3172 * javax/swing/text/html/ListView.java
3173 (paint): Removed comment.
3174 * javax/swing/text/html/StyleSheet.java
3175 (CSSStyle.priority): New field.
3176 (CSSStyle.CSSStyle(int)): New constructor with priority.
3177 (CSSStyle.compareTo): New method. Used for sorting the styles.
3178 (CSSStyleSheetParserCallback.declaration): Store the style
3179 with the complete selector.
3180 (ListPainter.attributes): Renamed as field.
3181 (ListPainter.styleSheet): New field.
3182 (ListPainter.type): New field.
3183 (ListPainter.ListPainter): Pass StyleSheet to constructor.
3184 (ListPainter.paint): Provide simplistic implementation.
3185 (getListPainter): Pass StyleSheet to constructor.
3186 (resolveStyle): Fixed CSS style resolving.
3188 2006-11-07 Roman Kennke <kennke@aicas.com>
3190 * gnu/javax/swing/text/html/css/BorderWidth.java:
3191 New class. Handles CSS border width values.
3192 * gnu/javax/swing/text/html/css/Length.java
3193 (floatValue): Made protected so that BorderWidth can access it.
3194 * javax/swing/text/html/CSS.java
3195 (Attribute.BORDER_BOTTOM_COLOR): New static field.
3196 (Attribute.BORDER_BOTTOM_STYLE): New static field.
3197 (Attribute.BORDER_LEFT_COLOR): New static field.
3198 (Attribute.BORDER_LEFT_STYLE): New static field.
3199 (Attribute.BORDER_RIGHT_COLOR): New static field.
3200 (Attribute.BORDER_RIGHT_STYLE): New static field.
3201 (Attribute.BORDER_TOP_COLOR): New static field.
3202 (Attribute.BORDER_TOP_STYLE): New static field.
3203 (getValue): Added some mappings for the border color and
3204 border width values.
3205 * javax/swing/text/html/CSSBorder.java: New class. Implements
3207 * javax/swing/text/html/StyleSheet.java
3208 (BoxPainter.background): New field.
3209 (BoxPainter.border): New field.
3210 (BoxPainter.bottomInset): Documented.
3211 (BoxPainter.leftInset): Documented.
3212 (BoxPainter.rightInset): Documented.
3213 (BoxPainter.topInset): Documented.
3214 (BoxPainter.BoxPainter): Added support for borders and background.
3215 (BoxPainter.getInset): Add border insets.
3216 (BoxPainter.paint): Implemented. Paints the background and the
3218 (addRule): Be less picky about parse and IO exceptions.
3219 (getBoxPainter): Adjust to new BoxPainter constructor.
3221 2006-11-07 Andreas <a.tobler@schweiz.org>
3223 * examples/Makefile.am: Add rule to install the *.html files we use
3226 2006-11-06 Francis Kung <fkung@redhat.com>
3228 * gnu/java/awt/peer/gtk/ComponentGraphics.java
3229 (fillRect): Handle custom composites.
3230 (drawRenderedImage): Handle custom composites.
3231 (drawImage): Handle custom composites.
3232 (createBuffer): New method.
3233 (drawLine): Handle custom composites.
3234 (drawComposite): New method.
3235 (fill): Handle custom composites.
3236 (getNativeCM): New method.
3237 (drawGlyphVector): Handle custom composites.
3238 (drawRect): Handle custom composites.
3239 (draw): Handle custom composites.
3240 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3241 (drawComposite): Unset composite during draw call, to prevent parent
3242 from handling composite again.
3243 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3244 (getBufferCM): Added comments.
3245 (getNativeCM): Made abstract.
3246 (setComposite): Removed comments.
3248 2006-11-06 Roman Kennke <kennke@aicas.com>
3250 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3251 Fixed initial window size and start document.
3253 2006-11-06 Roman Kennke <kennke@aicas.com>
3255 * javax/swing/text/html/HTMLDocument.java
3256 (HTMLReader.addSpecialElement): Removed comment about
3258 (HTMLReader.handleComment): Create SimpleAttributeSet instead
3259 of htmlAttributeSet.
3260 * javax/swing/text/html/parser/DocumentParser.java
3261 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3262 of htmlAttributeSet.
3263 * javax/swing/text/html/parser/ParserDelegator.java
3264 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3265 of htmlAttributeSet.
3266 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
3267 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3268 of htmlAttributeSet.
3269 * gnu/javax/swing/text/html/parser/support/Parser.java
3270 (getAttributes): Return a SimpleAttributeSet.
3271 (restOfTag): Don't set resolving parent here.
3273 2006-11-06 Tania Bento <tbento@redhat.com>
3275 * java/awt/TextComponent.java
3276 (setSelectionStart): Added check.
3278 2006-11-06 Tania Bento <tbento@redhat.com>
3280 * java/awt/TextField.java
3281 (minimumSize(int)): Check if minimum size has been previously
3282 set and changed values of Dimension returned if peer == null.
3283 (preferredSize(int)): Check if preferred size has been previously
3284 set and changed values of Dimension returned if peer == null.
3286 2006-11-06 Roman Kennke <kennke@aicas.com>
3288 * javax/swing/JTree.java
3289 (TreeModelHandler.treeNodesRemoved): Implemented.
3290 (TreeModelHandler.treeStructureChanged): Implemented.
3291 (nodeStates): Made package private.
3293 2006-11-06 Francis Kung <fkung@redhat.com>
3296 * javax/swing/JTree.java
3297 (clearSelectionPathStates): New private method to clean up nodeStates.
3298 (removeSelectionPath): Call clearSelectionPathStates().
3299 (removeSelectionPaths): Call clearSelectionPathStates().
3300 (removeSelectionRow): Call clearSelectionPathStates().
3301 (setSelectionPath): Call clearSelectionPathStates().
3302 (setSelectionPaths): Call clearSelectionPathStates().
3303 (setSelectionRow): Call clearSelectionPathStates().
3305 2006-11-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
3308 * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
3310 2006-11-06 Roman Kennke <kennke@aicas.com>
3312 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3313 Changed to implement a minimalistic browser.
3314 * examples/gnu/classpath/examples/swing/forms.html,
3315 * examples/gnu/classpath/examples/swing/textstyles.html,
3316 * examples/gnu/classpath/examples/swing/welcome.html:
3317 Some example content.
3319 2006-11-06 Roman Kennke <kennke@aicas.com>
3321 * javax/swing/text/ComponentView.java
3322 (setParent): Lock the document and repaint the hosting
3324 * javax/swing/text/FlowView.java
3325 (FlowStrategy.createView): Removed comment.
3326 (FlowView): Initialize span with Short.MAX_VALUE.
3327 (getFlowStart): Return 0 unconditionally.
3328 (layout): Moved code around to make it more readable.
3329 (loadChildren): Always set the parent.
3330 * javax/swing/text/GlyphView.java
3331 (DefaultGlyphPainter.fontMetrics): New field.
3332 (DefaultGlyphPainter.getAscent): Use new helper method to
3333 synchronize the font metrics.
3334 (DefaultGlyphPainter.getBoundedPosition): Use new helper method
3335 to synchronize the font metrics.
3336 (DefaultGlyphPainter.getDescent): Use new helper method to
3337 synchronize the font metrics.
3338 (DefaultGlyphPainter.getHeight): Use new helper method to
3339 synchronize the font metrics.
3340 (DefaultGlyphPainter.getSpan): Use new helper method to
3341 synchronize the font metrics.
3342 (DefaultGlyphPainter.modelToView): Use new helper method to
3343 synchronize the font metrics.
3344 (DefaultGlyphPainter.updateFontMetrics): New helper method for
3345 font metrics caching.
3346 (DefaultGlyphPainter.viewToModel): Use new helper method to
3347 synchronize the font metrics. Fixed view to model mapping.
3348 * javax/swing/text/View.java
3349 (removeAll): Pass null to replace().
3350 (setParent): Only reparent children that have this view as parent.
3352 2006-11-05 Mark Wielaard <mark@klomp.org>
3354 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3355 * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
3356 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3358 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
3360 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
3361 Remove gnu_java_nio_channels_FileChannelImpl.c.
3363 2006-11-03 Roman Kennke <kennke@aicas.com>
3365 * javax/swing/text/html/BlockView.java
3366 (attributes): New field.
3367 (cssHeight): New field.
3368 (cssWidth): New field.
3369 (painter): New field.
3370 (calculateMajorAxisRequirements): Overridden to account for
3372 (calculateMinorAxisRequirements): Overridden to account for
3374 (layoutMinorAxis): Overridden to account for CSS settings.
3375 (changedUpdate): Formatting fixlet.
3376 (constrainSize): New helper method.
3377 (getAlignment): Fix alignment.
3378 (getAttributes): Cache attributes for better performance.
3379 (getStyleSheet): Fetch stylesheet from document rather than creating
3381 (paint): Remove comment.
3382 (setCSSSpan): New helper method.
3383 (setPropertiesFromAttributes): Implemented to fetch the
3384 recognized properties.
3385 * javax/swing/text/html/CSS.java
3386 (getValue): Added mapping for width and height attributes.
3387 * javax/swing/text/html/InlineView.java
3388 (longestWord): New field.
3389 (getLongestWord): New helper method.
3390 (calculateLongestWord): New helper method.
3391 (getMinimumSpan): Overridden to constrain the minimum span by the
3393 * javax/swing/text/html/ParagraphView.java
3394 (cssHeight): New field.
3395 (cssWidth): New field.
3396 (calculateMinorAxisRequirements): Overridden to account for
3398 (setCSSSpan): New helper method.
3399 (setPropertiesFromAttributes): Fetch CSS width and height. Added
3401 * gnu/javax/swing/text/html/css/Length.java
3402 (percentage): New field.
3403 (Length): Determine percentage values.
3404 (getValue(float)): New method for handling percentage values.
3405 (isPercentage): New method.
3407 2006-11-03 Tania Bento <tbento@redhat.com>
3409 * java/awt/TextArea.java
3410 (getMinimumSize): Changed documentation.
3411 (getPreferredSize): Changed documentation.
3412 (getMinimumSize(int,int)): Changed documenation.
3413 (getPreferredSize(int,int)): Changed documenation.
3414 (minimumSize): Changed documentation.
3415 (preferredSize): Changed documenation.
3416 (minimumSize(int,int)): Changed documentation. Checked if
3417 minimum size had been previously set and changed values of
3418 Dimension returned if peer == null.
3419 (preferredSize(int, int)): Checked if preferred size had been
3420 previously set and changed values of Dimension returned if
3423 2006-11-03 Tania Bento <tbento@redhat.com>
3425 * java/awt/event/ComponentEvent.java
3426 (paramString): Changed format of string representation returned.
3428 2006-11-03 Roman Kennke <kennke@aicas.com>
3430 * javax/swing/text/html/HTMLDocument.java
3431 (HTMLReader.FormAction.start): Added support for textarea.
3432 (HTMLReader.FormAction.end): Added support for textarea.
3433 (HTMLReader.HeadAction.end): Call super to actually close the
3435 (HTMLReader.inTextArea): New field.
3436 (HTMLReader.textAreaDocument): New field.
3437 (HTMLReader.handleText): Call textAreaContent when inside
3439 (HTMLReader.textAreaContent): Implemented to initialize
3440 the text area's model.
3441 * javax/swing/text/html/FormView.java
3442 (createComponent): Added support for textarea tag.
3444 2006-11-03 Roman Kennke <kennke@aicas.com>
3446 * javax/swing/text/html/HTMLDocument.java
3447 (HTMLReader.IsindexAction.start): Implemented.
3449 2006-11-03 Roman Kennke <kennke@aicas.com>
3451 * javax/swing/text/html/StyleSheet.java
3452 (addRule): Implemented.
3453 * javax/swing/text/html/HTMLDocument.java
3454 (HTMLReader.inStyleTag): New field.
3455 (HTMLReader.styles): New field.
3456 (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3458 (HTMLReader.StyleAction.start): Set inStyleTag flag.
3459 (HTMLReader.StyleAction.end): Set inStyleTag flag.
3460 (HTMLReader.handleText): When inside a style tag, add
3461 content to the styles array.
3463 2006-11-02 Roman Kennke <kennke@aicas.com>
3465 * javax/swing/text/html/FormView.java
3466 (maxIsPreferred): New field.
3467 (createComponent): Initialize components correctly.
3468 (getMaximumSpan): Return the preferred span for components
3469 that need this. The maxIsPreferred flag is set accordingly
3471 * javax/swing/text/html/HTMLDocument.java
3472 (HTMLReader.FormAction.start): Implemented to set the
3473 correct model as attribute.
3474 (HTMLReader.FormAction.setModel): New helper method.
3475 (HTMLReader.FormAction.end): Call super to finish the element.
3476 Added TODO about things left to do.
3477 (HTMLReader.handleComment): Use SimpleAttributeSet rather
3478 than htmlAttributeSet.
3479 * javax/swing/text/html/HTMLEditorKit.java
3480 (HTMLFactory.create): Create BlockView for FORM tags.
3481 Create FormView for INPUT, TEXTAREA and SELECT tags.
3483 2006-11-02 David Gilbert <david.gilbert@object-refinery.com>
3485 * java/awt/geom/GeneralPath.java: API doc fixes.
3487 2006-11-02 Roman Kennke <kennke@aicas.com>
3489 * javax/swing/text/html/ImageView.java
3490 (getImageURL): Fetch attribute from element. Consider the
3491 base URL for relative image locations.
3493 2006-11-02 Roman Kennke <kennke@aicas.com>
3495 * javax/swing/JEditorPane.java
3496 (setContentType): Strip off attributes.
3497 * javax/swing/text/html/HTMLEditorKit.java
3498 (LinkController.activateLink(int,JEditorPane,int,int): New
3499 method. Implements activation of a hyperlink.
3500 (LinkController.activateLinke(int,JEditorPane)): Delegate
3501 to the other activateLink() method.
3502 (LinkController.createHyperlinkEvent): New helper method.
3503 (LinkController.mouseClicked): Implemented to activate the link.
3504 (LinkController.mouseDragged): Added comment that this
3505 method does nothing.
3506 (LinkController.mouseMoved): Update cursor for hyperlinks.
3507 (mouseHandler): Renamed field to linkController.
3508 (HTMLEditorKit): Create a link controller.
3509 (clone): Give the clone a new link controller.
3510 (deinstall): De-install link controller as mouseMotionListener too.
3511 (install): Install link controller as mouseMotionListener too.
3513 2006-11-02 Roman Kennke <kennke@aicas.com>
3516 * javax/swing/text/FlowView.java
3517 (FlowStrategy.changedUpdate): Reversed condition. This caused
3518 wrong layout and bad performance.
3519 (FlowStrategy.insertUpdate): Reversed condition. This caused
3520 wrong layout and bad performance.
3521 (FlowStrategy.removeUpdate): Reversed condition. This caused
3522 wrong layout and bad performance.
3523 (LogicalView): Changed to be a subclass of CompositeView.
3524 (LogicalView()): Only take one Element argument.
3525 (LogicalView.childAllocation): New method for implementing
3526 the abstract CompositeView method.
3527 (LogicalView.forwardUpdateToView): Overridden for correct
3529 (getMinimumSpan): Overridden to handle line breaking correctly.
3530 (getPreferredSpan): Implemented to handle line breaking correctly.
3531 (getViewAtPoint): New method for implementing
3532 the abstract CompositeView method.
3533 (getViewIndexAtPosition): Overridden to handle leaf elements
3535 (isAfter): New method for implementing
3536 the abstract CompositeView method.
3537 (isBefore): New method for implementing
3538 the abstract CompositeView method.
3539 (loadChildren): Overridden to handle leaf elements
3541 (paint): New method for implementing
3542 the abstract CompositeView method.
3543 (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3544 (loadChildren): Initialize flow layout by sending a synthetic
3545 insertUpdate() to the layout strategy.
3546 * javax/swing/text/GlyphView.java
3547 (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3548 font metrics if component is not available. Add initial offset
3550 (breakView): Be more clever when breaking the view.
3551 (getBreakLocation): New helper method to determine a good
3553 (getBreakWeight): Be more clever when breaking the view.
3554 (getTabbedSpan): Make sure we have a painter. Use view's
3555 start and end offset rather than the element's.
3556 * javax/swing/text/Utilities.java
3557 (drawTabbedText): Avoid useless add and sub with the y offset.
3559 2006-11-02 Roman Kennke <kennke@aicas.com>
3562 * gnu/java/awt/peer/ClasspathFontPeer.java
3563 (getStringBounds): Removed abstract method. This is replaced
3564 in java.awt.Font to use a TextLayout.
3565 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3566 (GtkWindowPeer): Set a font on the window object.
3567 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3568 (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3569 Changed to take char,int,int instead of String. Filter
3571 (FreetypeGlyphVector(Font,String,FontRenderContext)):
3572 Create char array out of string.
3573 (getLogicalBounds): Don't translate bounds. They already are
3575 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3576 (stringWidth): Filter out control characters.
3577 * gnu/java/awt/peer/gtk/GdkFontPeer.java
3578 (getStringBounds): Removed unneeded method.
3579 (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3581 * gnu/java/awt/peer/qt/QtFontPeer.java
3582 (getStringBounds): Removed unneeded method.
3583 * gnu/java/awt/peer/x/XFontPeer.java
3584 (getStringBounds): Removed unneeded method.
3585 * gnu/java/awt/peer/x/XFontPeer2.java
3586 (getStringBounds): Removed unneeded method.
3587 * java/awt/Font.java
3588 (getStringBounds(char[],int,int,FontRenderContext)):
3589 Use TextLayout to determine the bounds.
3590 (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3591 Delegate to the char[] version of this method.
3592 (getStringBounds(String,FontRenderContext)):
3593 Delegate to the char[] version of this method.
3594 (getStringBounds(String,int,int,FontRenderContext)):
3595 Delegate to the String version of this method.
3597 2006-11-01 Tania Bento <tbento@redhat.com>
3599 * java/awt/ScrollPaneAdjustable.java
3600 (paramString): Changed format of string representation returned.
3601 (paramStringHelper): New private method.
3603 2006-11-01 Tania Bento <tbento@redhat.com>
3605 * java/awt/GridBagLayout.java
3606 (toString): Implemented method.
3608 2006-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3610 * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3611 initialization to NP_Initialize.
3612 (NP_Initialize): Initialize GLib threading.
3614 2006-10-31 Tania Bento <tbento@redhat.com>
3616 * javax/swing/JTextField.java
3617 (fireActionPerformed): When creating the new event, if
3618 actionCommand == null, then getText() is used.
3620 2006-10-31 Francis Kung <fkung@redhat.com>
3622 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3623 (fillArc): Corrected arc type to Arc2D.PIE.
3625 2006-10-31 Roman Kennke <kennke@aicas.com>
3627 * javax/swing/text/html/HTMLDocument.java
3628 (HTMLReader.PreAction.end): Implemented.
3629 (HTMLReader.PreAction.start): Implemented.
3630 (HTMLReader.inPreTag): New field.
3631 (HTMLReader.handleTag): When inside a pre tag, call preContent().
3632 (HTMLReader.preContent): Implemented.
3634 2006-10-31 Tania Bento <tbento@redhat.com>
3636 * javax/swing/JTextField.java
3637 (fireActionPerformed): When creating the new event,
3638 actionCommand should be used as the command, not
3641 2006-10-31 Roman Kennke <kennke@aicas.com>
3643 * javax/swing/text/html/HTMLEditorKit.java
3644 (write): Use HTMLWriter or MinimalHTMLWriter for writing
3645 HTML or Styled documents.
3647 2006-10-31 David Fu <fchoong@netbeans.jp>
3649 * javax/swing/text/html/HTMLWriter.java: New class.
3651 2006-10-30 Roman Kennke <kennke@aicas.com>
3653 * java/awt/dnd/DragSourceContext.java
3654 (dragExit): Use constant fields instead of 0.
3655 (updateCurrentCursor): Completed implementation.
3657 2006-10-30 Roman Kennke <kennke@aicas.com>
3659 * java/awt/dnd/DragGestureRecognizer.java
3660 (resetRecognizer): Added API docs. Do not replace the events object
3661 but rather clear() it. Removed not implemented tag.
3663 2006-10-30 Roman Kennke <kennke@aicas.com>
3665 * java/awt/datatransfer/DataFlavor.java
3666 (writeExternal): Remove not implemented tag.
3668 2006-10-30 Roman Kennke <kennke@aicas.com>
3670 * java/awt/datatransfer/DataFlavor.java
3671 (javaFileListFlavor): Don't explicitly specify class.
3672 (plainTextFlavor): Don't explicitly specify class.
3673 (mimeType): Changed to type MimeType. Remove final.
3674 (representationClass): Remove final.
3675 (DataFlavor): Don't do anything here.
3676 (DataFlavor(Class,String,String)): Removed.
3677 (DataFlavor(Class,String)): Initialize here.
3678 (DataFlavor(String,String,ClassLoader)): Initialize in init().
3679 (DataFlavor(String,String)): Initialize in init().
3680 (DataFlavor(String)): Initialize in init().
3681 (init): New initialization method.
3682 (getMimeType): Delegate to MimeType.toString().
3683 (getParameter(String,String)): Removed. Is now done in MimeType.
3684 (getParameter(String)): Delegate to MimeType.
3685 (getPrimaryType): Delegate to MimeType.
3686 (getRepresentationClassFromMime): Removed.
3687 (getRepresentationClassFromMimeThrows): Removed.
3688 (getSubType): Delegate to MimeType.
3689 (hashCode): Take MimeType.toString() for the hashCode.
3690 (isFlavorRemoveObjectType): Return true only when representation
3691 class is remove and serializable and the mime type is remote.
3692 (isFlavorSerializedObjectType): Return true only when representation
3693 class is serializable and the mime type is serialized.
3694 (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3695 (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3696 (readExternal): Implemented stub method.
3697 (writeExternal): Implemented stub method.
3698 * java/awt/datatransfer/MimeType.java: New helper class.
3700 2006-10-28 Roman Kennke <kennke@aicas.com>
3702 * javax/swing/TransferHandler.java
3703 (importData): Implemented stub method. Added API docs.
3705 2006-10-26 Christian Elias Naur <elias@oddlabs.com>
3707 * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3709 * native/jni/classpath/classpath_jawt.h: Likewise.
3710 * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3711 initializer for surface_info_x11->depth.
3713 2006-10-26 Tania Bento <tbento@redhat.com>
3715 * java/awt/FileDialog.java:
3716 (setFile): Changed if-clause condition.
3718 2006-10-25 Francis Kung <fkung@redhat.com>
3720 * include/gnu_java_nio_VMChannel.h,
3721 * include/java_net_VMNetworkInterface.h,
3722 * include/gnu_java_nio_EpollSelectorImpl.h,
3723 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3724 * include/gnu_java_nio_FileChannelImpl.h,
3725 * include/gnu_java_nio_KqueueSelectorImpl.h,
3726 * include/gnu_java_nio_VMPipe.h,
3727 * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3729 2006-10-25 Tania Bento <tbento@redhat.com>
3731 * java/awt/Dialog.java: Created new private variable
3733 (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3734 Set cursor to default cursor.
3735 (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3737 (generateName): New method.
3738 (getUniqueLong): New private method.
3739 * java/awt/FileDialog.java: Created new private variable
3740 next_file_dialog_number.
3741 (setFile): If file == "", set it to null.
3742 (generateName): New method.
3743 (getUniqueLong): New private method.
3745 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3747 * java/net/MulticastSocket.java:
3748 (setNetworkInterface): Rewritten.
3750 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3752 * native/jni/java-net/javanet.h: Added declaration for
3753 _javanet_create_inetaddress.
3754 * native/jni/java-net/javanet.c:
3755 (_javanet_create_inetaddress): Removed static keyword.
3757 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3759 * gnu/java/net/PlainDatagramSocketImpl.java:
3760 (connect): Use VMChannel instance for connect call.
3761 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3762 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3763 (setOption): Handle multicast options.
3764 (getOption): Handle multicast options.
3765 * gnu/java/net/PlainSocketImpl.java:
3766 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3767 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3768 (setOption): Filter unappropriate options.
3769 (getOption): Filter unappropriate options.
3770 (connect): Use given SocketAddress.
3771 (close): Reset address and port.
3773 * include/Makefile.am: Removed all occurences of
3774 gnu_java_net_VMPlainDatagramSocketImpl.h.
3775 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3776 * native/jni/java-net/Makefile.am: Removed
3777 gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3778 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3780 as SocketException, declare to throw SocketException.
3781 * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3782 for SocketException and ConnectException.
3783 (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3785 (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3787 (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3788 (JCL_thread_interrupted): New function.
3789 (initIDs): Added initialisation for isThreadInterrupted method id.
3790 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
3791 CPNET_IP_TTL to java_sockopt enum.
3792 (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
3793 case, handle SO_LINGER case properly.
3794 (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
3795 case, handle SO_LINGER case properly.
3796 (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
3798 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
3800 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
3802 (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
3804 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
3805 * vm/reference/gnu/java/nio/VMChannel.java:
3806 (connect(int, byte[], int, int)): Declare to throw SocketException.
3807 (connect6): Declare to throw SocketException.
3808 (connect(InetSocketAddress, int)): Catch IOException and rethrow
3809 (isThreadInterrupted): New method.
3810 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
3812 (setTimeToLive): New method.
3813 (getTimeToLive): New method.
3814 (setMulticastInterface(int, InetAddress)): New method.
3815 (setMulticastInterface(int, int, Inet4Address): New method.
3816 (setMulticastInterface6(int, int, Inet6Address): New method.
3817 (setOptions): Handle SO_LINGER case.
3818 (getOptions): Add missing SO_REUSEADDR case.
3819 * java/net/Socket.java:
3820 (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
3821 when exception was thrown out of connect().
3822 (setSoLinger): Replaced instantiations with valueOf calls, replaced
3823 Boolean.FALSE with Integer.valueOf(-1).
3824 * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
3825 * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
3826 * NEWS: Documented VM interface changes.
3828 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3830 * java/net/Inet6Address.java:
3831 (isMulticastAddress): Fixed check.
3833 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3836 * java/net/MulticastSocket.java:
3837 (getNetworkInterface): Return a special NetworkInterface instance
3838 if the socket's multicast interface is set to any.
3840 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3843 * java/net/NetworkInterface.java:
3844 (createAnyInterface): New method.
3845 (equals): Added if-statement to handle case where netif.name is null.
3846 * vm/reference/java/net/VMNetworkInterface.java:
3847 (hashCode): Rewritten.
3848 (VMNetworkInterface): New constructor.
3850 2006-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3852 * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
3853 * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
3854 Add ASM_JAR to bootclasspath.
3856 2006-10-24 Tania Bento <tbento@redhat.com>
3858 * java/awt/Scrollbar.java:
3859 (setLineIncrement): Removed unnecessary if-clause and if
3860 lineIncrement == 0, then it should be set to 1, not 0.
3861 (setPageIncrement): Removed unnecessary if-clause and if
3862 pageIncrement == 0, then it should be set to 1, not 0.
3863 (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
3864 If maximum <= minimum, maximum should be set to mininum + 1. The
3865 actual value of maximum is maximum - visibleAmount, so I made
3866 this change to the appropriate if-check. Remove the two unneccessary
3869 2006-10-23 Francis Kung <fkung@redhat.com>
3871 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3872 (cairoSetFont): New method.
3873 (copy): Set font using setFont method.
3874 (setFont): Call cairoSetFont.
3875 (setup): Set font using setFont method.
3876 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
3877 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
3878 (install_font_peer): Removed.
3879 (cairoDrawGlyphVector): Removed call to install_font_peer.
3880 (cairoSetFont): New method.
3882 2006-10-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3884 * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
3885 * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
3886 NativeEventLoopRunningEvent after GTK main loop start and stop.
3887 * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
3888 (getNextEvent): Set dispatchThread to null.
3889 (postEventImpl): Set nativeLoopRunning.
3890 (pop): Interrupt event dispatch thread.
3891 * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
3893 2006-10-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
3895 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
3897 * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
3900 2006-10-23 Marco Trudel <mtrudel@gmx.ch>
3902 * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
3903 * javax/crypto/CipherOutputStream.java: Re-implemented.
3904 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
3905 (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
3906 decryption mode and check if it is a complete block.
3907 (engineUpdate(byte[], int, int, byte[], int)): Likewise.
3908 (engineDoFinal(byte[], int, int)): In padded decryption mode, take
3909 partially processed data into account.
3911 2006-10-21 Tom Tromey <tromey@redhat.com>
3914 * java/util/AbstractCollection.java (toArray): Removed cast.
3916 2006-10-20 Tom Tromey <tromey@redhat.com>
3918 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
3919 Don't use mangled class name for .h file.
3920 * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
3921 Don't use mangled class name for .c file.
3922 * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
3923 Handle classes from the default package.
3925 2006-10-20 Francis Kung <fkung@redhat.com>
3927 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
3929 2006-10-19 Francis Kung <fkung@redhat.com>
3932 * java/awt/image/BufferedImage.java
3933 (constructor): Updated some properties of default image types.
3934 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3935 (argb32): Updated field to match default in BufferedImage.
3937 2006-10-18 Roman Kennke <kennke@aicas.com>
3940 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3941 (copyArea): Changed size comparison to return when size == 0
3943 * javax/swing/JViewport.java
3944 (paintBackingStore): Check width and height of blitted area
3945 and only do blit if its > 0.
3946 (paintBlit): Check width and height of blitted area
3947 and only do blit if its > 0.
3949 2006-10-18 Roman Kennke <kennke@aicas.com>
3952 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3953 (maximize): New native method.
3954 (unmaximize): New native method.
3955 (iconify): New native method.
3956 (deiconify): New native method.
3957 (getState): Implemented.
3958 (setState): Implemented.
3959 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3960 (oldState): Rename to windowState and made protected, so that
3961 the FramePeer can access it.
3962 (postWindowEvent): Handle state change events more gently and
3964 * java/awt/Frame.java
3965 (getState): Fetch state from getExtendedState().
3966 (setExtendedState): Update the peer. Check if the state change
3967 is actually supported.
3968 (getExtendedState): Update the state from the peer.
3969 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3970 (maximize): New method.
3971 (unmaximize): New method.
3972 (iconify): New method.
3973 (deiconify): New method.
3974 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3975 (AWT_FRAME_NORMAL): New macro.
3976 (AWT_FRAME_ICONIFIED): New macro.
3977 (AWT_FRAME_MAXIMIZED_BOTH): New macro.
3978 (window_window_state_cb): Rewritten to handle window state changes
3979 more gently (mostly on the java side of the world).
3980 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
3982 2006-10-18 Tania Bento <tbento@redhat.com>
3984 * java/awt/CardLayout.java:
3985 (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
3986 its height and width if Container passed as argument is null.
3987 (gotoComponent): Consider the case where the component is not visible.
3989 2006-10-18 Thomas Fitzsimmons <fitzsim@redhat.com>
3991 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
3993 * resource/gnu/classpath/tools/appletviewer/messages.properties:
3995 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
3997 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
3999 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
4001 * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
4002 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
4003 Retrieve user-visible strings through Messages.getString.
4004 * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
4005 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
4007 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
4009 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
4011 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
4013 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
4015 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
4018 2006-10-18 Roman Kennke <kennke@aicas.com>
4020 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4021 (AWT_WINDOW_OPENED): Remove unnecessary macro.
4022 (window_show_cb): Removed unnecessary function.
4023 (connect_signals): Don't connect signal for show. *
4024 gnu/java/awt/peer/gtk/GtkWindowPeer.java
4025 (hasBeenShown): Removed. This is handled in java.awt.Window.
4026 (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
4027 in java.awt.Window. * java/awt/Window.java
4028 (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
4030 2006-10-18 Francis Kung <fkung@redhat.com>
4032 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
4033 (drawRenderedImage): New method.
4034 (drawImage): New method.
4035 (CairoSurfaceGraphics): Set clip.
4036 (createBuffer): New method.
4037 (getBufferCM): New method.
4038 (drawComposite): New method.
4040 (getNativeCM): New method.
4041 (drawGlyphVector): New method.
4043 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4044 (getNativeCM): Reflect renamed field.
4045 * gnu/java/awt/peer/gtk/CairoSurface.java
4046 (cairoCM_pre): Renamed from cairoColorModel.
4047 (cairoColorModel): Set premultiplication to false.
4049 2006-10-18 Roman Kennke <kennke@aicas.com>
4052 * javax/swing/JScrollPane.java
4053 (viewportBorder): Made field private.
4054 (wheelScrollingEnabled): Made field private.
4055 (JScrollPane): Enabled wheel scrolling by default.
4056 * javax/swing/JTree.java
4057 (TreeSelectionRedirector.valueChanged): Don't repaint anything
4059 (getScrollableUnitIncrement): Fixed thinko.
4060 * javax/swing/plaf/basic/BasicScrollBarUI.java
4061 (static scrollByBlock): New static method to avoid code duplication
4062 for the BasicScrollPane wheel scrolling.
4063 (static scrollByUnits): New static method to avoid code duplication
4064 for the BasicScrollPane wheel scrolling.
4065 (scrollByBlock): Delegate to static helper method.
4066 (scrollByUnit): Delegate to static helper method.
4067 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4068 (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
4069 static helper methods to avoid code duplication.
4070 (MouseWheelHandler.bounds): Removed.
4071 (MouseWheelHandler.getValue): Removed.
4072 (MouseWheelHandler.scroll): Removed.
4074 2006-10-18 Roman Kennke <kennke@aicas.com>
4077 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4078 (updateComponent): Don't override this here.
4079 * java/awt/Window.java
4080 (addWindowListener): Ignore null listener. Set newEventsOnly flag.
4081 (addWindowFocusListener): Ignore null listener. Set newEventsOnly
4083 (addWindowStateListener): Ignore null listener. Set newEventsOnly
4086 2006-10-18 Roman Kennke <kennke@aicas.com>
4088 * javax/swing/JEditorPane.java
4089 (getStream): Try to detect and set the content type of the
4092 2006-10-18 Roman Kennke <kennke@aicas.com>
4094 * javax/swing/RepaintManager.java
4095 (RepaintWorkerEvent): Pass full set of params to super.
4096 (RepaintWorker.dispatch): Overridden to allow apps to call this
4098 (addDirtyRegion): Synchronize a little more to protect the
4099 dirtyComponents field and avoid NPEs.
4100 (invokeLater): Pass full set of params to RepaintWorkerEvent
4103 2006-10-18 Roman Kennke <kennke@aicas.com>
4105 * javax/swing/JEditorPane.java
4106 (page): Removed field. The page is now stored in the correct
4108 (getPage): Fetch page URL from document property.
4109 (read): Set the document for this JEditorPane. Use a Reader
4110 for reading in the document.
4111 (setPage): Call getStream() to get the stream from which we read.
4112 Fire property change. Store page in document property.
4114 2006-10-18 Roman Kennke <kennke@aicas.com>
4116 * java/awt/datatransfer/DataFlavor.java
4117 (DataFlavor(String)): Removed check for space in mime string.
4119 2006-10-18 Roman Kennke <kennke@aicas.com>
4121 * java/awt/Container.java
4122 (validateTree): Call ContainerPeer.begin|endLayout() rather than
4123 begin|endValidate().
4124 (validate): Call ContainerPeer.begin|endValidate() here.
4125 Added some local vars to avoid NPEs.
4127 2006-10-18 Roman Kennke <kennke@aicas.com>
4129 * native/target/.cvsignore
4130 * native/target/Linux/.cvsignore
4131 * native/target/generic/.cvsignore:
4132 Added to let CVS ignore the generated Makefile and Makefile.in
4135 2006-10-18 Roman Kennke <kennke@aicas.com>
4138 * java/awt/Window.java
4139 (eventTypeEnabled): Overridden to handle WindowEvents.
4140 (processEvent): Switch between processWindowEvent(),
4141 processWindowFocusEvent() and processWindowStateEvent() here,
4142 rather than simply calling processWindowEvent().
4143 (processWindowEvent): Only dispatch event to listener, do not
4144 switch to processWindowFocusEvent() or processWindowStateEvent()
4146 * javax/swing/JFrame.java
4147 (frameInit): Explicitly enable window and key events here.
4148 (processWindowEvent): Throw out some unnecessary code.
4149 * javax/swing/JWindow.java
4150 (windowInit): Explicitly enable key events here.
4151 * javax/swing/JDialog.java
4152 (close_action): Renamed to closeAction.
4153 (dialogInit): Explicitly enable window events here.
4154 (getDefaultCloseOperation): Renamed close_action to closeAction.
4155 (processWindowEvent): Throw out some unnecessary code.
4156 Renamed close_action to closeAction.
4157 (setDefaultCloseOperation): Renamed close_action to closeAction.
4159 2006-10-17 Thomas Fitzsimmons <fitzsim@redhat.com>
4161 * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
4162 to track native GTK event loop status.
4163 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
4164 clear running flag when native GTK event loop starts and stops.
4166 2006-10-17 Roman Kennke <kennke@aicas.com>
4168 * javax/swing/TransferHandler.java
4169 (exportToClipboard): Implemented.
4171 2006-10-17 Francis Kung <fkung@redhat.com>
4173 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
4174 region to account for pixel-shifting.
4175 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
4178 2006-10-17 Francis Kung <fkung@redhat.com>
4181 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
4182 (getLogicalBounds): Translate individual glyphs before appending bounds.
4183 (getOutline): Translate individual glyphs before appending outline.
4185 2006-10-17 Cameron McCormack <cam@mcc.id.au>
4188 * java/awt/font/TextLayout.java
4190 (constructor): Store bidi in field.
4191 (getCharacterLevel): Implemented.
4193 2006-10-17 Roman Kennke <kennke@aicas.com>
4195 * javax/swing/TransferHandler.java
4196 (PropertyTransferable): New inner class. Handles transfers
4197 from component properties.
4198 (createTransferable): Implemented.
4200 2006-10-17 Francis Kung <fkung@redhat.com>
4202 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4203 (drawComposite): Ensure composite does not extend beyond buffer
4205 * java/awt/image/Raster.java
4206 (createChild): Ensure child does not extend beyond parent's
4208 * java/awt/image/WritableRaster.java
4209 (createWritableChild): Ensure child does not extend beyond
4212 2006-10-17 Jeroen Frijters <jeroen@frijters.net>
4214 * native/jni/classpath/jcl.c
4215 (JNI_OnLoad): Corrected calling convention.
4217 2006-10-16 Roman Kennke <kennke@aicas.com>
4219 * javax/swing/TransferHandler.java
4220 (propertyName): New field.
4221 (TransferHandler(String)): Store property name in field.
4222 (canImport): Implemented stub method.
4223 (exportDone): This is a no-op. Removed not-implemented mark.
4224 (getPropertyDataFlavor): New helper method.
4225 (getPropertyDescriptor): New helper method.
4227 2006-10-16 Roman Kennke <kennke@aicas.com>
4229 * javax/swing/AbstractButton.java
4230 (AccessibleJButton.getAfterIndex): Implemented.
4231 (AccessibleJButton.getAtIndex): Implemented.
4232 (AccessibleJButton.getBeforeIndex): Implemented.
4233 (AccessibleJButton.getCharacterAttribute): Completed incomplete
4234 method implementation.
4236 2006-10-16 Roman Kennke <kennke@aicas.com>
4238 * javax/swing/JLabel.java
4239 (AccessibleJLabel.getIndexAtPoint): Implemented.
4240 (AccessibleJLabel.getCharacterBounds): Implemented.
4241 (AccessibleJLabel.getTextRectangle): New helper method.
4243 2006-10-16 Roman Kennke <kennke@aicas.com>
4245 * javax/swing/filechooser/FileSystemView.java
4246 (getFileSystemView): Mark as implemented.
4248 2006-10-14 Roman Kennke <kennke@aicas.com>
4251 * javax/swing/JComponent.java
4252 (toolTipText): Removed field.
4253 (createToolTip): Don't set tooltip text here. This is done
4254 in the ToolTipManager.
4255 (setToolTipText): Set tooltip text as client property.
4256 (getToolTipText): Get tooltip text from client property.
4257 * javax/swing/ToolTipManager.java
4258 (currentComponent): Made field non-static and of type JComponent.
4259 (currentPoint): Made field non-static.
4260 (currentTip): Made field non-static.
4261 (popup): Made field non-static.
4262 (toolTipText): New field. Stores the current tooltip text.
4263 (checkTipUpdate): New helper method. Checks for updates of
4264 the tooltip text and triggers the appropriate actions.
4265 (getContentPaneDeepestComponent): Removed unneeded casts.
4266 (mouseEntered): Removed unneeded cast. Initially fetch tooltip
4267 text from component.
4268 (mouseMoved): Check for tooltip text updates.
4269 (showTip): Set tooltip text from current setting.
4271 2006-10-14 Roman Kennke <kennke@aicas.com>
4274 * javax/swing/JSlider.java
4275 (setPaintLabels): Call setLabelTable() instead of setting
4276 the field directly. This also updates the label's size.
4278 2006-10-13 Tom Tromey <tromey@redhat.com>
4280 * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
4283 2006-10-13 Tania Bento <tbento@redhat.com>
4285 * java/awt/ScrollPane.java
4286 (setLayout): Should throw AWTError whenever called.
4288 2006-10-13 Roman Kennke <kennke@aicas.com>
4291 * java/awt/Component.java
4292 (dispatchEventImpl): Special handle ComponentReshapeEvents to
4293 update the AWT's knowledge about a component's size.
4294 * gnu/java/awt/ComponentReshapeEvent.java: New class.
4295 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4296 (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
4297 to update the AWT's knowledge about the component bounds.
4299 2006-10-13 Tania Bento <tbento@redhat.com>
4301 * java/awt/ScrollPaneAdjustable.java
4302 (setMaximum): Should throw AWTError whenever called.
4304 (setVisibleAmount): Same.
4306 2006-10-13 Tania Bento <tbento@redhat.com>
4308 * java/awt/ScrollPane.java
4309 (addImpl): When calling super, index should be value passed,
4311 (getIsValidString): New helper method for paramString().
4312 (getScrollbarDisplayString): New helper method for paramString().
4313 (paramString): Changed format of outputted string.
4315 2006-10-13 David Gilbert <david.gilbert@object-refinery.com>
4317 * javax/swing/tree/DefaultTreeSelectionModel.java
4318 (clone): Added cast to TreePath[].
4320 2006-10-13 Roman Kennke <kennke@aicas.com>
4323 * javax/swing/JMenuItem.java
4324 (isDragging): New field. Indicates if we are inside a mouse
4326 (createMenuDragMouseEvent): Removed unneeded method.
4327 (processMenuDragMouseEvent): Track if we are dragging.
4328 (processMouseEvent): Simply forward to processMenuDragMouseEvent().
4329 * javax/swing/plaf/basic/BasicMenuItemUI.java
4330 (MenuDragMouseHandler.menuDragMouseDragged): Fetch
4331 MenuSelectionManager from event.
4332 (MenuDragMouseHandler.menuDragMouseEntered): Fetch
4333 MenuSelectionManager from event.
4334 (MenuDragMouseHandler.menuDragMouseExited): Fetch
4335 MenuSelectionManager from event.
4336 (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
4337 release inside menu item, otherwise clear selection.
4338 (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
4339 and getY(). Call doClick() rather than the doClick() of JMenuItem.
4340 (doClick): Perform an immediate click.
4342 2006-10-13 Thomas Fitzsimmons <fitzsim@redhat.com>
4344 * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
4345 return if object is not in the list.
4347 2006-10-12 Andrew Haley <aph@redhat.com>
4349 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
4350 * java/lang/ThreadLocal.java: Likewise.
4352 2006-10-12 Roman Kennke <kennke@aicas.com>
4355 * javax/swing/JSlider.java
4356 (LabelUIResource): New inner class. A JLabel as UIResource.
4357 (createStandardLabels): Don't set label bounds here.
4358 Create LabelUIResource instances.
4359 (setInverted): Repaint.
4360 (setLabelTable): Update the label UIs. Revalidate and repaint.
4361 (setMajorTickSpacing): Update the label table. Repaint if
4363 (setMinorTickSpacing): Repaint if necessary.
4364 (setOrientation): Revalidate.
4365 (setPaintLabels): Revalidate and repaint.
4366 (setPaintTicks): Revalidate and repaint.
4367 (setPaintTrack): Repaint.
4368 (updateLabelUIs): Set the label sizes here.
4369 (updateUI): Also update the label UIs.
4370 * javax/swing/plaf/basic/BasicSliderUI.java
4371 (ComponentHandler.componentResized): Don't revalidate.
4372 (FocusHandler.focusGained): Don't set field.
4373 (FocusHandler.focusLost): Don't set field.
4374 (PropertyChangeHandler.propertyChange): Calculate geometry
4375 and repaint for a couple more properties.
4376 (TrackListener.mouseReleased): Repaint.
4377 (hasFocus): Removed unneeded field.
4378 (calculateContentRect): No need to check for content size < 0.
4379 (calculateFocusRect): Use insets from insetCache.
4380 (calculateLabelRect): Fixed calculation of label rectangle.
4381 It is relative to the tick rectangle, rather than the content
4383 (calculateTickRect): Small restructuring to avoid unnecessary
4385 (calculateTrackRect): Fixed calculation of track rectangle.
4386 (getMaximumSize): Fixed. Fetch preferred size and set
4387 the height of width to Short.MAX_VALUE.
4388 (getMinimumHorizontalSize): Fixed to return UIManager value.
4389 (getMinimumVerticalSize): Fixed to return UIManager value.
4390 (getPreferredHorizontalSize): Fixed to return UIManager value.
4391 (getPreferredVerticalSize): Fixed to return UIManager value.
4392 (getMinimumSize): Fixed to return the UIManager value plus
4394 (getPreferredSize): Fixed to return the UIManager value plus
4396 (getWidthOfWidestLabel): Restructured for more cleanness and
4398 (hitClip): New helper method.
4399 (paintHorizontalLabel): Replaced by more efficient and clean
4401 (paintVerticalLabel): Replaced by more efficient and clean
4403 (paintLabels): Replaced by more efficient and clean
4405 (paint): Check if rectangles intersect with clip for maximum
4407 (recalculateIfInsetsChanged): Fixed. This method should
4408 recalculate only when the insets changed.
4409 (setThumbLocation): Repaint with a reasonable clip.
4410 (xPositionForValue): Made more clean and efficient.
4411 (yPositionForValue): Made more clean and efficient.
4412 * javax/swing/plaf/basic/BasicLookAndFeel.java
4413 (initComponenDefaults): Added Slider.horizontalSize,
4414 Slider.verticalSize, Slider.minimumHorizontalSize and
4415 Slider.minimumVerticalSize properties.
4416 * javax/swing/plaf/metal/MetalSliderUI.java
4417 (getTickLength): Add 1 for horizontal sliders and 3 for
4419 (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4420 (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4421 (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4422 (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4424 2006-10-12 Roman Kennke <kennke@aicas.com>
4427 * javax/swing/text/FlowView.java
4428 (FlowStrategy.layout): Preserve logical views from getting lost.
4429 (FlowStrategy.layoutRow): Fix line breaking.
4430 (FlowStrategy.adjustRow): Fix line breaking.
4431 (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4432 (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4433 (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4434 (createView): Don't check index.
4435 (contains): New helper method.
4436 (reparent): New helper method.
4437 (layoutDirty): Removed unneeded field.
4438 (FlowView): Removed layoutDirty field init.
4439 (changedUpdate): Removed layoutDirty handling.
4440 (insertUpdate): Removed layoutDirty handling.
4441 (removeUpdate): Removed layoutDirty handling.
4442 (layout): Use isLayoutValid() rather than the layoutDirty field.
4443 * javax/swing/text/GlyphView.java
4444 (startOffset): Removed.
4445 (endOffset): Removed.
4446 (offset): New field.
4447 (length): New field.
4448 (GlyphView): Initialize new fields. Removed old fields.
4449 (createFragment): Create fragment with new relative offsets.
4450 (getEndOffset): Work with new relative offsets.
4451 (getStartOffset): Work with new relative offsets.
4452 * javax/swing/text/ParagraphView.java
4453 (Row.getStartOffset): Overidden to determine the minimum start
4454 offset from the children.
4455 (Row.getEndOffset): Overidden to determine the maximum end
4456 offset from the children.
4457 * javax/swing/text/html/BRView.java
4458 Make subclass of InlineView.
4459 (getBreakWeight): Fall back to super for Y_AXIS.
4461 2006-10-12 Roman Kennke <kennke@aicas.com>
4464 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4465 (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4466 one that avoids faulty state that could cause division by zero
4469 2006-10-12 Roman Kennke <kennke@aicas.com>
4472 * javax/swing/plaf/basic/BasicRadioButtonUI.java
4473 (paint): Determine correct icon. Added support for HTML label.
4474 Added small optimizations.
4475 (getPreferredSize): Only consider the buttons iconTextGap, and
4476 only when the text is not null.
4477 * javax/swing/plaf/basic/BasicLookAndFeel.java
4478 (initComponentDefaults): Fetch border for RadioButton from
4479 BasicButtons.getRadioButtonBorder().
4480 * javax/swing/plaf/metal/MetalRadioButtonUI.java
4481 (paintFocus): Paint focus rectangle one pixel smaller.
4483 2006-10-12 Roman Kennke <kennke@aicas.com>
4486 * javax/swing/tree/AbstractLayoutCache.java
4487 (getNodeDimensions): Don't throw InternalError, but instead
4489 (getRowsForPaths): Check for null here.
4490 (isFixedRowHeight): Returns true when rowHeight > 0.
4491 (setSelectionModel): Set this as the row mapper for the selection
4493 * javax/swing/tree/VariableHeightLayoutCache.java
4494 (NodeRecord.NodeRecord): Initialize bounds field.
4495 (getBounds): Simply return the bounds field.
4496 (row2Node): Changed to be an ArrayList.
4497 (RECT_CACHE): New field. Caches a Rectangle instance.
4498 (countRows): Added y parameter and return value. The method
4499 now takes the current y position as parameter, and returns
4500 the updated y position.
4501 (getBounds): Fixed to return the correct bounds.
4502 (getPathForRow): Replaced by fixed implementation.
4503 (getPreferredHeight): Replaced by more efficient implementation.
4504 This simply fetches the last node record and returns its lower
4506 (getPreferredWidth): Added null check.
4507 (getVisibleChildCount): Added null check.
4508 (getVisiblePathsFrom): Added null check.
4509 (setExpandedState): Also expand the ancestors of the node
4511 (setModel): Set dirty flag rather than updating for real.
4512 (setNodeDimensions): Overridden to set the dirty flag.
4513 (setRowHeight): Overridden to set the dirty flag.
4514 (update): Don't special case the root here, this is done now
4517 2006-10-12 Roman Kennke <kennke@aicas.com>
4519 * javax/swing/JComponent.java
4520 (paintImmediately2): Added support for components which need
4521 to force themselves as paint root.
4522 (isPaintRoot): New method. This should be overridden by components
4523 which need to force themselves as paint root.
4524 * javax/swing/JViewport.java
4525 (isPaintRoot): Overridden to force the viewport as paint root
4526 when running in backingstore mode.
4528 2006-10-12 Roman Kennke <kennke@aicas.com>
4530 * javax/swing/tree/DefaultTreeSelectionModel.java
4531 (PathPlaceHolder): New inner class. Wraps a path and its status
4533 (selectedPaths): New field. A supporting datastructure.
4534 (tmpPaths): New field. A supporting datastructure.
4535 (DefaultTreeSelectionModel): Initialize the list selection model,
4536 the leadIndex and the supporting datastructures.
4537 (addPropertyChangeListener): Create changeSupport object lazily.
4538 (addSelectionPaths): Mostly rewritten to handle the different
4539 selection modes correctly.
4540 (addSelectionPath): Delegate to addSelectionPaths().
4541 (arePathsContiguous): Replaced with more efficient implementation
4543 (canPathBeAdded): Removed unneeded method.
4544 (canPathsBeAdded): Replaced with more efficient implementation.
4545 (clearSelection): Create correct event. Clear the fields correctly,
4546 including the supporting datastructures.
4547 (clone): Also clone the supporting datastructures and nullify
4548 changeSupport field.
4549 (getMaxSelectionRow): Delegate to list selection model.
4550 (getMinSelectionRow): Delegate to list selection model.
4551 (getPath): Removed unneeded method.
4552 (getPropertyChangeListeners): Handle null changeSupport field
4554 (getRow): Handle null rowMapper field correctly.
4555 (getSelectionRows): Handle invisible rows correctly.
4556 (insureRowContinuity): Replaced by more efficient and correct
4558 (isRowSelected): Delegate to list selection model.
4559 (notifyPathChange): Made more efficient by use of PathPlaceHolder
4561 (removePropertyChangeListener): Handle null changeSupport field.
4562 (removeSelectionPaths): Mostly rewritten to handle the different
4563 selection modes correctly.
4564 (removeSelectionPath): Delegate to removeSelectionPaths().
4565 (resetRowSelection): Handle list selection model.
4566 (selectOne): Removed unneeded field.
4567 (setRowMapper): Reset the row selection.
4568 (setSelectionMode): Check for invalid mode and set to
4569 DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4570 (setSelectionPaths): Mostly rewritten to handle the different
4571 selection modes correctly.
4572 (setSelectionPath): Delegate to setSelectionPaths().
4573 (updateLeadIndex): Made more efficient.
4575 2006-10-11 Francis Kung <fkung@redhat.com>
4577 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4578 (buffer, locked): New fields.
4579 (constructors): Initialize new variables.
4580 (createBuffer): New method.
4581 (draw): Implement custom composites.
4582 (drawComposite): New method.
4583 (drawGlyphVector): Implement custom composites.
4584 (drawImage): Implement custom composites.
4585 (drawRenderedImage): Implement custom composites.
4586 (fill): Implement custom composites.
4587 (getBufferCM): New method.
4588 (getNativeCM): New method.
4589 (updateBufferedImage): Fix premultiplication.
4590 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4591 (copy): Copy composite.
4592 (drawImage): Set background properly.
4593 (getBufferCM): New method.
4594 (setComposite): Reset alpha composite when using custom composite.
4595 * gnu/java/awt/peer/gtk/CairoSurface.java
4596 (cairoColorModel): New field.
4597 (nativeColorModel): Renamed.
4598 (constructor): Use renamed createCairoSampleModel method.
4599 (createCairoSampleModel): New method.
4600 (createNativeSampleModel): Renamed.
4601 (getBufferedImage): Use renamed cairoColorModel field.
4602 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4603 (gdkColorModel): New field.
4604 (createGdkSampleModel): New method.
4605 (getPixels): Added comments.
4606 (getSnapshot): Use GDK colour and sample models.
4607 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4608 (createBuffer): Use GDK colour and sample models.
4609 (getNativeCM): Added comments.
4610 * java/awt/image/BufferedImage.java
4611 (constructor): Set premultiplied flag properly.
4613 2006-10-11 Edwin Steiner <edwin.steiner@gmx.net>
4615 * native/jni/java-nio/gnu_java_nio_VMChannel.c
4616 (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4618 2006-10-10 Francis Kung <fkung@redhat.com>
4621 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4622 (createPath): Added isDraw parameter.
4623 (draw): Updated createPath call.
4624 (fill): Updated createPath call.
4626 2006-10-10 Tom Tromey <tromey@redhat.com>
4629 * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4630 there is a stylesheet.
4632 2006-10-10 Roman Kennke <kennke@aicas.com>
4634 * java/awt/Toolkit.java
4635 (getDefaultTookit): Make method synchronized to avoid
4636 accidentally creating more than one toolkits from different
4639 2006-10-10 Roman Kennke <kennke@aicas.com>
4641 * java/awt/LightweightDispatcher.java
4642 (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4643 (redispatch): Transfer the button to the redispatched event.
4645 2006-10-10 Francis Kung <fkung@redhat.com>
4647 * java/awt/image/ColorModel.java (coerceData): Implemented.
4649 2006-10-09 Christian Elias Naur <elias@oddlabs.com>
4651 * vm/reference/java/lang/VMClassLoader.java:
4652 (defineClassWithTransformers): Use proper class name format.
4654 2006-10-09 Gary Benson <gbenson@redhat.com>
4656 * java/net/ServerSocket.java
4657 (implAccept): Add security check.
4658 (accept): Close socket if security check fails.
4659 (setSocketFactory): Add security check and already-set check.
4661 2006-10-09 Roman Kennke <kennke@aicas.com>
4664 * javax/swing/JSplitPane.java
4665 (dividerLocation): New field. Stores the divider location.
4666 (JSplitPane): Initialize dividerLocation with -1.
4667 (addImpl): Removed unneeded local variables.
4668 (getDividerLocation): Manage dividerLocation in the JSplitPane
4669 class, not in the UI.
4670 (setDividerLocation): Manage dividerLocation in the JSplitPane
4671 class, not in the UI. Only call the UI method for notification.
4672 * javax/swing/plaf/basic/BasicSplitPaneUI.java
4673 (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4674 location from the JSplitPane. Honour the minimumSize, but only
4675 if the divider location hasn't been set explicitly.
4676 (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4678 (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4680 (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4681 the divider location.
4682 (dividerLocationSet): New field.
4683 (dividerLocation): Removed field.
4684 (createActionMap): Fetch and set divider location on the JSplitPane.
4685 (getDividerLocation): Return the actual real divider location.
4686 (getMaximumSize): Removed unneeded cast.
4687 (getPreferredSize): Removed unneeded cast.
4688 (getMinimumSize): Removed unneeded cast.
4689 (installUI): Initialize dividerLocationSet with false.
4690 (uninstallUI): Initialize dividerLocationSet with false.
4691 (setDividerLocation): Set dividerLocationSet to true.
4693 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4695 * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4696 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4697 convert jstring into char *.
4698 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4699 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4700 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4701 (getif_address): Added const modifier to second argument.
4702 (getif_index): Dito.
4704 2006-10-09 Roman Kennke <kennke@aicas.com>
4706 * javax/swing/JTree.java
4707 (isSelected): Added API docs.
4709 2006-10-09 Roman Kennke <kennke@aicas.com>
4711 * javax/swing/JTree.java
4712 (isSelected): Delegate to the selection model directly.
4714 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4716 * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4717 sizeof_struct_kevent to _sizeof_struct_kevent.
4719 2006-10-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4721 * tools/gnu/classpath/tools/rmic/RMICException.java:
4722 javadoc corrections, reformatted.
4724 2006-10-07 Christian Elias Naur <elias@oddlabs.com>
4726 * gnu/java/lang/InstrumentationImpl.java:
4727 Made constructor package visible.
4729 2006-10-05 Gary Benson <gbenson@redhat.com>
4731 * java/net/Socket.java
4732 (Socket): Perform security check on address not hostname.
4734 2006-10-04 Roman Kennke <kennke@aicas.com>
4736 * javax/swing/tree/VariableHeightLayoutCache.java
4737 (getBounds): When rect is null, create a new Rectangle.
4739 2006-10-04 Christian Thalinger <twisti@complang.tuwien.ac.at>
4741 * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4742 (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4743 (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4744 (cpnio_select): Use CPNIO_EXPORT.
4745 * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4746 inline instead of extern inline, as newer GCCs changed their
4749 2006-10-04 Gary Benson <gbenson@redhat.com>
4751 * java/net/InetAddress.java: Updated javadoc.
4752 (<clinit>, getByLiteral): Throw InternalError on failures.
4754 2006-10-03 Francis Kung <fkung@redhat.com>
4756 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4757 (compCtx): New field for composite context.
4758 (copy): Copy composite.
4759 (dispose): Dispose of composite context.
4760 (getNativeCM): New method.
4761 (setComposite): Discard old composite context and set up new context.
4762 (setRenderingHints): Update composite context.
4763 * gnu/java/awt/peer/gtk/CairoSurface.java
4764 (nativeColorModel): New field, renamed from nativeModel.
4765 (nativeModel): Renamed field to nativeColorModel.
4766 (CairoSurface(int, int)): Call new method to create sample model.
4767 (createNativeSampleModel): New method.
4768 (getBufferedImage): Updated variable name.
4769 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4770 (buffer): New field.
4771 (createBuffer): New method.
4773 (drawComposite): New method.
4774 (drawGlyphVector): New method.
4775 (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4776 (drawImage(Image, int, int, ImageObserver)): Check composite.
4777 (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4779 (getNativeCM): New method.
4780 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4781 (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use
4782 intermediary pixbuf to grab on-screen pixels.
4784 2006-10-03 Tom Tromey <tromey@redhat.com>
4787 * java/util/IdentityHashMap.java (tombstone): Removed.
4788 (emptyslot): Removed.
4789 (nullslot): New field.
4790 (IdentityHashMap): Don't fill array.
4791 (clear): Fill with null.
4792 (hash): Now final. Use linear probing.
4793 (xform): New method.
4794 (unxform): Likewise.
4795 (removeAtIndex): Likewise.
4796 (clone, containsKey, containsValue, entrySet, get, hashCode,
4797 keySet, put, remove, values): Updated.
4798 (IdentityIterator, IdentityEntry): Likewise.
4799 (writeObject): Likewise.
4801 2006-10-03 Tom Tromey <tromey@redhat.com>
4803 * java/util/Locale.java (hashcode): Updated javadoc.
4804 (hashcodeCache): Removed.
4806 (hashCode): Updated.
4807 (writeObject): New method.
4808 (readObject): Updated.
4810 2006-10-02 Francis Kung <fkung@redhat.com>
4812 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4813 (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
4814 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4815 (clearRect): Paint background colour with AlphaComposite.SRC rule.
4816 (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
4817 pre-multiply data before drawing.
4818 (fillRect): Draw using regular fill() method.
4819 (setComposite): Handle null case with AlphaComposite.SrcOver default.
4820 * gnu/java/awt/peer/gtk/CairoSurface.java
4821 (nativeModel): Use correct value for alpha premultiplication (true).
4822 * java/awt/image/BufferedImage.java
4823 (coerceData): Update isPremultiplied field.
4825 2006-10-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
4827 * gnu/classpath/ListenerData.java:
4828 New class for holding listener data.
4829 * gnu/java/lang/management/MemoryMXBeanImpl.java:
4830 ListenerData class moved to its own file.
4831 * javax/management/MBeanServerDelegate.java,
4832 * javax/management/MBeanServerDelegateMBean.java,
4833 * javax/management/MBeanServerNotification.java:
4836 2006-10-02 Tania Bento <tbento@redhat.com>
4838 * java/ast/Rectangle.java:
4839 (Rectangle(Rectangle)): Do not throw NPE.
4840 (Rectangle(Point, Dimension)): Same.
4841 (Rectangle(Point)): Same.
4842 (Rectangle(Dimension)): Same.
4844 2006-09-29 Casey Marshall <csm@gnu.org>
4847 * gnu/java/nio/EpollSelectionKeyImpl.java: extend
4848 `AbstractSelectionKey.'
4849 (cancel, isValid): removed.
4850 * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
4851 (events): new field.
4852 (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
4854 (<clinit>): initialize those constants.
4855 (<init>): don't initialize `cancelledKeys;' initialize `events.'
4856 (doSelect): deregister cancelled keys; remove keys attached to
4857 closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
4858 `events' buffer; reallocate `events' buffer if needed.
4859 (register): reallocate `events' buffer if needed.
4860 (reallocateBuffer): new method.
4863 2006-09-29 Roman Kennke <kennke@aicas.com>
4866 * javax/swing/JViewport.java
4867 (cinit): Renamed system property to gnu.swing.scrollmode
4868 to avoid bloat. Default to BACKINGSTORE, this is much
4870 (repaint): Forward repaint() to parent as is specified.
4872 2006-09-29 Tania Bento <tbento@redhat.com>
4874 * javax/swing/plaf/basic/BasicTableUI.java
4875 (getPreferredSize): The number of iterations for the for-loop should be
4876 the number of columns in the table's column model, not the number of
4877 columns of the table.
4878 * javax/swing/JTable.java
4879 (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
4880 lines that are not needed.
4881 (initializeLocalVars): dragEnabled should be set to false, not true.
4882 (getCellRenderer): Added a check to prevent an
4883 ArrayIndexOutOfBoundsException.
4884 (doLayout): The number of iterations for the for-loops should be the
4885 number of columns in the table's column model, not the number of columns
4888 2006-09-29 Roman Kennke <kennke@aicas.com>
4890 * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
4892 (isOptimized): Initialize with true.
4893 (paintRaster): Removed unneeded field.
4894 (shapeCache): New static field. Caches certain shapes for reuse.
4895 (computeIntersection): Removed unneeded casts.
4896 (drawArc): Use shape cache.
4897 (drawImage): Removed unneeded statement.
4898 (drawLine): Use shape cache. Pass untranslated coordinates
4900 (drawOval): Use shape cache.
4901 (drawPolygon): Use shape cache.
4902 (drawRect): Overridden to provide accelerated rectangle drawing
4903 if possible and to use the shape cache.
4904 (drawRoundRect): Use shape cache.
4905 (fillArc): Use shape cache.
4906 (fillOval): Use shape cache.
4907 (fillPolygon): Use shape cache.
4908 (fillRect): Pass untranslated coordinates to rawFillRect().
4910 (fillRoundRect): Use shape cache.
4911 (fillScanlineAA): Removed unneeded statement.
4912 (fillScanline): Updated API docs.
4913 (fillShapeAntialias): Removed unnecessary cast.
4914 (fillShapeImpl): Update API docs. Removed unnecessary cast.
4915 (fillShape): Updated API docs.
4916 (getShapeCache): New helper method.
4917 * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
4918 certain shapes for reuse in AbstractGraphics2D.
4920 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4922 * javax/management/BadBinaryOpValueExpException.java:
4923 (getExp()): Implemented.
4924 * javax/management/MBeanConnection.java:
4925 Renamed to MBeanServerConnection.
4926 * javax/management/MBeanServer.java:
4927 (setAttribute(Attribute)): Fixed...
4928 (setAttribute(ObjectName,Attribute)): to this.
4929 * javax/management/MBeanServerConnection.java:
4930 Renamed from MBeanConnection.
4931 * javax/management/QueryExp.java:
4932 Extend Serializable.
4933 * javax/management/ValueExp.java:
4935 * javax/management/loading/ClassLoaderRepository.java:
4936 (loadClass(String)): Throw ClassNotFoundException.
4937 (loadClassBefore(ClassLoader,String)): Likewise.
4938 (loadClassWithout(String, ClassLoader): Fixed...
4939 (loadClassWithout(ClassLoader,String)): to this.
4941 2006-09-28 Roman Kennke <kennke@aicas.com>
4943 * javax/swing/tree/DefaultTreeCellRenderer.java
4944 (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
4945 property from UIManager.
4946 (paint): Rewritten to use super's implementation and only paint
4947 background and focus indicator before.
4948 (paintFocus): New helper method.
4949 (getXOffset): New helper method.
4951 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4953 * javax/management/BadBinaryOpValueExpException.java,
4954 * javax/management/MBeanConnection.java,
4955 * javax/management/MBeanServer.java,
4956 * javax/management/ObjectInstance.java:
4958 * javax/management/ObjectName.java:
4959 (setMBeanServer(MBeanServer)): Implemented.
4960 * javax/management/QueryExp.java,
4961 * javax/management/ValueExp.java,
4962 * javax/management/loading/ClassLoaderRepository.java:
4965 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4967 * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
4969 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4971 * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
4972 * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
4973 * gnu/java/nio/EpollSelectorImpl.java:
4974 (doSelect): Use Integer.valueOf() instead of constructor call.
4975 (register): Use Integer.valueOf() instead of constructor call.
4977 2006-09-27 Roman Kennke <kennke@aicas.com>
4979 * java/awt/Container.java
4980 (addContainerListener): Activate newEventsOnly for the component.
4981 Ignore null listeners.
4983 2006-09-27 Roman Kennke <kennke@aicas.com>
4985 * java/awt/EventQueue.java
4986 (Queue): New inner class. Implements the actual queue.
4987 (LOW_PRIORITY): New constant field.
4988 (NORM_PRIORITY): New constant field.
4989 (queueHead): Removed. Moved into Queue.
4990 (queueTail): Removed. Moved into Queue.
4991 (queues): New field.
4992 (EventQueue): Initialize two internal queues, one for
4993 normal events, one for low priority events.
4994 (getNextEventImpl): New helper method, fetches the next event.
4995 (getNextEvent): Use getNextEventImpl() for fetching the event.
4996 (peekEvent): Use getNextEventImpl() for fetching the event.
4997 (peekEvent(int)): Search for event in all queues.
4998 (postEventImpl(AWTEvent)): Moved actual posting into
4999 postEventImpl(AWTEvent,int). Prioritize events here.
5000 (postEventImpl(AWTEvent,int)): Take priority parameter and insert
5001 event into correct queue. Re-enable event coalescing.
5002 * gnu/java/awt/LowPriorityEvent.java: New marker interface.
5003 * javax/swing/RepaintManager.java
5004 (RepaintWorkerEvent): New internal class. This is a low priority
5005 event for the repaint worker.
5006 (addDirtyRegion): Use new internal invokeLater() for sending
5007 a low priority event.
5008 (addInvalidComponent): Use new internal invokeLater() for sending
5009 a low priority event.
5010 (commitBuffer): Added some null checks.
5011 (invokeLater): New helper method. Sends a low priority
5012 repaint worker event on the event queue.
5014 2006-09-27 Roman Kennke <kennke@aicas.com>
5018 * javax/swing/plaf/basic/BasicButtonUI.java
5019 (cachedInsets): New field.
5020 (installListeners): Fire synthetic property change to initialize
5021 TEXT_LAYOUT_CACHE for the button because the font has been
5023 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5024 (paint): Use cached insets.
5025 (paintText): Let new method forward to old one, not vice versa.
5026 * javax/swing/plaf/basic/BasicMenuItemUI.java
5027 (defaultAcceleratorLabelGap): Removed unused field.
5028 (MenuGap): Removed unused field.
5029 (propertyChangeListener): Made private.
5030 (getAcceleratorRect): Removed unused method.
5031 (getAcceleratorText): Removed unused method.
5032 (getPath): Removed unnecessary cast.
5033 (installListeners): Fire synthetic property change to initialize
5034 TEXT_LAYOUT_CACHE for the button because the font has been
5036 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5037 (layoutMenuItem): Removed unused statements.
5039 2006-09-27 Roman Kennke <kennke@aicas.com>
5042 * javax/swing/tree/DefaultTreeModel.java
5043 (isLeaf): Check if the node allows children when
5044 asksAllowsChildren is true, otherwise fall back
5045 to return the node's leaf property.
5047 2006-09-27 Mario Torre <neugens@limasoftware.net>
5049 * scripts/check_jni_methods.sh: removed methods from the
5051 Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
5052 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
5053 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
5054 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5055 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5056 * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
5057 to better follow the GNU style.
5058 * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
5059 regenerated header file for GConfNativePeer.
5061 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
5063 * INSTALL: Added information about grmic being built when ASM
5064 is available, added information about gconf dependency, indented
5065 Qt4 dependency section.
5066 * configure.ac: Added information about grmic being built when ASM
5069 2006-09-27 Ian Rogers <ian.rogers@manchester.ac.uk>
5071 * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
5072 DeleteGlobalRef on a local ref.
5074 2006-09-24 Mario Torre <neugens@limasoftware.net>
5076 * scripts/check_jni_methods.sh: added two new methods in the
5078 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5080 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5081 * native/jni/gconf-peer/GConfNativePeer.c:
5082 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
5083 refacored method name, renamed from
5084 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
5085 Added code to unescape escaped GConf key names.
5086 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
5087 refacored method name, renamed from
5088 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
5089 Added code to unescape escaped GConf key names.
5090 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
5092 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
5094 * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
5095 version javadoc tag.
5096 (escapeString): new method.
5097 (unescapeString): likewise.
5098 (gconf_escape_key): new native method.
5099 (gconf_unescape_key): likewise.
5100 (gconf_client_suggest_sync): update native method signature, now
5101 explicity throws BackingStoreException.
5102 (gconf_client_all_nodes): update native method signature, now
5103 explicity throws BackingStoreException. Refactored method name,
5104 renamed from gconf_client_gconf_client_all_nodes.
5105 (gconf_client_all_keys): update native method signature, now
5106 explicity throws BackingStoreException. Refactored method name,
5107 renamed from gconf_client_gconf_client_all_keys.
5108 (getKeys): refactored to use the new method name
5109 gconf_client_all_keys.
5110 (getChildrenNodes): refactored to use the new method name
5111 gconf_client_all_nodes.
5112 * gnu/java/util/prefs/GConfBasedPreferences.java: removed
5113 version javadoc tag.
5114 (GConfBasedPreferences): Added code to escape node names from
5115 invalid characters so that GConf now accept invalid node names.
5116 (GConfBasedPreferences): Moved code to register the current
5117 node to the list of nodes watched by GConf outside the constructor.
5118 (childSpi): Added code to register the current node to the
5119 list of nodes watched by GConf.
5120 (getGConfKey): Added code to escape key names from
5121 invalid characters so that GConf now accept invalid key names.
5123 2006-09-26 Tom Tromey <tromey@redhat.com>
5125 * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
5126 call mkdirs in output-directory case.
5127 (getPrintStream): Create output directory.
5128 * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
5131 2006-09-27 Raif S. Naffah <raif@swiftdsl.com.au>
5133 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
5134 Accept three additional arguments.
5135 (writePreambleImpl): New method.
5136 (getPrintStreamImpl): Likewise.
5137 (printClass): Adapted to use new methods in Printer superclass.
5138 * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
5139 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
5140 * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
5141 * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
5143 (getParser): Add support for -o option.
5144 Check that only one of -d or -o is defined.
5145 Add support for -jni option.
5146 Add support for -force option.
5147 (makeOutputFile): New method.
5148 (writeHeaders): Removed File argument from signature.
5149 (run): Take into account newly added fields.
5150 Invoke concrete PrintStream implementations with augmented constructors.
5151 * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
5152 (isDirectory): Likewise.
5154 (wrotePreamble): Likewise.
5155 (Printer): Changed ctor to accept three additional arguments.
5156 (printClass): Changed signature to accept one ClassWrapper argument.
5157 (writePreambleImpl): New abstract method.
5158 (getPrintStreamImpl): Likewise.
5159 (getPrintStream): New method.
5160 (writePreamble): Likewise.
5162 2006-09-26 Tania Bento <tbento@redhat.com>
5164 * java/awt/GridLayout.java
5165 (toString): There is no common before hgap.
5166 * java/awt/Rectangle.java
5167 (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
5168 (Rectangle(Point, Rectangle)): Throw NPE if either Point or
5170 (Rectangle(Point)): Throw NPE if Point is null.
5171 (Rectangle(Dimension)): Throw NPE if Dimension is null.
5173 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
5175 * javax/swing/plaf/metal/MetalIconFactory.java
5176 (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
5177 returned by getShift(),
5178 (FileIcon16.getShift): Updated API docs,
5179 (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
5180 returned by getShift(),
5181 (FolderIcon16.getShift): Updated API docs,
5182 (TreeFolderIcon.getShift): Likewise,
5183 (TreeLeafIcon.getShift): Likewise.
5185 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
5187 * javax/swing/plaf/metal/MetalIconFactory.java
5188 (FileIcon16.paintIcon): Fetch colors from look and feel,
5189 (FolderIcon16.paintIcon): Likewise.
5191 2006-09-25 Casey Marshall <csm@gnu.org>
5193 * gnu/java/nio/FileChannelImpl.java (read): revert back to using
5195 (write): revert back to using `writeGathering.'
5196 * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
5197 the first buffer that has data remaining, and start at that one.
5199 2006-09-25 Tom Tromey <tromey@redhat.com>
5201 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
5204 2006-09-25 Tom Tromey <tromey@redhat.com>
5206 * tools/.cvsignore: Updated.
5208 2006-09-25 Tom Tromey <tromey@redhat.com>
5211 * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
5212 (Encoder.canEncode): Likewise.
5213 (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
5214 * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
5216 (Encoder.canEncode): Likewise.
5217 * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
5219 (Encoder.canEncode): Likewise.
5221 2006-09-25 Tom Tromey <tromey@redhat.com>
5223 * native/fdlibm/mprec.c (mprec_calloc): Renamed.
5226 2006-09-25 Francis Kung <fkung@redhat.com>
5228 * java/awt/image/ColorModel.java
5229 (coerceData): Made abstract.
5230 (coerceDataWorker): New protected method.
5231 * java/awt/image/ComponentColorModel.java
5232 (coerceData): Return new instance of proper ColorModel.
5233 * java/awt/image/DirectColorModel.java
5234 (coerceData): Return new instance of proper ColorModel.
5235 * java/awt/image/IndexColorModel.java
5236 (coerceData): New method.
5238 2006-09-24 Casey Marshall <csm@gnu.org>
5240 * gnu/java/nio/FileChannelImpl.java
5241 (read): call `read' in a loop, don't use `readScattering.'
5242 (write): call `write' in a loop, don't use `writeGathering.'
5244 2006-09-24 Mark Wielaard <mark@klomp.org>
5246 * configure.ac: Move -pedantic from WARNING to STRICT flags.
5248 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5250 * java/nio/channels/spi/AbstractSelectableChannel.java
5251 (register): Set interestOps and attachment when the key already
5254 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5256 * java/net/ServerSocket.java
5257 (bind(SocketAddress,int)): Added support for null address.
5258 Throw proper exception if already bound.
5259 Handle unresolved addresses correctly. Ignore exceptions that
5260 happen during close in error path (to prevent losing the original
5263 2006-09-24 Mark Wielaard <mark@klomp.org>
5265 Suggested by Aaron M. Ucko <ucko@debian.org>
5267 * native/fdlibm/mprec.c (ulp): Define L as int32_t.
5269 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5271 * java/nio/channels/spi/AbstractSelectableChannel.java
5272 (implCloseChannel): Cancel all keys after closing the channel.
5274 2006-09-22 Casey Marshall <csm@gnu.org>
5276 * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
5277 after we delete them.
5278 (selectedKeys): return an empty set if nothing's been selected.
5279 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5280 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
5281 throw an exception on EBADF.
5282 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
5283 throw exception on EINTR, just return 0.
5285 2006-09-22 Casey Marshall <csm@gnu.org>
5287 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5288 remove `const' from `filename.'
5289 * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
5291 * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
5293 2006-09-22 Casey Marshall <csm@gnu.org>
5295 * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
5296 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5297 allocate `filename,' and handle changes to `cpio_readDir.'
5298 * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
5299 available; copy the filename into the destination buffer; return
5300 an error code if readdir returns NULL, but errno is 0.
5301 * native/jni/native-lib/cpio.h (cpio_readDir): change second
5302 parameter to `const char *.'
5304 2006-09-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
5306 * javax/management/ObjectName.java:
5309 2006-09-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5311 * resource/gnu/classpath/tools/orbd: New directory.
5312 * resource/gnu/classpath/tools/rmic: Likewise.
5313 * resource/gnu/classpath/tools/rmid: Likewise.
5314 * resource/gnu/classpath/tools/rmiregistry: Likewise.
5315 * resource/gnu/classpath/tools/tnameserv: Likewise.
5316 * tools/gnu/classpath/tools/giop: Move contents to...
5317 * tools/gnu/classpath/tools/orbd,
5318 tools/gnu/classpath/tools/tnameserv: New directories.
5319 * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
5320 * tools/gnu/classpath/tools/rmic: New directory.
5321 * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
5322 * tools/gnu/classpath/tools/rmid: New directory.
5323 * tools/gnu/classpath/tools/rmi/registry: Move contents to...
5324 * tools/gnu/classpath/tools/rmiregistry: New directory.
5325 * resource/gnu/classpath/tools/orbd/messages.properties: New file.
5326 * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
5327 * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
5328 * resource/gnu/classpath/tools/rmiregistry/messages.properties:
5330 * resource/gnu/classpath/tools/tnameserv/messages.properties:
5332 * tools/gnu/classpath/tools/orbd/Main.java,
5333 tools/gnu/classpath/tools/orbd/Messages.java,
5334 tools/gnu/classpath/tools/orbd/PersistentContext.java,
5335 tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
5336 tools/gnu/classpath/tools/orbd/PersistentMap.java,
5337 tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
5338 tools/gnu/classpath/tools/rmic/CompilationError.java,
5339 tools/gnu/classpath/tools/rmic/Generator.java,
5340 tools/gnu/classpath/tools/rmic/GiopIo.java,
5341 tools/gnu/classpath/tools/rmic/HashFinder.java,
5342 tools/gnu/classpath/tools/rmic/Main.java,
5343 tools/gnu/classpath/tools/rmic/Messages.java,
5344 tools/gnu/classpath/tools/rmic/MethodGenerator.java,
5345 tools/gnu/classpath/tools/rmic/RMICException.java,
5346 tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
5347 tools/gnu/classpath/tools/rmic/RmicBackend.java,
5348 tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
5349 tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
5350 tools/gnu/classpath/tools/rmic/Variables.java,
5351 tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
5352 tools/gnu/classpath/tools/rmic/templates,
5353 tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
5354 tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
5355 tools/gnu/classpath/tools/rmid/Main.java,
5356 tools/gnu/classpath/tools/rmid/Messages.java,
5357 tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
5358 tools/gnu/classpath/tools/rmiregistry/Main.java,
5359 tools/gnu/classpath/tools/rmiregistry/Messages.java,
5360 tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
5361 tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
5362 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
5363 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
5364 tools/gnu/classpath/tools/tnameserv/Main.java,
5365 tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
5366 * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
5367 RMIC.java from cp-tools.
5368 * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
5369 tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
5370 (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
5372 * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
5373 * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
5375 (start): New method.
5376 * tools/Makefile.am: Add build support for new tool wrappers.
5377 * tools/gorbd.in: New file.
5378 * tools/grmic.in: Likewise.
5379 * tools/grmid.in: Likewise.
5380 * tools/grmiregistry.in: Likewise.
5381 * tools/gtnameserv.in: Likewise.
5382 * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
5383 * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
5385 * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
5386 * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
5387 * tools/gnu/classpath/tools/common/Persistent.java: New file.
5389 2006-09-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
5392 * gnu/java/util/regex/RETokenRepeated.java
5393 (findMatch): Rewriten without using recursive calls,
5394 (FindMatchControlStack): New class,
5395 (FindMatchControl): New class,
5396 (TryAnotherResult): New class,
5397 (tryAnother): New method.
5399 2006-09-22 Gary Benson <gbenson@redhat.com>
5401 * java/net/SocketPermission.java
5402 (processHostport): Cope with IPv6 addresses with a
5403 one-digit first component.
5405 2006-09-22 Roman Kennke <kennke@aicas.com>
5407 * java/awt/Component.java
5408 (enableEvents): Set newEventsOnly flag.
5409 * java/awt/Container.java
5410 (dispatchEventImpl): Consume event if lightweight dispatcher
5411 dispatched the event. Don't call processEvent() here, this
5412 is already done in Component.dispatchEventImpl(). For
5413 heavyweights or when the lightweight dispatcher could
5414 not dispatch, fall back to calling super.
5415 (dispatchNoLightweight): New helper method to avoid
5416 recursivly calling the lightweight dispatcher.
5417 * java/awt/LightweightDispatcher.java
5418 (dragButton): Removed field.
5419 (dragTarget): Removed field.
5420 (mouseEventTarget): New field.
5421 (convertPointToChild): Removed method.
5422 (dispatchEvent): Don't depend on component beeing
5424 (findTarget): Improved algorithm for finding a target.
5425 Before we went down to the deepest component and went
5426 up again to find a suitable target. Now we go
5427 down only once, without going up.
5428 (handleMouseEvent): Broke method down into some smaller
5430 (isDragging): New helper method.
5431 (isMouseListening): New helper method.
5432 (redispatch): New helper method.
5433 (trackEnterExit): New helper method.
5435 2006-09-22 David Gilbert <david.gilbert@object-refinery.com>
5437 * javax/swing/SizeSequence.java
5438 (getSize): Return 0 if index is out of bounds.
5440 2006-09-21 Tom Tromey <tromey@redhat.com>
5442 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5443 (PathOptionGroup): Make -I a joined option.
5444 * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5445 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5446 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5447 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5448 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5449 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5450 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5451 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5452 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5453 * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5454 * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5455 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5456 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5457 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5458 * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5459 * tools/gnu/classpath/tools/jar/Main.java: Updated.
5460 * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5461 * tools/gnu/classpath/tools/javah/Main.java: Updated.
5462 * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5463 * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5464 * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5466 * resource/gnu/classpath/tools/common/Messages.properties: New file.
5467 * tools/gnu/classpath/tools/common/Messages.java: New file.
5468 * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5469 * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5471 (ClasspathToolParser): Add -J option here.
5472 (ClasspathToolParser): Call other constructor in this class.
5473 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5474 Handle joined options.
5475 (handleShortOptions): Likewise.
5476 (handleShortOption): Removed.
5477 (finalGroup): New field.
5478 (Parser): Initialize new field. Don't add -J option.
5479 (addFinal): New method.
5480 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5482 * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5483 (Option): Check short option for validity.
5484 (Option): New constructors.
5485 (joined): New field.
5487 2006-09-21 csm <csm@pollux.local>
5489 * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5490 `InterruptedIOException;' try again if it gets thrown.
5491 (receive): likewise, but re-throw `SocketTimeoutException.'
5492 * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5493 if we have nothing to select.
5495 2006-09-21 Francis Kung <fkung@redhat.com>
5497 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5498 (getLogicalBounds): Respect glyph transformations.
5499 (getGlyphOutline): Added null pointer check.
5500 (getGlyphTransform): Do not generate identity transform (API permits null).
5501 (setGlyphPosition): Do not invalidate transform.
5502 (setGlyphTransform): Do not modify glyph position.
5504 2006-09-21 Francis Kung <fkung@redhat.com>
5506 * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5508 2006-09-21 Francis Kung <fkung@redhat.com>
5510 * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5511 * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5512 * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5514 2006-09-21 Tania Bento <tbento@redhat.com>
5516 * javax/swing/JTabbedPane.java:
5517 (insertTab): Notify ChangeListeners if the tab inserted is selected.
5518 (setModel): A ChangeListener should be created only if there does not
5519 currently exist one.
5521 2006-09-21 David Gilbert <david.gilbert@object-refinery.com>
5523 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5524 (MaximizeAction.actionPerformed): Change icon on maxButton.
5526 2006-09-21 Roman Kennke <kennke@aicas.com>
5528 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5529 (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5530 Use more efficient getViewPosition() and getViewSize() methods
5531 to avoid creating a rectangle.
5532 (HSBChangeListener.stateChanged): Update the view position
5533 unconditionally. Let the Viewport figure out if something
5535 (VSBChangeListener.stateChanged): Update the view position
5536 unconditionally. Let the Viewport figure out if something
5538 * javax/swing/JViewport.java
5539 (ViewListener.componentResized): Fire state change, because
5540 the extentSize changes.
5541 (extentSize): Removed unneeded field.
5542 (viewSize): Removed unneeded field.
5543 (getExtentSize): Return the viewport's size here.
5544 (getViewRect): Reformatted.
5545 (getViewSize): Reordered for only one return statement.
5546 (paintImmediately2): Fixed up javadoc.
5547 (paint): Removed unneeded statement.
5548 (setExtentSize): Set viewport size and check for actual change
5550 (setViewPosition): Simplified condition. Set scrollUnderway
5551 true and don't set isViewSizeSet. Avoid creating one Point
5553 (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5555 * javax/swing/JScrollBar.java
5556 (ScrollBarListener): New class. Forwards change events from
5557 the model as adjustment events.
5558 (sbChangeListener): New field.
5559 (JScrollBar): Install listener on new model.
5560 (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5562 (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5563 method to allow custom isAdjusting value.
5564 (setMaximum): Only forward to model.
5565 (setMinimum): Only forward to model.
5566 (setValue): Only forward to model.
5567 (setVisibleAmount): Only forward to model.
5568 (setValues): Only forward to model.
5569 (setModel): Update the change listener.
5571 2006-09-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
5573 * java/util/Formatter.java (basicIntegralConversion): Removed
5574 check for ZERO && !LEFT_JUSTIFY.
5576 2006-09-20 Roman Kennke <kennke@aicas.com>
5579 * javax/swing/plaf/metal/DefaultMetalTheme.java
5580 (PLAIN_CONTROL_TEXT_FONT): New constant field.
5581 (BOLD_CONTROL_TEXT_FONT): New constant field.
5582 (PLAIN_MENU_TEXT_FONT): New constant field.
5583 (BOLD_MENU_TEXT_FONT): New constant field.
5584 (controlTextFont): Removed.
5585 (menuTextFont): Removed.
5586 (CONTROL_TEXT_FONT): New constant field.
5587 (MENU_TEXT_FONT): New constant field.
5588 (getControlTextFont): Use getFont() helper method for fetching
5590 (getMenuTextFont): Use getFont() helper method for fetching
5592 (getFont): New helper method.
5593 (isBoldMetal): New helper method.
5595 2006-09-20 Casey Marshall <csm@gnu.org>
5597 * NEWS: mention epoll selector along with the kqueue one.
5599 2006-09-20 Casey Marshall <csm@gnu.org>
5601 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5602 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5604 2006-09-20 Francis Kung <fkung@redhat.com>
5607 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5608 (getGlyphTransform): Use translation instead of scale.
5609 (performDefaultLayout): Increment position values instead of resetting, and
5610 pre-increment instead of post-increment.
5611 (setGlyphTransform): Handle null case with identity transform.
5613 2006-09-20 Casey Marshall <csm@gnu.org>
5615 * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5616 (AC_CHECK_FUNCS): check for `epoll_create.'
5617 * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5618 * gnu/java/nio/EpollSelectorImpl.java: new file.
5619 * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5621 (openSelector): return epoll selector if requested and available.
5622 * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5623 (gnu_java_nio_EpollSelectorImpl.h): new target.
5624 * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5625 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5626 gnu_java_nio_EpollSelectorImpl.c.
5627 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5629 2006-09-20 Casey Marshall <csm@gnu.org>
5631 * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5633 (isConnected): return false if `connectionPending' is true.
5635 2006-09-20 Francis Kung <fkung@redhat.com>
5638 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5639 (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5640 (getGlyphOutline): Call getGylphTransform to generate transform.
5641 (getGylphPosition): Read position directly out of array.
5642 (getGlyphPositions): Read positions directly out of array.
5643 (getGlyphTransform): Generate transform based on gylphPositions array.
5644 (performDefaultLayout): Populate glyphPositions array instead of transforms.
5645 (setGlyphPosition): Set position directly into array.
5646 (setGlyphTransform): Update positions array as well.
5648 2006-09-20 David Daney <ddaney@avtrex.com>
5651 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Add
5652 default content-type for POST method.
5654 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5656 * javax/swing/plaf/basic/BasicRadioButtonUI.java
5657 (BasicRadioButtonUI): Don't fetch icon here,
5658 (installDefaults): Initialise icon here,
5659 (getDefaultIcon): Just return icon.
5661 2006-09-20 Mark Wielaard <mark@klomp.org>
5663 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5664 Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5665 (EXTRA_DIST): Include javanio.c.
5667 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5669 * java/awt/geom/RoundRectangle2D.java:
5670 (getPathIterator): Reimplemented,
5671 and updated various API doc comments.
5673 2006-09-20 Roman Kennke <kennke@aicas.com>
5675 * java/awt/Container.java
5676 (addImpl): Set the new component's parent after it has been
5677 added to the array. Call addNotify() and invalidate()
5678 after the component has been added, so that the peer
5679 gets to know about the component structure when it is created.
5680 * java/awt/Window.java
5681 (dispatchEventImpl): Only revalidate when window is resized,
5682 let the other stuff be processed by the superclass.
5683 (dispose): Post WINDOW_CLOSED event only when some listener
5684 is registered or event is explicitly enabled.
5685 (show): Post WINDOW_OPENED event when appropriate.
5687 2006-09-20 Roman Kennke <kennke@aicas.com>
5689 * java/awt/Component.java
5690 (addNotify): Invalidate here. Fetch peer font.
5691 (getFont): Delegate to helper method, to protect from
5692 overriding client code. Lock the tree while fetching the font.
5693 (getFontImpl): New helper method. Moved code from getFont() in
5695 (removeNotify): Nullify peerFont too.
5696 (setFont): Synchronize on tree and component to avoid threading
5697 issues. Update the peerFont correctly.
5698 (validate): Update the peer font if necessary, before validating.
5699 (getGraphics): Revert to recursive graphics fetching.
5700 Set component font on the Graphics object.
5701 (translateEvent): Removed unnecessary cast.
5702 * java/awt/Container.java
5703 (invalidateTree): Made final and private. Made implementation
5704 slightly more efficient.
5705 (setFont): Get old and new font via getFont() to account for
5706 the real font, and only invalidate the tree when they are not
5707 the same and not equal.
5708 (visitChild): Set the font of the child on the component graphics.
5709 * java/awt/Frame.java
5710 (setMenuBar): Create local reference of peer for thread safety.
5711 Only call simple invalidate, not invalidateTree().
5713 2006-09-19 Cameron McCormack <cam@mcc.id.au>
5716 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5717 (constructor): Copy image field.
5719 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5721 * javax/swing/JMenuBar.java
5722 (getHelpMenu): Implemented to throw an Error, and added API docs,
5723 (getMargin): Added API docs,
5724 (setMargin): Likewise.
5726 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5728 * javax/swing/AbstractButton.java
5729 (AbstractButton): Don't call updateUI(),
5730 * javax/swing/JButton.java
5731 (JButton(String, Icon)): Call setModel() before init(),
5732 * javax/swing/JMenuItem.java
5733 (JMenuItem()): Delegate to another constructor,
5734 (JMenuItem(Icon)): Likewise,
5735 (JMenuItem(Action)): Set model,
5736 (JMenuItem(String, Icon)): Likewise,
5737 * javax/swing/JToggleButton.java
5738 (init): Call setModel() before init().
5740 2006-09-19 Mark Wielaard <mark@klomp.org>
5743 * java/util/logging/LogManager.java (addLogger): Always check for
5744 existing children of a new Logger.
5746 2006-09-19 Roman Kennke <kennke@aicas.com>
5748 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5749 (HSBChangeListener.stateChanged): Moved handling of header to
5750 syncScrollPaneWithViewport().
5751 (VSBChangeListener.stateChanged): Moved handling of header to
5752 syncScrollPaneWithViewport().
5753 (ViewportChangedHandler.stateChanged): Removed unused statements.
5754 (syncScrollPaneWithViewport): Added null checks. Use setValues
5755 rather then the single setter methods to avoid multiple
5756 adjustments and side effects. Also snyc the headers here.
5757 (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5758 (uninstallUI): Removed unnecessary cast and this qualifier as well
5759 as the call to super.
5761 2006-09-19 Gary Benson <gbenson@redhat.com>
5763 * java/net/ResolverCache.java: New class (a DNS cache).
5764 * java/net/InetAddress.java
5765 (internalGetCanonicalHostName, getAllByName): Use the above.
5767 2006-09-19 Jeroen Frijters <jeroen@frijters.net>
5769 * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5770 * java/net/ServerSocket.java
5772 (bind): Set port field.
5773 (close): Set impl to null.
5774 (isClosed): Check impl and channel instead of using VMChannel.
5775 (toString): Use port field and getLocalPort() method.
5776 * java/net/Socket.java
5777 (isClosed): Check impl and channel instead of using VMChannel.
5779 2006-09-18 Tom Tromey <tromey@redhat.com>
5781 * java/util/concurrent/CopyOnWriteArrayList.java
5782 (CopyOnWriteArrayList): New constructor.
5784 2006-09-18 Casey Marshall <csm@gnu.org>
5786 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5787 (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5789 2006-09-18 Tom Tromey <tromey@redhat.com>
5791 * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
5792 isConnected): Removed old comment.
5793 (getRemoteSocketAddress): Uncommented.
5794 (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
5795 setTrafficClass, getTrafficClass, setReuseAddress,
5796 getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
5797 isOutputShutdown): Uncommented.
5799 2006-09-18 David Pirkle <dpirkle@symyx.com>
5802 * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
5803 input stream during resolution.
5805 2006-09-18 Roman Kennke <kennke@aicas.com>
5807 * java/awt/LightweightDispatcher.java
5808 (findTarget): Correctly translate child coordinates.
5809 Use Component.eventTypeEnabled() for checking if a component
5810 has a certain event enabled.
5811 (handleMouseEvent): Find the correct mouse event target.
5812 Use Component.eventTypeEnabled() for checking if a component
5813 has a certain event enabled.
5815 2006-09-18 Roman Kennke <kennke@aicas.com>
5817 * java/awt/Component.java
5818 (show): Test for the peer beeing lightweight directly.
5819 (paintAll): Validate before painting. Don't paint when not
5820 showing. Call peer.paint() when the component is heavyweight.
5821 (repaint): Delegate to the parent when lightweight, rather
5822 than skipping to the nearest heavyweight.
5823 (createImage): Added null check to prevent NPE.
5824 (dispatchEvent): Moved old event dispatching and toolkit
5825 event dispatching to dispatchEventImpl.
5826 (addComponentListener): Don't enable event. Only add listener
5827 when not null. Switch to new event dispatching only.
5828 (addFocusListener): Likewise.
5829 (addHierarchyListener): Likewise.
5830 (addHierarchyBoundsListener): Likewise.
5831 (addKeyListener): Likewise.
5832 (addMouseListener): Likewise.
5833 (addMouseMotionListener): Likewise.
5834 (addMouseWheelListener): Likewise.
5835 (addInputMethodListener): Likewise.
5836 (coalesceEvents): For mouse events coalesce them only when
5837 their modifiers are equal. For paint events coalesce the events
5838 when one contains the other, without going through complicated
5840 (dispatchEventImpl): Moved old event dispatching and toolkit
5841 event dispatching to dispatchEventImpl.
5842 (coalescePaintEvents): Removed.
5843 (HeavyweightInLightweightListener.componentHidden):
5845 * java/awt/Container.java
5846 (addImpl): Don't enable events on lightweights.
5847 (remove): Reordered operations. Don't remove any listeners.
5848 Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
5849 Only removeNotify() when peer is != null. Only invalidate if
5850 not already invalid. Only fire ContainerEvent if there is
5851 an interested listener or the event is enabled. Dispatch this
5852 event directly without the event queue.
5853 (removeAll): Likewise.
5854 (paintComponents): Only paint when showing. Also paint heavyweights.
5855 Don't paint the container itself.
5856 (removeNotify): Create local variables for improved thread safety.
5857 (addNotifyContainerChildren): Don't enable events for lightweights.
5859 2006-09-18 Roman Kennke <kennke@aicas.com>
5861 * java/awt/EventQueue.java
5862 (INITIAL_QUEUE_DEPTH): Removed obsolete field.
5863 (next_in): Removed obsolete field.
5864 (next_out): Removed obsolete field.
5865 (queueHead): New field. Markes the head of the queue.
5866 (queueTail): New field. Markes the tail of the queue.
5867 (queue): Removed obsolete field.
5868 (EventQueue): Documented empty block.
5869 (getNextEvent): Changed array based implementation to single-linked
5870 list based implementation.
5871 (invokeAndWait): Use an Object as synchronization object rather
5872 than the current thread.
5873 (peekEvent(int)): Changed array based implementation to single-linked
5874 list based implementation.
5875 (peekEvent()): Changed array based implementation to single-linked
5876 list based implementation.
5877 (pop()): Changed array based implementation to single-linked
5878 list based implementation.
5879 (postEvent): Foward to postEventImpl.
5880 (postEventImpl): Changed array based implementation to single-linked
5881 list based implementation.
5882 (push): Changed array based implementation to single-linked
5883 list based implementation.
5884 * java/awt/AWTEvent.java
5885 (queueNext): New field. Implements a single-linked list for
5888 2006-09-17 Mark Wielaard <mark@klomp.org>
5890 * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
5891 resource from HTMLEditorKit.class.
5893 2006-09-17 Mark Wielaard <mark@klomp.org>
5895 * javax/swing/plaf/basic/BasicToolBarUI.java
5896 (setBorderToNonRollover): Check whether border is null.
5897 (setBorderToRollover): Likewise.
5899 2006-09-17 Mark Wielaard <mark@klomp.org>
5901 * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
5903 2006-09-17 Mark Wielaard <mark@klomp.org>
5905 * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
5906 * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
5907 * native/jni/java-nio/gnu_java_nio_VMChannel.c
5908 (Java_gnu_java_nio_VMChannel_lock): Likewise.
5909 (Java_gnu_java_nio_VMChannel_unlock): Likewise.
5911 2006-09-17 Casey Marshall <csm@gnu.org>
5913 * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
5916 2006-09-17 Chris Burdess <dog@gnu.org>
5918 Fixes PR 27610 27687.
5919 * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
5920 * gnu/xml/transform/SAXTemplatesHandler.java,
5921 * gnu/xml/transform/SAXTransformerHandler.java: New files.
5922 * gnu/xml/transform/TransformerFactoryImpl.java: Implement
5923 SAXTransformerFactory.
5925 2006-09-16 Casey Marshall <csm@gnu.org>
5928 * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
5929 (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
5931 (HAVE_INET6): define if IPv6 is supported.
5932 * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
5933 (native_fd): removed.
5935 (<init>): throw IOException; initialize fields.
5936 (finalize): removed.
5937 (getNativeFD): removed.
5938 (bind): use `PlainSocketImpl.bind.'
5939 (create): use `PlainSocketImpl.initSocket.'
5940 (disconnect): use `PlainSocketImpl.disconnect.'
5941 (getLocalPort): new method.
5942 (send): use `VMChannel.send.'
5943 (receive): use `VMChannel.receive.'
5944 (setOption): use `PlainSocketImpl.setOption.'
5945 (getOption): use `PlainSocketImpl.getOption.'
5946 (close): use `VMChannel.State.close.'
5947 (join): use `PlainSocketImpl.join.'
5948 (leave): use `PlainSocketImpl.leave.'
5949 (joinGroup, leaveGroup): implemented.
5950 * gnu/java/net/PlainSocketImpl.java: make non-final.
5951 (native_fd): removed.
5953 (channel): new field.
5954 (<init>): initialize `impl.'
5955 (finalize, getNativeFD): removed.
5956 (setOption): use `PlainSocketImpl.setOption.'
5957 (getOption): use `PlainSocketImpl.getOption.'
5958 (shutdownInput): use `PlainSocketImpl.shutdownInput.'
5959 (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
5960 (create): create `channel,' initialize `impl's native state.
5961 (connect): use `connect(SocketAddress, int).'
5962 (connect): use `SocketChannelImpl.connect;' initialize `address'
5964 (bind): use `VMPlainSocketImpl.bind.'
5965 (listen): use `VMPlainSocketImpl.listen.'
5966 (accept): use `SocketChannelImpl.accept.'
5967 (available): use `VMChannel.available.'
5968 (close): use `PlainSocketImpl.close.'
5969 (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
5970 (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
5971 getPort): new methods.
5972 (SocketInputStream.read): use `VMChannel.read.'
5973 (SocketInputStream.read): use `SocketChannel.read.'
5974 (SocketOutputStream.write): use `VMChannel.write.'
5975 (SocketOutputStream.write): use `SocketChannel.write.'
5976 * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
5977 (channel): new field.
5978 (<init>): initialize `channel.'
5979 (implCloseSelectableChannel): use `VMChannel.close.'
5980 (implConfigureBlocking): use `VMChannel.setBlocking.'
5981 (connect): use `VMChannel.connect.'
5982 (disconnect): use `VMChannel.disconnect.'
5983 (isConnected): use `VMChannel.getPeerAddress.'
5984 (write): use `VMChannel.write.'
5985 (write): use `VMChannel.writeGathering.'
5986 (read): use `VMChannel.read.'
5987 (read): use `VMChannel.readScattering.'
5988 (receive): use `VMChannel.receive.'
5989 (send): use `VMChannel.send.'
5990 (getVMChannel): new method.
5991 * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
5992 access native FD through VMChannel.State.
5993 * gnu/java/nio/FileChannelImpl.java: moved from
5994 gnu/java/nio/channels/FileChannelImpl.java.
5995 * gnu/java/nio/FileLockImpl.java: fix imports.
5996 * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
5997 * gnu/java/nio/KqueueSelectorImpl.java: new file.
5998 * gnu/java/nio/NIOSocket.java (impl): removed.
5999 (channel): new field.
6000 (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
6001 (getPlainSocketImpl, setChannel): removed.
6002 (isConnected): new method.
6003 * gnu/java/nio/NIOSocketImpl.java: new file.
6004 * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
6006 (SourceChannelImpl.native_fd): removed.
6007 (SourceChannelImpl.<init>): init with a `VMChannel.'
6008 (SourceChannelImpl.getNativeFD): removed.
6009 (SourceChannelImpl.getVMChannel): new method.
6010 (SourceChannelImpl.implCloseSelectableChannel): implement.
6011 (SinkChannelImpl): implement `VMChannelOwner.'
6012 (SinkChannelImpl.native_fd): removed.
6013 (SinkChannelImpl.<init>): init with a `VMChannel.'
6014 (SinkChannelImpl.implCloseSelectableChannel): implement.
6015 (SinkChannelImpl.getNativeFD): removed.
6016 (SinkChannelImpl.getVMChannel): new method.
6017 * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
6019 * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
6020 SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
6021 (openSelector): return kqueue selector if available.
6022 * gnu/java/nio/ServerSocketChannelImpl.java: implement
6024 (channel): new field.
6025 (<init>): init `channel.'
6026 (finalizer): check if the `VMChannel.State' is valid.
6027 (implCloseSelectableChannel): use `VMChannel.close.'
6028 (implConfigureBlocking): use `VMChannel.setBlocking.'
6029 (accept): use `VMChannel.accept.'
6030 (getVMChannel): new method.
6031 * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
6032 access native FD through `VMChannel.State.'
6033 * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
6035 (channel, connected, connectAddress): new field.
6036 (<init>): new constructors.
6037 (getPlainSocketImpl): removed.
6038 (implCloseSelectableChannel): use `VMChannel.close.'
6039 (implConfigureBlocking): use `VMChannel.setBlocking.'
6040 (connect): use `connect(SocketAddress,int).'
6041 (connect): use `VMChannel.connect.'
6042 (finishConnect): don't use a selector.
6043 (isConnected): use `VMChannel.getPeerAddress.'
6044 (read): use `VMChannel.read.'
6045 (read): use `VMChannel.readScattering.'
6046 (write): use `VMChannel.write.'
6047 (write): use `VMChannel.writeGathering.'
6048 (getVMChannel): new method.
6049 * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
6050 native FD from `VMChannel.State.'
6051 * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
6052 get native FD from `VMChannel.State.'
6053 * gnu/java/nio/VMChannelOwner.java: new file.
6054 * gnu/java/nio/channels/FileChannelImpl.java: removed.
6055 * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
6056 and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
6057 `gnu_java_nio_channels_FileChannelImpl.h.'
6058 * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
6059 * include/gnu_java_nio_FileChannelImpl.h: new file.
6060 * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
6061 * include/gnu_java_nio_VMChannel.h: regenerated.
6062 * include/gnu_java_nio_VMPipe.h: regenerated.
6063 * include/java_net_VMNetworkInterface.h: regenerated.
6064 * java/io/FileDescriptor.java: fix imports.
6065 * java/io/FileInputStream.java (<init>): handle exceptions.
6066 (read): wrap the destination arary.
6067 * java/io/FileOutputStream.java (<init>): handle exceptions.
6068 (write): wrap the source array.
6069 * java/io/RandomAccessFile.java (<init>): handle exceptions.
6070 * java/net/DatagramSocket.java (<init>): handle exceptions.
6071 (receive): handle length/port setting.
6072 (connect): bind to any address/port if the argument is null.
6073 * java/net/NetworkInterface.java (name, inetAddress): removed.
6075 (<init>): make private.
6076 (getName): return `netif.name.'
6077 (getInetAddresses): access `netif.addresses.'
6078 (getDisplayName): return `netif.name.'
6079 (getByName, getByAddress): handle changes to `VMNetworkInterface.'
6080 (condense): removed.
6081 (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
6082 (equals): compare `netif' fields.
6083 (hashCode): get hash codes from `netif.'
6084 (toString): use a StringBuffer.
6085 * java/net/ServerSocket.java (close): don't set `impl' to null.
6086 (isClosed): use `VMChannel.State.isClosed.'
6087 * java/net/Socket.java (getLocalAddress): don't use `getOption' if
6088 the `SocketImpl' is a `PlainSocketImpl.'
6089 (close): just close the `impl.'
6090 (toString): use `super.toString' in the value we return.
6091 (isConnected): just access `impl,' not `getImpl.'
6092 (isBound): use `PlainSocketImpl' methods if we can.
6093 (isClosed): look at `VMChannel.State.'
6094 * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
6095 (JCL_NewRawDataObject): don't initialize cached fields here; throw
6096 an exception if they were not.
6097 (JCL_GetRawData): throw an exception if cached fields weren't
6099 * native/jni/java-lang/java_lang_VMProcess.c: handle
6100 FileChannelImpl move.
6101 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
6102 (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
6103 THROW_NO_NETWORK): new macros.
6104 (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
6105 (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
6106 (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
6107 (java_sockopt): new enum.
6108 (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
6109 (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
6110 (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
6112 (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
6114 (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
6116 (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
6117 (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
6118 (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
6119 (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
6120 (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
6121 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
6122 (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
6123 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
6124 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
6125 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
6126 (getif_address): new function.
6127 (getif_index): new function.
6128 * native/jni/java-net/java_net_VMNetworkInterface.c
6129 (java_net_VMNetworkInterface_init,
6130 java_net_VMNetworkInterface_addAddress): new file-scope globals.
6131 (Java_java_net_VMNetworkInterface_initIds): new function.
6132 (struct netif_entry): new struct.
6133 (free_netif_list): new function.
6134 (Java_java_net_VMNetworkInterface_getInterfaces): removed.
6135 (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
6136 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
6137 gnu_java_nio_channels_FileChannelImpl.c, add
6138 gnu_java_nio_KqueueSelectorImpl.c.
6139 * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
6140 * native/jni/java-nio/gnu_java_nio_VMChannel.c
6141 (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
6142 ALIGN_DOWN): new macros.
6143 (JCL_init_buffer): get the address through GetDirectBufferAddress
6145 (Java_gnu_java_nio_VMChannel_stdin_1fd,
6146 Java_gnu_java_nio_VMChannel_stdout_1fd,
6147 Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
6148 (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
6150 (Java_gnu_java_nio_VMChannel_read): renamed...
6151 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
6152 this; handle interrupted IO; add HAVE_READ check.
6153 (Java_gnu_java_nio_VMChannel_write): renamed...
6154 (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
6155 this; handle zero-length write; add HAVE_WRITE check.
6156 (Java_gnu_java_nio_VMChannel_receive): new function.
6157 (Java_gnu_java_nio_VMChannel_send): new function.
6158 (Java_gnu_java_nio_VMChannel_send6): new function.
6159 (Java_gnu_java_nio_VMChannel_read__I): new function.
6160 (Java_gnu_java_nio_VMChannel_write__II): new function.
6161 (Java_gnu_java_nio_VMChannel_socket): new function.
6162 (Java_gnu_java_nio_VMChannel_connect): new function.
6163 (Java_gnu_java_nio_VMChannel_connect6): new function.
6164 (Java_gnu_java_nio_VMChannel_getsockname): new function.
6165 (Java_gnu_java_nio_VMChannel_getpeername): new function.
6166 (Java_gnu_java_nio_VMChannel_accept): new function.
6167 (Java_gnu_java_nio_VMChannel_disconnect): new function.
6168 (Java_gnu_java_nio_VMChannel_close): new function.
6169 (Java_gnu_java_nio_VMChannel_available): new function.
6170 (FileChannel_mode): new enum.
6171 (Java_gnu_java_nio_VMChannel_open): new function.
6172 (Java_gnu_java_nio_VMChannel_position): new function.
6173 (Java_gnu_java_nio_VMChannel_seek): new function.
6174 (Java_gnu_java_nio_VMChannel_truncate): new funciton.
6175 (Java_gnu_java_nio_VMChannel_lock): new function.
6176 (Java_gnu_java_nio_VMChannel_unlock): new function.
6177 (Java_gnu_java_nio_VMChannel_size): new function.
6178 (Java_gnu_java_nio_VMChannel_map): new function.
6179 (Java_gnu_java_nio_VMChannel_flush): new function.
6180 * native/jni/java-nio/gnu_java_nio_VMPipe.c
6181 (Java_gnu_java_nio_VMPipe_init): removed.
6182 (Java_gnu_java_nio_VMPipe_pipe0): new function.
6183 * native/jni/java-nio/javanio.c: new file.
6184 * native/jni/java-nio/javanio.h: new file.
6185 * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
6186 systems without `gethostbyname_r.'
6187 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
6189 (<init>, <init>): new constructors.
6190 (setOption, getOption): make instance methods; defer to native
6193 (bind): make an instance method; defer to native methods.
6195 (available): removed.
6196 (listen): make an instance method; defer to native method.
6198 (join, leave): new methods.
6200 (joinGroup, leaveGroup): new methods.
6201 (shutdownInput, shutdownOutput): make instance methods.
6202 (sendUrgentData): removed.
6204 * vm/reference/gnu/java/nio/VMChannel.java: make final.
6207 (<init>): new, public constructors.
6208 (getVMChannel): methods removed.
6209 (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
6210 stderr_fd): new methods.
6211 (setBlocking): make an instance method.
6212 (available): new method.
6213 (read): get native fd from `nfd.'
6214 (read): new single-byte read method.
6215 (readScattering): get native fd from `nfd.'
6216 (receive): new method.
6217 (write, writeGathering): get native fd from `nfd.'
6219 (write): new single-byte write method.
6220 (initSocket): new method.
6221 (connect): new method.
6222 (disconnect): new method.
6223 (getLocalAddress): new method.
6224 (getPeerAddress): new method.
6225 (accept): new method.
6226 (openFile): new method.
6227 (position): new method.
6229 (truncate): new method.
6231 (unlock): new method.
6234 (flush): new method.
6235 (close): new method.
6238 * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
6239 (pipe, pipe0): new method.
6240 * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
6242 (<clinit>): call `initIds.'
6243 (initIds): new method.
6244 (getInterfaces): removed.
6245 (getVMInterfaces): new method.
6246 (addAddress): new method.
6247 * vm/reference/java/nio/channels/VMChannels.java: fix imports.
6249 2006-09-16 Chris Burdess <dog@gnu.org>
6252 * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
6253 when in text output mode.
6255 2006-09-16 Chris Burdess <dog@gnu.org>
6258 * gnu/xml/dom/DomNode.java: Increment length of node during insert.
6260 2006-09-14 Michael Koch <konqueror@gmx.de>
6262 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
6264 2006-09-15 Chistian Elias Naur <elias@oddlabs.com>
6266 * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
6267 Added !cl.isArray() to serialVersionUID mismatch check.
6269 2006-09-14 Francis Kung <fkung@redhat.com>
6271 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6272 (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
6273 be compatibe with Cairo 1.2.x.
6275 2006-09-14 Francis Kung <fkung@redhat.com>
6277 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
6278 (cairoSurfaceSetFilter): Removed method.
6279 (drawImage): Pass interpolation type as argument to drawing methods.
6280 (drawPixels): Added interpolation parameter.
6281 (drawRaster): Pass interpolation type as argument to drawing method.
6282 (getInterpolation): New method.
6283 (setRenderingHint): Store hints, but do not set interpolation in cairo.
6284 (setRenderingHints): Store hints, but do not set interpolation in cairo.
6285 * gnu/java/awt/peer/gtk/CairoSurface.java
6286 (drawSurface): Added interpolation parameter.
6287 (nativeDrawSurface): Added interpolation parameter.
6288 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
6289 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6291 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6292 * native/jni/gtk-peer/cairographics2d.h
6293 (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
6294 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6295 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6297 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6298 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
6299 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
6300 interpolation parameter.
6302 2006-09-14 Gary Benson <gbenson@redhat.com>
6304 * java/net/InetAddress.java
6305 (internalGetCanonicalHostName): New method.
6306 (getCanonicalHostName): Use internalGetCanonicalHostName.
6307 (getByLiteral): New method.
6308 (getAllByName): Use getByLiteral.
6309 * java/net/SocketPermission.java
6310 (host): Replaced with...
6311 (hostname, address): New fields.
6312 (equals, hashcode): Reflect the above.
6313 (setHostPort): Parse host into hostname or address.
6314 (implies): Rewrite host checks.
6316 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6319 * java/awt/Menu.java
6320 (insert(MenuItem, int)): Fixed loop range,
6321 (insert(String, int)): Updated API docs.
6323 2006-09-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
6326 * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
6327 architectures (like Arm).
6328 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
6329 Reverted SWAP_DOUBLE patch.
6330 (doubleToRawLongBits): Likewise.
6331 (longBitsToDouble): Likewise.
6333 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6335 * java/awt/Menu.java: Reformatted source file.
6337 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6339 * gnu/java/rmi/server/ActivatableRef.java
6340 (readExternal, writeExternal): Partial fix for serialization format.
6342 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6345 * java/io/InputStreamReader.java
6346 (read(char[],int,int)): Fixed bug.
6348 2006-09-13 Francis Kung <fkung@redhat.com>
6350 * java/awt/image/BandCombineOp.java: Updated documentation.
6351 (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
6353 2006-09-13 Tom Tromey <tromey@redhat.com>
6356 * java/io/PipedReader.java (read): Return early if len==0.
6357 * java/io/PipedInputStream.java (read): Return early if len==0.
6359 2006-09-13 Francis Kung <fkung@redhat.com>
6361 * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
6362 Removed hard-coded max sample value.
6363 * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)):
6364 Fixed finding of max sample value.
6366 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6368 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6369 (setPaint): Check null argument ('p').
6371 2006-09-12 Francis Kung <fkung@redhat.com>
6374 * gnu/java/awt/java2d/TexturePaintContext.java
6375 (constructor): Fixed typo, getMinY instead of getMaxX.
6376 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6377 (setPaint): Implemented support for custom Paint classes.
6378 (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
6379 (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
6380 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
6381 to setPaintPixels, and added repeat parameter.
6382 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
6383 Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
6385 2006-09-12 Gary Benson <gbenson@redhat.com>
6387 * java/net/NetworkInterface.java (getInetAddresses):
6388 Fix port used in security check.
6390 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6392 * javax/swing/plaf/metal/DefaultMetalTheme.java
6393 (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
6394 (MENU_TEXT_FONT): Renamed 'menuTextFont',
6395 (getControlTextFont): Check 'swing.boldMetal' setting before
6397 (getMenuTextFont): Likewise.
6399 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6401 * javax/swing/plaf/metal/OceanTheme.java
6402 (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
6404 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6406 * javax/swing/plaf/metal/MetalIconFactory.java
6407 (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
6409 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6411 * javax/swing/AbstractSpinnerModel.java: API doc updates.
6413 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6415 * javax/swing/AbstractButton.java
6416 (AbstractButton): Initialise textIconGap field.
6418 2006-09-11 Tom Tromey <tromey@redhat.com>
6420 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6421 "volatile" when needed.
6423 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6425 * java/text/AttributedCharacterIterator.java
6426 (LANGUAGE): Initialise with lower case string,
6427 (INPUT_METHOD_SEGMENT): Likewise,
6428 (READING): Likewise,
6429 * java/text/AttributedStringIterator.java
6430 (getRunLimit): Check all attributes for changes.
6432 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6434 * java/text/AttributedCharacterIterator.java: Added @since tag,
6435 renamed some variables (no underscores) and removed some spaces to
6436 match the common style,
6437 * java/text/AttributedString.java: Likewise,
6438 * java/text/AttributedStringIterator.java: Likewise.
6440 2006-09-11 Gary Benson <gbenson@redhat.com>
6442 * java/net/Inet4Address.java
6443 (FAMILY): Renamed back to AF_INET.
6444 (<init>, writeReplace): Reflect the above.
6445 * java/net/Inet6Address.java
6446 (FAMILY): Renamed back to AF_INET6.
6447 (<init>): Reflect the above.
6449 2006-09-11 Cameron McCormack <cam-gcc-bugzilla@aka.mcc.id.au>
6452 * java/text/AttributedString.java
6453 (AttributedString(AttributedCharacterIterator, int, int,
6454 AttributedCharacterIterator.Attribute[])): Fixed check for defined
6457 2006-09-11 Gary Benson <gbenson@redhat.com>
6459 * java/net/Inet4Address.java
6460 (AF_INET): Renamed to FAMILY.
6461 (<init>, writeReplace): Reflect the above.
6462 * java/net/Inet6Address.java
6463 (AF_INET6): Renamed to FAMILY.
6464 (<init>): Reflect the above.
6466 2006-09-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
6469 Originally in Kaffe: 2004-04-16 Helmer Kraemer <hkraemer@freenet.de>
6470 * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6471 * java/net/Socket.java: Avoid creating a redundant file descriptor.
6472 (implCreated): Deleted, (getImpl): Don't check impleCreated,
6473 (bind): Call getImpl().create(true).
6475 2006-09-09 Chris Burdess <dog@gnu.org>
6477 * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6478 an instance of org.w3c.dom.NodeList.
6480 2006-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
6482 * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6483 missing security manager when run in standalone mode.
6485 2006-09-08 Francis Kung <fkung@redhat.com>
6487 * java/awt/image/AffineTransformOp.java: Updated documentation.
6488 (createCompatibleDestRaster): Updated formatting.
6489 (filter(BufferedImage, BufferedImage)): Updated formatting.
6490 (filter(Raster, WritableRaster)): Delegated processing to native peers for
6491 if colour model is compatible.
6492 (filterBicubic): Get entire pixel at once, and use appropriate array type.
6493 (filterBilinear): Get entire pixel at once, and use appropriate array type.
6495 2006-09-08 Gary Benson <gbenson@redhat.com>
6497 * java/net/InetAddress.java
6498 (family): Updated javadoc and made private.
6499 (<init>): Add an address family argument.
6500 (readObject): Don't overwrite family.
6501 * java/net/Inet4Address.java
6502 (AF_INET): New constant.
6503 (<init>): Use AF_INET as the family.
6504 (writeReplace): Likewise.
6505 * java/net/Inet6Address.java
6506 (AF_INET6): New constant.
6507 (<init>): Use AF_INET6 as the family.
6509 2006-09-08 Gary Benson <gbenson@redhat.com>
6511 * java/net/InetAddress.java
6512 (getHostName): Move lookup into getCanonicalHostName.
6513 (getCanonicalHostName): Move lookup from getHostName,
6514 Perform security check on canonical name (ie after lookup).
6516 2006-09-08 Gary Benson <gbenson@redhat.com>
6518 * java/net/Inet4Address.java (isMulticastAddress,
6519 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6520 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6521 isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6522 implementations from InetAddress.
6523 * java/net/InetAddress.java (isMulticastAddress,
6524 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6525 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6526 isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6527 implementations with UnsupportedOperationExceptions.
6529 2006-09-08 Gary Benson <gbenson@redhat.com>
6531 * java/net/InetAddress.java
6532 (inaddr_any): Removed.
6533 (ANY_IF, LOCALHOST): Create using getByAddress.
6534 (<init>): Updated javadoc.
6535 (getHostName): Cache hostname even if the lookup failed.
6536 (getByAddress): Create Inet4Address objects when passed
6537 IPv4-mapped IPv6 addresses.
6539 (getAllByName): Create address objects using getByAddress.
6540 Do not perform security checks unless actually required.
6541 Do not strip whitespace from the hostname.
6542 (getInaddrAny): Removed.
6543 (getLocalHost): Return the loopback address if getByName
6544 throws a SecurityException.
6545 (readResolve): Updated javadoc.
6546 * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6547 * include/java_net_VMInetAddress.h
6548 (Java_java_net_VMInetAddress_aton): Likewise.
6549 * native/jni/java-net/java_net_VMInetAddress.c
6550 (Java_java_net_VMInetAddress_aton): New method.
6551 * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6552 * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6553 * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6554 * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6555 * NEWS: Added note about updated VM interface.
6557 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6559 * javax/swing/plaf/basic/BasicInternalFrameUI.java
6560 (setNorthPane): Assign component to titlePane.
6562 2006-09-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6564 * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6565 Remove unused variable alt_addr.
6566 * gnu/CORBA/NamingService/NameTransformer.java (toName):
6567 Remove unused variables.
6569 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6571 * javax/swing/plaf/metal/MetalScrollBarUI.java
6572 (installDefaults): Initialise scrollBarWidth from UI defaults here,
6573 (createDecreaseButton): Don't fetch scrollBarWidth here,
6574 (createIncreaseButton): Likewise.
6576 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6578 * java/awt/image/MemoryImageSource.java: Added API docs.
6580 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6582 * javax/swing/plaf/basic/BasicScrollBarUI.java
6583 (installDefaults): Call configureScrollBarColors().
6585 2006-09-06 Francis Kung <fkung@redhat.com>
6587 * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6588 (constructor): Make copy of arrays.
6589 (createCompatibleDestImage): Changed treatment of null ColorModel.
6590 (filter(BufferedImage, BufferedImage)): Re-implemented.
6591 (filter(Raster, WritableRaster, boolean[])): New method.
6592 (filter(Raster, WritableRaster)): Re-implemented.
6593 (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6594 (getPoint2D): Cleaned up formatting.
6595 (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6597 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6599 * javax/swing/UIManager.java
6600 (getBoolean(Object)): Reimplemented,
6601 (getBoolean(Object, Locale)): Likewise,
6602 (getBorder(Object)): Likewise,
6603 (getBorder(Object, Locale)): Likewise,
6604 (getColor(Object)): Likewise,
6605 (getColor(Object, Locale)): Likewise,
6606 (getDimension(Object)): Likewise,
6607 (getDimension(Object, Locale)): Likewise,
6608 (getFont(Object)): Likewise,
6609 (getFont(Object, Locale)): Likewise,
6610 (getIcon(Object)): Likewise,
6611 (getIcon(Object, Locale)): Likewise,
6612 (getInsets(Object)): Updated API docs,
6613 (getInsets(Object, Locale)): Likewise,
6614 (getInt(Object)): Reimplemented,
6615 (getInt(Object, Locale)): Likewise,
6616 (getString(Object)): Likewise,
6617 (getString(Object, Locale)): Likewise.
6619 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6621 * javax/swing/UIManager.java
6622 (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6623 (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6625 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6627 * javax/swing/plaf/metal/MetalLookAndFeel.java
6628 (initComponentDefaults): Corrected various font defaults.
6630 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6632 * java/awt/List.java: Added @since to various methods.
6634 2006-09-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
6636 * native/jni/native-lib/cpprocess.c:
6637 (forkAndExec(char*,char*,int,int,pid_t,char*)):
6638 Add redirection of stdout to stderr.
6639 * native/jni/native-lib/cpprocess.h:
6640 Added redirect argument.
6641 * native/jni/java-lang/java_lang_VMProcess.c
6642 (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6643 * vm/reference/java/lang/VMProcess.java: Likewise.
6644 * include/java_lang_VMProcess.h: Regenerated.
6646 2006-09-05 Andreas Tobler <a.tobler@schweiz.ch>
6648 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6649 __attribute to __attribute__.
6651 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6654 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6656 * java/awt/List.java: Source code reformatted.
6658 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6660 * gnu/CORBA/CollocatedOrbs.java,
6661 gnu/CORBA/SafeForDirectCalls.java: New files.
6662 * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6663 Implement gnu.CORBA.SafeForDirectCalls.
6664 * gnu/CORBA/NamingService/Ext.java: Likewise.
6665 * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6666 * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6667 of the local host. (ior_to_object): Return the local object
6668 where possible. (run): Register/unregister this ORB.
6669 * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.
6670 * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6671 * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6672 (constructors): Initialize noRetain. (_invoke): Drop servant
6673 if noRetain is true. (getHandler): Always seach for the new servant
6674 if noRetain is true.
6675 * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6676 * NEWS: Added note about the new feature.
6678 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6680 * java/awt/Choice.java
6681 (addItem): Fixed API doc glitch.
6683 2006-09-05 Francis Kung <fkung@redhat.com>
6685 * java/awt/image/LookupOp.java: Updated documentation & formatting.
6686 (createCompatibleDestImage): Re-implemented.
6687 (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6688 compatibility, and use ColorConvertOp for color conversion if needed.
6689 (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6691 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6693 gnu/CORBA/CDR/Vio.java,
6694 org/omg/CORBA_2_3/ORB.java,
6695 org/omg/CORBA_2_3/portable/InputStream.java,
6696 org/omg/CORBA_2_3/portable/OutputStream.java,
6697 org/omg/CosNaming/BindingIteratorHelper.java,
6698 org/omg/CosNaming/BindingTypeHelper.java,
6699 org/omg/CosNaming/NameComponentHelper.java,
6700 org/omg/CosNaming/NameHelper.java,
6701 org/omg/CosNaming/NamingContextExtHelper.java,
6702 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6703 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6704 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6705 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6706 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6707 org/omg/CosNaming/NamingContextHelper.java,
6708 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6709 org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6710 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6711 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6712 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6713 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6714 org/omg/DynamicAny/AnySeqHelper.java,
6715 org/omg/DynamicAny/DynAnyFactoryHelper.java,
6716 org/omg/DynamicAny/DynAnyFactoryOperations.java,
6717 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6718 org/omg/DynamicAny/DynAnyHelper.java,
6719 org/omg/DynamicAny/DynAnyOperations.java,
6720 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6721 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6722 org/omg/DynamicAny/DynAnySeqHelper.java,
6723 org/omg/DynamicAny/DynArrayHelper.java,
6724 org/omg/DynamicAny/DynEnumHelper.java,
6725 org/omg/DynamicAny/DynFixedHelper.java,
6726 org/omg/DynamicAny/DynSequenceHelper.java,
6727 org/omg/DynamicAny/DynStructHelper.java,
6728 org/omg/DynamicAny/DynStructOperations.java,
6729 org/omg/DynamicAny/DynUnionHelper.java,
6730 org/omg/DynamicAny/DynValueHelper.java,
6731 org/omg/DynamicAny/NameDynAnyPairHelper.java,
6732 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6733 org/omg/IOP/CodecFactoryHelper.java,
6734 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6735 org/omg/IOP/CodecOperations.java,
6736 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6737 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6738 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6739 org/omg/IOP/ComponentIdHelper.java,
6740 org/omg/IOP/ExceptionDetailMessage.java,
6741 org/omg/IOP/MultipleComponentProfileHelper.java,
6742 org/omg/IOP/ProfileIdHelper.java,
6743 org/omg/IOP/ServiceContextListHelper.java,
6744 org/omg/IOP/ServiceIdHelper.java,
6745 org/omg/IOP/TAG_CODE_SETS.java,
6746 org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6747 org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6748 org/omg/PortableInterceptor/CurrentHelper.java,
6749 org/omg/PortableInterceptor/IORInfo.java,
6750 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6751 org/omg/PortableInterceptor/ORBIdHelper.java,
6752 org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6753 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6754 org/omg/PortableInterceptor/ORBInitializerOperations.java,
6755 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6756 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6757 org/omg/PortableInterceptor/RequestInfoOperations.java,
6758 org/omg/PortableInterceptor/ServerIdHelper.java,
6759 org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6760 org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6761 org/omg/PortableServer/AdapterActivatorOperations.java,
6762 org/omg/PortableServer/CurrentHelper.java,
6763 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6764 org/omg/PortableServer/ForwardRequestHelper.java,
6765 org/omg/PortableServer/IdAssignmentPolicyValue.java,
6766 org/omg/PortableServer/IdUniquenessPolicyValue.java,
6767 org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6768 org/omg/PortableServer/LifespanPolicyValue.java,
6769 org/omg/PortableServer/POA.java,
6770 org/omg/PortableServer/POAHelper.java,
6771 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6772 org/omg/PortableServer/POAManagerPackage/State.java,
6773 org/omg/PortableServer/POAOperations.java,
6774 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6775 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6776 org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6777 org/omg/PortableServer/POAPackage/NoServantHelper.java,
6778 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6779 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6780 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6781 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6782 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6783 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6784 org/omg/PortableServer/RequestProcessingPolicyValue.java,
6785 org/omg/PortableServer/ServantActivatorHelper.java,
6786 org/omg/PortableServer/ServantLocatorHelper.java,
6787 org/omg/PortableServer/ServantLocatorOperations.java,
6788 org/omg/PortableServer/ServantRetentionPolicyValue.java,
6789 org/omg/PortableServer/ThreadPolicyValue.java,
6790 org/omg/PortableServer/_ServantActivatorStub.java,
6791 org/omg/PortableServer/_ServantLocatorStub.java,
6792 org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
6794 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6796 * javax/rmi/CORBA/Tie.java,
6797 org/omg/CORBA/AnyHolder.java,
6798 org/omg/CORBA/AnySeqHelper.java,
6799 org/omg/CORBA/AnySeqHolder.java,
6800 org/omg/CORBA/BooleanHolder.java,
6801 org/omg/CORBA/BooleanSeqHelper.java,
6802 org/omg/CORBA/BooleanSeqHolder.java,
6803 org/omg/CORBA/ByteHolder.java,
6804 org/omg/CORBA/CharHolder.java,
6805 org/omg/CORBA/CharSeqHelper.java,
6806 org/omg/CORBA/CharSeqHolder.java,
6807 org/omg/CORBA/Context.java,
6808 org/omg/CORBA/CurrentHelper.java,
6809 org/omg/CORBA/CustomValue.java,
6810 org/omg/CORBA/DataOutputStream.java,
6811 org/omg/CORBA/DefinitionKindHelper.java,
6812 org/omg/CORBA/DomainManagerOperations.java,
6813 org/omg/CORBA/DoubleHolder.java,
6814 org/omg/CORBA/DoubleSeqHelper.java,
6815 org/omg/CORBA/DoubleSeqHolder.java,
6816 org/omg/CORBA/DynAny.java,
6817 org/omg/CORBA/DynSequence.java,
6818 org/omg/CORBA/DynValue.java,
6819 org/omg/CORBA/DynamicImplementation.java,
6820 org/omg/CORBA/FieldNameHelper.java,
6821 org/omg/CORBA/FixedHolder.java,
6822 org/omg/CORBA/FloatHolder.java,
6823 org/omg/CORBA/FloatSeqHelper.java,
6824 org/omg/CORBA/FloatSeqHolder.java,
6825 org/omg/CORBA/IdentifierHelper.java,
6826 org/omg/CORBA/IntHolder.java,
6827 org/omg/CORBA/LocalObject.java,
6828 org/omg/CORBA/LongHolder.java,
6829 org/omg/CORBA/LongLongSeqHelper.java,
6830 org/omg/CORBA/LongLongSeqHolder.java,
6831 org/omg/CORBA/LongSeqHelper.java,
6832 org/omg/CORBA/LongSeqHolder.java,
6833 org/omg/CORBA/ORB.java,
6834 org/omg/CORBA/ObjectHelper.java,
6835 org/omg/CORBA/ObjectHolder.java,
6836 org/omg/CORBA/OctetSeqHelper.java,
6837 org/omg/CORBA/OctetSeqHolder.java,
6838 org/omg/CORBA/PolicyErrorCodeHelper.java,
6839 org/omg/CORBA/PolicyErrorHelper.java,
6840 org/omg/CORBA/PolicyHelper.java,
6841 org/omg/CORBA/PolicyListHelper.java,
6842 org/omg/CORBA/PolicyTypeHelper.java,
6843 org/omg/CORBA/PrincipalHolder.java,
6844 org/omg/CORBA/RepositoryIdHelper.java,
6845 org/omg/CORBA/Request.java,
6846 org/omg/CORBA/ShortHolder.java,
6847 org/omg/CORBA/ShortSeqHelper.java,
6848 org/omg/CORBA/ShortSeqHolder.java,
6849 org/omg/CORBA/StringSeqHelper.java,
6850 org/omg/CORBA/StringSeqHolder.java,
6851 org/omg/CORBA/ULongLongSeqHelper.java,
6852 org/omg/CORBA/ULongLongSeqHolder.java,
6853 org/omg/CORBA/ULongSeqHelper.java,
6854 org/omg/CORBA/ULongSeqHolder.java,
6855 org/omg/CORBA/UShortSeqHelper.java,
6856 org/omg/CORBA/UShortSeqHolder.java,
6857 org/omg/CORBA/ValueBaseHelper.java,
6858 org/omg/CORBA/ValueBaseHolder.java,
6859 org/omg/CORBA/VersionSpecHelper.java,
6860 org/omg/CORBA/WCharSeqHelper.java,
6861 org/omg/CORBA/WCharSeqHolder.java,
6862 org/omg/CORBA/WStringSeqHelper.java,
6863 org/omg/CORBA/WStringSeqHolder.java,
6864 org/omg/CORBA/WrongTransactionHelper.java,
6865 org/omg/CORBA/_IDLTypeStub.java,
6866 org/omg/CORBA/_PolicyStub.java,
6867 org/omg/CORBA/portable/BoxedValueHelper.java,
6868 org/omg/CORBA/portable/Delegate.java,
6869 org/omg/CORBA/portable/ObjectImpl.java,
6870 org/omg/CORBA/portable/ServantObject.java,
6871 org/omg/CORBA/portable/StreamableValue.java,
6872 org/omg/CosNaming/BindingType.java,
6873 org/omg/CosNaming/IstringHelper.java,
6874 org/omg/DynamicAny/FieldNameHelper.java,
6875 org/omg/PortableServer/Servant.java: Documentation fixes.
6877 2006-09-04 David Gilbert <david.gilbert@object-refinery.com>
6879 * java/awt/Rectangle.java
6880 (setRect(double, double, double, double)): Modified rounding of input
6883 2006-09-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6885 * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
6886 Disallow H1 - H6 in the paragraphs.
6887 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
6888 (preprocess): Leave at most one leading and/or trailing space.
6889 * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
6890 Do not add any text after closing the HTML tag.
6892 2006-09-02 Roman Kennke <kennke@aicas.com>
6895 * javax/swing/plaf/basic/BasicTextUI.java
6896 (RootView.getPreferredSpan): Default to 10 when there is no
6898 (RootView.getMinimumSpan): Forward to view and default to 10
6899 when there is no real view.
6900 (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
6901 (getMaximumSize): Check for overflow.
6902 * javax/swing/text/FieldView.java
6903 (getResizeWeight): Removed unneeded assignment.
6905 2006-09-01 Francis Kung <fkung@redhat.com>
6906 * java/awt/image/ColorConvertOp.java
6907 (copyImage): Updated javadoc and comments.
6908 (copyRaster): Add javadoc.
6909 (createCompatibleColorModel): Add javadocs and comments.
6910 (createCompatibleDestImage): Use correct transfer type.
6911 (createCompatibleDestRaster): Add new parameter for transfer type.
6912 (filter): Use correct transfer type.
6913 * java/awt/image/ConvolveOp.java: Updated javadocs.
6914 (createCompatibleDestImage): Set new image properties correctly.
6915 (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
6916 (filter(WritableRaster, Raster): Clip sample values to [0-255].
6918 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6920 * javax/swing/table/DefaultTableModel.java:
6921 (checkSize): Added null check for dataVector.
6923 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6925 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
6926 (BasicHorizontalLayout.getAlignmentX): Return fixed value.
6927 (BasicHorizontalLayout.getAlignmentY): Return fixed value.
6929 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6931 * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
6932 (paintIcon): Removed unused import statements, lowered cast requirement
6933 from JCheckBox to AbstractButton.
6935 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6937 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6938 (initComponentDefaults): Added, changed and removed some
6939 tabbed pane properties.
6941 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6943 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
6944 (createContent): Changed menu item name and tab naming.
6946 2006-09-01 Roman Kennke <kennke@aicas.com>
6949 * javax/swing/plaf/basic/BasicHTML.java
6950 (HTMLRootView.getAttributes): Overridden to return null.
6951 (HTMLRootView.getElement): Overridden to return the view's
6954 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6956 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6957 (calculateTabAreaHeight): Use getTabRunOverlay method instead
6958 of accessing variable directly.
6959 (calculateTabAreaWidth): Dito.
6961 2006-08-31 Keith Seitz <keiths@redhat.com>
6963 * include/jvmti.h: Include jvmti_md.h.
6965 2006-08-31 Keith Seitz <keiths@redhat.com>
6967 From Martin Platter <motse@complang.tuwien.ac.at>:
6968 * Makefile.am (include_HEADERS): Include jvmti.h.
6969 * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
6970 (jvmtiError): Remove superfluous comma after last entry.
6971 (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
6972 (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
6973 (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
6974 (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
6976 (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
6977 (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
6978 (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
6981 2006-08-31 Roman Kennke <kennke@aicas.com>
6983 * javax/swing/text/BoxView.java
6984 (getWidth): Return the width with insets added, not with one
6985 added and one removed.
6986 (getHeight): Return the height with insets added, not with one
6987 added and one removed.
6988 * javax/swing/text/GlyphView.java
6989 (DefaultGlyphPainter.viewToModel): Need to add the start offset.
6990 * javax/swing/text/ParagraphView.java
6991 (Row.getAlignment): Adjust alignment with respect to
6992 the justification attribute.
6993 (Row.getLeftInset): Overridden to adjust for firstLineIndent
6995 * javax/swing/text/html/CSS.java
6996 (getValue): Convert length values.
6997 * javax/swing/text/html/Paragraph.java
6998 (painter): New field.
6999 (paint): Implemented to delegate painting to the BoxPainter too.
7000 (setPropertiesFromAttributes): Implemented to load attributes
7002 * javax/swing/text/html/StyleSheet.java
7003 (BoxPainter.as): Removed field.
7004 (BoxPainter.leftInset): New field.
7005 (BoxPainter.bottomInset): New field.
7006 (BoxPainter.rightInset): New field.
7007 (BoxPainter.topInset): New field.
7008 (BoxPainter.BoxPainter): Implemented to load the insets from
7010 (BoxPainter.getInset): Implemented.
7011 * gnu/javax/swing/text/html/Length.java: New class.
7012 Converts CSS length units to usable values.
7014 2006-08-31 Andreas Tobler <a.tobler@schweiz.ch>
7016 * configure.ac: Add check for gethostbyname_r.
7017 Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
7018 * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
7019 SOCKET_NOSIGNAL according to the configure check.
7020 (cpnet_send): Use SOCKET_NOSIGNAL.
7021 (cpnet_sendTo): Likewise.
7022 (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
7024 * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
7027 * lib/Makefile.am (cssfiles): Add new rule to install css files.
7029 2006-08-31 Roman Kennke <kennke@aicas.com>
7031 * javax/swing/JEditorPane.java
7032 (getPreferredSize): Replace preferred size with minimum
7033 UI size only if the scrollable does _not_ track the viewport
7034 size and only if the viewport's size is smaller than the
7036 (getScrollableTracksViewportWidth): Avoid unnecessary multiple
7038 * javax/swing/plaf/basic/BasicTextUI.java
7039 (getPreferredSize): Read-lock the document to avoid
7040 concurrency problems.
7041 (getMaximumSize): Return maximum size of the view.
7042 Read-lock the document to avoid concurrency problems.
7043 (getMinimumSize): Return minimum size of the view.
7044 Read-lock the document to avoid concurrency problems.
7046 2006-08-31 Gary Benson <gbenson@redhat.com>
7048 * java/net/SocketPermission.java
7049 (maybeBracketIPv6Address): Renamed to processHostport.
7050 (processHostport): Also translate "" to "localhost".
7051 (setHostPort): Remove special cases for empty hostport and for
7052 extra colons in hostport (processHostport handles these now).
7054 2006-08-31 Mark Wielaard <mark@klomp.org>
7056 * javax/swing/text/ZoneView.java (Zone): Make static class.
7057 Constructor takes axis parameter.
7058 (createZone): Create Zone with getAxis() as major axis.
7060 2006-08-30 Roman Kennke <kennke@aicas.com>
7062 * javax/swing/text/ZoneView.java
7063 (loadChildren): Implemented.
7064 (getViewIndexAtPosition): Implemented.
7065 (checkZoneAt): New helper method.
7066 (splitZone): New helper method.
7067 (getPreferredZoneEnd): New helper method.
7069 2006-08-30 Roman Kennke <kennke@aicas.com>
7071 * javax/swing/text/ZoneView.java: New class.
7073 2006-08-30 Roman Kennke <kennke@aicas.com>
7075 * javax/swing/JMenu.java
7076 (getMenu): Removed unneeded cast.
7077 (getPopupMenuOrigin): Made positioning algorithm better respect
7079 (setMenuLocation): Also set the location on the popup if it's
7081 (setModel): Use menuChangeListener so that we don't override
7082 the changeListener field from AbstractButton.
7083 (setPopupMenuVisible): Use custom location if set, otherwise
7084 fallback to getPopupMenuOrigin().
7086 2006-08-29 Roman Kennke <kennke@aicas.com>
7088 * javax/swing/text/InternationalFormatter.java
7089 (stringToValue): Fixed bounds check.
7090 * javax/swing/text/MaskFormatter.java
7091 (MaskFormatter): Don't explicitly set allosInvalid property.
7092 (convertStringToValue): New helper method.
7093 (convertValueToString): New helper method.
7094 (convertValue): Removed. Replaced by the 2 convert* methods
7096 (getPadCharAt): Removed.
7097 (isCharValid): Removed.
7099 (stringToValue): Fixed stringToValue conversion.
7100 (stripLiterals): Removed.
7101 (valueToString): Fixed valueToString conversion.
7102 * javax/swing/text/DefaultFormatter.java
7103 (DefaultFormatter): Default to commitsOnValidEdit = false.
7105 2006-08-29 Roman Kennke <kennke@aicas.com>
7107 * javax/swing/text/TextAction.java
7108 (getTextComponent): Check event for null and return null in
7110 (augmentList): Augment Actions based on their names.
7111 * javax/swing/text/DefaultEditorKit.java
7112 (BeginAction.actionPerformed): Check target for null.
7113 (BeginLineAction.actionPerformed): Check target for null.
7114 (CopyAction.actionPerformed): Check target for null.
7115 (CutAction.actionPerformed): Check target for null.
7116 (EndAction.actionPerformed): Check target for null.
7117 (EndLineAction.actionPerformed): Check target for null.
7118 (InsertBreakAction.actionPerformed): Check target for null.
7119 (InsertTabAction.actionPerformed): Check target for null.
7120 (PasteAction.actionPerformed): Check target for null.
7121 (SelectAllAction.actionPerformed): Check target for null.
7122 (SelectionBeginAction.actionPerformed): Check target for null.
7123 (SelectionBeginLineAction.actionPerformed): Check target for null.
7124 (SelectionEndAction.actionPerformed): Check target for null.
7125 (SelectionEndLineAction.actionPerformed): Check target for null.
7126 (SelectLineAction.actionPerformed): Check target for null.
7127 (SelectWordAction.actionPerformed): Check target for null.
7129 2006-08-29 Roman Kennke <kennke@aicas.com>
7131 * javax/swing/plaf/basic/BasicTextUI.java
7132 (FocusHandler): New class. This is moved from the anonymous
7133 inner focus listener class to a static member class, and
7134 is now shared between components.
7135 (DocumentHandler): This class is combined with the PropertyHandler
7136 into the Handler class.
7137 (PropertyChangeHandler): This class is combined with the
7138 DocumentHandler into the Handler class.
7139 (Handler): New class. This combines the Property and Document
7140 handler into one class.
7141 (RootView.changedUpdate): Only forward if real view != null.
7142 (RootView.insertUpdate): Only forward if real view != null.
7143 (RootView.removeUpdate): Only forward if real view != null.
7144 (documentHandler): Removed field and replaced by handler.
7145 (focuslistener): Made field static and renamed to focusListener.
7146 (handler): New field.
7147 (kit): Lazily initialize field.
7148 (rootView): Lazily initialize field.
7149 (updateHandler): Removed and replaced by handler.
7150 (getEditorKit): Lazily instantiate field.
7151 (installDefaults): Don't set margin twice. Install correct
7152 property for disabledTextColor. Moved caret and highlighter
7153 initialization to installFixedDefaults.
7154 (installFixedDefaults): New method. Installs defaults that
7155 can't be overridden by subclasses.
7156 (installListeners): Only install focus handler when new
7157 system property gnu.swing.text.no-xlike-clipboard is not set.
7158 Lazily initialize focus handler.
7159 (installUI): Lazily initialize rootView. Install handler
7160 both for property and document changes.
7161 (uninstallDefaults): Uninstall the UI defaults.
7162 (uninstallFixedDefaults): New method. Uninstalls the fixed
7164 (installListeners): Only uninstall focus handler when not null.
7165 (uninstallUI): Uninstall property and document listener here.
7167 2006-08-29 Gary Benson <gbenson@redhat.com>
7169 * java/net/SocketPermission.java
7170 (maybeBracketIPv6Address): New method.
7171 (<init>): Pass the hostport argument through the above.
7173 * java/net/NetworkInterface.java (getInetAddresses):
7174 Don't bracket IPv6 addresses.
7176 2006-08-28 Roman Kennke <kennke@aicas.com>
7178 * javax/swing/text/BoxView.java
7179 (calculateMinorAxisRequirements): Initialize max size
7180 with Integer.MAX_VALUE.
7181 * javax/swing/text/Utilities.java
7182 (getBreakLocation): For simple chars, scan the text directly.
7183 * javax/swing/text/WrappedPlainView.java
7184 (tabBase): New field.
7185 (tabSize): New field.
7186 (calculateBreakPosition): Use Utilities. Fixed for correct
7188 (changedUpdate): Update children directly.
7189 (insertUpdate): Update children directly. Notify children.
7190 (removeUpdate): Update children directly. Notify children.
7191 (updateChildren): New helper method.
7192 (nextTabStop): Fixed to return correct results.
7193 (paint): Update tabBase.
7194 (updateMetrics): Update tab size.
7196 2006-08-28 Roman Kennke <kennke@aicas.com>
7198 * javax/swing/text/Position.java
7199 (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
7200 (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
7202 2006-08-28 Roman Kennke <kennke@aicas.com>
7204 * javax/swing/text/View.java
7205 (height): Removed unneeded field.
7206 (width): Removed unneeded field.
7207 (getBreakWeight): Return GoodBreakWeight when pos is after
7209 (getToolTipText): Check view index more carefully. Avoid
7211 (insertUpdate): Only execute method body if view count > 0.
7212 When updateChildren returns false, clear the ec variable.
7213 (updateChildren): Added null checks.
7214 (viewToModel): Initialize bias array correctly.
7215 * javax/swing/text/CompositeView.java
7216 (children): Made private.
7217 (numChildren): New field.
7218 (loadChildren): Check factory for null. Don't load children
7219 when factory is null.
7220 (replace): Removed null check. Nullify removed children. Made
7221 growing the array more efficient.
7222 (getViewCount): Return numChildren rather then the real array
7224 * javax/swing/text/BoxView.java
7225 (getViewAtPoint): Fixed algorithm for finding the view.
7226 (replace): Made array growing more efficient.
7227 (replaceLayoutArray): New helper method for growing/patching
7229 (viewToModel): Make sure we have a valid layout.
7231 2006-08-28 Tania Bento <tbento@redhat.com>
7233 * java/awt/MenuShortcut.java
7234 (MenuShortcut (int, boolean)): Set keyName.
7235 (toString): Modified string output.
7236 (setKeyName): New private method.
7238 2006-08-28 Roman Kennke <kennke@aicas.com>
7240 * javax/swing/text/GapContent.java
7241 (Mark.getOffset): Made assert less strict, include boundary.
7242 (search): Made package private to avoid accessor method.
7244 2006-08-28 Roman Kennke <kennke@aicas.com>
7246 * javax/swing/text/StringContent.java
7247 (InsertUndo.positions): New field.
7248 (InsertUndo.redo): Update the undo positions.
7249 (InsertUndo.undo): Fetch the undo positions.
7250 (Mark): New class. Layer of indirection to allow Positions
7251 to be GC'ed while we still hold references to the Mark.
7252 (RemoveUndo.len): New field.
7253 (RemoveUndo.positions): New field.
7254 (RemoveUndo.RemoveUndo): Fetch undo positions.
7255 (RemoveUndo.redo): Re-fetch positions and string.
7256 (RemoveUndo.undo): Update undo positions.
7257 (StickyPosition.mark): New field.
7258 (StickyPosition.offset): Removed field.
7259 (StickyPosition.StickyPosition): Create new Mark. Register
7260 Position in queueOfDeath. Update reference count on mark.
7261 (StickyPosition.getOffset): Return offset stored in mark.
7262 (StickyPosition.setOffset): Removed unneeded method.
7263 (UndoPosRef): New class. Handles undo/redo on positions/marks.
7265 (marks): New field. Stores the marks.
7266 (positions): Removed field.
7267 (queueOfDeath): New field. Used for GCing the positions.
7268 (StringContent): Initialize queueOfDeath.
7269 (createPosition): Lazily create marks vector.
7270 (garbageCollect): New helper method. Collects positions
7271 to be GCed and updates their marks.
7272 (getChars): Fixed bounds check.
7273 (getPositionsInRange): When v == null, create new Vector,
7274 otherwise use v. Store UndoPosRefs in vector.
7275 (getString): Added comment about bug in RI.
7276 (insertString): Use new helper method for replacing the array.
7277 Correctly update positions.
7278 (length): Removed this qualifier.
7279 (remove): Use new helper method for replacing the array.
7280 Correctly update positions.
7281 (replace): New helper method for growing or patching the array.
7282 (updateUndoPositions): Implemented. Updates the positions
7283 for undo/redo operations.
7285 2006-08-27 Roman Kennke <kennke@aicas.com>
7287 * javax/swing/text/StyleContext.java
7288 (NamedStyle.attributes): Made field transient.
7289 (NamedStyle.changeEvent): Made field transient.
7290 (NamedStyle.name): Removed field. The name is stored as
7292 (NamedStyle.NamedStyle(String,Style)): Call setName() for
7293 storing the name and check for null name and resolveParent.
7294 Don't initialize changeEvent.
7295 (NamedStyle.copyAttributes): Return a new NamedStyle,
7296 rather than a plain copy of the attributes field.
7297 (NamedStyle.fireStateChange): Lazily create changeEvent
7299 (NamedStyle.getName): Fetch name from attributes.
7300 (NamedStyle.setName): Store name from attributes.
7301 (NamedStyle.readObject): Implemented for correct
7303 (NamedStyle.writeObject): Implemented for correct
7305 (NamedStyle.setResolveParent): When new parent is null,
7306 remove resolveParent attribute. Use addAttribute() method
7307 rather than StyleContext addAttribute().
7308 (NamedStyle.toString): Fixed to produce output equal to the
7310 (SmallAttributeSet.resolveParent): New field.
7311 (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
7312 the resolveParent field correctly.
7313 (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
7314 array but store it directly. Update
7315 the resolveParent field correctly.
7316 (SmallAttributeSet.clone): Return this as the object is
7318 (SmallAttributeSet.containsAttributes): Make sure that keys
7319 and values are the same.
7320 (SmallAttributeSet.containsAttribute): Make sure that keys
7321 and values are the same.
7322 (SmallAttributeSet.copyAttributes): Return this as the object is
7324 (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
7325 are equal if they have the same number of attributes and
7326 one contains the other.
7327 (SmallAttributeSet.getAttribute): Improved lookup of
7329 (SmallAttributeSet.getResolveParent): Improved lookup of
7331 (SmallAttributeSet.isEqual): When comparing object is a
7332 SmallAttributeSet, consider them equal only if they are the
7334 (SmallAttributeSet.toString): Fixed to produce output equal to the
7336 (attributeSetPool): New field.
7337 (defaultStyleContext): Initialize lazily.
7338 (defaultStyle): Removed field. This is stored in the style context
7340 (listenerList): Removed field. The NamedStyle stores the
7342 (readAttributeKeys): New static field. Used for looking up
7343 the serialization mappings when reading.
7344 (search): New field. Used as search key.
7345 (staticAttributeKeys): Replaced by read/writeAttributeKeys.
7346 (styles): New field. Stores the styles and listeners.
7347 (styleTable): Removed field. Replaced by styles field.
7348 (writeAttributeKeys): New static field. Used for looking up
7349 the serialization mappings when writing.
7350 (static_initializer): Register mappings for all keys in
7352 (StyleContext): Initialize styles correctly.
7353 (addAttributes): Fixed caching of immutable attributes.
7354 (addAttribute): Fixed caching of immutable attributes.
7355 (removeAttributes): Fixed caching of immutable attributes.
7356 (removeAttribute): Fixed caching of immutable attributes.
7357 (addChangeListener): Add listener to styles field.
7358 (removeChangeListener): Remove listener from styles field.
7359 (getChangeListeners): Fetch listeners from styles field.
7360 (addStyle): Add style to styles field.
7361 (cleanupPool): New method.
7362 (getDefaultStyleContext): Lazily create context.
7363 (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
7364 (getMutableAttributeSet): New helper method. Used for
7366 (getStaticAttribute): Fetch key from readAttributeKeys.
7367 (getStyleNames): Return names from styles field.
7368 (getStyle): Lookup style in styles field.
7369 (removeStyle): Remove style from styles field.
7370 (readAttributeSet): Fixed deserialization.
7371 (writeAttributeSet): Fixed serialization.
7372 (readObject): Fixed deserialization.
7373 (writeObject): Fixed serialization.
7374 (reclaim): Simply cleanup the pool.
7375 (registerStaticAttributeKey): Store mapping in both ways.
7376 (searchImmutableSet): New helper method for caching.
7377 (toString): Fixed for output like the RI.
7378 * javax/swing/text/StyleConstants.java
7379 (keys): New field. Stores all known keys.
7380 (StyleConstants): Store created key in keys list.
7381 * javax/swing/event/EventListenerList.java
7382 (readObject): Fixed deserialization.
7383 (writeObject): Fixed serialization.
7385 2006-08-25 Roman Kennke <kennke@aicas.com>
7387 * javax/swing/text/CompositeView.java
7388 (insets): Removed. Replaced by single short fields.
7389 (top): New field. Replaces insets.
7390 (bottom): New field. Replaces insets.
7391 (left): New field. Replaces insets.
7392 (right): New field. Replaces insets.
7393 (CompositeView): Initialize insets fields.
7394 (createDefaultLocation): Removed unneeded method.
7395 (getBottomInset): Return field directly.
7396 (getTopInset): Return field directly.
7397 (getLeftInset): Return field directly.
7398 (getRightInset): Return field directly.
7399 (getInsideAllocation): Adjusted to work on new insets fields.
7400 (getViewIndex): Fixed check.
7401 (loadChildren): Don't replace the old children.
7402 (replace): Make sure that there is an array to operate on.
7403 Only set parent to null, when it is this View.
7404 (setInsets): Adjusted to work with new insets fields.
7405 (setParagraphInsets): Fixed to pull insets directly from
7408 2006-08-25 Roman Kennke <kennke@aicas.com>
7410 * javax/swing/text/ComponentView.java
7411 (Interceptor): New inner helper class. Used to propagate
7412 invalidate requests and cache component layout sizes.
7413 (interceptor): New field.
7414 (getAlignment): Fetch alignment from interceptor container.
7415 (getComponent): Don't create component here. This is done
7417 (getMaximumSpan): Fetch layout info from interceptor. Check
7419 (getMinimumSpan): Fetch layout info from interceptor. Check
7421 (getPreferredSpan): Fetch layout info from interceptor. Check
7423 (modelToView): Fixed model to view mapping.
7424 (viewToModel): Fixed view to model mapping.
7425 (paint): Check for null. Set bounds on interceptor rather
7427 (setParentImpl): Install interceptor between component
7428 and hosting container.
7429 (setParent): Call super.setParent() immediately.
7431 2006-08-25 Roman Kennke <kennke@aicas.com>
7433 * javax/swing/text/LabelView.java
7434 (setPropertiesFromAttributes): Only set background when
7435 the corresponding attribute is actually defined, otherwise
7436 set to null, as the StyleConstants would return black.
7437 * javax/swing/text/DefaultStyledDocument.java
7438 (ElementBuffer.documentEvent): Removed obsolete field.
7439 (ElementBuffer.change): Do prepareEdits() and finishEdits()
7440 to correctly update the element structure.
7441 (ElementBuffer.insertContentTag): Removed unused statement.
7442 (ElementBuffer.recreateAfterFracture): Removed
7443 unused obsolete method.
7444 (setCharacterAttributes): Removed unused statement.
7446 2006-08-25 Roman Kennke <kennke@aicas.com>
7448 * examples/gnu/classpath/examples/swing/Demo.java
7449 (LaterMain.run): Removed unused local variable.
7450 (Demo): Don't put desktop in scrollpane.
7451 (addChildren): Removed unused method.
7452 (mkButtonBar): Added HTML demo.
7453 (mkMenuBar): Added HTML demo.
7454 (mkPanel): Removed unused method.
7455 (mkScrollPane): Removed unused method.
7456 (mkTree): Removed unused method.
7457 (valign2str): Removed unused method.
7458 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7459 Initialize text field with some HTML that already works.
7460 (DEBUG): New field. Set to true for debugging output.
7461 (createContent): Dump element tree after parsing.
7463 2006-08-25 Roman Kennke <kennke@aicas.com>
7465 * javax/swing/text/html/CSS.java
7466 (getValue): Added color value conversion.
7467 * javax/swing/text/html/HTMLDocument.java
7468 (HTMLReader.ConvertAction): New class, converts HTML style tags
7470 (HTMLReader.initTags): Register ConvertAction for <font> tag.
7471 * javax/swing/text/html/InlineView.java
7472 (setPropertiesFromAttributes): Implemented to fetch
7473 CSS character attributes.
7474 * javax/swing/text/html/StyleSheet.java
7475 (addCSSAttribute): Convert value.
7476 (getBackground): Implemented to fetch CSS background color
7478 (getForeground): Implemented to fetch CSS color
7480 (getFont): Adjust font size for superscript and subscript.
7481 (translateHTMLToCSS): Rudimentary implementation that
7482 copies the original attributes, so that any CSS attributes in
7483 there are preserved.
7484 (stringToColor): Use CSSColor for conversion.
7485 * gnu/javax/swing/text/html/css/CSSColor.java:
7486 New class. Converts CSS color values to RGB color values.
7487 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7488 Removed. This is more or less replaced by CSSColor and the
7489 ConvertAction in HTMLReader.
7491 2006-08-25 Roman Kennke <kennke@aicas.com>
7493 * javax/swing/text/BoxView.java
7494 (childReqs): Removed obsolete field.
7495 (baselineLayout): Reimplemented for correct baseline layout.
7496 (baselineRequirements): Reimplemented for correct baseline
7498 (updateChildRequirements): Removed obsolete method.
7499 * javax/swing/text/GlyphView.java
7500 (DefaultGlyphPainter.getSpan): Removed unused statement.
7501 (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7502 specially. The subscript/superscript layout is performed
7503 via the alignment, the font is supplied by the StyleContext.
7504 (breakView): Removed unused statements.
7505 (getAlignment): Adjust alignment according to the
7506 superscript/subscript setting.
7507 (getFont): Reimplemented to fetch the font from the style
7508 context, or from the document if the stylecontext is not
7510 (getPreferredSpan): Adjust span for superscript. Use switch
7512 * javax/swing/text/LabelView.java
7513 (setPropertiesFromAttributes): Fetch background and foreground
7514 from document / style context.
7515 (isSubscript): Resync properties if needed.
7516 * javax/swing/text/ParagraphView.java
7517 (Row.calculateMinorAxisRequirements): Overridden to perform
7519 (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7521 2006-08-24 Roman Kennke <kennke@aicas.com>
7523 * javax/swing/text/Utilities.java
7524 (BUF_LENGTH): Removed unused field.
7525 (drawTabbedText): Removed unneeded cast.
7526 (getBreakLocation): Removed unneeded cast.
7527 Fixed offset to account for Segments not starting at 0.
7529 2006-08-24 Roman Kennke <kennke@aicas.com>
7531 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7532 (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7533 (TabbedPaneScrollLayout.layoutContainer): Likewise.
7534 (ScrollingPane.updateUI): Likewise.
7535 (calculateTabWidth): Rewritten to correctly and efficiently
7536 layout the tab width.
7537 (layoutLabel): Call SwingUtilities method with the tabPane
7539 (paintContentBorderLeftEdge): Removed unused statement.
7540 (paintContentBorderRightEdge): Removed unused statement.
7541 (paintContentBorder): Removed unused statement.
7543 2006-08-24 Roman Kennke <kennke@aicas.com>
7545 * javax/swing/plaf/basic/BasicTextUI.java
7546 (RootView.getAttributes): Overridden to return null,
7547 as the RootView has no parent.
7549 2006-08-24 Roman Kennke <kennke@aicas.com>
7551 * javax/swing/text/html/CSSParser.java: Removed.
7552 * javax/swing/text/html/CSS.java
7553 (getValue): New helper method. Returns special converter
7554 instances for certain kinds of property values.
7555 * javax/swing/text/html/HTMLDocument.java
7556 (HTMLReader.CharacterAction.start): Don't translate tags
7557 here. Instead, store the attributes directly with the tag
7559 (content): Removed field. The Content object is handled
7560 by AbstractDocument.
7561 (styleSheet): Removed field. The styleSheet is the styleContext
7562 of this document and handled by the DefaultStyledDocument already.
7563 (HTMLDocument(Content,StyleSheet): Simply call super here.
7564 The super classes already handle the content and styleContext.
7565 (HTMLDocument()): Call this() with a default GapContent and
7567 (getStyleSheet): Return the styleContext here.
7568 (insertUpdate): New method. Overridden to add the
7569 CONTENT dummy tag to the element's attributes.
7570 (setBase): Set the base on the styleContext.
7571 * javax/swing/text/html/HTMLEditorKit.java
7572 (styleContext): Removed unneeded field.
7573 (styleSheet): Made field private.
7574 (HTMLEditorKit): Do nothing here. The StyleSheet is
7575 created lazily in getStyleSheet(). A styleContext is not
7577 (getStyleSheet): Create StyleSheet correctly.
7578 (insertHTML): Removed unneeded cast.
7579 * javax/swing/text/html/InlineView.java
7580 (attributes): New field.
7581 (changedUpdate): Reload attributes. Trigger preferenceChanged.
7582 (getAttributes): Implemented to fetch the attributes from
7584 * javax/swing/text/html/MultiAttributeSet.java: New class.
7585 Multiplexes between several AttributeSets.
7586 * javax/swing/text/html/MultiStyle.java: New class.
7587 Multiplexes between several Styles.
7588 * javax/swing/text/html/ParagraphView.java
7589 (attributes): New field.
7590 (getAttributes): Implemented to fetch the attributes from
7592 * javax/swing/text/html/StyleSheet.java
7593 (CssParser): Removed inner class.
7594 (CSSStyle): New inner class. Represents a style defined
7596 (CSSStyleSheetParserCallback): New class, for parsing
7598 (css): New field. Stores the CSS rules.
7599 (resolvedStyles): New field. Stores resolved styles.
7600 (StyleSheet): Initialize resolvedStyles map.
7601 (addRule): Removed bogus impl.
7602 (getFont): Implemented to fetch font, based on CSS rules.
7603 (getResolvedStyle): New helper method. Looks up resolved
7604 styles, and resolves a style if necessary.
7605 (resolveStyle): New pair of helper methods. Resolves
7607 (getRule(String)): Provide rudimentary implementation.
7608 (getRule(Tag,Element)): Implemented.
7609 (getViewAttributes): Implemented.
7610 (loadRules): Implemented.
7611 (translateHTMLToCSS): Tagged as not implemented.
7612 * javax/swing/text/html/ViewAttributeSet.java: New class.
7614 2006-08-24 Roman Kennke <kennke@aicas.com>
7616 * javax/swing/text/FlowView.java:
7617 (LogicalView.getAttributes): New method. Overrides super
7618 impl to return the attributes of the FlowView instance.
7619 * javax/swing/text/LabelView.java:
7620 (setPropertiesFromAttributes): Fetch attributes from
7621 View, rather then from the Element. (In the HTML
7622 package the getAttributes() method is overridden to
7623 return different attributes). Fetch font from the StyledDocument.
7625 2006-08-24 Roman Kennke <kennke@aicas.com>
7627 * javax/swing/text/DefaultEditorKit.java:
7628 (DefaultKeyTypedAction.actionPerform): Also filter
7629 ALT and CTRL modifiers.
7631 2006-08-24 Roman Kennke <kennke@aicas.com>
7633 * gnu/javax/swing/text/html/css/FontSize.java,
7634 * gnu/javax/swing/text/html/css/FontStyle.java,
7635 * gnu/javax/swing/text/html/css/FontWeight.java:
7636 New classes. Used to convert CSS font attributes to AWT/Swing
7639 2006-08-24 Francis Kung <fkung@redhat.com>
7640 * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7641 * java/awt/image/ColorConvertOp.java: Updated javadocs.
7642 (srccs, dstcs, rasterValid): Variables removed.
7643 (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7644 (copyRaster): Check for null rendering hints
7645 (createCompatibleColorModel): New private method.
7646 (createCompatibleDestImage): Re-implemented.
7647 (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7648 (createCompatibleDestRaster(Raster)): Re-implemented.
7649 (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7650 (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7651 (getPoint2D): Clean up formatting.
7652 * java/awt/image/ComponentColorModel.java
7653 (constructor): use findBits method instead of passing null.
7654 (findBits): New method.
7656 2006-08-24 Gary Benson <gbenson@redhat.com>
7658 * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7661 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7663 * java/lang/ref/Reference.java
7664 (queue, nextOnQueue): Made volatile.
7665 (enqueue): Made thread safe.
7666 * java/lang/ref/ReferenceQueue.java
7668 (poll): Removed synchronized.
7669 (enqueue): Changed to synchronize on lock object, to update Reference
7670 state and return success status.
7671 (dequeue, remove): Synchronize on lock object.
7673 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7675 * java/security/SecureClassLoader.java
7676 (protectionDomainCache): Changed to HashMap.
7677 (SecureClassLoader): Removed redundant security check.
7678 (defineClass(String,byte[],int,int,CodeSource): Moved
7679 protection domain lookup/construction to new method.
7680 (defineClass(String,ByteBuffer,CodeSource): New method.
7681 (getProtectionDomain): New method.
7683 2006-08-23 Roman Kennke <kennke@aicas.com>
7685 * javax/swing/JComponent.java
7686 (isRepainting): Made package private.
7687 (paintChild): New field.
7688 (findOpaqueParent): Removed method. This is now in
7690 (findOverlapFreeParent): Removed method. This is now
7691 in paintImmediately2().
7692 (findPaintRoot): Removed method. This is now
7693 in paintImmediately2().
7694 (isCompletelyObscured): Changed to take rectangle as single
7696 (isPaintingDoubleBuffered): Removed method. This is now
7697 in paintImmediately2().
7698 (isPartiallyObscured): New helper method.
7699 (onTop): New helper method for optimization.
7700 (paintChildren): Paint only to specific child when
7701 requested like this from paintImmediately2().
7702 (paintDoubleBuffered): Changed to take rectangle as single int
7704 (paintImmediately2): Changed to take rectangle as single int
7705 arguments. Optimized determination of paint root.
7706 (paintImmediately(Rectangle)): Change to delegate to
7707 paintImmediately(int,int,int,int).
7708 (paintImmediately(int,int,int,int)): Look for opaque ancestor
7709 and start painting there.
7710 (paint): Call paintDoubleBuffered() with int arguments. Only
7711 paint component, when not completely occupied by opaque child.
7712 (processKeyBinding): Removed unnecessary cast.
7713 (isOccupiedByChild): New helper method.
7714 * javax/swing/RepaintManager.java
7715 (repaintUnderway): Removed obsolete field.
7716 (commitRequests): Removed obsolete field.
7717 (RepaintManager): Removed initialization of obsolete fields.
7718 (addDirtyRegion): Removed unused statement.
7719 (commitBuffer): Changed to take plain ints as argument.
7720 (compileRepaintRoots): Optimized to avoid use of Rectangle.
7721 Compute offsets in place, rather than using SwingUtilities.
7722 (paintDirtyRegions): Removed unused field.
7723 * javax/swing/JMenuItem.java
7724 (onTop): Return true when not descendant of JInternalFrame.
7725 * javax/swing/JPopupMenu.java
7726 (onTop): Return true.
7727 * javax/swing/JToolTip.java
7728 (onTop): Return true.
7729 * javax/swing/JViewport.java
7730 (paintImmediately2): Change signature to match the
7731 corresponding JComponent method.
7733 2006-08-23 Tania Bento <tbento@redhat.com>
7735 * java/awt/Color.java
7736 (brighter): Modified algorithm to correctly determine the
7737 new brighter colour.
7739 2006-08-23 Roman Kennke <kennke@aicas.com>
7741 * java/awt/Container.java
7742 (maxSize): Removed field. This is already declared in Component.
7743 (validateTree): Check for ContainerPeer. Don't addNotify here.
7744 Only validate Component instances if they are invalid.
7746 2006-08-22 Roman Kennke <kennke@aicas.com>
7748 * javax/swing/JComponent.java
7749 (preferredSize): Removed field.
7750 (maximumSize): Removed field.
7751 (minimumSize): Removed field.
7752 (getMaximumSize): Adjusted to delegate to Component, rather
7753 then managing the size in JComponent.
7754 (getMinimumSize): Adjusted to delegate to Component, rather
7755 then managing the size in JComponent.
7756 (getPreferredSize): Adjusted to delegate to Component, rather
7757 then managing the size in JComponent.
7758 (isMaximumSizeSet): Removed.
7759 (isMinimumSizeSet): Removed.
7760 (isPreferredSizeSet): Removed.
7761 (setMaximumSize): Removed.
7762 (setMinimumSize): Removed
7763 (setPreferredSize): Removed.
7765 2006-08-22 Roman Kennke <kennke@aicas.com>
7767 * javax/swing/AbstractButton.java
7768 (ButtonChangeListener.stateChanged): Delegate to combined
7770 (EventHandler): New inner class. Handles all three types
7771 of events on the model.
7772 (eventHandler): New field. Stores the combined event
7774 (AbstractButton): Moved listener initialization to
7776 (createActionListener): Return combined handler.
7777 (createChangeListener): Return combined handler.
7778 (createItemListener): Return combined handler.
7779 (getEventHandler): New helper method for creating the combined
7781 (setModel): Initialize listeners here.
7782 * javax/swing/plaf/basic/BasicButtonListener.java
7783 (ButtonAction): New class. Implements the keyboard action
7785 (checkOpacity): Implemented.
7786 (createDefaultActionMap): New helper method.
7787 (installKeyboardActions): Rewritten to install InputMap
7788 and ActionMap according to 'new' keyboard input method.
7789 (mouseClicked): Commented as no-op.
7790 (mouseDragged): Commented as no-op.
7791 (mouseMoved): Commented as no-op.
7792 (propertyChange): Check for contentAreaFilled change and
7793 update opacity. Pull handling of HTLM in font and text handler.
7794 (stateChanged): Repaint button.
7795 (uninstallKeyboardActions): Properly uninstall keyboard actions.
7796 * javax/swing/plaf/basic/BasicButtonUI.java
7797 (listener): Removed.
7798 (sharedListener): New static field. Stores the shared listener.
7799 (sharedUI): New static field. Stores the shared UI.
7800 (createButtonListener): Return shared instance here.
7801 (createUI): Return shared instance here.
7802 (getButtonListener): New helper method. Looks for the
7803 BasicButtonListener installed on a button and returns it.
7804 (installDefaults): Correctly install rollover property here.
7805 Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
7806 (installKeyboardActions): Fetch listener with new helper method.
7807 (installListeners): Don't use removed field. Check for null.
7808 (installUI): Added comment about order of method invocations.
7809 (uninstallDefaults): Don't uninstall non-uninstallable properties.
7810 (uninstallKeyboardActions): Fetch listener with new helper method.
7811 (uninstallListeners): Fetch listener with new helper method.
7812 (paintIcon): Paint icon offset when pressed and armed.
7813 * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
7814 * javax/swing/plaf/metal/MetalButtonUI.java
7815 (sharedUI): New field. Stores the shared UI.
7816 (MetalButtonUI): Don't initialize fields here.
7817 (createButtonListener): Removed method. Use super impl.
7818 (createUI): Return shared instance.
7819 (getDisabledTextColor): Update field here.
7820 (getFocusColor): Update field here.
7821 (getSelectColor): Update field here.
7822 (installDefaults): Don't handle rollover property here.
7823 (uninstallDefaults): Don't handle rollover property here.
7824 (paintButtonPressed): Use accessor method to update the
7827 2006-08-21 Mark Wielaard <mark@klomp.org>
7829 Merge NATIVE_LAYER branch.
7831 2006-08-20 Mark Wielaard <mark@klomp.org>
7833 * doc/tools.texinfo: Add file from trunk.
7834 * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
7835 * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
7837 * native/jni/java-lang/java_lang_VMProcess.c
7838 (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
7839 * native/jni/java-net/java_net_VMInetAddress.c
7840 (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
7841 * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
7843 * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
7845 * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
7847 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
7849 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
7851 * vm/reference/java/lang/VMProcess.java: Removed unused redirect
7853 * include/java_lang_VMProcess.h: Regenerated.
7855 2006-07-09 Guilhem Lavaux <guilhem@kaffe.org>
7857 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
7858 (nativeReceive): Fixed the type of the arrays (use java types).
7859 (nativeSendTo): Force throwing an exception if port is 0.
7861 * native/jni/java-net/javanet.c:
7862 (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
7864 (_javanet_recvfrom): Likewise.
7865 (_javanet_sendto): Throw a NullPointerException if the socket is
7866 not connected and no address is given.
7868 * native/jni/java-net/javanet.h
7869 (NULL_EXCEPTION): Defined.
7871 2006-06-16 Guilhem Lavaux <guilhem@kaffe.org>
7873 * native/jni/java-net/java_net_VMInetAddress.c
7874 (Java_java_net_VMInetAddress_getHostByName): Fix detection of
7877 * native/jni/java-net/javanet.c
7878 (_javanet_accept): Fixed bogus call to TARGET.
7879 (_javanet_create_inetaddress): Fixed address generation. Fixed
7881 (_javanet_bind): set "Reuse address" flag.
7883 * native/jni/native-lib/cpio.c
7884 (cpio_getModificationTime): Fixed type.
7885 (cpio_removeFile): Use rmdir too.
7887 * native/jni/native-lib/cpnet.c
7888 (cpnet_getHostByName): Fixed error detection.
7890 * native/jni/native-lib/cpnet.h
7891 (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
7893 (cpnet_IPV4AddressToBytes): Fixed types.
7895 2006-06-10 Guilhem Lavaux <guilhem@kaffe.org>
7897 * native/jni/native-lib/cpio.c
7898 (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
7900 * native/jni/native-lib/cpnet.h:
7901 (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
7902 messed by signs in jbyte.
7904 * native/jni/native-lib/cpproc.h
7905 (CPIO_EXEC_NUM_PIPES): Compilation fix.
7907 2006-05-09 Guilhem Lavaux <guilhem@kaffe.org>
7909 * native/jni/native-lib/cpnet.c
7910 (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
7911 (waitForWritable, waitForReadable): New functions.
7912 (socketTimeouts): New static global table to hold timeouts for all
7914 (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
7915 Added waitForXXXX safeguards to handle socket timeouts.
7917 * native/jni/java-net/javanet.c
7918 (_javanet_accept): Check for the right error value when a timeout
7921 2006-03-25 Guilhem Lavaux <guilhem@kaffe.org>
7923 * native/jni/java-io/Makefile.am,
7924 native/jni/java-lang/Makefile.am,
7925 native/jni/java-net/Makefile.am,
7926 native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
7928 * native/jni/native-lib/Makefile.am: Added cpproc.c
7930 * native/jni/native-lib/cpio.c: Implemented missing functions for
7933 * native/jni/native-lib/cpnet.c
7934 (cpnet_getHostByName): Fixed address array initialization.
7936 * native/jni/native-lib/cpproc.c: Implemented.
7938 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7940 * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
7942 * m4/gcc_attribute.m4: New file from ac_archive.
7944 * native/jni/java-net/javanet.c: Adapted to cpnet API
7947 * native/jni/native-lib/cpnet.c: Implemented.
7949 * native/jni/native-lib/cpnet.h
7950 (cpnet_openSocketDatagram,
7951 cpnet_openSocketStream): These calls need an address family now.
7952 (cpnet_IPV4AddressToBytes,
7953 cpnet_bytesToIPV4Address): Convert the address to network order.
7955 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7957 * native/jni/java-io/java_io_VMFile.c,
7958 native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
7959 native/jni/midi-dssi/dssi_data.h,
7960 native/jni/native-lib/cpio.c,
7961 native/jni/native-lib/cpmath.h: Removed cpmath
7962 dependency. Fixed coding style.
7964 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7966 * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
7967 dependency. Simplified the JNI code by moving some part into the
7970 * native/jni/native-lib/cpproc.h: New interface to handle processes.
7972 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7974 * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
7975 errors. Removed any remaining TARGET invocations.
7977 * native/jni/java-net/javanet.c
7978 (_javanet_create_inetaddress): Removed spurious arr and
7979 octets. Fixed compilation errors.
7981 * native/jni/native-lib/cpnet.h
7982 (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
7983 cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
7984 cpnet_isIPV4Address): New functions.
7985 (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
7988 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
7990 * native/jni/java-io/java_io_VMFile.c,
7991 native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
7992 native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
7993 native/jni/java-net/javanet.c,
7994 native/jni/java-net/javanet.h: Adapted the VM layer code
7995 to the new native layer.
7997 * native/jni/native-lib/cpnet.h
7998 (cpnet_addMembership,
7999 cpnet_dropMembership,
8000 cpnet_getAvailableBytes): Added the declarations of
8002 (cpnet_newIPV6Address,
8003 cpnet_IPV6AddressToBytes,
8004 cpnet_bytesToIPV6Address): Implemented.
8005 (cpnet_newIPV4Address): Initialize the sin_family field.
8007 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
8009 * native/target: Removed.
8011 * configure.ac: Removed target from CLASSPATH_INCLUDES and
8012 Makefile generation.
8014 * native/jni/native-lib/Makefile.am,
8015 native/jni/native-lib/cpnet.h,
8016 native/jni/native-lib/cpnet.c
8017 native/jni/native-lib/cpio.h,
8018 native/jni/native-lib/cpio.c,
8019 native/jni/native-lib/cpmath.h: Imported new native compatibility
8022 2006-08-21 Roman Kennke <kennke@aicas.com>
8024 * gnu/javax/swing/text/html/css/CSSParser.java:
8026 * gnu/javax/swing/text/html/css/CSSParserCallback.java:
8028 * gnu/javax/swing/text/html/css/CSSParserException.java:
8030 * gnu/javax/swing/text/html/css/CSSScanner.java:
8031 Adjusted API comments. Made all constants package private.
8032 (EOF): New constant field.
8033 (parseBuffer): Made package private.
8034 (tokenEnd): Made package private.
8035 (CSSScanner): Initialize lookahead buffer with -1.
8036 (main): Print out to System.out rather then System.err.
8037 (nextToken): Push back character after IDENT.
8039 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
8041 * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
8043 2006-08-21 Roman Kennke <kennke@aicas.com>
8045 * gnu/javax/swing/text/html/css/CSSScanner.java
8046 (main): Use buffered input stream.
8047 (nextToken): Removed 65536 workaround. Use int value directly
8048 without cast to char.
8049 (readComment): Use int value directly without cast to char.
8050 Cast to char only when putting the character into the buffer.
8051 (readEscape): Likewise.
8052 (readIdent): Likewise.
8053 (readName): Likewise.
8054 (readNum): Likewise.
8055 (readString): Likewise.
8056 (readWhitespace): Likewise.
8058 2006-08-21 Ingo Proetel <proetel@aicas.com>
8060 * java/io/InputStreamReader.java
8061 (bytesCache): New field.
8062 (cacheLock): New field.
8063 (read(byte[],int,int): Avoid allocations of new byte
8064 array on every call and reuse cached byte array if possible.
8066 2006-08-21 Roman Kennke <kennke@aicas.com>
8068 * gnu/java/net/local/LocalSocketImpl.java
8069 Only load native lib if this is supported by runtime.
8070 * native/jni/java-net/local.c
8071 Include config.h unconditionally.
8072 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
8073 Include config.h unconditionally.
8075 2006-08-21 Friedjof Siebert <siebert@aicas.com>
8077 * java/io/ObjectInputStream.java
8078 (objectLookupTable): Changed to be a Vector.
8079 (ObjectInputStream): Initialize objectLookupTable as Vector.
8080 (assignNewHandle): Store Object using handle index rather than
8081 Hashtable, using the new rememberHandle() method.
8082 (hierarchy): New method. This replaces inputGetObjectStreamClasses()
8083 with a caching in ObjectStreamClass.
8084 (inputGetObjectStreamClass): Replaced by hierarchy().
8085 (lookupHandle): New method. Looks up an object by it's handle
8087 (parseContent): Avoid creating of Integer objects. Use
8088 hierarchy() method for looking up the class hierarchy.
8089 (processResolution): Use rememberHandle() to store
8090 handle per index, rather than Hashtabling the object.
8092 (rememberHandle): New method.
8093 * java/io/ObjectOutputStream.java
8094 (OIDLookupTable): Use ObjectIdentityMap2Int instead of
8095 Hashtable for improved lookup performance.
8096 (ObjectOutputStream): Initialize OIDLookupTable as
8097 ObjectIdentityMap2Int.
8098 (assignNewHandle): Change to use ObjectIdentityMap2Int.
8099 (findHandle): Change to use ObjectIdentityMap2Int.
8100 (getBooleanField): Removed.
8101 (getByteField): Removed.
8102 (getCharField): Removed.
8103 (getDoubleField): Removed.
8104 (getField): Removed.
8105 (getFloatField): Removed.
8106 (getIntField): Removed.
8107 (getLongField): Removed.
8108 (getObjectField): Removed.
8109 (writeFields(Object,ObjectStreamClass)): Use new helper method.
8110 (writeFields(Object,ObjectStreamField)): New helper method.
8111 Use switch rather then if-else cascade.
8112 (writeObject): Use int handle, rather then Integer.
8113 * java/io/ObjectStreamClass.java
8114 (hierarchy): New field. Caches the class hierarchy.
8115 (methodCache): New field. Caches methods.
8116 (readObjectSignature): New field. Stores the read signature.
8117 (uidCache): New field. Caches UIDs.
8118 (writeObjectSignature): New field. Stores the write signature.
8119 (cacheMethods): Cache methods in methodCache.
8120 (calculateClassID): Outsourced from getClassUID()
8121 for computing the UIDs.
8122 (getClassUIDFromField): Outsourced from getClassUID() for
8123 fetching the UID from the class field.
8124 (getClassUID): Use cached uid if possible. Use new helper
8125 methods for fetching the UID from the field or computing
8127 (getObjectStreamClasses): Removed. Replaced by more
8128 efficient hierarchy() method, that also caches the result.
8129 (hierarchy): Replaces getObjectStreamClasses() for caching
8131 (loadedByBootOrApplicationClassLoader): New helper method.
8132 (setClass): Invalidate hierarchy cache.
8133 (setSuperclass): Invalidate hierarchy cache.
8134 * java/io/ObjectStreamField.java
8135 (field): Made field package private for access from other
8137 * gnu/java/io/ObjectIdentityWrapper.java: Removed.
8138 * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
8139 hashtable for mapping objects to ints.
8141 2006-08-21 Roman Kennke <kennke@aicas.com>
8144 (getAbsolutePath): Fetch absolute path from
8145 VMFile.getAbsolutePath(). Moved actual impl to there.
8146 (isAbsolute): Let VMFile determine the absoluteness.
8147 (toURL): Let VMFile convert the filename.
8148 * vm/reference/java/io/VMFile.java
8149 (getAbsolutePath): New method.
8150 (isAbsolute): New method.
8151 (toURL): New method.
8153 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
8155 * NEWS: Added note about updated VM interface.
8157 2006-08-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
8159 * java/lang/management/ManagementFactory.java:
8160 Updated documentation.
8162 2006-08-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
8165 * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
8167 * gnu/java/util/regex/CharIndexedCharSequence.java,
8168 gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
8170 * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
8171 (match): call the new method setHitEnd of the input,
8172 (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
8173 Some optimization commented out, Use CharIndexed#move1 instead of move.
8174 * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
8175 * gnu/java/util/regex/REToken.java(match): The method body has been
8176 moved to an internal private method, (matchFake): New method,
8177 (setHitEnd): New method.
8178 * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
8179 if the match is not complete, (matchOneString): Count the number of
8180 characters which matched the pattern.
8181 * gnu/java/util/regex/RETokenEnd.java(fake): New field,
8182 (setFake): New method, (match): Call super.match or super.matchFake.
8183 * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
8184 * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
8185 setHitEnd of the input,
8186 * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
8187 * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
8188 RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
8190 2006-08-18 Tom Tromey <tromey@redhat.com>
8192 * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
8193 the 'int', not the cast char.
8195 2006-08-18 Roger Sayle <roger@eyesopen.com>
8197 * scripts/check_jni_methods.sh: Don't use the "set -C" command
8198 which isn't available in all shells.
8200 2006-08-18 Roger Sayle <roger@eyesopen.com>
8202 * lib/Makefile.am (resources): Fix some shell portability issues.
8204 2006-08-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8206 * configure.ac (tool-wrappers): Check for ltdl support when tool
8207 wrapper binaries are enabled.
8208 * tools/Makefile.am (LIBJVM): Remove variable.
8209 (AM_CPPFLAGS): Add LIBJVM define.
8210 (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
8211 gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
8212 gjavah_LDFLAGS): Remove variables.
8213 * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
8215 2006-08-18 Tom Tromey <tromey@redhat.com>
8217 * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
8219 * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
8221 (readEntries): Likewise.
8223 2006-08-17 Roman Kennke <kennke@aicas.com>
8225 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8226 (layoutLabel): Reset the text and icon rectangles.
8228 2006-08-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8231 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
8232 Transform gappletviewer name using program_transform_name.
8234 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
8236 * javax/swing/filechooser/FileSystemView.java
8237 (getFileSystemView): Always return UnixFileSystemView, since
8238 that's the only one we got. Marked with NotImplementedException.
8239 * javax/swing/plaf/basic/BasicFileChooserUI.java
8240 (mouseClicked, installUI): Don't parse path by hand.
8242 2006-08-17 Roman Kennke <kennke@aicas.com>
8244 * javax/swing/JComponent.java
8245 (scrollRectToVisible): Handle intermediate non-JComponents
8248 2006-08-17 Roman Kennke <kennke@aicas.com>
8250 * javax/swing/RepaintManager.java
8251 (blitBuffer): Removed. This is now done in commitBuffer().
8252 (commitBuffer): Always paint on the root window or applet.
8253 No need to look for intermediate heavyweights. Optimized
8254 rectangle translation.
8255 (commitRemainingBuffers): Removed. Not needed anymore.
8256 (getHeavyweightParent): Removed. Not needed anymore.
8257 (getOffscreenBuffer): Fetch offscreen image from the
8258 actual root component.
8259 (paintDirtyRegions): Don't call commitRemainingBuffers().
8261 2006-08-17 Roman Kennke <kennke@aicas.com>
8263 * javax/swing/SwingUtilities.java
8264 (clipString): New helper method for trimming strings.
8265 (layoutCompoundLabelImpl): Fixed algorithm to conform
8266 testsuites. Trim text if it's too long. Avoid creating
8267 new Rectangles. Optimized for performance.
8268 (layoutCompoundLabel): Use switch rather then if-else-chain.
8269 * javax/swing/plaf/basic/BasicButtonUI.java
8273 (paint): Reset and use cached rectangles. Only call paintIcon()
8274 if icon is not null. Don't call paintButtonPressed() when
8275 button is selected, only when it is both armed and pressed.
8276 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8277 (getPreferredButtonSize): Reused cached rectangles rather
8278 then creating new ones. Don't create new Rectangle via
8280 * javax/swing/plaf/basic/BasicLabelUI.java
8281 (getPreferredSize): Correctly reset cached rectangles. Especially
8282 the view rect must have a big size to give it room for layouting.
8283 Short cut layout when text == null.
8284 (paint): Correctly reset cached rectangles.
8285 * javax/swing/plaf/basic/BasicMenuItemUI.java
8286 (resetRectangles): New helper method.
8287 (getPreferredMenuItemSize): Correctly reset the cached rectangles.
8288 (paintMenuItem): Correctly reset the cached rectangles.
8289 * javax/swing/plaf/basic/BasicRadioButtonUI.java
8290 (getPreferredSize): Use cached Rectangle objects and initialize
8292 (paint): Use cached Rectangle objects and initialize
8295 2006-08-17 David Gilbert <david.gilbert@object-refinery.com>
8297 * java/util/Calendar.java: API doc additions.
8299 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8301 * javax/swing/DefaultButtonModel.java:
8302 (setRollover): Simplified statement.
8304 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
8306 * gnu/java/rmi/server/RMIClassLoaderImpl.java
8307 (loadClass): Rewritten to use getClassLoader.
8308 (loadProxyClass): Implemented.
8309 (getClassLoader): Fixed support for null or empty codebase.
8310 * gnu/java/rmi/server/RMIObjectInputStream.java
8311 (resolveClass): Use user class loader as default class loader.
8312 (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
8313 * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
8314 (loadClass): Simplified and use user class loader instead of
8315 context class loader as default.
8316 * java/io/ObjectInputStream.java
8317 (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
8318 * vm/reference/gnu/classpath/VMStackWalker.java
8319 (firstNonNullClassLoader): New method.
8320 * vm/reference/java/io/VMObjectInputStream.java
8321 (loaderAction, currentClassLoader): Removed.
8323 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8325 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8326 (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
8327 by current scroll offset, added method documention.
8328 (getTabBounds(int, Rectangle)): Added method documentation.
8329 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
8330 (paintContentBorderLeftEdge): Changed y to 1.
8332 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8334 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8335 (MouseHandler.mouseReleased): Implemented.
8336 (MouseHandler.mousePressed): Added delegation to tabbed pane.
8337 (MouseHandler.mouseEntered): Dito.
8338 (MouseHandler.mouseExited): Dito.
8339 (MouseHandler.mouseMoved): Dito.
8340 (MouseHandler.redispatchEvent): New method.
8341 (PropertyChangeHandler.propertyChange): Added extra block level,
8342 added code to handle tab placement changes, added comment.
8343 (updateViewPosition): Set unneeded coordinate to 0, added comment.
8345 2006-08-16 Roman Kennke <kennke@aicas.com>
8347 * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
8348 * gnu/javax/swing/text/html/css/CSSLexicalException.java:
8351 2006-08-16 Mark Wielaard <mark@klomp.org>
8353 * java/awt/Component.java (orientation): Renamed to
8354 componentOrientation.
8355 (setComponentOrientation): Use new field name.
8356 (getComponentOrientation): Likewise.
8358 2006-08-16 Roman Kennke <kennke@aicas.com>
8361 * javax/swing/plaf/basic/BasicTreeUI.java
8362 (CellEditorHandler.editingCancelled): Call completeEditing
8364 (CellEditorHandler.editingStopped): Call completeEditing
8366 (NodeDimensionHandler.getNodeDimensions): Rewritten
8367 to use the preferred sizes of the renderer and editor.
8368 (TreeExpansionHandler.treeCollapsed): Complete editing
8370 (TreeSelectionHandler.valueChanged): Complete editing
8372 (cancelEditing): Call completeEditing with false, false and
8373 false. Don't call finish (removed method).
8374 (completeEditing(boolean,boolean,boolean): Only do something when
8375 stopEditingInCompleteEditing is true. Nullify editingComponent
8376 and editingPath. Remove editingComponent from tree. Update
8377 the layout when necessary and repaint.
8378 (completeEditing): Stop editing when necessary.
8379 (editorRequestFocus): New helper method. Request focus
8380 on the actual editor.
8381 (finish) Removed. This is now done in completeEditing().
8382 (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
8383 (setLargeModel): Complete editing here.
8384 (setRootVisible): Complete editing here.
8385 (setRowHeight): Complete editing here.
8386 (setSelectionModel): Complete editing here.
8387 (startEditing): Correctly initialize and start editing.
8388 (updateExpandedDescendants): Complete editing here.
8389 * javax/swing/tree/DefaultTreeCellEditor.java
8390 (DefaultTextField): Fetch size from super and use renderer's height
8392 (EditorContainer.EditorContainer): Set layout to null, just
8394 (EditorContainer.doLayout): Layout so that the editor
8395 is offset to the right of the icon.
8396 (EditorContainer.getPreferredSize): Implemented to
8397 provide a reasonable preferred size.
8398 (EditorContainer.paint): Position icon in the middle.
8399 Also paint border if appropriate.
8400 (EditorContainer.setBounds): Removed.
8401 (RealEditorListener): Removed.
8402 (DefaultTreeCellEditor): Set correct border.
8403 (cancelCellEditing): Message real editor. Call finish().
8404 (createCellEditor): Don't add listener.
8405 (determineOffset): Correctly determine offset, and update
8407 (finish): New helper method.
8408 (getTreeCellEditorComponent): Set correct font. Call
8409 prepareForEditing() and determineOffset() to correctly initialize
8411 (stopCellEditing): Messsage realEditor to stop editing. Call
8413 (stopEditingTimer): Removed.
8414 (valueChanged): Correctly reset lastPath.
8415 * javax/swing/tree/DefaultTreeCellRenderer.java
8416 (getPreferredSize): Return super plus some extra space for
8419 2006-08-16 Roman Kennke <kennke@aicas.com>
8421 * javax/swing/plaf/metal/MetalTreeUI.java
8422 (LineStyleListener): New property listener, that updates
8423 the line style setting if the corresponding property
8425 (lineStyleListener): New field.
8426 (lineStyle): New field.
8427 (LINE_STYLE_ANGLED): New constant field.
8428 (LINE_STYLE_HORIZONTAL): New constant field.
8429 (LINE_STYLE_NONE): New constant field.
8430 (LINE_STYLE_VALUE_ANGLED): New constant field.
8431 (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8432 (LINE_STYLE_VALUE_NONE): New constant field.
8433 (LINE_STYLE_PROPERTY): New constant field.
8434 (decodeLineStyle): Implemented.
8435 (installUI): Install line style listener. Set initial
8437 (uninstallUI): Uninstall line style listener.
8438 (paintHorizontalPartOfLeg): Only call super for angled
8440 (paintVerticalPartOfLeg): Only call super for angled
8442 (paintHorizontalSeparators): Implemented.
8443 (paint): If lineStyle==HORIZONTAL, call
8444 paintHorizontalSeparators().
8445 * examples/gnu/classpath/examples/swing/TreeDemo.java
8446 (createContent): Add panel for selecting line styles.
8448 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8450 * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8451 (createContent): Rewritten.
8452 (createPlacementChangingMenuItem): New method.
8453 (createLayoutPolicyChangingMenuItem): New method.
8454 (createTabbedPane): New method.
8455 (createTabContent): New method.
8457 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8459 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8460 (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8461 disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8463 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8465 * javax/swing/text/WrappedPlainView.java:
8466 (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8467 (calculateBreakPosition): Add p0 to return value.
8469 2006-08-15 Roman Kennke <kennke@aicas.com>
8471 * javax/swing/plaf/basic/BasicTreeUI.java
8472 (MouseHandler.selectedOnPress): New field.
8473 (MouseHandler.handleEvent): New helper method for handling
8474 selection and start/stop editing for mouse events.
8475 (MouseHandler.mouseDragged): Commented as no-op method.
8476 (MouseHandler.mouseMoved): Commented as no-op method.
8477 (MouseHandler.mousePressed): Use handleEvent() to handle
8478 selection and editing handling.
8479 (MouseHandler.mouseReleased): Use handleEvent() to handle
8480 selection and editing handling.
8481 (MouseInputHandler.MouseInputHandler): Register itself
8482 as mouse listener on source. Redispatch event to
8484 (MouseInputHandler.dispatch): New helper method.
8485 (MouseInputHandler.mouseClicked): Dispatch event.
8486 (MouseInputHandler.mouseDragged): Dispatch event.
8487 (MouseInputHandler.mouseEntered): Stop dispatching
8488 if dragging stopped.
8489 (MouseInputHandler.mouseExited): Stop dispatching
8490 if dragging stopped.
8491 (MouseInputHandler.mouseMoved): Stop dispatching.
8492 (MouseInputHandler.mousePressed): Marked as no-op.
8493 (MouseInputHandler.mouseReleased): Dispatch and stop
8494 dispatching afterwards.
8495 (MouseInputHandler.removeFromSource): Implemented.
8496 (PropertyChangeHandler.propertyChange): Also handle
8497 editable property changes by calling setEditable().
8498 (SelectionModelPropertyChangeHandler.propertyChange):
8499 Reset row selection.
8500 (startEditTimer): Removed.
8501 (setCellEditor): Call updateEditor().
8502 (setEditable): Call updateEditor().
8503 (startEditingAtPath): Make path fully visible before starting
8505 (startEditing): Maybe cancel previous edit session. Add
8506 editing component itself, not its parent container.
8507 Register MouseInputHandler for correctly redispatching
8509 (stopEditing): Message cellEditor and only completeEditing()
8510 when approved by cell editor.
8511 (updateCellEditor): Complete editing before updating
8512 the cell editor. Get cell editor from JTree if possible,
8513 otherwise create default editor. Update the listeners
8515 * javax/swing/tree/DefaultTreeCellEditor.java
8516 (CLICK_COUNT_TO_START): Removed.
8517 (DefaultTreeCellEditor): Install correct border. Let setTree()
8518 update the listeners. Don't initialize lastPath and font yet.
8519 (actionPerformed): Implemented to start editing.
8520 (createTreeCellEditor): Set click count to start to 1, rather than
8522 (isCellEditable): Prepare editor here. Determine if we can
8523 start immediately, or if we trigger a timer to do so.
8524 (prepareForEditing): Don't removeAll() (not necessary),
8525 check editingComponent to be non-null.
8526 (setTree): Update listeners.
8527 (shouldStartEditingTimer): Check for left mouse button.
8528 (startEditingTimer): Lazily create timer.
8530 2006-08-15 Lillian Angel <langel@redhat.com>
8532 * java/awt/dnd/DropTargetDragEvent.java
8533 (getTransferable): Implemented.
8535 2006-08-15 Roman Kennke <kennke@aicas.com>
8537 * java/util/Vector.java
8538 (removeAll): Added comment about NPE.
8539 (retainAll): Added comment about NPE.
8541 2006-08-15 Roman Kennke <kennke@aicas.com>
8543 * java/util/zip/ZipFile.java
8544 (UTF8DECODER): Removed.
8545 (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8546 (utf8Decoder): New instance field.
8547 (decodeChars): Lazily create UTF8 decoder. Use instance
8548 field rather than a static field to avoid corruption.
8550 2006-08-15 Roman Kennke <kennke@aicas.com>
8552 * java/io/PrintStream.java
8553 (line_separator): Provide default for system property.
8554 * java/io/FileDescriptor.java
8555 (valid): Create local copy of channel field for better
8558 2006-08-15 Ingo Proetel <proetel@aicas.com>
8560 * java/util/zip/ZipFile.java
8561 (PartialInputStream.UTF8DECODER): New constant field, used
8562 for decoding UTF8 strings.
8563 (readLeShort): Access buffer directly if it has enough bytes
8565 (readLeInt): Access buffer directly if it has enough bytes
8567 (decodeChars): New helper method for decoding UTF8 strings.
8568 (readString): Avoid NIO charset decoder if possible.
8570 2006-08-15 Roman Kennke <kennke@aicas.com>
8572 * java/util/Vector.java
8573 (removeAll): Don't explicitly null-check here. The RI allows
8574 null arguments when Vector is empty. In other cases we
8575 implicitly throw an NPE.
8576 (retainAll): Don't explicitly null-check here. The RI allows
8577 null arguments when Vector is empty. In other cases we
8578 implicitly throw an NPE.
8580 2006-08-14 Casey Marshall <csm@gnu.org>
8582 Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8583 of changes made on this branch.
8585 * gnu/classpath/debug/Component.java
8586 * gnu/classpath/debug/SystemLogger.java
8587 * gnu/java/security/action/GetPropertyAction.java
8588 * gnu/java/security/action/GetSecurityPropertyAction.java
8589 * gnu/javax/crypto/RSACipherImpl.java
8590 * gnu/javax/net/ssl/PrivateCredentials.java
8591 * gnu/javax/net/ssl/provider/Alert.java
8592 * gnu/javax/net/ssl/provider/AlertException.java
8593 * gnu/javax/net/ssl/provider/Certificate.java
8594 * gnu/javax/net/ssl/provider/CertificateRequest.java
8595 * gnu/javax/net/ssl/provider/CertificateType.java
8596 * gnu/javax/net/ssl/provider/CertificateVerify.java
8597 * gnu/javax/net/ssl/provider/CipherSuite.java
8598 * gnu/javax/net/ssl/provider/ClientHello.java
8599 * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8600 * gnu/javax/net/ssl/provider/CompressionMethod.java
8601 * gnu/javax/net/ssl/provider/Constructed.java
8602 * gnu/javax/net/ssl/provider/ContentType.java
8603 * gnu/javax/net/ssl/provider/DiffieHellman.java
8604 * gnu/javax/net/ssl/provider/Extension.java
8605 * gnu/javax/net/ssl/provider/Finished.java
8606 * gnu/javax/net/ssl/provider/Handshake.java
8607 * gnu/javax/net/ssl/provider/Jessie.java
8608 * gnu/javax/net/ssl/provider/ProtocolVersion.java
8609 * gnu/javax/net/ssl/provider/Random.java
8610 * gnu/javax/net/ssl/provider/ServerHello.java
8611 * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8612 * gnu/javax/net/ssl/provider/Signature.java
8613 * gnu/javax/net/ssl/provider/Util.java
8614 * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8615 * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8616 * java/security/MessageDigest.java
8617 * java/security/MessageDigestSpi.java
8618 * java/security/Signature.java
8619 * java/security/SignatureSpi.java
8620 * javax/crypto/Mac.java
8621 * javax/crypto/MacSpi.java
8622 * javax/net/ssl/HandshakeCompletedEvent.java
8623 * javax/net/ssl/HttpsURLConnection.java
8624 * javax/net/ssl/SSLContext.java
8625 * javax/net/ssl/SSLContextSpi.java
8626 * javax/net/ssl/SSLSession.java
8628 * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java
8629 * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java
8630 * gnu/javax/net/ssl/provider/SimpleSessionContext.java
8631 * gnu/javax/net/ssl/provider/ServerRSAParams.java
8632 * gnu/javax/net/ssl/provider/SSLContextImpl.java
8633 * gnu/javax/net/ssl/provider/ServerDHParams.java
8634 * gnu/javax/net/ssl/provider/ClientHelloBuilder.java
8635 * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java
8636 * gnu/javax/net/ssl/provider/SignatureAlgorithm.java
8637 * gnu/javax/net/ssl/provider/CipherSuiteList.java
8638 * gnu/javax/net/ssl/provider/ServerNameList.java
8639 * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java
8640 * gnu/javax/net/ssl/provider/CompressionMethodList.java
8641 * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java
8642 * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java
8643 * gnu/javax/net/ssl/provider/TrustedAuthorities.java
8644 * gnu/javax/net/ssl/provider/CertificateStatusRequest.java
8645 * gnu/javax/net/ssl/provider/ServerHelloDone.java
8646 * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java
8647 * gnu/javax/net/ssl/provider/SSLSocketImpl.java
8648 * gnu/javax/net/ssl/provider/ServerHelloBuilder.java
8649 * gnu/javax/net/ssl/provider/Record.java
8650 * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java
8651 * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java
8652 * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java
8653 * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java
8654 * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java
8655 * gnu/javax/net/ssl/provider/CertificateBuilder.java
8656 * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java
8657 * gnu/javax/net/ssl/provider/CertificateStatusType.java
8658 * gnu/javax/net/ssl/provider/ExtensionList.java
8659 * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java
8660 * gnu/javax/net/ssl/provider/ClientPSKParameters.java
8661 * gnu/javax/net/ssl/provider/X500PrincipalList.java
8662 * gnu/javax/net/ssl/provider/ServerHandshake.java
8663 * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java
8664 * gnu/javax/net/ssl/provider/SessionImpl.java
8665 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
8666 * gnu/javax/net/ssl/provider/ServerPSKParameters.java
8667 * gnu/javax/net/ssl/provider/TruncatedHMAC.java
8668 * gnu/javax/net/ssl/provider/MaxFragmentLength.java
8669 * gnu/javax/net/ssl/provider/HelloRequest.java
8670 * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java
8671 * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java
8672 * gnu/javax/net/ssl/provider/CipherAlgorithm.java
8673 * gnu/javax/net/ssl/provider/ClientHandshake.java
8674 * gnu/javax/net/ssl/provider/ExchangeKeys.java
8675 * gnu/javax/net/ssl/provider/CertificateURL.java
8676 * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java
8677 * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java
8678 * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java
8679 * gnu/javax/net/ssl/provider/Builder.java
8680 * gnu/javax/net/ssl/provider/Debug.java
8681 * gnu/javax/net/ssl/provider/SSLEngineImpl.java
8682 * gnu/javax/net/ssl/provider/MacAlgorithm.java
8683 * gnu/javax/net/ssl/provider/DelegatedTask.java
8684 * gnu/javax/net/ssl/provider/InputSecurityParameters.java
8685 * gnu/javax/net/ssl/provider/ClientHelloV2.java
8686 * gnu/javax/net/ssl/provider/OutputSecurityParameters.java
8687 * gnu/javax/net/ssl/provider/AbstractHandshake.java
8688 * javax/net/ssl/SSLEngine.java
8689 * javax/net/ssl/CertPathTrustManagerParameters.java
8690 * javax/net/ssl/KeyStoreBuilderParameters.java
8691 * javax/net/ssl/X509ExtendedKeyManager.java
8692 * javax/net/ssl/SSLEngineResult.java
8693 * gnu/javax/net/ssl/PreSharedKeyManager.java
8694 * gnu/javax/net/ssl/Session.java
8695 * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java
8696 * gnu/javax/net/ssl/SSLCipherSuite.java
8697 * gnu/javax/net/ssl/AbstractSessionContext.java
8698 * gnu/javax/net/ssl/SessionStoreException.java
8699 * gnu/javax/net/ssl/SSLRecordHandler.java
8700 * gnu/javax/net/ssl/SSLProtocolVersion.java
8701 * gnu/javax/crypto/key/GnuPBEKey.java
8702 * gnu/java/security/util/ByteBufferOutputStream.java
8703 * gnu/java/security/Requires.java
8704 * gnu/javax/security/auth/callback/CertificateCallback.java
8706 * gnu/javax/net/ssl/provider/Context.java
8707 * gnu/javax/net/ssl/provider/DigestInputStream.java
8708 * gnu/javax/net/ssl/provider/DigestOutputStream.java
8709 * gnu/javax/net/ssl/provider/Enumerated.java
8710 * gnu/javax/net/ssl/provider/Extensions.java
8711 * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8712 * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8713 * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8714 * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8715 * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8716 * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8717 * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8718 * gnu/javax/net/ssl/provider/KeyPool.java
8719 * gnu/javax/net/ssl/provider/OverflowException.java
8720 * gnu/javax/net/ssl/provider/RecordInput.java
8721 * gnu/javax/net/ssl/provider/RecordInputStream.java
8722 * gnu/javax/net/ssl/provider/RecordOutputStream.java
8723 * gnu/javax/net/ssl/provider/RecordingInputStream.java
8724 * gnu/javax/net/ssl/provider/SSLRSASignature.java
8725 * gnu/javax/net/ssl/provider/SSLServerSocket.java
8726 * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8727 * gnu/javax/net/ssl/provider/SSLSocket.java
8728 * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8729 * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8730 * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8731 * gnu/javax/net/ssl/provider/SecurityParameters.java
8732 * gnu/javax/net/ssl/provider/Session.java
8733 * gnu/javax/net/ssl/provider/SessionContext.java
8734 * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8735 * gnu/javax/net/ssl/provider/XMLSessionContext.java
8737 2006-08-14 Roman Kennke <kennke@aicas.com>
8739 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8740 (DividerLayout.layoutContainer): Removed debug output.
8741 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8742 (BasicHorizontalLayoutManager.axis): New field.
8743 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8745 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8746 Call new axis constructor.
8747 (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8749 (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8751 (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8752 Refactored to handle direction.
8753 (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8754 to handle direction.
8755 (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8757 (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8758 to handle direction.
8759 (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8760 to handle direction.
8761 (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8762 to handle direction.
8763 (BasicHorizontalLayoutManager.updateComponents): Don't reset
8765 (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8766 New explicit constructor. Calls super with vertical axis.
8767 (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8768 to BasicHorizontalLayoutManager.
8769 (BasicVerticalLayoutManager.getInitialLocation): Functionality
8770 moved to BasicHorizontalLayoutManager.
8771 (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8772 Functionality moved to BasicHorizontalLayoutManager.
8773 (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8774 moved to BasicHorizontalLayoutManager.
8775 (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8776 moved to BasicHorizontalLayoutManager.
8777 (BasicVerticalLayoutManager.minimumSizeOfComponent):
8778 Functionality moved to BasicHorizontalLayoutManager.
8779 (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8780 moved to BasicHorizontalLayoutManager.
8781 (BasicVerticalLayoutManager.setComponentToSize): Functionality
8782 moved to BasicHorizontalLayoutManager.
8783 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8784 (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8785 (BUTTON_SPRITE_R): New constant field.
8786 (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8787 L sprite for left buttons.
8789 2006-08-14 Andreas Tobler <a.tobler@schweiz.ch>
8791 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8792 (query_formats): g_free 'name' after usage.
8793 g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
8794 g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
8796 2006-08-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8799 * configure.ac (MOZILLA_FOUND): Add pkg-config check for
8802 2006-08-14 Francis Kung <fkung@redhat.com>
8805 * java/awt/image/ColorModel.java
8806 (coerceData): Added check for non-transparent images.
8808 2006-08-14 Francis Kung <fkung@redhat.com>
8810 * java/awt/image/BandCombineOp.java
8811 (BandCombineOp): Perform checks on validity of matrix.
8812 (createCompatibleDestRaster): Add checks and choose raster type dynamically.
8813 (filter): Updated to work with new matrix storage.
8814 (getMatrix): Updated javadoc.
8815 (getPoint2D): Formatting change.
8817 2006-08-14 Francis Kung <fkung@redhat.com>
8819 * java/awt/image/AffineTransformOp.java
8820 (AffineTransformOp): Updated javadoc.
8821 (createCompatibleDestImage): Match behaviour of reference implementation.
8822 (createCompatibleDestRaster): Formatting changes.
8823 (filter(BufferedImage, BufferedImage)): Create compatible destination image.
8824 (filter(Raster, WritableRaster)): Re-implemented.
8825 (filterBicubic): New private method.
8826 (filterBilinear): New private method.
8827 (filterNearest): New private method.
8828 (getBounds2D): No longer fixed around one point for rotations.
8829 (getInterpolationType): Add support for bicubic interpolation.
8831 2006-08-14 Roman Kennke <kennke@aicas.com>
8833 * javax/swing/plaf/metal/MetalLookAndFeel.java
8834 (MetalLookAndFeel): Moved theme initialization to
8836 (createDefaultTheme): Forward to getCurrentTheme().
8837 (getDefaults): Initialize theme before doing anything else.
8838 (getCurrentTheme): Recognize swing.metalTheme property.
8840 2006-08-14 Roman Kennke <kennke@aicas.com>
8842 * javax/swing/JTable
8843 (getScrollableUnitIncrement): Expose partially exposed
8844 row in scrolling direction.
8846 2006-08-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8848 * javax/swing/JTable (getScrollableUnitIncrement):
8849 Removing my name as the whole method body have been
8850 recently completely replaced.
8852 2006-08-14 Roman Kennke <kennke@aicas.com>
8855 * javax/swing/text/Utilities.java
8856 (getTabbedTextOffset): Don't add p0 here.
8858 2006-08-14 Roman Kennke <kennke@aicas.com>
8861 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8862 (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
8863 when wheel is going up.
8865 2006-08-14 Roman Kennke <kennke@aicas.com>
8868 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8869 (BasicOneTouchButton): New inner class.
8870 (DividerLayout.changeButtonOrientation): Removed.
8871 (DividerLayout.positionButtons): Moved into layoutContainer.
8872 (DividerLayout.layoutContainer): Reworked for correct layout.
8873 (OneTouchAction): New inner class.
8874 (centerOneTouchButtons): New field.
8875 (BasicSplitPaneDivider): Initialize centerOneTouchButton from
8877 (createLeftOneTouchButton): Reimplemented to return
8878 BasicOneTouchButton.
8879 (createRightOneTouchButton): Reimplemented to return
8880 BasicOneTouchButton.
8881 (getPreferredSize): Reimplemented to return fixed preferredSize.
8882 (oneTouchExpandableChanged): Add OneTouchAction action to
8883 buttons. Don't install mouse listeners.
8884 (MouseHandler.mousePressed): Removed handling of one touch buttons.
8885 (paint): Don't trigger extra paint for buttons.
8886 (propertyChange): Revalidate splitPane when orientation is changed.
8887 (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
8888 oneTouchExpandable is true.
8889 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8890 (installDefaults): Install dividerSize on the divider too.
8891 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8892 (MetalDividerLayout): Removed. Functionality is already
8893 in BasicSplitPaneDivider.DividerLayout.
8894 (MetalOneTouchButton): New inner class.
8895 (BUTTON_SPRITE): New constant field.
8896 (MetalSplitPaneDivider): Don't change layout.
8897 (createLeftOneTouchButton): Overridden to return custom button
8899 (createRightOneTouchButton): Overridden to return custom button
8901 (paint): Don't trigger button painting. Call super instead.
8903 2006-08-13 Roman Kennke <kennke@aicas.com>
8905 * javax/swing/plaf/basic/BasicTableHeaderUI.java
8906 (installKeyboardAction): Unmarked as stub. Added comment
8907 explaining that the RI seems to do nothing here.
8908 (uninstallKeyboardAction): Unmarked as stub. Added comment
8909 explaining that the RI seems to do nothing here.
8911 2006-08-13 Roman Kennke <kennke@aicas.com>
8914 * javax/swing/ScrollPaneLayout.java
8915 (layoutContainer): Consider the viewportBorder of the
8917 (minimumLayoutSize): Consider the viewportBorder of the
8919 (preferredLayoutSize): Consider the viewportBorder of the
8921 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8922 (installDefaults): Also install viewportBorder if specified.
8923 (paint): Paint viewportBorder if present.
8924 (uninstallDefaults): Uninstall viewportBorder if appropriate.
8925 Don't nullify foreground, background and font. Uninstall
8926 border via LookAndFeel helper method to avoid uninstall
8929 2006-08-13 Roman Kennke <kennke@aicas.com>
8932 * javax/swing/plaf/basic/BasicHTML.java
8933 (HTMLRootView.HTMLRootView): Trigger initial layout.
8934 (HTMLRootView.setSize): Overridden to forward to real view.
8935 * javax/swing/plaf/basic/BasicToolTipUI.java
8936 (PropertyChangeHandler): New inner class. Updates the HTML
8938 (propertyChangeHandler): New field.
8939 (getMaximumSize): Add HTML width delta.
8940 (getMinimumSize): Add HTML width delta.
8941 (getPreferredSize): Reimplemented to use HTML view for size
8942 calculation if appropriate, otherwise use simple stringWidth()
8944 (installListeners): Install propertyChangeHandler.
8945 (uninstallListeners): Uninstall propertyChangeHandler.
8946 (installUI): Update HTML renderer.
8947 (uninstallUI): Update HTML renderer.
8948 (paint): Reimplemented to use HTML view for rendering if
8949 appropriate, simple drawString otherwise.
8950 * javax/swing/plaf/metal/MetalToolTipUI.java
8951 (getPreferredSize): Call super and add accelerator delta.
8952 (paint): Simply call super.
8954 2006-08-13 Roman Kennke <kennke@aicas.com>
8956 * javax/swing/JMenu.java
8957 (changeListener): Renamed to menuChangeListener to avoid
8958 shadowing changeListener field from AbstractButton.
8960 2006-08-13 Roman Kennke <kennke@aicas.com>
8962 * javax/swing/JTree.java
8963 (getScrollableUnitIncrement): Fixed direction.
8964 (getScrollableBlockIncrement): Implemented to scroll one
8966 * javax/swing/tree/VariableHeightLayoutCache.java
8967 (distance): Consider y + height already outside the node.
8969 2006-08-13 Roman Kennke <kennke@aicas.com>
8971 * javax/swing/JTable.java
8972 (getScrollableUnitIncrement): Fixed direction. Make it behave
8974 (getScrollableBlockIncrement): Fixed direction. Make it behave
8977 2006-08-13 Roman Kennke <kennke@aicas.com>
8979 * javax/swing/JList.java
8980 (getScrollableUnitIncrement): Fixed direction. Implemented
8981 horizontal scrolling. Improved usability.
8982 (getScrollableBlockIncrement): Fixed direction. Improved usability.
8984 2006-08-13 Roman Kennke <kennke@aicas.com>
8986 * javax/swing/plaf/basic/BasicScrollBarUI.java
8987 (scrollByUnit): Scroll by -unit when direction is not positive
8988 and +unit otherwise.
8989 (scrollByBlock): Scroll by -unit when direction is not positive
8990 and +unit otherwise.
8992 2006-08-13 Roman Kennke <kennke@aicas.com>
8995 * javax/swing/text/PlainView.java
8996 (paint): Limit painted area to the lines inside the clip
8999 2006-08-13 Roman Kennke <kennke@aicas.com>
9001 * javax/swing/plaf/basic/BasicTextUI.java
9002 (uninstallListeners): Unregister document listener.
9004 2006-08-13 Sven de Marothy <sven@physto.se>
9006 * java/util/Locale.java
9007 (hashcodeCache): New field.
9008 (hashCode): use the above field instead of the serialized one
9009 (writeObject): Removed method.
9010 (readObject): Intern strings.
9011 (equals): Revert to previous method.
9013 2006-08-13 Roman Kennke <kennke@aicas.com>
9015 * javax/swing/JTabbedPane.java
9016 (JTabbedPane): Call setModel() here and let this install the
9017 change listener correctly.
9018 (setModel): Correctly uninstall and reinstall ChangeListener when
9021 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9024 * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
9025 (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
9026 (lastDefaultLocale): Removed.
9027 (emptyLocale): Likewise.
9028 (BundleKey.defaultLocale): New field.
9029 (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
9030 (BundleKey.set): Likewise.
9031 (BundleKey.equals): Take defaultLocal field into consideration.
9032 (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
9034 2006-08-13 Roman Kennke <kennke@aicas.com>
9036 * javax/swing/JMenu.java
9037 (MenuChangeListener): New inner class, helps firing menu events.
9038 (changeListener): New field.
9039 (add(text)): Create new JMenuItem here and call add(JMenuItem).
9040 (add(Action)): Create Action using createActionComponent()
9041 and add via add(Component).
9042 (setModel): Install and uninstall MenuChangeListener here.
9044 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9047 * java/math/BigInteger.java: Updated copyright year.
9048 (init): Consume as little bytes as possible.
9049 (BigInteger(int, int, Random)): Ensure bitLength bits are used.
9050 (valueOf(String, int)): Throw NumberFormatException for malformed strings
9051 as per RI's documentation.
9053 2006-08-13 Sven de Marothy <sven@physto.se>
9055 * java/util/Locale.java
9056 (hashcode): Is a serialized field, not transient.
9057 (equals): Should NOT compare strings by reference.
9058 (readObject/writeObject): Use the default methods and handle the hash
9061 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9064 * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
9065 Updated documentation.
9067 (getInstance(String, String, Provider, Object[])): Likewise.
9068 Separate checks for null and empty string arguments.
9069 Include as much information as possible in the exception's message.
9070 Do not swallow original exception; instead use it as the cause of the
9071 resulting exception.
9072 * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
9073 (getInstance(String)): Updated documentation.
9075 Store last exception caught when iterating through all providers.
9076 If no implementation found, raise last exception if one was caught.
9077 (getInstance(String, String)): Updated documentation.
9079 Check for null or empty provider as per RI-5's documentation.
9080 (getInstance(String, Provider)): Updated documentation.
9082 Use as much information as possible in the exception message.
9083 Do not swallow original exception; instead use it as the cause for the
9084 ultimate raised exception(s).
9085 * java/security/cert/CertificateFactory.java: Likewise.
9086 * java/security/cert/CertPathBuilder.java: Likewise.
9087 * java/security/cert/CertPathValidator.java: Likewise.
9088 * java/security/cert/CertStore.java: Likewise.
9089 * java/security/AlgorithmParameterGenerator.java: Likewise.
9090 * java/security/AlgorithmParameters.java: Likewise.
9091 * java/security/KeyFactory.java: Likewise.
9092 * java/security/KeyPairGenerator.java: Likewise.
9093 * java/security/KeyStore.java: Likewise.
9094 * java/security/MessageDigest.java: Likewise.
9095 * java/security/SecureRandom.java: Likewise.
9096 * java/security/Signature.java: Likewise.
9097 * javax/crypto/Cipher.java: Likewise.
9098 * javax/crypto/ExemptionMechanism.java: Likewise.
9099 * javax/crypto/KeyAgreement.java: Likewise.
9100 * javax/crypto/KeyGenerator.java: Likewise.
9101 * javax/crypto/Mac.java: Likewise.
9102 * javax/crypto/SecretKeyFactory.java: Likewise.
9103 * javax/net/ssl/KeyManagerFactory.java: Likewise.
9104 * javax/net/ssl/SSLContext.java: Likewise.
9105 * javax/net/ssl/TrustManagerFactory.java: Likewise.
9107 2006-08-13 Roman Kennke <kennke@aicas.com>
9109 * javax/swing/JEditorPane.java
9110 (getScrollableTracksViewportHeight): Also check maximum size.
9111 * javax/swing/JTextPane.java
9112 (insertIcon): Use input attributes for adding the icon
9114 * javax/swing/plaf/basic/BasicTextUI.java
9115 (RootView.setSize): Overridden to forward to real view.
9116 (getPreferredSize): Trigger setSize() on the view.
9117 (viewToModel(JTextComponent,Point)): Pass Position.Bias array
9118 to viewToModel() call, rather then null.
9119 * javax/swing/text/ParagraphView.java
9120 (changedUpdate): Invalide layout. Call super.
9121 * javax/swing/text/SimpleAttributeSet.java
9122 (clone): Use super's clone method to create clone.
9123 * javax/swing/text/StyleConstants.java
9124 (setIcon): Also set element name attribute.
9125 * javax/swing/text/StyledEditorKit.java
9126 (BoldAction.actionPerformed): Actually set the bold attribute,
9128 (setCharacterAttributes): Replaced with more straightforward
9130 * javax/swing/text/TextAction.java
9131 (getFocusedComponent): Implemented.
9132 * javax/swing/text/Utilities.java
9133 (getNextVisualPositionFrom): Pass Position.Bias arrays instead
9135 * javax/swing/text/View.java
9136 (changedUpdate): Nullify element change when updateChildren
9139 2006-08-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
9141 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
9142 Fix documentation typos.
9144 2006-08-11 David Daney <ddaney@avtrex.com>
9147 * gnu/java/net/protocol/http/Request.java (readResponse): Call
9148 createResponseBodyStream in more cases and with new parameter.
9149 (createResponseBodyStream): Added new parameter mayHaveBody. Handle
9150 HEAD and !mayHaveBody responses specially.
9152 2006-08-11 Roman Kennke <kennke@aicas.com>
9154 * javax/swing/text/GlyphView.java
9155 (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
9156 * javax/swing/text/LabelView.java
9157 (valid): New flag indicating if the text attributes are valid.
9158 (LabelView): Initialize valid field with false.
9159 (setPropertiesFromAttributes): Call setter methods instead
9160 of setting properties directly. Set valid to true.
9161 (changedUpdate): Invalidate attributes. Call super.
9162 (getBackground): Sync attributes if necessary.
9163 (getForeground): Sync attributes if necessary.
9164 (getFont): Sync attributes if necessary.
9165 (isUnderline): Sync attributes if necessary.
9166 (isSuperscript): Sync attributes if necessary.
9167 (isStrikeThrough): Sync attributes if necessary.
9168 (getFontMetrics): Sync attributes if necessary. Fetch font metrics
9169 from toolkit if Container is not available yet.
9171 2006-08-11 Roman Kennke <kennke@aicas.com>
9173 * javax/swing/text/PlainView.java
9174 (tabBase): New field.
9175 (tabSize): New field.
9176 (updateMetrics): Update tabSize.
9177 (lineToRect): Only allocate when really necessary.
9178 (modelToView): Use tabBase for offset calculations.
9179 (paint): Only allocate when really necessary. Update tabBase.
9180 (nextTabStop): Fixed tab calculation.
9181 (viewToModel): Correctly handle multiline text and locations
9182 outside the view's bounds. Set bias.
9183 (getLineLength): Use tabBase.
9184 * javax/swing/text/Utilities.java
9185 (drawTabbedText): Don't special case newlines. The views
9186 must take care of this.
9188 2006-08-11 Roman Kennke <kennke@aicas.com>
9190 * javax/swing/text/GapContent.java
9191 (UndoPosRef): New inner class. Used for resetting positions
9192 after undo/redo operations.
9193 (InsertUndo.positions): New field.
9194 (InsertUndo.undo): Store positions in removed range.
9195 (InsertUndo.redo): Restore positions in re-inserted range.
9196 (UndoRemove.positions): New field.
9197 (UndoRemove.UndoRemove): Store positions in removed range.
9198 (UndoRemove.undo): Restore positions in re-inserted range.
9199 (UndoRemove.redo): Store positions in removed range.
9200 (insertString): Create InsertUndo instance before actually
9201 inserting the string.
9202 (remove): Create UndoRemove instance before actually
9204 (getPositionsInRange): Don't clear the Vector. Return Vector
9206 (updateUndoPositions): Implemented to reset all UndoPosRefs
9209 2006-08-11 Jeroen Frijters <jeroen@frijters.net>
9211 * java/io/ObjectInputStream.java (readClassDescriptor):
9212 Use class's class loader to resolve field types.
9213 * java/io/ObjectStreamField.java
9214 (ObjectStreamField(String,String,ClassLoader)): Removed.
9215 (ObjectStreamField(String,String)): Don't try to resolve typename.
9216 (resolveType): New method.
9218 2006-08-10 Roman Kennke <kennke@aicas.com>
9220 * javax/swing/text/BoxView.java
9221 (calculateMajorAxisRequirements): Sum up the preferred and
9223 (isAfter): Also add in the rectangle's with/height.
9224 (childAllocation): Don't trigger layout here.
9225 (layoutMinorAxis): Removed debug output.
9226 (getWidth): Consider the insets.
9227 (getHeight): Consider the insets.
9228 (setSize): Consider the insets.
9229 (updateRequirements): Check axis and throw
9230 IllegalArgumentException.
9232 2006-08-10 Roman Kennke <kennke@aicas.com>
9234 * javax/swing/text/AbstractDocument.java
9235 (BidiRootName): New constant field, denotes the element name
9236 for bidi root elements.
9237 (AsyncLoadPriority): New constant field, denotes the property
9238 to store the asynchronousLoadPriority.
9239 (I18N): New constant field, denotes the property for
9241 (bidiRoot): Made field type BidiRootElement.
9242 (AbstractDocument): Build initial element structure for
9244 (getAsynchronousLoadPriority): Implemented. Returns the
9245 value stored in the document properties.
9246 (setAsynchronousLoadPriority): Implemented. Sets the
9247 value stored in the document properties.
9248 (getEndPosition): Implemented to use a Position from the
9250 (getStartPosition): Implemented to use a Position from the
9252 (insertStringImpl): Update the I18N setting if necessary.
9253 (insertUpdate): Update the bidi structure if necessary.
9254 (postRemoveUpdate): Update the bidi structure if necessary.
9255 (putProperty): Update the I18N setting and bidi structure
9257 (updateBidi): New helper method for updating the bidi
9259 (getBidis): New helper method. Fetches the Bidi analysers
9260 for the paragraphs of the range to check.
9261 (dump): Also dump the bidi structure.
9262 (AbstractElement.dump): Indent the '>' correctly.
9263 (AbstractElement.children): Check numChildren rather then
9265 (BidiRootElement): New inner class.
9266 (BidiElement): New inner class.
9268 2006-08-10 Roman Kennke <kennke@aicas.com>
9270 * javax/swing/text/GapContent.java
9271 (getChars): Optimized to only copy array when really necessary.
9272 Respect the partialReturn property.
9274 2006-08-10 Lillian Angel <langel@redhat.com>
9276 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9277 (getComponentPeer): Added check to prevent NPE.
9279 2006-08-10 Gary Benson <gbenson@redhat.com>
9281 * java/security/AccessControlContext.java (<init>):
9282 Avoid a duplicated AccessController.getContext() call.
9284 2006-08-09 Mark Wielaard <mark@klomp.org>
9286 * doc/www.gnu.org/newsitems.txt: Add 0.92.
9287 * doc/www.gnu.org/downloads/downloads.wml: Likewise.
9288 * doc/www.gnu.org/announce/20060809.wml: New file.
9290 2006-08-09 Mark Wielaard <mark@klomp.org>
9292 * configure.ac (VERSION): Set to 0.92-generics.
9293 * NEWS: Add updates for 0.92 release.
9295 2006-08-09 Tom Tromey <tromey@redhat.com>
9298 * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
9299 the pattern match any number of spaces in the text.
9301 2006-08-09 Sven de Marothy <sven@physto.se>
9303 * java/awt/image/BufferedImage.java
9304 (BufferedImage): Reimplement predefined-type constructor.
9305 (observers/tileObservers): Field renamed to tileObservers.
9306 (createDefaultIndexedColorModel): New method.
9308 2006-08-09 Tom Tromey <tromey@redhat.com>
9311 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
9312 (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
9313 Create a 'short' array.
9315 2006-08-09 Tom Tromey <tromey@redhat.com>
9317 * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
9319 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
9320 (writeFields): Print "L" after int constant. Don't mangle the field
9321 name. Only print int/long fields.
9323 2006-08-09 Tom Tromey <tromey@redhat.com>
9325 * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
9328 2006-08-09 Sven de Marothy <sven@physto.se>
9330 * javax/swing/JTree.java
9331 (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
9332 (setSelectionModel): Null parameter should create an EmptySelectionM.
9334 2006-08-09 Roman Kennke <kennke@aicas.com>
9336 * javax/swing/text/AbstractDocument.java
9337 (insertString): Perform modifications inside a write lock.
9338 (insertStringImpl): Don't lock here. This is already done
9340 (replace): Perform modifications inside a write lock.
9341 (AbstractElement.AbstractElement): Call addAttributes() to
9343 (AbstractElement.getName): Fetch name from the ElementNameAttibute.
9344 (BranchElement.lastIndex): New field. Optimizes getElementIndex().
9345 (BranchElement.BranchElement): Set lastIndex to -1.
9346 (BranchElement.getElementIndex): Implemented more efficient
9349 2006-08-09 Roman Kennke <kennke@aicas.com>
9351 * javax/swing/text/DefaultStyledDocument.java
9352 (Edit): Moved this inner class into ElementBuffer where it
9354 (edits): Moved this field into ElementBuffer.
9355 (getEditForParagraphAndIndex): Removed obsolete method.
9356 (insertUpdate): Added some optimizations and fixes. Split
9357 out handling insertion after newlines.
9358 (insertAfterNewline): New helper method. Handles insertions
9360 (ElementBuffer.Edit): New inner class. Moved here from
9361 DefaultStyledDocument.
9362 (ElementBuffer.createdFracture): New field.
9363 (ElementBuffer.documentEvent): Made private.
9364 (ElementBuffer.edits): New field. Moved here from
9365 DefaultStyledDocument.
9366 (ElementBuffer.fracNotCreated): Replaced by createdFracture.
9367 (ElementBuffer.fracturedChild): New field.
9368 (ElementBuffer.fracturedParent): New field.
9369 (ElementBuffer.insertPath): New field.
9370 (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
9372 (ElementBuffer.offsetLastIndex): New field.
9373 (ElementBuffer.offsetLastIndexReplace): New field.
9374 (ElementBuffer.recreateLeafs): New field.
9375 (ElementBuffer.ElementBuffer): Don't initialize stack here.
9376 (ElementBuffer.canJoin): New helper method.
9377 (ElementBuffer.changeUpdate): Changed to use elementStack with
9378 Edits rather than Elements. Let the split method do the work.
9379 (ElementBuffer.cloneAsNecessary): New helper method.
9380 (ElementBuffer.createFracture): Changed to fracture the bottommost
9382 (ElementBuffer.finishEdit): New helper method. Moved out
9383 from insertUpdate to perform the actual changes and update
9385 (fracture): New helper method.
9386 (insertContentTag): Fixed some bugs and changed to use Edit
9387 instances in the stack, rather then Elements.
9388 (insertElement): New helper method. Moved out from insertUpdate()
9389 to process the ElementSpecs.
9390 (insertFirstContentTag): Fixed some problems and changed to use Edit
9391 instances in the stack, rather then Elements.
9392 (insertFracture): Removed. Basically moved into createFracture()
9394 (insertParagraph): Removed.
9395 (insertUpdate): Split out the ElementSpec processing into
9396 insertElement(). Use Edit instances in the stack. Fixed some
9398 (insert): Split out the preparation and finishing code into
9399 prepareEdit() and finishEdit().
9400 (join): New helper method.
9401 (pop): New helper method.
9402 (prepareEdit): New helper method.
9403 (recreateFracturedElement): New helper method.
9404 (recreateLeaves): Removed.
9405 (recreate): New helper method.
9406 (removeElements): New helper method. Split out from removeUpdate().
9407 (removeUpdate): Split out the actual removal. Use the
9408 Edit stack to perform removal and perform the remove actions
9409 and event updates afterwards, just like in insertImpl().
9410 (remove): Use prepareEdit() and finishEdit().
9411 (split): Replaced with more flexible impl.
9413 2006-08-09 Sven de Marothy <sven@physto.se>
9415 * gnu/java/awt/peer/gtk/CairoSurface.java
9416 Change class to extend WritableRaster and not DataBuffer.
9417 (CairoDataBuffer): New inner class.
9418 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
9419 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9420 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9421 Accomodate the above change.
9423 2006-08-09 Sven de Marothy <sven@physto.se>
9425 * gnu/java/awt/peer/gtk/GtkMainThread.java
9427 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9428 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9429 Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9430 * gnu/java/awt/peer/gtk/GtkToolkit.java
9431 Minor style fixes; removed unused fields,
9432 set fields to private where possible.
9433 (createDialog, createFrame, createWindow, createEmbeddedWindow):
9434 Call GtkMainThread.createWindow().
9435 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9436 (dispose): New method.
9437 * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9438 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9439 (gtkQuit): New native method.
9441 2006-08-08 Lillian Angel <langel@redhat.com>
9443 * java/awt/Component.java
9444 (setDropTarget): Added check.
9446 2006-08-08 Lillian Angel <langel@redhat.com>
9448 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9449 (GtkDragSourceContextPeer): Added FIXME. Changed call
9451 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9452 (GtkDropTargetContextPeer): Removed target initialization.
9453 * java/awt/Component.java
9454 (setTarget): Removed commented out code.
9456 2006-08-08 Mark Wielaard <mark@klomp.org>
9458 * javax/swing/text/DefaultHighlighter.java: Qualify
9459 Highlighter.HighlightPainter class name for gcj.
9461 2006-08-05 Roman Kennke <kennke@aicas.com>
9463 * javax/swing/plaf/basic/BasicTableUI.java
9464 (MouseInputHandler.mousePressed): Request focus on list
9467 2006-08-05 Roman Kennke <kennke@aicas.com>
9469 * javax/swing/plaf/basic/BasicListUI.java
9470 (MouseInputHandler.mousePressed): Request focus on list
9473 2006-08-05 Roman Kennke <kennke@aicas.com>
9476 * javax/swing/plaf/basic/BasicMenuBarUI.java
9477 (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9478 than Tree.actionMap.
9479 * javax/swing/plaf/basic/BasicTreeUI.java
9480 (action): Removed obsolete field.
9481 (uninstallKeyboardActions): Removed action field handling.
9482 (installKeyboardActions): Removed action field handling.
9483 (createDefaultActions): Don't install removed TreeAction.
9484 (TreeAction): Removed obsolete inner class.
9485 (ActionListenerProxy): Removed obsolete inner class.
9486 (MouseHandler.mousePressed): Request focus on JTree component
9489 2006-08-08 Roman Kennke <kennke@aicas.com>
9491 * javax/swing/plaf/basic/BasicListUI.java
9492 (MouseInputHandler.mousePressed): Request focus on list
9495 2006-08-08 Roman Kennke <kennke@aicas.com>
9497 * javax/swing/plaf/basic/BasicTableUI.java
9498 (MouseInputHandler.mousePressed): Request focus on list
9501 2006-08-08 Roman Kennke <kennke@aicas.com>
9503 * javax/swing/plaf/basic/BasicTextUI.java
9504 (damageRange(JTextComponent,int,int)): Call damageRange() with
9505 correct biases, rather than null.
9506 (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9507 to use simpler modelToView() approach without much special
9508 casing. This seems not worth the effort and actually
9509 caused problems. Added locking of the document.
9510 * javax/swing/text/BoxView.java
9511 (requirementsValid): New field.
9512 (calculateMajorAxisRequirements): Rewritten without using
9513 SizeRequirements. The SizeRequirements algorithms are slightly
9514 different and too inefficient.
9515 (calculateMinorAxisRequirements): Rewritten without using
9516 SizeRequirements. The SizeRequirements algorithms are slightly
9517 different and too inefficient.
9518 (getAlignment): Simply return the alignment of the cached
9520 (getMaximumSpan): Add insets.
9521 (getMinimumSpan): Add insets.
9522 (getPreferredSpan): Add insets.
9523 (layoutMajorAxis): Rewritten without using
9524 SizeRequirements. The SizeRequirements algorithms are slightly
9525 different and too inefficient.
9526 (layoutMinorAxis): Rewritten without using
9527 SizeRequirements. The SizeRequirements algorithms are slightly
9528 different and too inefficient.
9529 (modelToView): Call setSize() rather than layout().
9530 (paint): Check clip for more efficient painting.
9531 (preferenceChanged): Invalidate requirements here.
9532 (replace): Invalidate requirements here.
9533 (updateRequirements): Update requirements only when requirements
9535 * javax/swing/text/CompositeView.java
9536 (modelToView): Added some more checks and handling of corner cases.
9537 * javax/swing/text/FlowView.java
9538 (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9539 span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9540 * javax/swing/text/IconView.java
9541 (getAlignment): Implemented to return 1.0 for vertical alignment.
9542 * javax/swing/text/ParagraphView.java
9543 (Row.getMaximumSpan): Implemented to let Rows span the whole
9545 (getAlignment): Fixed horizontal alignment and vertical alignment
9546 for empty paragraphs to be 0.5.
9548 2006-08-08 Roman Kennke <kennke@aicas.com>
9550 * javax/swing/text/View.java
9551 (modelToView): Added special handling for corner case at the end
9552 of the view and for multiline views.
9554 2006-08-08 Roman Kennke <kennke@aicas.com>
9556 * javax/swing/plaf/basic/BasicTextUI.java
9557 (modelToView): Read-lock the document. Set size of the
9558 root view before fetching the model-to-view mapping.
9559 (getViewIndex): Check of the position is inside the range and
9560 return -1 if this is not the case.
9561 (getViewAtPosition(int,Rectangle): Update child allocation for valid
9563 (getViewIndexAtPosition(int)): Delegate the index search to
9564 the element since we have a 1:1 mapping between elements and
9566 * javax/swing/text/DefaultCaret.java
9567 (appear): Ignore BadLocationException.
9568 (paint): Ignore BadLocationException.
9569 * javax/swing/text/FlowView.java
9570 (changedUpdate): Also notify the layoutPool view.
9571 (removeUpdate): Also notify the layoutPool view.
9572 * javax/swing/text/ParagraphView.java
9573 (Row.getViewIndexAtPosition): Overridden to search linearily
9574 through the view instead of relying on a 1:1 model to view
9576 * javax/swing/text/View.java
9577 (removeUpdate): Clear ElementChange object if updateChildren
9579 (forwardUpdate): Special handle some boundary cases.
9581 2006-08-07 Raif S. Naffah <raif@swiftdsl.com.au>
9583 * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9584 (hasInheritedParameters): New method.
9585 (equals): Updated documentation.
9586 Take into consideration the outcome of hasInheritedParameters invocation.
9587 (toString): Call hasInheritedParameters and adjust the result accordingly.
9588 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9589 Updated documentation.
9590 Handle case of public keys with null p, q, and g MPIs.
9591 (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9593 2006-08-07 Tom Tromey <tromey@redhat.com>
9596 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9597 (attachment): Likewise.
9598 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9600 (isValid): Likewise.
9601 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9603 (interestOps): Synchronize.
9604 (readyOps): Likewise.
9605 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9608 2006-08-07 C. Scott Marshall <csm@gnu.org>
9611 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9612 the mark has been set.
9613 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9614 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9617 2006-08-07 Sven de Marothy <sven@physto.se>
9619 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9620 (drawGlyphVector): Synchronize against font object when drawing.
9621 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9622 (nativeDrawGlyphVector): Use pango locking when drawing.
9623 (install_font_peer): Use pango locking when creating the cairo face.
9625 2006-08-06 Roman Kennke <kennke@aicas.com>
9628 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9629 (getPreferredSize): Renamed method to preferredSize(). That's
9630 the one that gets called from java.awt.*.
9631 * java/awt/peer/ComponentPeer.java
9632 (getPreferredSize): Added specnote about this method never
9633 beeing called in the RI.
9634 (getMinimumSize): Added specnote about this method never
9635 beeing called in the RI.
9637 2006-08-03 Sven de Marothy <sven@physto.se>
9639 * gnu/java/awt/peer/gtk/ComponentGraphics.java
9640 (grab, nativeGrab): New methods.
9641 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9642 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9643 (nativeGrab): New method.
9644 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9646 * java/awt/Component.java
9647 (printAll): Should call peer print method.
9649 2006-08-06 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
9651 * java/net/URL.java (getContent(Class[])): Implement.
9653 2006-08-06 Mark Wielaard <mark@klomp.org>
9656 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9657 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9659 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9662 2006-08-06 Roman Kennke <kennke@aicas.com>
9664 * NEWS: Added note about the X peers.
9665 * INSTALL: Added install notes about the X peers.
9667 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9668 Paul Jenner <psj@harker.dyndns.org>
9670 * README: Update bug, patches and cvs instructions plus new URLs of
9671 various external projects.
9673 2006-08-06 Thomas Fitzsimmons <fitzsim@redhat.com>
9675 * configure.ac (MOZILLA_FOUND): Fall back to
9676 mozilla-firefox-plugin.
9678 2006-08-06 Mario Torre <neugens@limasoftware.net>
9680 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9681 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9682 g_type_init earlier in function to correctly initialize the
9683 type system used by the backend.
9685 2006-08-05 Roman Kennke <kennke@aicas.com>
9687 * javax/swing/text/DefaultHighlight.java
9688 (DefaultHighlightPainter.paintHighlight): Removed method.
9689 (DefaultHighlightPainter.paintLayer): Implemented.
9690 (DefaultHighlightPainter.paint): Implemented more efficient
9691 painting for multiline-highlights.
9692 (HighlightEntry.p0): Changed to be a Position.
9693 (HighlightEntry.p1): Changed to be a Position.
9694 (HighlightEntry.HighlightEntry): Changed to take Position
9696 (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9697 (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9698 (LayerHighlightEntry): New inner class. Extends HighlightEntry
9699 and tracks the painted rectangle for efficient repainting.
9700 (addHighlight): Handle layered highlight.
9701 (changeHighlight): Handle layered highlight.
9702 (paintLayeredHighlights): Implemented.
9703 (paint): Paint only non-layered highlights here.
9704 (removeAllHighlights): Trigger correct repaint.
9705 (removeHighlight): Handle layered highlight here for
9706 more efficient repainting.
9707 * javax/swing/text/GlyphView.java
9708 (paint): Handle layered highlights.
9709 * javax/swing/text/PlainView.java
9710 (paint): Handle layered highlights.
9711 * javax/swing/text/WrappedPlainView.java
9712 (WrappedLine.paint): Handle layered highlights.
9714 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9717 * NEWS: As suggested by Paul Jennier, added note about the fix of
9720 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9722 * NEWS: Added entry about the context factories for JNDI.
9724 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9727 * gnu/CORBA/Connected_objects.java (size): New method.
9728 * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9730 * javax/naming/spi/NamingManager.java (getURLContext):
9731 Also search for the URL context factories in
9732 gnu/javax/naming/jndi/url.
9733 * gnu/javax/naming/giop/ContextContinuation.java,
9734 gnu/javax/naming/giop/CorbalocParser.java,
9735 gnu/javax/naming/giop/GiopNamingEnumeration.java,
9736 gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9737 gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9738 gnu/javax/naming/giop/ListBindingsEnumeration.java,
9739 gnu/javax/naming/giop/ListEnumeration.java,
9740 gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9741 gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9742 gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9743 gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9744 gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9745 gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9746 gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9747 gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9749 2006-08-06 Sven de Marothy <sven@physto.se>
9751 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9752 (drawGlyphVector): Synchronize against font object when drawing.
9753 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9754 (nativeDrawGlyphVector): Use pango locking when drawing.
9755 (install_font_peer): Use pango locking when creating the cairo face.
9757 2006-08-06 C. Scott Marshall <csm@gnu.org>
9760 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9761 the mark has been set.
9762 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9763 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9766 2006-08-06 Mark Wielaard <mark@klomp.org>
9769 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9770 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9772 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9775 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9776 Paul Jenner <psj@harker.dyndns.org>
9778 * README: Update bug, patches and cvs instructions plus new URLs of
9779 various external projects.
9781 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9783 * gnu/java/lang/management/BeanImpl.java:
9784 (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9786 (getCachedMBeanInfo()): Return open variant.
9787 (getMBeanInfo()): Likewise.
9788 (getTypeFromClass(Class)): Implemented.
9789 (translateSignature(MBeanParameterInfo)): Likewise.
9790 (translate(String)): Likewise.
9791 * javax/management/StandardMBean.java:
9792 (getMBeanInfo()): Return attribute names with capital letters,
9793 as in docs for java.lang.management.ManagementFactory, and
9794 ensure descriptions are not "".
9795 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
9796 * javax/management/openmbean/OpenMBeanInfoSupport.java,
9797 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9798 (toString()): Use Arrays.toString().
9799 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9800 (OpenMBeanParameterInfoSupport(String, String, OpenType)):
9801 Set open type here rather than in other constructors.
9803 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9805 * javax/management/MBeanFeatureInfo.java:
9806 Make string variable package-private.
9807 * javax/management/StandardMBean.java:
9808 (getMBeanInterface()): Made final.
9809 * javax/management/openmbean/SimpleType.java:
9812 2006-08-05 Jeroen Frijters <jeroen@frijters.net>
9814 * java/awt/Component.java (setDropTarget): Commented out GTK specific
9817 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9819 * examples/gnu/classpath/examples/swing/FillRect.java,
9820 * gnu/CORBA/Focused_ORB.java,
9821 * gnu/CORBA/interfaces/gnuSocketFactory.java,
9822 * gnu/classpath/ByteArray.java,
9823 * gnu/classpath/ObjectPool.java,
9824 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9825 * gnu/java/awt/peer/x/fonts.properties,
9826 * gnu/java/security/util/Prime2.java,
9827 * gnu/javax/imageio/gif/GIFStream.java,
9828 * javax/swing/text/html/HTMLTableView.java,
9829 * native/cni/Makefile.am,
9830 * org/omg/CORBA/SendingContext/RunTimeOperations.java,
9831 * org/omg/CORBA/SendingContext/Runtime.java,
9832 * resource/gnu/regexp/MessagesBundle.properties,
9833 * resource/gnu/regexp/MessagesBundle_fr.properties,
9834 * resource/gnu/regexp/MessagesBundle_it.properties,
9835 * tools/appletviewer.in,
9836 * tools/jarsigner.in,
9838 * vm/reference/java/lang/management/VMThreadInfo.java:
9840 * examples/gnu/classpath/examples/awt/aicas.png,
9841 * examples/gnu/classpath/examples/awt/palme.gif,
9842 * examples/gnu/classpath/examples/java2d/aicas.png,
9843 * examples/gnu/classpath/examples/java2d/palme.gif,
9844 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
9845 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
9846 * java/awt/doc-files/capjoin.png,
9847 * java/awt/geom/doc-files/Area-1.png,
9848 * java/awt/geom/doc-files/Ellipse-1.png,
9849 * java/awt/geom/doc-files/GeneralPath-1.png:
9852 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9857 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9859 * gnu/java/lang/management/BeanImpl.java:
9860 (getAttribute(String)): Implemented.
9862 2006-08-05 Roman Kennke <kennke@aicas.com>
9864 * javax/swing/text/JTextComponent.java
9865 (AccessibleJTextComponent.dot): Renamed field into caretDot.
9866 (AccessibleJTextComponent.textComp): Removed field
9867 and replace with JTextComponent.this construct.
9868 (AccessibleJTextComponent.AccessibleJTextComponent):
9869 Fetch caret position.
9870 (caretUpdate): Implemented. Fires property change events and
9871 updates the caretDot field.
9872 (changedUpdate): Implemented. Fires property change events.
9873 (insertUpdate): Implemented. Fires property change events.
9874 (removeUpdate): Implemented. Fires property change events.
9875 (cut): Replaced textComp with JTextComponent.this construct.
9876 (paste): Replaced textComp with JTextComponent.this construct.
9877 (replaceText): Replaced textComp with JTextComponent.this construct.
9878 (selectText): Replaced textComp with JTextComponent.this construct.
9879 (getCaretPosition): Replaced textComp with JTextComponent.this
9881 (getCharCount): Replaced textComp with JTextComponent.this construct.
9882 (getSelectedText): Replaced textComp with JTextComponent.this
9884 (getSelectionEnd): Replaced textComp with JTextComponent.this
9886 (getSelectionStart): Replaced textComp with JTextComponent.this
9888 (getTextRange): Replaced textComp with JTextComponent.this
9890 (doAccessibleAction): Implemented.
9891 (getAccessibleActionCount): Implemented.
9892 (getAccessibleActionDescription): Implemented.
9893 (getAccessibleStateSet): Implemented.
9894 (getAfterIndex): Implemented.
9895 (getBeforeIndex): Implemented.
9896 (getAtIndex): Implemented.
9897 (getAtIndexImpl): New helper method.
9898 (getCharacterAttribute): Implemented.
9899 (getCharacterBounds): Implemented.
9900 (getIndexAtPoint): Implemented.
9901 (insertTextAtIndex): Implemented.
9902 (setAttributes): Implemented.
9903 (setTextContents): Implemented.
9905 2006-08-05 Raif S. Naffah <raif@swiftdsl.com.au>
9907 * configure.ac: Better handling of default-preferences-peer option.
9909 2006-08-04 Andreas Tobler <a.tobler@schweiz.ch>
9911 * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
9914 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9916 * javax/management/openmbean/TabularData.java:
9917 Documentation corrections.
9918 * javax/management/openmbean/TabularDataSupport.java:
9921 2006-08-04 Francis Kung <fkung@redhat.com>
9923 * java/awt/BasicStroke.java
9924 (dashedStroke): Implemented.
9926 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9928 * javax/management/BadAttributeValueExpException.java,
9929 * javax/management/BadStringOperationException.java,
9930 * javax/management/InstanceAlreadyExistsException.java,
9931 * javax/management/InstanceNotFoundException.java,
9932 * javax/management/InvalidApplicationException.java,
9933 * javax/management/MBeanRegistrationException.java,
9934 * javax/management/MalformedObjectNameException.java,
9935 * javax/management/RuntimeErrorException.java,
9936 * javax/management/RuntimeMBeanException.java,
9937 * javax/management/ServiceNotFoundException.java:
9940 2006-08-04 Roman Kennke <kennke@aicas.com>
9942 * javax/swing/SwingUtilities.java
9943 (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
9944 int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
9945 layoutCompoundLabelImpl().
9946 (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
9947 Rectangle,Rectangle,Rectangle,int)): Delegate to new
9948 layoutCompoundLabelImpl().
9949 (layoutCompoundLabelImpl): New helper method. Moved impl from
9950 layoutCompoundLabel() to here and added handling of HTML.
9951 * javax/swing/plaf/basic/BasicButtonUI.java
9952 (installUI): Update HTML view if appropriate.
9953 (uninstallUI): New method. Do the usual uninstallUI things
9954 and uninstall HTML view.
9955 (getMinimumSize): New method. Adjusts the minimum size
9956 by the HTML view minimum size.
9957 (getMaximumSize): New method. Adjusts the maximum size
9958 by the HTML view maximum size.
9959 (getPreferredSize): Pass the button's iconTextGap to the
9960 BasicGraphicsUtils method.
9961 (paint): Let HTML view paint the text, if present.
9962 * javax/swing/plaf/basic/BasicButtonListener.java
9963 (propertyChange): Update the HTML view when the button's
9966 2006-08-04 Mario Torre <neugens@limasoftware.net>
9968 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9969 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9970 g_type_init earlier in function to correctly initialize the
9971 type system used by the backend.
9973 2006-08-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9976 * javax/naming/Name.java (addAll, getPrefix, getSuffix):
9978 * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
9980 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
9982 Reported by Henrik Gulbrandsen <henrik@gulbra.net>
9984 * gnu/xml/dom/DomIterator.java:
9985 (successor): Added if-statement.
9987 2006-08-04 Mark Wielaard <mark@klomp.org>
9989 * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
9991 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
9993 * javax/swing/plaf/metal/MetalMenuBarUI.java:
9994 (update): Check size and paint smaller gradient.
9995 * javax/swing/plaf/metal/MetalBorders.java:
9996 (MenuBarBorder): Removed borderColor field.
9997 (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
10000 2006-08-03 Roman Kennke <kennke@aicas.com>
10003 * javax/swing/plaf/basic/BasicInternalFrameUI.java
10004 (ComponentHandler.componentResized): Reimplemented to handle
10006 (InternalFramePropertyChangeHandler.propertyChange): (Un)install
10007 component listener on changed ancestor.
10008 (installListeners): Install componentListener.
10009 (uninstallListeners): Uninstall componentListener.
10011 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
10013 * StrictMath.java (cbrt): Return argument if it is a NaN.
10018 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
10020 * java/lang/StrictMath.java (tanh): New method.
10022 2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
10024 * scripts/import-cacerts.sh: Batch CA certificates import script.
10026 2006-08-03 Roman Kennke <kennke@aicas.com>
10029 * javax/swing/plaf/basic/BasicListUI.java
10030 (paintCell): Pass row index to cell renderer.
10031 * javax/swing/plaf/basic/MetalFileChooserUI.java
10032 (DirectoryComboBoxRenderer.indentIcon): New field.
10033 (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
10034 Initialize indentIcon.
10035 (DirectoryComboBoxRenderer.getListCellRendererComponent):
10036 Fall back to super and removed standard functionality.
10037 Handle indentation.
10038 (IndentIcon): New class. Wraps and indents another icon.
10040 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
10042 * javax/management/MBeanConstructorInfo.java:
10043 (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
10044 Copy array rather than directly assigning.
10045 * javax/management/MBeanInfo.java:
10046 (MBeanInfo(String,String,MBeanAttributeInfo[],
10047 MBeanConstructorInfo[], MBeanOperationInfo[],
10048 MBeanNotificationInfo[])): Likewise.
10049 * javax/management/MBeanOperationInfo.java:
10050 (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
10052 * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
10053 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
10055 * javax/management/openmbean/OpenMBeanInfo.java:
10056 Corrected documentation.
10057 * javax/management/openmbean/OpenMBeanInfoSupport.java:
10059 * javax/management/openmbean/OpenMBeanOperationInfo.java:
10060 Corrected documentation.
10061 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
10063 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10064 (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
10065 Call other constructor rather than reimplementing.
10067 2006-08-02 Lillian Angel <langel@redhat.com>
10069 * java/awt/dnd/DragSource.java
10070 (isDragImageSupported): Implemented.
10071 (getDragThreshold): Changed default value.
10072 * java/awt/dnd/DropTarget.java
10073 (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
10074 (DropTarget): Likewise.
10075 (DropTarget): If FlavorMap passed in is null, we should use the system default.
10076 (addDropTargetListener): Added check to determine if new DropTargetListener
10077 is this class. If so, an IllegalArgumentException is thrown. If the
10078 new listener is null, nothing happens.
10080 2006-08-02 Thomas Fitzsimmons <fitzsim@redhat.com>
10082 * configure.ac (MOZILLA_FOUND): Fall back to
10083 mozilla-firefox-plugin.
10085 2006-08-02 Sven de Marothy <sven@physto.se>
10087 * java/awt/geom/AffineTransform.java
10088 (hashCode): Tweak impl.
10089 * java/awt/font/FontRenderContext.java
10090 (hashCode): Implement.
10092 2006-08-02 Carsten Neumann <cn-develop@gmx.net>
10094 * java/lang/StrictMath.java (sinh): New method.
10096 2006-08-02 Roman Kennke <kennke@aicas.com>
10099 * javax/swing/JComboBox.java
10100 (setSelectedItem): Fire ActionEvent here.
10101 * javax/swing/plaf/basic/BasicDirectoryModel.java
10102 (directories): Changed to type Vector.
10103 (files): New field.
10104 (loadThread): New field.
10105 (DirectoryLoadThread): New inner class. This loads the contents
10106 of directories asynchronously.
10107 (getDirectories): Return cached Vector.
10108 (getFiles): Return cached Vector.
10109 (getSize): Return plain size of contents Vector.
10110 (propertyChange): Reread directory also for DIRECTORY_CHANGED,
10111 FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
10112 (sort): Don't store sorted list in contents. This must be done
10113 asynchronously from the EventThread.
10114 (validateFileCache): Rewritten for asynchronous reading
10115 of directory contents.
10116 * javax/swing/plaf/basic/BasicFileChooserUI.java
10117 (installListeners): Install model as PropertyChangeListener.
10118 (uninstallListeners): Uninstall model as PropertyChangeListener.
10119 (createPropertyChangeListener): Return null just like the
10122 2006-08-02 Sven de Marothy <sven@physto.se>
10124 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10125 (remove): Force event on removing item 0 when it's selected.
10126 (handleEvent): Always call Choice.selected().
10127 * java/awt/Choice.java:
10128 (remove): Simplify and correct.
10130 2006-08-02 Mark Wielaard <mark@klomp.org>
10133 * configure.ac (gconf-peer): Check for gdk-2.0.
10134 * native/jni/gconf-peer/Makefile.am
10135 (AM_LDFLAGS): Use GDK_LIBS.
10136 (AM_CFLAGS): Use GDK_CFLAGS.
10138 2006-08-02 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
10140 * java/net/URL.java (getContent(Class[])): Implement.
10142 2006-08-02 Roman Kennke <kennke@aicas.com>
10145 * javax/swing/JMenu.java
10146 (JMenu()): Removed setting of delay.
10147 (JMenu(String)): Removed setting of delay.
10148 (JMenu(Action)): Removed setting of delay.
10149 (JMenu(String,boolean)): Removed setting of delay.
10150 (setSelectedHelper): Removed unneeded method.
10151 (setSelected): Simply set the model state.
10152 (setPopupMenuVisible): Recognize the popup location
10153 determined by getPopupMenuOrigin().
10154 (getPopupMenuOrigin): Recognize the UI properties for
10156 (menuSelectionChanged): Call setSelected() directly.
10157 * javax/swing/JPopupMenu.java
10158 (menuSelectionChanged): If invoker is a JMenu, then delegate
10159 to that to get the position right.
10160 * javax/swing/Popup.java
10161 (LightweightPopup.show): Insert the popup as first component
10162 in the layer, so that it overlaps it's caller.
10163 * javax/swing/plaf/basic/BasicMenuItemUI.java
10164 (getPath): Don't include the popup.
10165 * javax/swing/plaf/basic/BasicMenuUI.java
10166 (SelectMenuAction): New class. This invokes the popup when
10167 a menu is selected.
10168 (installDefaults): Install delay of 200 ms.
10169 (setupPostTimer): Implemented.
10170 (MouseInputHandler.mouseClicked): Do nothing here.
10171 (MouseInputHandler.mouseEntered): Use MenuSelectionManager
10172 magic to handle the selection. Open the menu via a timer.
10173 (MouseInputHandler.mousePressed): Use MenuSelectionManager
10174 magic to handle the selection. Open the menu via a timer.
10175 (MenuDragMouseHandler.menuMouseDragged): Probably use
10177 (menuDragMouseEntered): Do nothing here.
10179 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
10181 * javax/management/openmbean/InvalidOpenTypeException.java,
10182 * javax/management/openmbean/KeyAlreadyExistsException.java:
10185 2006-08-02 Roman Kennke <kennke@aicas.com>
10188 * javax/swing/plaf/basic/BasicChooserUI.java
10189 (BasicFileView.getName): Fetch the real name from the
10190 file chooser's FileSystemView.
10191 * javax/swing/plaf/metal/MetalChooserUI.java
10192 (DirectoryComboBoxRenderer.getListCellRendererComponent):
10193 Set the text fetched from the JFileChooser.getName().
10194 * javax/swing/FileSystemView.java
10195 (createFileObject): When file is a filesystem root,
10196 create a filesystem root object first.
10197 (getSystemDisplayName): Return the filename. Added specnote
10198 about ShellFolder class that is mentioned in the spec.
10199 * javax/swing/UnixFileSystemView.java
10200 (getSystemDisplayName): Implemented to return the real name
10201 of a file, special handling files like '.' or '..'.
10203 2006-08-03 Mark Wielaard <mark@klomp.org>
10205 * examples/gnu/classpath/examples/icons/badge.png: Add file.
10207 2006-08-03 Roman Kennke <kennke@aicas.com>
10210 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10211 (PropertyChangeHandler.propertyChange): Cleanly reinstall
10212 components when visual property chanegs.
10214 2006-08-03 Roman Kennke <kennke@aicas.com>
10217 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10218 (PropertyChangeHandler.propertyChange): Uninstall and reinstall
10219 component when visual properties change.
10221 2006-08-03 Roman Kennke <kennke@aicas.com>
10224 * javax/swing/JTree.java
10225 (JTree(TreeModel)): Set cell renderer to null.
10226 * javax/swing/plaf/basic/BasicTreeUI.java
10227 (setCellRenderer): Finish editing before setting the
10228 cell renderer. Refresh the layout. Don't set the
10229 currentCellRenderer field here (that's done in updateRenderer).
10230 (updateRenderer): Handle createdRenderer field here too.
10231 Set renderer to a default handler when the current renderer
10232 in the JTree is null.
10234 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
10237 * java/security/SecureRandom.java (next): Call nextBytes as per specs.
10239 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
10242 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
10243 Updated documentation to clarify that RFC-2459 states that the parameters
10244 field of the AlgorithmIdentifier element MUST be NULL if present.
10245 Amended the code to reflect the specs.
10246 (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
10248 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10250 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10251 Call parameter 'defaultValue' not 'defValue'.
10253 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10255 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10258 2006-08-01 Roman Kennke <kennke@aicas.com>
10261 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10262 (PropertyChangeHandler.propertyChange): Cleanly reinstall
10263 components when visual property chanegs.
10265 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10267 * javax/management/openmbean/OpenMBeanAttributeInfo.java:
10268 (toString()): Corrected documentation.
10269 * javax/management/openmbean/OpenMBeanConstructorInfo.java,
10270 * javax/management/openmbean/OpenMBeanInfo.java,
10271 * javax/management/openmbean/OpenMBeanOperationInfo.java:
10273 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10274 (toString()): Corrected documentation.
10276 2006-08-01 Tania Bento <tbento@redhat.com>
10278 * java/awt/Choice.java
10279 (remove(int)): Added documentation.
10281 2006-08-01 Tania Bento <tbento@redhat.com>
10283 * java/awt/Choice.java
10284 (remove(int)): An IllegalArgumentException should not be thrown
10285 if int is invalid. Update selectedIndex and peer selection.
10287 2006-08-01 Tania Bento <tbento@redhat.com>
10289 * java/awt/CardLayout.java
10290 (toString): Changed format of string outputted.
10291 (goToComponent): Changed the order of the if-clause.
10293 2006-07-31 Tom Tromey <tromey@redhat.com>
10295 * INSTALL: Updated for ASM.
10297 2006-07-31 Tom Tromey <tromey@redhat.com>
10300 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
10301 (attachment): Likewise.
10302 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
10304 (isValid): Likewise.
10305 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
10307 (interestOps): Synchronize.
10308 (readyOps): Likewise.
10309 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
10312 2006-07-31 Roman Kennke <kennke@aicas.com>
10314 * NEWS: Added note about the X peers.
10315 * INSTALL: Added install notes about the X peers.
10317 2006-07-31 Carsten Neumann <cn-develop@gmx.net>
10319 * StrictMath.java (getLowDWord): Return long instead of int.
10320 (getHighDWord): Likewise.
10321 (buildDouble): Take two long arguments.
10322 (cbrt): Adapted to int -> long change.
10326 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
10328 * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
10331 2006-07-31 Raif S. Naffah <raif@swiftdsl.com.au>
10333 * java/security/Provider.java: Updated copyright year.
10334 Updated documentation.
10336 (put): Updated documentation.
10337 Added security manager check.
10338 Canonicalize the key before adding its mapping.
10339 (get): Override superclass implementation to use canonicalized keys.
10340 (remove): Updated documentation.
10341 Added security manager check.
10342 Canonicalize the key before removing its mapping.
10343 (clear): Updated documentation.
10344 Added security manager check.
10345 (toCanonicalKey): New method.
10347 2006-07-30 Matt Wringe <mwringe@redhat.com>
10349 * gnu/java/security/Engine.java
10350 (getInstance): Ignore self referencing aliases.
10352 2006-07-30 Mark Wielaard <mark@klomp.org>
10354 * javax/swing/JComponent.java (getListeners): Revert
10357 2006-07-30 Mark Wielaard <mark@klomp.org>
10359 * resource/java/security/classpath.security: Add /dev/urandom as
10360 default securerandom.source.
10362 2006-07-30 Mark Wielaard <mark@klomp.org>
10364 * java/util/GregorianCalendar.java (maximums): Months can have up to
10366 (nonLeniencyCheck): weeks is either 5 or 6.
10368 2006-07-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
10370 * javax/management/openmbean/OpenMBeanAttributeInfo.java,
10371 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10374 2006-07-30 Matt Wringe <mwringe@redhat.com>
10376 * gnu/java/security/Engine.java
10377 (getInstance): Ignore self referencing aliases.
10379 2006-07-30 Sven de Marothy <sven@physto.se>
10381 * java/awt/Choice.java:
10382 (accessibleAction): Call select() directly.
10383 (add, insert, remove): Reimplement.
10384 (dispatchEventImpl): Always call super.
10385 (processItemEvent): Does not set the index.
10386 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
10387 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10389 (nativeAdd): Name changed to add.
10390 (selection_changed_cb): Simplify callback.
10391 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10392 (selected): New field.
10393 (add): Replaced with native impl.
10394 (handleEvent): New method.
10396 2006-07-30 Sven de Marothy <sven@physto.se>
10398 * java/awt/Choice.java:
10399 Reformat, fix copyright year.
10401 2006-07-29 Mark Wielaard <mark@klomp.org>
10403 * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
10404 static field isPaintingDoubleBuffered to not have the same name
10407 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10409 * examples/gnu/classpath/examples/management/TestBeans.java:
10411 * javax/management/MBeanAttributeInfo.java:
10412 (toString()): Implemented.
10413 * javax/management/MBeanConstructorInfo.java:
10414 (toString()): Implemented.
10415 * javax/management/MBeanFeatureInfo.java:
10416 (toString()): Implemented.
10417 * javax/management/MBeanInfo.java:
10418 (toString()): Implemented.
10419 * javax/management/MBeanNotificationInfo.java:
10420 (toString()): Implemented.
10421 * javax/management/MBeanOperationInfo.java:
10422 (toString()): Implemented.
10423 * javax/management/MBeanParameterInfo.java:
10424 (toString()): Implemented.
10425 * javax/management/StandardMBean.java:
10426 (getMBeanInfo()): Fix attribute naming.
10428 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10430 * gnu/java/lang/management/BeanImpl.java:
10431 Extended javax.management.StandardMBean.
10432 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10433 * gnu/java/lang/management/CompilationMXBeanImpl.java,
10434 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10435 * gnu/java/lang/management/MemoryMXBeanImpl.java,
10436 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10437 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10438 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10439 * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10440 * gnu/java/lang/management/ThreadMXBeanImpl.java:
10441 Call the superclass with the appropriate class.
10442 * java/lang/management/ManagementFactory.java:
10443 (getOperatingSystemMXBean()): Catch exception from
10445 (getRuntimeMXBean()): Likewise.
10446 (getClassLoadingMXBean()): Likewise.
10447 (getThreadMXBean()): Likewise.
10448 (getMemoryMXBean()): Likewise.
10449 (getCompilationMXBean()): Likewise.
10450 (getMemoryPoolMXBeans()): Likewise.
10451 (getMemoryManagerMXBeans()): Likewise.
10452 (getGarbageCollectorMXBeans()): Likewise.
10453 * javax/management/MBeanFeatureInfo.java:
10454 hashCode()): Fixed to check for null values.
10456 2006-07-29 Matt Wringe <mwringe@redhat.com>
10458 * gnu/java/security/Engine.java
10459 (getInstance): Add case insentivity to algorithm names
10460 * java/security/Provider.java
10461 (put): Stop using canonical key naming
10463 (toCanonicalKey): Method removed
10464 (get): Method removed, no longer needs to overwrite
10465 parent implementation
10467 2006-07-29 Mark Wielaard <mark@klomp.org>
10469 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10470 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10471 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10472 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10473 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10474 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10477 2006-07-29 Sven de Marothy <sven@physto.se>
10479 * java/math/BigDecimal.java
10480 Adjust copyright date.
10481 (divide(BigDecimal): Implement.
10482 (precision): Reimplement.
10483 (numDigitsInBigInteger, numDigitsInLong): Removed.
10484 (toString): Get exponent from string length,
10485 fix negative values with exponential form.
10486 (toEngineeringString): Same as for toString.
10487 (setScale): Throw ArithmeticException if scale < 0.
10489 2006-07-27 Francis Kung <fkung@redhat.com>
10491 * gnu/java/awt/java2d/CubicSegment.java: Added import.
10492 (cp1): Renamed from first().
10493 (c2): Renamed from last().
10494 (first): Renamed to cp1().
10495 (getDisplacedSegments): Implemented.
10496 (last): Renamed to cp2().
10497 * gnu/java/awt/java2d/LineSegment.java
10498 (cp1): Renamed from first().
10499 (c2): Renamed from last().
10500 (first): Renamed to cp1().
10501 (last): Renamed to cp2().
10502 * gnu/java/awt/java2d/QuadSegment.java
10503 (cp1): Renamed from first().
10504 (c2): Renamed from last().
10505 (first): Renamed to cp1().
10506 (last): Renamed to cp2().
10507 * gnu/java/awt/java2d/Segment.java: Added comments.
10508 (first): New field.
10509 (Segment): Keep track of first element in list.
10510 (add): Update first & last element variables.
10511 (cp1): Renamed from first().
10512 (c2): Renamed from last().
10513 (first()): Renamed to cp1() to reduce ambiguity.
10514 (last()): Renamed to cp2() to reduce ambiguity.
10515 (reverseAll): Update first element variable..
10516 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10517 (draw): Remove flattening path iterator.
10518 * java/awt/BasicStroke.java: Clarified comments.
10519 (addSegments): Refactored some code into joinSegments and
10521 (capEnd): Rename of Segment.first() and Segment.end().
10522 (joinInnerSegments): New method.
10523 (joinOuterSegments): New method.
10524 (joinSegments): Refactored some code into joinOuterSegments.
10525 (solidStroke): Connect segments together properly.
10527 2006-07-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10529 * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10531 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10533 * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10535 * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10538 2006-07-28 Tom Tromey <tromey@redhat.com>
10540 * configure.ac: Enable -Werror by default on Linux-with-gcc.
10542 2006-07-28 Lillian Angel <langel@redhat.com>
10544 * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10545 Removed function declarations.
10546 (connect_signals_for_widget): Removed implementation because
10547 stub functions have been removed.
10548 (drag_begin_cb): Removed function.
10549 (drag_motion_cb): Likewise.
10550 (drag_data_get_cb): Likewise.
10551 (drag_data_delete_cb): Likewise.
10552 (drag_drop_cb): Likewise.
10553 (drag_end_cb): Likewise.
10554 (drag_data_received_cb): Likewise.
10556 2006-07-28 Mark Wielaard <mark@klomp.org>
10558 * configure.ac: Set version to 0.93-pre.
10560 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10562 * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10564 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10566 * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10567 (getCallbackHandler): Fully qualify linked class in javadoc.
10568 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10569 * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10570 * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10572 2006-07-27 Tom Tromey <tromey@redhat.com>
10574 PR classpath/28486:
10575 * java/net/URLStreamHandler.java (equals): Properly handle default
10576 port. Rewrote javadoc. Don't compare 'authority' parts of URLs.
10578 2006-07-27 Roman Kennke <kennke@aicas.com>
10580 * javax/swing/text/AbstractDocument.java
10581 (documentCV): Made field private.
10582 (bypass): Made field private.
10583 (bidiRoot): New field.
10584 (AbstractDocument): Initialize bidiRoot.
10585 (getBidiRootElement): Return bidiRoot.
10586 (getRootElements): Adjusted to also return the bidiRoot element.
10587 (BranchElement.startOffset): Removed unneeded field.
10588 (BranchElement.endOffset): Removed unneeded field.
10589 (BranchElement.BranchElement): Removed unneeded fields.
10590 (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10591 done automatically when there's no element left in the array.
10592 (BranchElement.getStartOffset): Likewise.
10593 (BranchElement.replace): Reordered calculations to avoid double
10595 (removeImpl): Silently ignore requests with length <= 0.
10596 * javax/swing/text/GapContent.java
10597 (createPosition): Removed explicit check for correct offset.
10598 This class can deal with offsets outside the document.
10599 (shiftEnd): Update all positions, even those outside the
10601 (adjustPositionsInRange): Fixed to also adjust positions outside
10602 the document boundary.
10604 2006-07-18 Kyle Galloway <kgallowa@redhat.com>
10606 * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10608 (getParameter): Returns _klass field instead of determining
10609 class from _instance.
10610 (setCatchLoc): New method.
10611 (writeData): Now assumes Location deals with empty locations instead of
10613 * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10614 locations and write out accordingly.
10615 (getEmptyLocation): New method.
10617 2006-07-27 Roman Kennke <kennke@aicas.com>
10619 * javax/swing/text/SimpleAttributeSet.java
10620 (EMPTY): Use EmptyAttributeSet for this field rather than
10621 SimpleAttributeSet.
10622 * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10623 an empty and immutable AttributeSet.
10625 2006-07-27 Roman Kennke <kennke@aicas.com>
10627 * java/awt/Component.java
10628 (reshape): Invalidate the component itself only when the
10629 size has changed. Invalidate the parent always. Fixed
10630 repainting. Pulled out the notification into
10632 (notifyReshape): New helper method. Notify interested listeners
10634 (update): Simply call paint() without clearing the background.
10635 This is done in Container.update() if appropriate.
10636 (repaint): Delagate the repaint to the nearest heavyweight
10637 parent (for lightweights) and send an UPDATE event, rather than
10638 calling ComponentPeer.repaint().
10639 * java/awt/Container.java
10640 (backCleared): Removed field.
10641 (paint): Removed handling of backCleared flag.
10642 (update): Only paint if the container is actually
10643 showing. Removed handling of backCleared flag.
10645 2006-07-27 Robert Schuster <robertschuster@fsfe.org>
10647 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10649 (NavigateAction): New inner class.
10650 (NavigatePageDownAction): New inner class.
10651 (NavigatePageUpAction): New inner class.
10652 (RequestFocusAction): New inner class.
10653 (RequestFocusForVisibleComponentAction): New inner class.
10654 (FocusHandler.focusGained): Implemented.
10655 (FocusHandler.focusLost): Implemented.
10656 (MouseHandler.mouseReleased): Implemented.
10657 (MouseHandler.mousePressed): Rewritten.
10658 (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10659 currentScrollLocation to 0.
10660 (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10661 removed local variables, fixed indentation to stay under 80 column
10663 (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10664 one, set selectedIndex to 0 if its negative, corrected start values
10665 for normalization, suppressed padding when only one tab run,
10666 (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10667 (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10668 80 column limit, corrected the starting value for the bounds fixing
10670 (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10671 (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10672 selectedRun, set start index for loop to 0.
10673 (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10674 (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10675 (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10676 alignment and visibility handling.
10677 (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10679 (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10680 (currentScrollOffset): New field.
10681 (tabRuns): Rewritten documentation.
10682 (selectedColor): New field.
10683 (tempTextRect): New field.
10684 (tempIconRect): New field.
10685 (scrollTab): New method.
10686 (updateButtons): New method.
10687 (updateViewPosition): New method.
10688 (createLayoutManager): Reordered method calls, predefine new fields,
10689 register proper listeners.
10690 (uninstallComponents): Implemented.
10691 (installDefaults): Corrected property names, fixed indentation,.
10692 (uninstallDefaults): Set new fields to null.
10693 (uninstallListeners): Remove listeners from components neccessary for
10694 scrolling tab layout.
10695 (installKeyboardActions): Implemented.
10696 (uninstallKeyboardActions): Implemented.
10697 (paint): Paint tab area background.
10698 (paintTabArea): Fixed indentation, removed usage of local Rectangle
10700 (getTabLabelShiftX): Rewritten.
10701 (getTabLabelShiftY): Rewritten.
10702 (paintFocusIndicator): Reindented.
10703 (paintTabBorder): Rewritten.
10704 (paintTabBackground): Corrected color usage, rewritten background
10705 rectangle painting.
10706 (paintContentBorderTopEdge): Rewritten.
10707 (paintContentBorderBottomEdge): Rewritten.
10708 (paintContentBorderLeftEdge): Rewritten.
10709 (paintContentBorderRightEdge): Rewritten.
10710 (tabForCoordinate): Return selected index when no tab could be
10711 found, removed FIXME note.
10712 (getRunForTab): Changed return value for first if-statement.
10713 (navigateSelectedTab): Fixed last argument for both
10714 getTabRunOffset() calls.
10715 (selectedNextTabInRun): Added scrolling code.
10716 (selectedPreviousTabInRun): Added scrolling code.
10717 (selectedNextTab): Added scrolling code.
10718 (selectedPreviousTab): Added scrolling code.
10719 (selectAdjacentRunTab): Added scrolling code.
10720 (getTextViewForTab): Added FIXME note.
10721 (calculateTabHeight): Changed FIXME note.
10722 (getTabRunOffset): Fixed indentation.
10723 (getNextTabIndexInRun): Corrected return value.
10724 (rotateInsets): Make TOP case the default in switch-statement.
10725 (getActionMap): New method.
10726 (createActionMap): New method.
10727 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10728 (createLayoutManager): Rewritten.
10729 (paintLeftTabBorder): Do not paint left line when previous tab
10730 is selected but current tab is the first in its run, do not paint
10731 left line when current tab is selected and is first in its run.
10732 (paintRightTabBorder): Added missing setColor() call, fixed color
10733 usage, do not paint right line if previous tab is selected but
10734 current tab is the first in its run.
10735 (paintBottomTabBorder): Do not paint left line if tab is selected
10736 and is the first tab in the last run.
10737 (paintFocusIndicator): New method.
10738 (getLabelShiftX): New method.
10739 (getLabelShiftY): New method.
10741 2006-07-27 Andreas Tobler <a.tobler@schweiz.ch>
10743 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10744 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10745 g_assert from unused obj.
10746 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10747 obj as unused and remove g_assert on it.
10749 2006-07-26 Roman Kennke <kennke@aicas.com>
10751 * javax/swing/RepaintManager.java
10752 (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10754 (isCompletelyDirty): Consider a component completely dirty
10755 when it has a dirty region with Integer.MAX_VALUE.
10757 2006-07-26 Roman Kennke <kennke@aicas.com>
10759 * java/awt/KeyboardFocusManager.java
10760 (getGlobalFocusOwner): Explicitly check for thread security.
10761 (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10762 (getGlobalFocusedWindow): Explicitly check for thread security.
10763 (getGlobalActiveWindow): Explicitly check for thread security.
10764 (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10765 (getGlobalObject): Added new argument for specifying if
10766 a security check should be performed or not.
10767 (setGlobalObject): Don't check for thread security when
10768 calling getGlobalObject.
10770 2006-07-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
10772 * javax/management/MBeanConstructorInfo.java:
10774 * javax/management/MBeanInfo.java:
10775 (MBeanInfo(String,String,MBeanAttributeInfo[],
10776 MBeanConstructorInfo[], MBeanOperationInfo[],
10777 MBeanNotificationInfo[])): Implemented.
10778 (equals(Object)): Likewise.
10779 (getAttributes()): Likewise.
10780 (getConstructors()): Likewise.
10781 (getOperations()): Likewise.
10782 (hashCode()): Likewise.
10783 * javax/management/MBeanOperationInfo.java,
10784 * javax/management/NotCompliantMBeanException.java,
10785 * javax/management/StandardMBean.java:
10788 2006-07-26 Sven de Marothy <sven@physto.se>
10790 * java/awt/geom/GeneralPath.java: Fix severe typo.
10792 2006-07-26 Sven de Marothy <sven@physto.se>
10794 * include/java_lang_VMSystem.h
10795 * vm/reference/java/lang/VMSystem.java
10796 * native/jni/java-lang/java_lang_VMSystem.c
10797 (nanoTime, currentTimeMillis): Switch the former to native code and
10798 the latter to java.
10800 2006-07-26 Andreas Tobler <a.tobler@schweiz.ch>
10802 * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
10803 * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
10804 * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
10805 * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
10806 * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
10807 * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
10808 * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
10809 * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
10810 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
10811 * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
10812 * gnu/java/awt/peer/qt/QtImage.java: Likewise.
10813 * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
10814 * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
10815 * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
10816 * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
10817 * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
10818 * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
10819 * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
10820 * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
10821 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
10822 * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
10824 2006-07-26 Roman Kennke <kennke@aicas.com>
10826 * java/awt/KeyboardFocusManager.java
10827 (getFocusOwner): Don't check permanent owner.
10828 (getGlobalFocusOwner): Don't check permanent owner.
10830 2006-07-26 Carsten Neumann <cn-develop@gmx.net>
10832 * StrictMath.java (cosh): New method.
10833 (expm1): New method.
10834 (EXPM1_Q1): New field.
10835 (EXPM1_Q2): Likewise.
10836 (EXPM1_Q3): Likewise.
10837 (EXPM1_Q4): Likewise.
10838 (EXPM1_Q6): Likewise.
10840 2006-07-26 Roman Kennke <kennke@aicas.com>
10842 * javax/swing/plaf/basic/BasicButtonListener.java
10843 (mousePressed): Request focus if appropriate.
10844 * javax/swing/text/DefaultCaret.java
10845 (mousePressed): Also handle the focus of the text component
10846 as specified. Don't consume events.
10848 2006-07-26 Roman Kennke <kennke@aicas.com>
10850 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10851 (focusRequest): Removed field.
10852 (postFocusEvent(int,boolean,Component)): Removed.
10853 (postFocusEvent(int,boolean)): Reverted to post event using
10854 the heavyweight component.
10855 (requestFocus): Post focus event using the heavyweight
10857 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10858 (requestFocus): Post focus event using the heavyweight
10860 * java/awt/AWTEvent.java
10861 (isFocusManagerEvent): New field, indicating if this is
10862 an event that is redispatched by the KeyboardFocusManager.
10863 * java/awt/Component.java
10864 (requestFocusImpl): Register component for
10865 heavyweight->lightweight mapping.
10866 (dispatchEventImpl): Retarget focus events before dispatching
10867 to the KeyboardFocusManager. Use new AWTEvent flag instead
10868 of locking hack. Dispatch all events through the
10869 KeyboardFocusManager. Don't request focus on lightweight
10871 * java/awt/DefaultKeyboardFocusManager.java
10872 (dispatchEvent): Pulled out handling of FOCUS_GAINED and
10874 (handleFocusGained): Fixed handling of temporary vs permanent
10875 focus changes. Added some checks.
10876 (handleFocusLost): Fixed handling of temporary vs permanent
10877 focus changes. Added some checks.
10878 * java/awt/EventDispatchThread.java
10879 (run): Don't dispatch to KeyboardFocusManager here. This
10880 is done in Component.dispatchEventImpl().
10881 * java/awt/KeyboardFocusManager.java
10882 (redispatchEvent): Use new AWTEvent flag instead of locking hack.
10883 (focusRequests): New field.
10884 (retargetFocusEvent): New method. Retargets focus events
10885 that come from heavyweights to the correct lightweight component.
10886 (addLightweightFocusRequest): New method. Stores a mapping
10887 for later retargetting of heavyweight focus events.
10888 * java/awt/Window.java
10889 (addFocusListener): Removed bogus method. If at all, this
10890 should be performed in the KeyboardFocusManager.
10891 (Window): Don't install a focus listener on the Window.
10893 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10895 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
10896 (drawLine): Apply shift to line coordinates.
10898 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10900 * java/awt/image/ColorConvertOp.java: Fixed copyright header.
10901 (copyimage): Do not call setRenderingHints() when the respective map
10903 (filter): Removed code to clone the ColorModel instance.
10904 * java/awt/image/ColorModel.java:
10905 (cloneColorModel): Removed.
10907 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10909 * javax/swing/JTabbedPane.java:
10910 (setSelectedIndex): Removed updating of component visibility status,
10912 (remove(Component)): Use indexOfComponent() to find whether we have
10913 to use super.remove(int) or removeTabAt().
10915 2006-07-26 Roman Kennke <kennke@aicas.com>
10917 * javax/swing/JOptionPane.java
10918 (createDialog): Add property change handler for closing
10919 the dialog when the value property changes.
10920 (ValuePropertyHandler): New inner helper class.
10921 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10922 (OptionPaneCloseAction): New class.
10923 (messageForeground): Removed field.
10924 (messageBorder): Removed field.
10925 (buttonBorder): Removed field.
10926 (addIcon): Configure the new label.
10927 (addMessageComponents): Configure newly created labels.
10928 (burstStringInto): Likewise.
10929 (createButtonArea): Install border here.
10930 (createMessageArea): Install border and foreground here.
10931 (createSeparator): Added comment and removed
10932 NotImplementedException.
10933 (installComponents): Don't install the UI defaults for the
10934 message and button area here. This is moved to the
10935 corresponding create* methods. Adjusted comment about
10937 (installDefaults): Removed initialization of removed fields.
10938 (installKeyboardActions): Implemented.
10939 (getActionMap): New helper method.
10940 (createDefaultActions): New helper method.
10941 (uninstallDefaults): Removed de-initialization of removed fields.
10942 (uninstallKeyboardActions): Implemented.
10943 (configureLabel): New helper method.
10944 * javax/swing/plaf/basic/BasicTableUI.java
10945 (getActionMap): Fixed the UI property names.
10946 * javax/swing/plaf/basic/BasicToolBarUI.java
10947 (getActionMap): Fixed the UI property names.
10949 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10951 * java/awt/image/BandedSampleModel.java
10952 (getDataElements): Check for negative x or y,
10953 (getPixels): Likewise,
10954 (getSamples): Likewise,
10955 (setSamples): Likewise.
10957 2006-07-26 Roman Kennke <kennke@aicas.com>
10959 * javax/swing/plaf/basic/BasicToolBarUI.java
10960 (ToolBarAction): New inner class for handling keyboard
10962 (installKeyboardActions): Implemented.
10963 (getActionMap): New helper method.
10964 (createDefaultActions): New helper method.
10965 (installListeners): Install focus listener on toolbar's
10966 children, rather than the toolbar itself.
10967 (navigateFocusedComp): Implemented.
10968 (uninstallKeyboardActions): Implemented.
10969 (uninstallListeners): Uninstall focus listener from
10970 toolbar's children, rather than the toolbar itself.
10971 (ToolBarContListener.componentAdded): Install focus
10972 listener on added child.
10973 (ToolBarContListener.componentRemoved): Uninstall focus
10974 listener from removed child.
10975 (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
10976 (ToolBarFocusListener.focusGained): Implemented.
10977 (ToolBarFocusListener.focusLost): Implemented.
10979 2006-07-26 Roman Kennke <kennke@aicas.com>
10981 * java/awt/DefaultKeyboardFocusManager.java
10982 (dispatchEvent): Notify old focus owner when it has lost
10985 2006-07-26 Roman Kennke <kennke@aicas.com>
10987 * javax/swing/plaf/basic/BasicTableUI.java
10988 (FocusHandler.focusGained): Implemented to refresh the
10990 (FocusHandler.focusLost): Implemented to refresh the
10992 (FocusHandler.repaintLeadCell): New helper method.
10993 (MouseInputHandler.mouseEntered): Do nothing here.
10994 (MouseInputHandler.mouseExited): Do nothing here.
10995 (MouseInputHandler.mouseMoved): Do nothing here.
10996 (installKeyboardActions): Rewritten to use a shared InputMap
10997 and ActionMap and correctly install the maps via SwingUtilities
10999 (getActionMap): New helper method.
11000 (createDefaultActions): New helper method.
11001 (ActionListenerProxy): Removed unneeded class.
11002 (TableAction): Made class static.
11003 (TableAction.actionPerformed): Determine table by fetching
11004 the event source. Pass the table to helper methods.
11005 Use __command__ hack to determine the action command.
11006 (TableAction.getFirstVisibleColumnIndex): Get table as argument.
11007 (TableAction.getLastVisibleColumnIndex): Get table as argument.
11008 (TableAction.getFirstVisibleRowIndex): Get table as argument.
11009 (TableAction.getLastVisibleRowIndex): Get table as argument.
11010 (TableAction.advanceMultipleSelection): Get table as argument.
11011 (uninstallDefaults): Do nothing here.
11012 (uninstallKeyboardActions): Uninstall the keyboard actions.
11014 2006-07-26 Roman Kennke <kennke@aicas.com>
11016 * javax/swing/JComponent.java
11017 (processKeyBinding): Store the action command as property
11018 in the Action instance that we call. This allows for
11019 improvement on the side of the Action.
11021 2006-07-26 Roman Kennke <kennke@aicas.com>
11023 * javax/swing/plaf/metal/MetalUtils.java
11024 (fillMetalPattern): Use fillRect() instead of drawLine() to
11025 fill single pixels.
11027 2006-07-26 Roman Kennke <kennke@aicas.com>
11029 * javax/swing/text/GapContent.java
11030 (getChars): Check for negative length and throw
11031 BadLocationException.
11033 2006-07-26 Roman Kennke <kennke@aicas.com>
11035 * javax/swing/plaf/basic/BasicMenuBarUI.java
11036 (FocusAction): Made class static.
11038 2006-07-26 Roman Kennke <kennke@aicas.com>
11040 * javax/swing/plaf/basic/BasicLookAndFeel.java
11041 (initComponentDefaults): Add keyboard bindings for
11044 2006-07-26 Roman Kennke <kennke@aicas.com>
11046 * javax/swing/UIManager.java
11047 (getLookAndFeelDefaults): Return the look and feel defaults.
11048 (setLookAndFeel): Improved exception messsage.
11050 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11052 * javax/swing/text/StringContent.java
11053 (StringContent): Changed initialLength to 10.
11055 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11057 * java/util/Vector.java: Fixed API doc typo.
11059 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11061 * java/awt/image/BandedSampleModel.java
11062 (createCompatibleSampleModel): Fixed typo in loop increment, set
11063 correct scanlineStride, and updated API docs.
11065 2006-07-25 Roman Kennke <kennke@aicas.com>
11067 * javax/swing/plaf/basic/BasicPopupMenuUI.java
11068 (NavigateAction): New inner class. This is responsible for
11069 keyboard navigation through menus.
11070 (KeyboardHelper): New inner class. This manages the
11071 keyboard mappings and focus when a popup opens or closes.
11072 (keyboardHelper): New static field.
11073 (numPopups): New static field.
11074 (installUI): Create KeyboardHelper for first popup.
11075 Call installKeyboardActions().
11076 (installKeyboardActions): Removed NotImplementedException.
11077 This method is a no-op.
11078 (installKeyboardActionsImpl): New method. Installs keyboard
11079 mapping when a popup is opened.
11080 (getActionMap): New helper method.
11081 (createDefaultActions): New helper method.
11082 (uninstallUI): Uninstall KeyboardHelper when last Popup is
11083 uninstalled. Call uninstallKeyboardActions().
11084 (uninstallKeyboardActions): Removed NotImplementedException.
11085 This method is a no-op.
11086 (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
11087 mapping when a popup is closed.
11089 2006-07-25 Roman Kennke <kennke@aicas.com>
11091 * java/awt/Component.java
11092 (requestFocus()): Reimplemented to use requestFocusImpl().
11093 (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
11094 (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
11095 (requestFocusInWindow(boolean)): Reimplemented to use
11096 requestFocusImpl().
11097 (requestFocusImpl): Reimplemented focus request to use
11098 new peer method. Also added some obvious additional checks
11099 for rejecting focus requests early.
11100 * java/awt/ComponentPeer.java
11101 (requestFocus(Component,boolean,boolean,long)): Documented
11103 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11104 (requestFocus): New field.
11105 (gtkWidgetHasFocus): New native method.
11106 (gtkWidgetCanFocus): New native method.
11107 (requestFocus): Replaced with assert false to prevent
11108 usage of obsolete method.
11109 (postFocusEvent(int,boolean,Component)): New overloaded method
11110 for posting the focus event to a specific target.
11111 (postFocusEvent(int,boolean)): Post event to requestFocus
11113 (requestFocus(Component,boolean,boolean,long)): Implemented.
11114 (getWindowFor): New helper method.
11115 (isLightweightDescendant): New helper method.
11116 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11117 (gtkWindowHasFocus): New native method.
11118 (requestFocus(Component,boolean,boolean,long)): New method.
11119 Overrides GtkComponentPeer method to specially handly the
11120 case when a Window receives a focus request for a lightweight
11122 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11123 (gtkWidgetHasFocus): New native method.
11124 (gtkWidgetCanFocus): New native method.
11125 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11126 (gtkWindowHasFocus): New native method.
11127 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
11128 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
11131 2006-07-25 Francis Kung <fkung@redhat.com>
11133 * java/awt/DefaultKeyboardFocusManager.java
11134 (dispatchEvent): Add check for valid component.
11136 2006-07-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
11138 * javax/management/MBeanConstructorInfo.java:
11140 * javax/management/MBeanNotificationInfo.java:
11142 * javax/management/MBeanParameterInfo.java:
11145 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11147 * java/awt/peer/gtk/CairoGraphics.java:
11148 (drawLine): Added special case for 1 pixel lines.
11150 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11153 * java/awt/peer/gtk/CairoGraphics.java:
11154 (drawLine): Removed calls to shifted().
11156 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11158 * javax/swing/JTabbedPane.java:
11159 (remove(Component)): Rewritten.
11160 (setSelectedIndex): Implemented updating of component visibility state.
11162 2006-07-25 Sven de Marothy <sven@physto.se>
11164 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
11165 (init): Default to the actual depth in the worst case.
11167 * java/awt/Font.java
11168 (createFont(int, File)): New method.
11170 2006-07-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
11173 * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
11175 (RETokenEnd): New constructer to set check_java_line_terminators.
11176 (matchThis): Checck line terminators if check_java_line_terminators.
11177 * gnu/java/util/regex/RETokenStart.java: Likewise.
11178 * gnu/regexp/RE.java(initialize): Use the new constructors for
11179 RETokenEnd and RETokenStart if REG_MULTILINE is set.
11180 * java/util/regex/Pattern.java(Patteren): Changed so that
11181 gnu/regexp/RE.java may use the new the new constructors.
11183 2006-07-25 Roman Kennke <kennke@aicas.com>
11185 * java/awt/Container.java
11186 (focusTraversalPolicyProvider): New field.
11187 (isFocusTraversalPolicyProvider): New method.
11188 (setFocusTraversalPolicyProvider): New method.
11189 * java/awt/ContainerOrderFocusTraversalPolicy.java
11190 (getFirstComponent): Use accept() instead of lengthy checks.
11191 Don't fetch getComponents() to avoid copying of array.
11192 Traverse down the hierarchy to find the first focused component.
11193 * java/awt/DefaultKeyboardFocusManager.java
11194 (dispatchEvent): Let the initial component request focus.
11196 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
11198 * javax/swing/text/Segment.java
11199 (last): Update current index before returning DONE for zero count.
11201 2006-07-24 Mark Wielaard <mark@klomp.org>
11203 * javax/swing/tree/TreePath.java (equals): Swap path equals call.
11205 2006-07-25 Roman Kennke <kennke@aicas.com>
11207 * javax/swing/plaf/basic/BasicMenuBarUI.java
11208 (FocusAction): New inner class. Used to grab focus.
11209 (installKeyboardActions): Implemented.
11210 (uninstallKeyboardActions): Implemented.
11211 (getActionMap): New helper method.
11212 (createDefaultActions): New helper method.
11214 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11216 * examples/gnu/classpath/examples/swing/Demo.java:
11217 (mkMenuBar): Install instantiable basic look and feel.
11218 (InstantiableBasicLookAndFeel): New inner class.
11220 2006-07-25 Roman Kennke <kennke@aicas.com>
11222 * javax/swing/plaf/basic/BasicInternalFrameUI.java
11223 (GlassPaneDispatcher.dragTarget): New field.
11224 (GlassPaneDispatcher.isDragging): New field.
11225 (GlassPaneDispatcher.pressedComponent): Removed field.
11226 (GlassPaneDispatcher.tempComponent): Removed field.
11227 (GlassPaneDispatcher.pressCount): Removed field.
11228 (GlassPaneDispatcher.mousePressed): Call
11229 borderListener.mousePressed() to activate the frame.
11230 (acquireComponentForMouseEvent): Removed method.
11231 (handleEvent): Rewritten.
11232 (redispatch): New method.
11233 (InternalFramePropertyChangeListener.propertyChange):
11234 Make glasspane invisible when frame is selected, and visible
11235 if it gets deselected.
11237 2006-07-25 Roman Kennke <kennke@aicas.com>
11239 * java/awt/LightweightDispatcher.java
11240 (handleMouseEvent): Dispatch event to real target if
11241 the dragTarget has become invisible in the meantime.
11243 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
11245 * javax/swing/text/TabSet.java
11246 (equals): New method override for 1.5,
11247 (hashCode): Likewise,
11248 (toString): Added spaces to match reference implementation.
11250 2006-07-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
11252 * javax/management/IntrospectionException.java,
11253 * javax/management/MBeanAttributeInfo.java:
11255 * javax/management/MBeanNotificationInfo.java:
11256 Documentation cleanups.
11258 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
11260 * javax/swing/text/TabSet.java
11261 (TabSet): Check for null argument,
11262 (getTab): Throw IllegalArgumentException for index out of bounds,
11263 (getTabIndexAfter): Changed test to '<=',
11264 and updated API docs all over,
11265 * javax/swing/text/TabStop.java: Updated API docs.
11267 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
11269 * javax/swing/text/TabStop.java
11270 (toString): Don't use 'left ' prefix, and added space between tab
11271 location and '(w/leader)' suffix.
11273 2006-07-24 Francis Kung <fkung@redhat.com>
11275 * javax/swing/JComboBox.java
11276 (DefaultKeySelectionManager): Implemented.
11277 (createDefaultKeySelectionManager): Implemented.
11278 (getKeySelectionManager): Implemented.
11279 (processKeyEvent): Removed duplicate code.
11280 * javax/swing/JPopupMenu.java
11281 (selectionModel): Changed visibility.
11282 * javax/swing/plaf/basic/BasicComboBoxUI.java
11283 (KeyHandler.keyPressed): Added navigation keys.
11284 (configureEditor): Add key listener.
11285 (installListeners): Install focus listener to combo box.
11286 (isNavigationKey): Added enter, escape, and tab.
11287 (selectPreviousPossibleValue): Added out of bounds check.
11288 (unconfigureEditor): Remove key listener.
11289 * javax/swing/plaf/metal/MetalComboBoxButton.java
11290 (paintComponent): Highlight combo box when in focus.
11292 2006-07-24 Roman Kennke <kennke@aicas.com>
11294 * javax/swing/SwingUtilities.java
11295 (isLeftMouseButton): Fixed condition.
11296 * java/awt/LightweightDispatcher.java
11297 (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
11300 2006-07-24 Roman Kennke <kennke@aicas.com>
11302 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
11303 (setPaint): Fixed scaleX and scaleY.
11305 2006-07-24 Roman Kennke <kennke@aicas.com>
11307 * javax/swing/JTable.java
11308 (handleInsert): Repaint the whole table for variable row
11309 height tables and an optimized region otherwise.
11310 (handleDelete): Likewise.
11311 (handleUpdate): Likewise.
11313 2006-07-24 Mario Torre <neugens@limasoftware.net>
11315 * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
11316 now explicity registerListeners on GtkMouseDragGestureRecognizer
11318 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11319 (unregisterListeners): new method, overrided from base class
11320 to rise visibility (from protected to public).
11321 (registerListeners): Likewise.
11322 (GtkMouseDragGestureRecognizer): fixed potential threading issue:
11323 removed call to registerListeners from the constructor.
11325 2006-07-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
11327 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11328 * java/lang/management/MemoryPoolMXBean.java:
11329 (getType()): Changed return type to MemoryType.
11330 * java/lang/management/MemoryType.java:
11333 2006-07-23 Mark Wielaard <mark@klomp.org>
11335 * configure.ac: Check for moc and moc-qt4.
11337 2006-07-23 David Gilbert <david.gilbert@object-refinery.com>
11339 * java/awt/image/Kernel.java: API doc updates.
11341 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11343 * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
11346 2006-07-22 Mark Wielaard <mark@klomp.org>
11348 * java/lang/Iterable.java: Import all of java.util.
11349 * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
11350 * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
11352 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11354 * doc/vmintegration.texinfo:
11355 Document getType(String).
11356 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11357 * java/lang/management/MemoryPoolMXBean.java:
11358 (getType()): Implemented.
11359 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
11360 (getType(String)): Implemented.
11362 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11364 * doc/vmintegration.texinfo:
11365 Move end of itemization block.
11367 2006-07-22 Robert Schuster <robertschuster@fsfe.org>
11369 * javax/swing/plaf/metal/MetalLookAndFeel.java:
11370 (initComponentDefaults): Added new properties, added comments.
11372 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11374 * doc/vmintegration.texinfo:
11375 Mention callback methods.
11376 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11377 (fireNotification(String,String,long,long,long,long,long)):
11378 Made package-private.
11379 (fireThresholdExceededNotification(String,long,long,long,
11380 long,long)): Likewise.
11381 (fireCollectionThresholdExceededNotification(String,long,
11382 long,long,long,long)): Likewise.
11383 * java/lang/management/MemoryMXBean.java:
11384 Document notifications.
11386 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11388 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11389 (fireNotification(String,String,long,long,long,long,long)):
11391 (fireThresholdExceededNotification(String,long,long,long,
11392 long,long)): Likewise.
11393 (fireCollectionThresholdExceededNotification(String,long,
11394 long,long,long,long)): Likewise.
11395 * java/lang/management/MemoryNotificationInfo.java:
11396 Use composite type from MemoryMXBeanImpl.
11397 * javax/management/openmbean/CompositeData.java:
11398 Correct documentation.
11399 * javax/management/openmbean/CompositeDataSupport.java,
11400 * javax/management/openmbean/InvalidKeyException.java:
11403 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11405 * gnu/java/security/util/IntegerUtil.java: New file.
11407 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11410 * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
11411 (KEY_SIZE): Likewise.
11412 (adjustParity(int,byte[],int): New method.
11413 (adjustParity(byte[],int): Call above method with 3 as 1st argument.
11414 (isParityAdjusted(int,byte[],int)): New method.
11415 (isParityAdjusted): Call above method with 3 as 1st argument.
11416 (keySizes): Add 8 and 16 as other valid key sizes.
11417 (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
11419 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11421 * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11422 code for the pixel swap routine to be more efficient.
11424 2006-07-21 Carsten Neumann <cn-develop@gmx.net>
11426 * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11427 (lastIndexOf(E, int)): Likewise.
11428 (add(E)): Increase the size of newData array by one.
11429 (add(int, E)): Likewise.
11431 2006-07-20 Lillian Angel <langel@redhat.com>
11433 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11434 Removed unused fields.
11435 (GtkMouseDragGestureRecognizer): Removed initializations.
11437 2006-07-20 Lillian Angel <langel@redhat.com>
11439 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11440 (GtkMouseDragGestureRecognizer): New constructor.
11441 (GtkMouseDragGestureRecognizer): New constructor.
11442 (GtkMouseDragGestureRecognizer): New constructor.
11443 (mouseClicked): Removed FIXME.
11444 (mousePressed): Implemented.
11445 (mouseReleased): Implemented.
11446 (mouseEntered): Implemented.
11447 (mouseDragged): Implemented to check mouse point and trigger origin.
11448 (mouseMoved): Removed FIXME.
11449 (getDropActionFromEvent): New helper function used to convert mouse event
11450 modifiers to a drop action.
11451 * java/awt/dnd/DragSource.java
11452 (getDragThreshold): Changed to return some arbitrary value for testing
11455 2006-07-20 Roman Kennke <kennke@aicas.com>
11457 * java/awt/LightweightDispatcher.java
11458 (findTarget): Also consider components that have their eventMask
11459 set, for compatibility with stonage AWT. Optimized check
11461 (handleMouseEvent): Likewise.
11463 2006-07-20 Roman Kennke <kennke@aicas.com>
11465 * javax/swing/JTable.java
11466 (tableChanged): Split out handling of the event into multiple
11468 (handleCompleteChange): New method. Clear the selection and
11469 check the lead/anchor indices.
11470 (handleInsert): New method. Check the lead/anchor indices.
11471 Optimized repainting.
11472 (handleDelete): New method. Check the lead/anchor indices.
11473 Optimized repainting.
11474 (handleUpdate): New method. Optimized repainting.
11475 (checkSelection): New helper method.
11476 (setSelectionModel): Update lead/anchor indices.
11478 2006-07-20 Lillian Angel <langel@redhat.com>
11481 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11482 (dispose): Reset all fields.
11484 2006-07-20 Roman Kennke <kennke@aicas.com>
11486 * gnu/java/awt/peer/x/XToolkit.java
11487 (createImage(InputStream)): Only copy image to Pixmap if
11488 it's actually opaque. Transparent images are left as
11489 BufferedImage and composited later onto the screen.
11490 * gnu/java/awt/peer/x/XGraphics.java
11491 (XGraphics): Fetch some parameters for image rendering.
11492 (drawImage): Added special handling of transparent images.
11493 (getRGB): New helper method.
11494 (setRGB): New helper method.
11496 2006-07-20 Roman Kennke <kennke@aicas.com>
11498 * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11499 ImageInputStreams as normal InputStreams.
11500 * gnu/javax/imageio/gif/GIFStream.java:
11501 Moved to gnu/javax/imageio/IIOInputStream.java.
11502 * gnu/javax/imageio/gif/GIFImageReader.java
11503 (readImage): Use IIOInputStream.
11504 * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11505 (canDecodeInput): Use IIOInputStream.
11506 * gnu/javax/imageio/png/PNGException.java: Make subclass
11508 * gnu/javax/imageio/png/PNGImageReader.java: New class.
11509 Implements the ImageIO ImageReader for PNG.
11510 * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11511 Implements the ImageIO ImageReaderSpi for PNG.
11512 * javax/imageio/spi/IIORegistry.java:
11513 (IIORegistry): Add PNGImageReaderSpi.
11515 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11517 * java/awt/image/ComponentSampleModel.java
11518 (getPixel): Added argument check,
11519 (getSample): Modified exception message.
11521 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11524 * java/awt/image/ConvolveOp.java
11525 (filter(Raster, WritableRaster)): Reimplemented,
11526 (fillEdge): New private method.
11528 2006-07-19 Keith Seitz <keiths@redhat.com>
11530 * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11531 (JVMTI_VERSION): Define.
11533 2006-07-19 Roman Kennke <kennke@aicas.com>
11535 * resource/gnu/regexp/MessagesBundle.properties,
11536 * resource/gnu/regexp/MessagesBundle_fr.properties,
11537 * resource/gnu/regexp/MessagesBundle_it.properties:
11538 Moved to resource/gnu/java/util/regex.
11539 * resource/gnu/java/util/regex/MessagesBundle.properties,
11540 * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11541 * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11543 * gnu/java/util/regex/RE.java
11544 Use new resource bundle location.
11546 2006-07-19 Roman Kennke <kennke@aicas.com>
11548 * javax/swing/JComponent.java
11549 (paintChildren): Refactored. The paintChildrenOptimized method
11550 has been moved back in here. Added locking of the tree and
11551 only check for completely obscured child components
11552 when not optimized drawing enabled. Use Graphics.create() to
11553 protect from irreversible changes.
11554 (isCompletelyObscured): New helper method.
11555 (paintComponent): Also use Graphics.create() for Graphics2D,
11556 to protect from irreverible changes.
11557 (clipAndTranslateGraphics): Refactored to use more efficient
11558 iterative (vs recursive) approach.
11559 * javax/swing/RepaintManager.java
11560 (getOffscreenBuffer): Create image from root component.
11562 2006-07-19 Roman Kennke <kennke@aicas.com>
11564 * gnu/java/awt/peer/x/XGraphics.java
11565 (translate): Don't set the clip on the X server.
11566 (clipRect): Use setXClip() to set the clip on the X server.
11567 (hitClip): More efficient and correct implementation.
11568 (setClip): Use setXClip() to set the clip on the X server.
11569 (setClip(Shape)): Use setXClip() to set the clip on the X server.
11570 (copyArea): Translate and clip the source rectangle correctly.
11571 (dispose): Only flush when object is not yet disposed.
11572 (clone): Use setXClip() to set the clip on the X server.
11574 2006-07-19 Sven de Marothy <sven@physto.se>
11576 * gnu/javax/imageio/png/PNGChunk.java,
11577 * gnu/javax/imageio/png/PNGData.java,
11578 * gnu/javax/imageio/png/PNGDecoder.java,
11579 * gnu/javax/imageio/png/PNGEncoder.java,
11580 * gnu/javax/imageio/png/PNGException.java,
11581 * gnu/javax/imageio/png/PNGFile.java,
11582 * gnu/javax/imageio/png/PNGFilter.java,
11583 * gnu/javax/imageio/png/PNGGamma.java,
11584 * gnu/javax/imageio/png/PNGHeader.java,
11585 * gnu/javax/imageio/png/PNGICCProfile.java,
11586 * gnu/javax/imageio/png/PNGPalette.java,
11587 * gnu/javax/imageio/png/PNGPhys.java,
11588 * gnu/javax/imageio/png/PNGTime.java:
11591 2006-07-19 Sven de Marothy <sven@physto.se>
11593 * java/net/Inet6Address.java:
11594 (getScopedId, getScopedInterface): New methods.
11596 2006-07-19 Lillian Angel <langel@redhat.com>
11598 * examples/gnu/classpath/examples/awt/Demo.java
11599 (DragDropWindow): Fixed typo in Label text.
11600 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11601 (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11602 (startDrag): Initialized context field.
11603 (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11605 (dragEnter): New function.
11606 (dragExit): Likewise.
11607 (dragDropEnd): Likewise.
11608 (dragMouseMoved): Likewise.
11609 (dragOver): Likewise.
11610 (dragActionChanged): Likewise.
11612 2006-07-19 Raif S. Naffah <raif@swiftdsl.com.au>
11615 * resource/java/security/classpath.security: Updated copyright year.
11616 (auth.login.defaultCallbackHandler): New property; set to our default
11617 callback handler. This is needed by the LoginContext when no callback
11618 handler was specified.
11619 * javax/security/auth/login/LoginContext.java: Updated copyright year.
11620 (LoginContext(4)): Assign passed parameters to local fields before invoking
11623 2006-07-19 Roman Kennke <kennke@aicas.com>
11625 * gnu/java/awt/peer/x/XGraphics.java
11626 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11627 Fixed ordering of parameters.
11629 2006-07-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
11631 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11632 (MemoryMXBeanImpl()): Implemented.
11633 (ListenerData): New private class.
11634 (addNotificationListener(NotificationListener,
11635 NotificationFilter, Object)): Implemented.
11636 (getNotificationInfo()): Likewise.
11637 (removeNotificationListener(NotificationListener)):
11639 (removeNotificationListener(NotificationListener,
11640 NotificationFilter, Object)): Likewise.
11642 2006-07-18 Roman Kennke <kennke@aicas.com>
11644 * gnu/java/awt/peer/x/XFontPeer.java
11645 (encodeFont): Be more flexible with font sizes.
11646 (validSize): New helper method.
11647 * gnu/java/awt/peer/x/XGraphics.java
11648 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11650 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11652 * gnu/java/awt/peer/x/XImage.java
11653 (properties): New field.
11654 (getProperty): Implemented.
11655 * resource/gnu/java/awt/peer/x/fonts.properties:
11656 Added copyright header. Fixed font size field.
11658 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11660 * java/awt/image/BandedSampleModel.java
11661 (createDataBuffer): New method override,
11662 * java/awt/image/ByteLookupTable.java
11663 (ByteLookupTable(int, byte[][])): Create new array to hold references,
11664 (ByteLookuptable(int, byte[])): Check for null array,
11665 * java/awt/image/ComponentSampleModel.java
11666 (createDataBuffer): Removed unnecessary braces,
11667 (getSample): Check (x, y) is within bounds,
11668 * java/awt/image/ShortLookupTable.java
11669 (ShortLookupTable(int, short[][])): Create new array to hold references,
11670 (ShortLookupTable(int, short[])): Check for null array,
11671 (getTable): Added API docs,
11672 (lookupPixel): Source reformatting.
11674 2006-07-18 Tania Bento <tbento@redhat.com>
11676 * java/awt/GridLayout.java
11677 (setHgap): Illegal Argument Exception should not be thrown if
11679 (setVgap): Illegal Argument Exception should not be thrown if
11681 (toString): Opening square braket ([) should appear before hgap
11682 value, not the name of the class.
11684 2006-07-18 Roman Kennke <kennke@aicas.com>
11686 * lib/copy-vmresources.sh.in: Reverted.
11687 * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11688 * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11690 2006-07-18 Roman Kennke <kennke@aicas.com>
11692 * lib/copy-vmresources.sh.in: Include properties from X peers.
11694 2006-07-18 Raif S. Naffah <raif@swiftdsl.com.au>
11697 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11698 certificate validity.
11699 (getIssuerName): New method.
11700 (getSubjectName): Likewise.
11701 (getNotAfterDate): Likewise.
11702 (getNotBeforeDate): Likewise.
11703 * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11704 messages for newly added messages in SFHelper.
11706 2006-07-18 Roman Kennke <kennke@aicas.com>
11708 * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11709 * gnu/java/awt/peer/x/XEventPump.java
11710 (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11711 * gnu/java/awt/peer/x/XFramePeer.java
11712 Made a subclass of XWindowPeer, rather than SwingFramePeer.
11713 * gnu/java/awt/peer/x/XGraphics.java
11714 Made subclass of Graphics rather than Graphics2D. Removed
11715 all Graphics2D specific method stubs.
11716 (setColor): Map colors using the X color map that is
11717 stored in XToolkit.
11718 * gnu/java/awt/peer/x/XToolkit.java
11719 (colorMap): New field.
11720 (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11722 (createDialog): Implemented.
11723 (createImage(ImageProducer)): Implemented.
11724 (createImage(InputStream)): Use createImage(ImageProducer)
11725 to convert the BufferedImage to an XImage.
11726 * gnu/java/awt/peer/x/XWindowPeer.java
11727 (XWindowPeer): Removed debug output.
11729 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11731 * java/awt/image/BufferedImageOp.java: API docs added,
11732 * java/awt/image/RasterOp.java: Likewise.
11734 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11736 * java/awt/Graphics2D.java: API docs updated.
11738 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11740 * java/awt/image/WritableRaster.java: Added API docs and reformatted
11743 2006-07-18 Sven de Marothy <sven@physto.se>
11745 * java/net/Inet6Address.java:
11746 Add 1.5 serialized fields.
11747 (getByAddress): New methods.
11748 (readObject, writeObject): New methods.
11749 (equals): Reimplement.
11751 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11753 * java/awt/image/Raster.java: Added API docs and reformatted source
11756 2006-07-18 Andreas Tobler <a.tobler@schweiz.ch>
11758 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11760 * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11761 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11762 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11763 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11764 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11765 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11766 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11767 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11768 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11769 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11770 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11771 * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11772 * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11773 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11774 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11775 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11776 * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11777 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11778 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11779 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11780 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11782 2006-07-17 Andreas Tobler <a.tobler@schweiz.ch>
11784 * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11785 to make it compile again under jikes. Note added.
11787 2006-07-17 Lillian Angel <langel@redhat.com>
11789 * examples/gnu/classpath/examples/awt/Demo.java
11790 (Demo): Added new window for DnD demo.
11791 (DragDropWindow): New class.
11792 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
11793 Added new fields and declarations for native functions.
11794 (GtkDragSourceContextPeer): Implemented.
11795 (getComponentPeer): New function.
11796 (startDrag): Partially implemented.
11797 (getCursor): Implemented.
11798 (setCursor): Implemented.
11799 * include/GtkDragSourceContextPeer.h: New file.
11800 * include/Makefile.am: Added new header file.
11801 * java/awt/Component.java
11802 (addNotify): Added call to the dropTarget's addNotify.
11803 * java/awt/dnd/DragSource.java
11804 (startDrag): Fixed code to use shared instances of peer and
11806 (getDragThreshold): Added stub.
11807 * java/awt/dnd/DropTarget.java
11808 (DropTarget): Implemented fully.
11809 (addNotify): Added code to get the peer of the parent that is
11811 * java/awt/dnd/DropTargetDragEvent.java
11812 (getTransferable): Added stub.
11813 * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
11814 * native/jni/gtk-peer/Makefile.am: Added new c file.
11815 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
11816 Changed to extend GtkGenericPeer.
11817 (GtkDropTargetContextPeer): New constructor.
11818 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
11819 Changed to extend GtkGenericPeer.
11820 (GtkDropTargetContextPeer): New constructor.
11822 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11824 * java/awt/image/SinglePixelPackedSampleModel.java
11825 (createSubsetSampleModel): Added argument check and API docs.
11827 2006-07-17 Roman Kennke <kennke@aicas.com>
11829 * gnu/java/awt/peer/x/XGraphics.java
11830 (copyArea): Implemented.
11832 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11834 * java/awt/image/SinglePixelPackedSampleModel.java
11835 (getSampleSize): Return copy of array,
11836 (getOffset): Added API docs,
11837 (getScanlineStride): Likewise,
11838 (hashCode): Implemented.
11840 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11842 * java/awt/image/MultiPixelPackedSampleModel.java
11843 (getOffset): Updated API docs and source reformatting,
11844 (getBitOffset): Source reformatting only,
11845 (getDataElements): Likewise,
11846 (getPixel): Likewise,
11847 (getPixels): Removed method override,
11848 (setDataElements): Reimplemented.
11850 2006-07-17 Gary Benson <gbenson@redhat.com>
11852 * resource/META-INF/services/.cvsignore: New file.
11853 * lib/.cvsignore: Updated.
11855 2006-07-17 Roman Kennke <kennke@aicas.com>
11857 * javax/swing/plaf/basic/BasicButtonListener.java
11858 (propertyChange): Only do the text layout caching as long
11859 as the noGraphics2D property isn't set.
11860 * javax/swing/plaf/basic/BasicMenuItemUI.java
11861 (PropertyChangeHandler.propertyChange): Only do the text layout
11862 caching as long as the noGraphics2D property isn't set.
11864 2006-07-17 Roman Kennke <kennke@aicas.com>
11866 * gnu/java/awt/peer/x/XGraphicsEnvironment.java
11867 (XGraphicsEnvironment): Make constructor public so that it
11868 can be called via Class.forName().newInstance().
11869 * gnu/java/awt/peer/x/XImage.java
11870 (XImage): Fetch GraphicsEnvironment via
11871 GraphicsEnvironment.getLocalGraphicsEnvironment() rather
11872 than the XToolkit method, to avoid double instantiation
11873 of the XGraphicsEnvironment.
11874 * gnu/java/awt/peer/x/XToolkit.java
11875 (env): Removed field.
11876 (getLocalGraphicsEnvironment): Removed impl. This method
11877 should not be called since we set the graphicsenv property
11878 in the constructor.
11880 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11882 * java/util/UUID.java:
11883 (compareTo(Object)): Call compareTo(UUID).
11884 (compareTo(UUID)): Implemented.
11886 2006-07-16 Tom Tromey <tromey@redhat.com>
11888 * java/lang/StrictMath.java (cbrt): Added '@since'.
11890 2006-07-16 Carsten Neumann <cn-develop@gmx.net>
11892 * java/lang/StrictMath.java (cbrt): New method.
11893 (getLowDWord): New helper method.
11894 (getHighDWord): Likewise.
11895 (buildDouble): Likewise.
11896 (CBRT_B1): New field.
11897 (CBRT_B2): Likewise.
11898 (CBRT_C): Likewise.
11899 (CBRT_D): Likewise.
11900 (CBRT_E): Likewise.
11901 (CBRT_F): Likewise.
11902 (CBRT_G): Likewise.
11904 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11906 * javax/management/MBeanInfo.java:
11907 (getNotifications()): Implemented.
11908 * javax/management/NotificationBroadcaster.java:
11909 (removeNotificationListener(NotificationListener)):
11910 Renamed from removeListener.
11911 * javax/management/NotificationEmitter.java:
11912 (removeNotificationListener(NotificationListener,
11913 NotificationFilter, Object)): Likewise.
11914 * javax/management/NotificationFilter.java:
11915 Implement Serializable.
11916 * javax/management/NotificationListener.java:
11917 Implement java.util.EventListener.
11918 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11919 Implement Serializable.
11921 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11923 * java/lang/management/MemoryNotificationInfo.java:
11926 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11929 * gnu/javax/swing/text/html/parser/htmlValidator.java
11930 (tagIsValidForContext): If it is not possible to insert any tag, but
11931 is possible to insert a P, insert a P.
11932 * gnu/javax/swing/text/html/parser/HTML_401Swing.java
11933 (newInstance): Removed print statement. (getBodyElements):
11934 Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
11935 valid body level tags (will be enclosed into P's).
11937 2006-07-17 Raif S. Naffah <raif@swiftdsl.com.au>
11939 * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
11940 Condition the creation of .keystore (a default keystore) based on the
11941 createIfNotFound argument as well.
11943 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11946 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
11947 Removed heading p tag from the parsing example.
11948 * gnu/javax/swing/text/html/parser/HTML_401F.java:
11949 (createHtmlContentModel): Explained.
11950 (defineElements): Call getBodyElements to get the body
11951 elements. (getBodyElements): New method. (model):
11952 Made protected from private.
11953 * gnu/javax/swing/text/html/parser/htmlValidator.java
11954 (openTag): Mind that current content model may be null.
11955 (tagIsValidForContext): If the tag is PCDATA, and it is not
11956 valid for context, but the paragraph (P) is valid for context,
11957 suggest to insert the P tag here.
11958 * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
11959 HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
11960 implied P tags here.
11961 * javax/swing/text/html/HTMLEditorKit.java (getParser):
11962 Get the custom parser, using HTML_401Swing.java DTD.
11963 * javax/swing/text/html/parser/ParserDelegator.java:
11964 Removed the obsolete note that HTMLEditorKit does not exist.
11965 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
11966 gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
11968 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11970 * javax/management/ListenerNotFoundException.java:
11972 * javax/management/MBeanFeatureInfo.java:
11973 (hashCode()): Use summation instead of multiplication
11974 for consistency with other classes.
11975 * javax/management/MBeanNotificationInfo.java,
11976 * javax/management/Notification.java,
11977 * javax/management/NotificationBroadcaster.java,
11978 * javax/management/NotificationEmitter.java,
11979 * javax/management/NotificationFilter.java,
11980 * javax/management/NotificationListener.java:
11982 * javax/management/OperationsException.java:
11983 (serialVersionUID): Added.
11985 2006-07-16 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
11986 Mark Wielaard <mark@klomp.org>
11988 * java/io/PrintStream.java: Added four constructors, for File and
11989 String describing a filename with or without explicit encoding.
11991 2006-07-16 Sven de Marothy <sven@physto.se>
11993 * javax/rmi/ssl/SslRMIServerSocketFactory.java,
11994 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11997 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12000 * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)):
12002 (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
12003 (setProviderClassNameParam): Made private.
12004 (setKeystoreTypeParam): Likewise.
12005 (setKeyPasswordParam): Likewise
12006 (setKeystorePasswordParam): Likewise.
12007 (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
12008 create or not the keystore if it's not there, and the second is the store's
12009 password to process before loading the keystore. Amended the code
12011 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
12012 setKeyStoreParams(5) with true as its first argument.
12013 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
12014 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
12016 2006-07-16 Sven de Marothy <sven@physto.se>
12018 * java/util/UUID.java: New file.
12020 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12022 * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
12023 * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
12024 * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
12025 * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
12026 * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
12027 * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
12028 * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
12029 added Key Wrapping Algorithm SPIs.
12031 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12033 * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
12034 wrapping/unwrapping to invoke their engineGetOutputSize.
12036 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12038 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
12039 (engineInit): If a SecureRandom was specified then use it.
12040 (nextRandomBytes): New method.
12041 (engineWrap): Use above method.
12042 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
12043 (getDefaultPRNG): New method.
12044 * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
12045 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
12048 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12050 * gnu/javax/crypto/jce/params/BlockCipherParameters.java
12051 (engineGetParameterSpec): Should be able to return an IvParameterSpec.
12053 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12055 * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
12056 offset into consideration.
12058 2006-07-16 Mario Torre <neugens@limasoftware.net>
12060 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
12061 Fixed comment. This functions now requires to be called
12062 with gdk lock held, the comment states that.
12063 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
12064 Introduces gdk locks around critical regions of code.
12065 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
12067 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
12069 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
12071 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12073 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12075 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12077 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
12079 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
12081 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12083 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
12084 * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
12086 2006-07-15 Sven de Marothy <sven@physto.se>
12088 * javax/swing/JFileChooser.java
12089 Change default selection mode to FILES_ONLY.
12090 * javax/swing/plaf/basic/BasicDirectoryModel.java
12091 Document, fix selection mode filtering.
12092 (renameFile): Implement
12093 * javax/swing/plaf/basic/BasicFileChooserUI.java
12094 (selectedDir): New field to handle selected directories,
12095 disallow selecting of directories in FILES_ONLY mode.
12096 * javax/swing/plaf/metal/MetalFileChooserUI.java:
12097 (EditingActionListener.actionPerformed):
12098 Stop editing on all actions (e.g. return-key press)
12100 2006-07-15 Mark Wielaard <mark@klomp.org>
12102 * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
12104 (JNI Implementation): Mark JVMTI Implementation as next.
12105 (JVMTI Implementation): Mark JNI Implementation as prev.
12107 2006-07-15 Mark Wielaard <mark@klomp.org>
12109 * include/Makefile.am: Remove
12110 include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
12111 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
12112 * native/jni/gtk-peer/Makefile.am: Remove
12113 gnu_java_awt_peer_gtk_GdkTextLayout.c
12114 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
12117 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
12119 2006-07-15 Mark Wielaard <mark@klomp.org>
12121 * autogen.sh: Recognize autoconf 2.60.
12123 2006-07-15 Keith Seitz <keiths@redhat.com>
12125 * NEWS: Update for JVMTI and jvmti.h.
12126 * doc/vmintegration.texinfo: Likewise.
12127 * include/jvmti.h: New file.
12129 2006-07-15 Mark Wielaard <mark@klomp.org>
12131 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12132 Removed C++ style comment.
12134 2006-07-15 Sven de Marothy <sven@physto.se>
12136 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
12137 * java/awt/MouseInfo.java,
12138 * java/awt/PointerInfo.java,
12139 * java/awt/peer/MouseInfoPeer.java:
12142 * java/awt/Image.java
12143 (accelerationPriority): New field.
12144 (setAccelerationPriority, getAccelerationPriority): New methods..
12146 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
12147 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
12148 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
12149 (getMouseCoordinates): New method.
12151 * gnu/java/awt/peer/gtk/GtkFramePeer.java
12152 (updateAlwaysOnTop): Remove stub overload.
12154 * gnu/java/awt/ClasspathToolkit.java,
12155 * gnu/java/awt/peer/gtk/GtkToolkit.java,
12156 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
12157 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12158 (getMouseInfoPeer): New method.
12159 (getMouseNumberOfButtons): New method.
12161 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
12162 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
12163 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12164 (gtkWindowSetAlwaysOnTop): New method.
12165 (updateAlwaysOnTop): Implement.
12167 * java/awt/Toolkit.java,
12168 (getMouseInfoPeer): New method.
12170 * java/awt/Window.java
12171 (alwaysOnTop): New field.
12172 (isAlwaysOnTop, setAlwaysOnTop): New methods.
12174 * java/awt/peer/WindowPeer.java: Doc fix.
12176 2006-07-14 Sven de Marothy <sven@physto.se>
12178 * java/awt/font/TextLayout.java:
12179 (hitTestChar): Stub method.
12180 * java/awt/font/TextMeasurer.java:
12181 (getLayout): Throw exception on invalid argument.
12183 2006-07-14 Sven de Marothy <sven@physto.se>
12185 * java/awt/image/DataBuffer.java
12186 (DataBuffer): Call constructors in the correct order,
12188 2006-07-14 Mark Wielaard <mark@klomp.org>
12190 Revert to previous implementation.
12191 * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
12192 constraints insets.
12194 2006-07-14 Roman Kennke <kennke@aicas.com>
12196 * gnu/java/awt/peer/x/XToolkit.java
12197 (XToolkit): Install properties to SystemProperties
12198 rather than System, to avoid SecurityManager.
12199 (getImage(String)): Return error image when string is invalid.
12200 (createImage(URL)): Moved image loading to helper method.
12201 (createImage(ImageProducer)): Implemented.
12202 (createImage(byte[],int,int)): Implemented.
12203 (createImage(InputStream)): New helper method.
12205 2006-07-14 Tania Bento <tbento@redhat.com>
12207 * java/awt/FlowLayout.java
12208 (setHgap): No Excpetion should be thrown if hgap has
12210 (setVgap): No Exception should be thrown if vgap has
12213 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12215 * java/awt/image/MultiPixelPackedSampleModel.java:
12216 Added API docs all over.
12218 2006-07-14 Matt Wringe <mwringe@redhat.com>
12220 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
12221 (engineInit): Throw InvalidAlgorithmParameterException
12222 for invalid IVParameterSpec IV length.
12224 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12226 * java/awt/image/MultiPixelPackedSampleModel.java
12227 (createDataBuffer): Include dataBitOffset in calculating the size for
12230 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12232 * java/awt/image/MultiPixelPackedSampleModel.java
12233 (getSampleSize()): Return a copy of the array,
12234 (getTransferType()): New method override.
12236 2006-07-14 Roman Kennke <kennke@aicas.com>
12238 * java/awt/CardLayout.java
12239 (show): Validate parent to make sure that the layout is
12242 2006-07-14 Roman Kennke <kennke@aicas.com>
12244 * java/awt/Component.java
12245 (enable): Added tree locking.
12246 (disable): Added tree locking.
12247 (show): Added tree locking.
12248 (hide): Added tree locking.
12249 (getLocationOnScreen): Added tree locking.
12250 (reshape): Added tree locking.
12251 (addHierarchyListener): Added tree locking.
12252 (removeHierarchyListener): Added tree locking.
12253 (addHierarchyBoundsListener): Added tree locking.
12254 (removeHierarchyBoundsListener): Added tree locking.
12255 (addNotify): Added tree locking.
12256 (removeNotify): Added tree locking.
12257 * java/awt/Container.java
12258 (invalidateTree): Added tree locking.
12259 (getAlignmentX): Added tree locking.
12260 (getAlignmentY): Added tree locking.
12261 (addNotify): Added tree locking.
12262 (setComponentZOrder): Added tree locking.
12263 (getComponentZOrder): Added tree locking.
12265 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12267 * java/awt/image/MultiPixelPackedSampleModel.java
12268 (createSubsetSampleModel): Restored argument check, but let null
12271 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12273 * java/awt/image/MultiPixelPackedSampleModel.java
12274 (createSubsetSampleModel): Removed argument check.
12276 2006-07-14 Roman Kennke <kennke@aicas.com>
12278 * java/awt/Component.java
12279 (numHierarchyListeners): New field.
12280 (numHierarchyBoundsListeners): New field.
12281 (show): Fire hierarchy events here. Only fire component event
12282 if there is actually a listener for it.
12283 (hide): Fire hierarchy events here. Only fire component event
12284 if there is actually a listener for it.
12285 (reshape): Fire hierarchy events here. Only fire component event
12286 if there is actually a listener for it.
12287 (addHierarchyListeners): Update listener counters.
12288 (removeHierarchyListeners): Update listener counters.
12289 (addHierarchyBoundsListeners): Update listener counters.
12290 (removeHierarchyBoundsListeners): Update listener counters.
12291 (fireHierarchyEvent): New helper method for firing hierarchy
12293 * java/awt/Container.java
12294 (addImpl): Update listener counters. Fire hierarchy event.
12295 (remove): Update listener counters. Fire hierarchy event.
12296 (fireHierarchyEvent): New helper method for firing hierarchy
12298 (updateHierarchyListenerCount): New helper method for
12299 updating the listener counters.
12301 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12303 * java/awt/image/MultiPixelPackedSampleModel.java
12304 (equals): New method override,
12305 (hashCode): Likewise.
12307 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12309 * java/awt/image/MultiPixelPackedSampleModel.java
12310 (MultiPixelPackedSampleModel(int, int, int, int, int, int)):
12311 Corrected scanlineStride calculation.
12313 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12315 * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
12316 (AES_KWA): Likewise.
12317 (AES128_KWA): Likewise.
12318 (AES192_KWA): Likewise.
12319 (AES256_KWA): Likewise.
12320 (RIJNDAEL_KWA): Likewise.
12321 (TRIPLEDES_KWA): Likewise.
12322 (DESEDE_KWA): Likewise.
12323 * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
12324 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
12325 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
12326 * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
12327 * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
12328 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
12330 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12332 * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
12333 (PADDING_BLOCK_SIZE): New constant.
12334 (init(Map attributes)): New method.
12335 * gnu/javax/crypto/pad/BasePad.java (init): New method.
12337 2006-07-14 Mario Torre <neugens@limasoftware.net>
12339 * gnu/java/security/OID.java (OID): Private Constructor removed as
12340 it is not needed anymore.
12341 (clone): Fixed. Now uses super.clone instead of the private
12342 constructor as per specification of clone method.
12343 (serialVersionUID): added new field to allow serialization.
12345 2006-07-13 Sven de Marothy <sven@physto.se>
12347 * gnu/javax/imageio/gif/GIFImageReader.java
12348 (read): Remove old debugging trace.
12350 2006-07-13 Andreas Tobler <a.tobler@schweiz.ch>
12353 * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
12356 2006-07-13 Roman Kennke <kennke@aicas.com>
12358 * java/awt/Component.java
12359 (DEFAULT_MAX_SIZE): New static constant.
12360 (preferredSize): Return copy of the actual value computed
12361 by new helper method.
12362 (preferredSizeImpl): New helper method. Adds locking and
12363 correct handling of cached value.
12364 (minimumSize): Return copy of the actual value computed
12365 by new helper method.
12366 (minimumSizeImpl): New helper method. Adds locking and
12367 correct handling of cached value.
12368 (getMaximumSize): Return copy of the actual value computed
12369 by new helper method.
12370 (maximumSizeImpl): New helper method. Adds locking and
12371 correct handling of cached value.
12372 (invalidate): Correct handling of cached layout information.
12374 * java/awt/Container.java
12375 (preferredSize): Minimized locking. Corrected handling of cached
12376 values. Return copy of real value.
12377 (minimumSize): Minimized locking. Corrected handling of cached
12378 values. Return copy of real value.
12379 (getMaximumSize): Minimized locking. Corrected handling of cached
12380 values. Return copy of real value.
12382 2006-07-13 Tania Bento <tbento@redhat.com>
12384 * gnu/java/awt/peer/ClasspathFontPeer.java
12385 (isLogicalFontName): Return true if name == default.
12386 (logicalFontNameToFaceName): Check if name == default,
12387 and if so, return "Dialog.plain".
12388 (setStandardAttributes(String, Map)): If name == null,
12389 it should be set to "Default", not "SansSerif".
12390 * java/awt/Canvas.java
12391 (generateName): Fixed documentation.
12392 * java/awt/CheckboxMenuItem.java
12393 Added static variable "next_chkmenuitem_number".
12394 (generateName): Added and implemented method.
12395 (getUniqueLong): Likewise.
12396 * java/awt/Choice.java
12397 Added static variable "next_choice_number".
12398 (generateName): Added and implemented method.
12399 (getUniqueLong): Likewise.
12400 * java/awt/Cursor.java
12401 (Cursor(int)): Set name depending on the type passed.
12402 * java/awt/List.java
12403 Added static variable "next_list_number".
12404 (generateName): Added and implemented method.
12405 (getUniqueLong): Likewise.
12406 * java/awt/Menu.java
12407 Added static variable "next_menu_number".
12408 (generateName): Added and implemented method.
12409 (getUniqueLong): Likewise.
12410 * java/awt/MenuBar.java
12411 Added static variable "next_menubar_number".
12412 (generateName): Added and implemented method.
12413 (getUniqueLong): Likewise.
12414 * java/awt/MenuComponent.java
12415 (getName): Before returning name, check if name == null
12416 and name is not explicity set. If this is the case,
12417 name will be generated.
12418 (generateName): Added and implemented method.
12419 * java/awt/MenuItem.java
12420 Added static variable "next_menuitem_number".
12421 (generateName): Added and implemented method.
12422 (getUniqueLong): Likewise.
12423 * java/awt/PopupMenu.java
12424 Added static variable "next_popup_number".
12425 (generateName): Added and implemented method.
12426 (getUniqueLong): Likewise.
12427 * java/awt/ScrollPane.java
12428 Added static variable "next_scrollpane_number".
12429 (generateName): Added and implemented method.
12430 (getUniqueLong): Likewise.
12431 * java/awt/TextField.java
12432 Added static variable "next_textfield_number".
12433 (generateName): Added and implemented method.
12434 (getUniqueLong): Likewise.
12437 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12439 * java/awt/image/SinglePixelPackedSampleModel.java
12440 (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12441 mask correctly as an unsigned integer,
12442 (equals): New method override.
12444 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12446 * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12447 insertAfterStart, insertBeforeEnd): Removed stub markings.
12449 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12451 * java/awt/image/BandedSampleModel.java: API doc updates and source
12453 * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12455 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12457 * java/awt/image/BandedSampleModel.java: API doc updates.
12459 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12461 * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack):
12462 Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12463 HTMLReader.insertTag, HTMLReader.insertTagEncountered,
12464 HTMLReader.pushDepth, HTMLReader.popDepth): Documented.
12465 (HRMLReader.blockClose): Mind that parser stack may be empty.
12466 (HTMLReader.handeComment, HTMLReader.handleStartTag,
12467 HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten.
12468 (HTMLReader.shouldInsert): New method. (getElement(String)):
12469 Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd,
12470 insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12471 Implemented. (getInsertingReader): New method.
12472 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12473 Added buttons to demonstrate the work of the insert actions.
12475 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12477 * java/awt/image/SampleModel.java: API doc updates and additions,
12478 * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12480 2006-07-12 Sven de Marothy <sven@physto.se>
12482 * javax/swing/JFileChooser.java:
12483 (createDialog): Close operation should cause a cancel.
12485 2006-07-12 Francis Kung <fkung@redhat.com>
12487 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12488 (cairoArc): New native method.
12489 (cairoRestore): New native method.
12490 (cairoSave): New native method.
12491 (cairoScale): New native method.
12492 (createPath): New method to centralize code from draw and fill.
12493 (draw): Modified to use createPath method.
12494 (fill): Modified to use createPath method.
12495 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added
12496 function declarations.
12497 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12498 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New
12500 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New
12502 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New
12505 2006-07-12 Tom Tromey <tromey@redhat.com>
12508 * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12509 on PartialInputStream.
12510 (PartialInputStream.dummyByteCount): New field.
12511 (PartialInputStream.fillBuffer): Handle dummy byte.
12512 (PartialInputStream.read): Likewise.
12513 (PartialInputStream.addDummyByte): New method.
12515 2006-07-12 Mario Torre <neugens@limasoftware.net>
12517 * native/jni/gconf-peer/GConfNativePeer.c
12518 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12519 Fixed C++ style comment.
12521 2006-07-12 David Gilbert <david.gilbert@object-refinery.com>
12523 * java/util/Arrays.java
12524 (asList): Updated API docs.
12526 2006-07-11 Robert Schuster <robertschuster@fsfe.org>
12529 * native/jni/gconf-peer/GConfNativePeer.c:
12530 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12531 Changed if-expression.
12532 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12533 Added check for _value not being NULL.
12535 2006-07-11 Roman Kennke <kennke@aicas.com>
12537 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12538 (read): Use fd when local sockets are disabled to make the
12542 2006-07-11 Roman Kennke <kennke@aicas.com>
12544 * java/awt/image/MultiPixelPackedSampleModel.java
12545 (MultiPixelPackedSampleModel): Substract -1 so that the integer
12546 division gets rounded up.
12548 2006-07-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
12550 * java/lang/management/ManageFactory.java:
12551 (getMemoryManagerMXBeans()): Use addAll, not add.
12553 2006-07-11 Vivek Lakshmanan <vivekl@redhat.com>
12556 * gnu/classpath/ByteArray.java: Removed (moved).
12557 * gnu/java/security/util/ByteArray.java: New File.
12558 * gnu/javax/crypto/RSACipherImpl.java: Reference
12559 gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12561 2006-07-11 Roman Kennke <kennke@aicas.com>
12563 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12564 (available): Pass fd as argument and avoid JNI class/field
12568 * include/gnu_java_net_local_LocalSocketImpl.h:
12570 * gnu/java/net/local/LocalSocketImpl.h
12571 (available): Pass fd as argument and avoid JNI class/field
12576 2006-07-11 Sven de Marothy <sven@physto.se>
12578 * gnu/javax/sound/sampled/AU/AUReader.java:
12579 Correct file extension from .as to .au.
12581 2006-07-11 Sven de Marothy <sven@physto.se>
12583 * gnu/javax/sound/sampled/AU/AUReader.java:
12585 * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12586 Added new provider.
12588 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12590 * javax/swing/JTable.java
12591 (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12592 (setColumnSelectionAllowed): Likewise.
12594 2006-07-10 Vivek Lakshmanan <vivekl@redhat.com>
12597 * gnu/classpath/debug/Simple1LineFormatter.java: Use
12598 AccessController.doPrivileged instead of SystemProperties.getProperty.
12599 * gnu/classpath/debug/SystemLogger.java: Likewise.
12600 * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12601 repeated getProperty calls for "file.seperator".
12602 (refresh): Since already in privileged block, call System.getProperty
12603 instead of SystemProperties.getProperty.
12604 * gnu/java/security/key/dss/DSSKey.java
12605 (toString): Use AccessController.doPrivileged instead of
12606 SystemProperties.getProperty.
12607 * gnu/java/security/key/dss/DSSPrivateKey.java
12608 (toString): Likewise.
12609 * gnu/java/security/key/dss/DSSPublicKey.java
12610 (toString): Likewise.
12611 * gnu/java/security/key/rsa/GnuRSAKey.java
12612 (toString): Likewise.
12613 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12614 (toString): Likewise.
12615 * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12616 (toString): Likewise.
12617 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12618 * gnu/javax/crypto/key/dh/GnuDHKey.java
12619 (toString): Likewise.
12620 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
12621 (toString): Likewise.
12622 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
12623 (toString): Likewise.
12625 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12627 * javax/swing/AbstractButton.java
12628 (disabledIcon): Fixed name (was 'disabeldIcon'),
12629 (getDisabledIcon): Updated for corrected field name,
12630 (setDisabledIcon): Fire a PropertyChangeEvent.
12632 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12634 * javax/swing/DefaultBoundedRangeModel.java
12635 (readObject): New private method,
12636 (writeObject): Likewise.
12638 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12640 * javax/swing/ButtonGroup.java
12641 (add): Ignore null argument,
12642 (remove): Ignore null argument. If removing selected button, clear the
12644 (findButton): Changed case for method name, and documented,
12645 (setSelected): Updated for modification to findButton() method name,
12646 (isSelected): Updated API docs.
12648 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12650 * java/awt/image/BufferedImage.java
12651 (BufferedImage(int, int, int)): Use correct color space for
12652 TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an
12653 IllegalArgumentException for an unrecognised type.
12655 2006-07-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
12657 * java/lang/management/ManagementFactory.java:
12658 (getMemoryPoolMXBeans): Genericized fully.
12659 (getMemoryManagerMXBeans): Likewise.
12660 (getGarbageCollectorMXBeans): Likewise.
12662 2006-07-10 Tom Tromey <tromey@redhat.com>
12664 * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12666 (getMemoryManagerMXBeans): Likewise.
12667 (getGarbageCollectorMXBeans): Likewise.
12669 2006-07-10 Mario Torre <neugens@limasoftware.net>
12671 * java/awt/BasicStroke.java: Removed unused import.
12672 * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed.
12673 * gnu/java/awt/java2d/LineSegment.java (clone): Fixed.
12674 * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12676 2006-07-10 Matt Wringe <mwringe@redhat.com>
12678 PR classpath/28212:
12679 * javax/crypto/spec/SecretKeySpec.java
12680 (equals): Check object type.
12682 2006-07-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12684 * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12685 communication/StructureToPassHelper.java,
12686 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12687 communication/StructureToReturnHelper.java,
12688 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12689 communication/TreeNodeHelper.java,
12690 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12691 communication/WeThrowThisExceptionHelper.java,
12692 gnu/CORBA/ForwardRequestHelper.java,
12693 org/omg/CORBA/CompletionStatusHelper.java,
12694 org/omg/CORBA/CurrentHelper.java,
12695 org/omg/CORBA/DefinitionKindHelper.java,
12696 org/omg/CORBA/IDLTypeHelper.java,
12697 org/omg/CORBA/NameValuePairHelper.java,
12698 org/omg/CORBA/ObjectHelper.java,
12699 org/omg/CORBA/ParameterModeHelper.java,
12700 org/omg/CORBA/PolicyErrorCodeHelper.java,
12701 org/omg/CORBA/PolicyErrorHelper.java,
12702 org/omg/CORBA/PolicyHelper.java,
12703 org/omg/CORBA/PolicyListHelper.java,
12704 org/omg/CORBA/PolicyTypeHelper.java,
12705 org/omg/CORBA/ServiceDetailHelper.java,
12706 org/omg/CORBA/ServiceInformationHelper.java,
12707 org/omg/CORBA/SetOverrideTypeHelper.java,
12708 org/omg/CORBA/StringValueHelper.java,
12709 org/omg/CORBA/UnionMemberHelper.java,
12710 org/omg/CORBA/UnknownUserExceptionHelper.java,
12711 org/omg/CORBA/VisibilityHelper.java,
12712 org/omg/CORBA/WStringValueHelper.java,
12713 org/omg/CORBA/WrongTransactionHelper.java,
12714 org/omg/CosNaming/BindingHelper.java,
12715 org/omg/CosNaming/BindingIteratorHelper.java,
12716 org/omg/CosNaming/BindingListHelper.java,
12717 org/omg/CosNaming/BindingTypeHelper.java,
12718 org/omg/CosNaming/NameComponentHelper.java,
12719 org/omg/CosNaming/NameHelper.java,
12720 org/omg/CosNaming/NamingContextExtHelper.java,
12721 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12722 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12723 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12724 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12725 org/omg/CosNaming/NamingContextHelper.java,
12726 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12727 org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12728 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12729 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12730 org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12731 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12732 org/omg/DynamicAny/AnySeqHelper.java,
12733 org/omg/DynamicAny/DynAnyFactoryHelper.java,
12734 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12735 org/omg/DynamicAny/DynAnyHelper.java,
12736 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12737 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12738 org/omg/DynamicAny/DynAnySeqHelper.java,
12739 org/omg/DynamicAny/DynArrayHelper.java,
12740 org/omg/DynamicAny/DynEnumHelper.java,
12741 org/omg/DynamicAny/DynFixedHelper.java,
12742 org/omg/DynamicAny/DynSequenceHelper.java,
12743 org/omg/DynamicAny/DynStructHelper.java,
12744 org/omg/DynamicAny/DynUnionHelper.java,
12745 org/omg/DynamicAny/DynValueHelper.java,
12746 org/omg/DynamicAny/NameDynAnyPairHelper.java,
12747 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12748 org/omg/DynamicAny/NameValuePairHelper.java,
12749 org/omg/DynamicAny/NameValuePairSeqHelper.java,
12750 org/omg/IOP/CodecFactoryHelper.java,
12751 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12752 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12753 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12754 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12755 org/omg/IOP/ComponentIdHelper.java,
12756 org/omg/IOP/IORHelper.java,
12757 org/omg/IOP/MultipleComponentProfileHelper.java,
12758 org/omg/IOP/ProfileIdHelper.java,
12759 org/omg/IOP/ServiceContextHelper.java,
12760 org/omg/IOP/ServiceContextListHelper.java,
12761 org/omg/IOP/ServiceIdHelper.java,
12762 org/omg/IOP/TaggedComponentHelper.java,
12763 org/omg/IOP/TaggedProfileHelper.java,
12764 org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12765 org/omg/PortableInterceptor/AdapterNameHelper.java,
12766 org/omg/PortableInterceptor/AdapterStateHelper.java,
12767 org/omg/PortableInterceptor/CurrentHelper.java,
12768 org/omg/PortableInterceptor/ForwardRequestHelper.java,
12769 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12770 org/omg/PortableInterceptor/InvalidSlotHelper.java,
12771 org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12772 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12773 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12774 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12775 org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12776 org/omg/PortableServer/CurrentHelper.java,
12777 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12778 org/omg/PortableServer/ForwardRequestHelper.java,
12779 org/omg/PortableServer/POAHelper.java,
12780 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12781 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12782 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12783 org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12784 org/omg/PortableServer/POAPackage/NoServantHelper.java,
12785 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12786 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12787 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12788 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12789 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12790 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
12791 org/omg/PortableServer/ServantActivatorHelper.java,
12792 org/omg/PortableServer/ServantLocatorHelper.java: Remove the
12793 typecode caching and always use OrbRestricted.Singleton.
12795 2006-07-09 Tom Tromey <tromey@redhat.com>
12797 * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
12799 2006-07-09 Mark Wielaard <mark@klomp.org>
12801 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
12802 New static final boolean field.
12803 (getComponentGraphics): Use hasXRenderExtension.
12804 (setClip): Override method for locking.
12806 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12808 * javax/swing/AbstractButton.java
12809 (setHorizontalTextPosition): Added check for illegal argument,
12810 (setVerticalTextPosition): Likewise.
12812 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12814 * javax/swing/Timer.java
12815 (setDelay): Throw IllegalArgumentException for negative delay,
12816 (setInitialDelay): Likewise,
12817 * javax/swing/ToolTipManager.java
12818 (setInitialDelay): Document IllegalArgumentException,
12819 (setDismissDelay): Likewise,
12820 (setReshowDelay): Likewise.
12822 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12824 * java/lang/management/MemoryUsage.java:
12825 (from(javax.management.openmbean.CompositeData)):
12827 * java/lang/management/ThreadInfo.java:
12828 Changed to use open types throughout for the state.
12829 (ThreadInfo(long,String,String,long,long,String,
12830 long,String,long,long,boolean,StackTraceElement[])):
12832 (checkAttribute(javax.management.openmbean.CompositeType,
12833 String, javax.management.openmbean.OpenType)): New method.
12834 (from(javax.management.openmbean.CompositeData)):
12836 (getLockName()): Fixed to use new variable.
12837 (getLockOwnerId()): Likewise.
12838 (getLockOwnerName()): Likewise.
12839 (getThreadId()): Likewise.
12840 (getThreadName()): Likewise.
12841 (getThreadState()): Likewise.
12842 (toString()): Refactored to use new variables.
12843 * javax/management/openmbean/ArrayType.java:
12845 * javax/management/openmbean/CompositeType.java:
12846 Variables should be transient, not volatile.
12847 * javax/management/openmbean/OpenDataException.java:
12848 (serialVersionUID): Added.
12849 * javax/management/openmbean/SimpleType.java:
12851 * javax/management/openmbean/TabularType.java
12852 Variables should be transient, not volatile.
12854 2006-07-09 Tom Tromey <tromey@redhat.com>
12856 * tools/.cvsignore: Updated for new tools.
12858 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12860 * javax/management/openmbean/CompositeData.java,
12861 * javax/management/openmbean/CompositeType.java,
12862 * javax/management/openmbean/OpenDataException.java,
12863 * javax/management/openmbean/OpenType.java,
12864 * javax/management/openmbean/TabularData.java,
12865 * javax/management/openmbean/TabularType.java,
12866 * javax/management/openmbean/package.html:
12869 2006-07-09 Mark Wielaard <mark@klomp.org>
12871 * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
12872 * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
12873 * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
12875 2006-07-08 Anthony Green <green@redhat.com>
12877 * gnu/javax/sound/sampled/WAV/WAVReader.java,
12878 resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12881 2006-07-09 Mario Torre <neugens@limasoftware.net>
12883 * native/jni/gconf-peer/GConfNativePeer.c:
12884 Fixed indentation to be more compliant to the GNU coding
12886 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12887 Added explicit test for errors in the GConf backend.
12888 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12889 Added explicit test for errors in the GConf backend.
12890 Fixed Segmentation Fault when non valid key names are given as input.
12891 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12893 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12894 Added explicit test for errors in the GConf backend.
12895 * gnu/java/util/prefs/gconf/GConfNativePeer.java:
12896 Added javadoc comments for all native methods.
12897 (nodeExist): removed test to check for valid absolute path name
12899 (startWatchingNode): likewise.
12900 (stopWatchingNode): likewise.
12901 (setString): likewise, plus fixed javadoc comments.
12902 (unset): likekwise.
12903 (getKey): likewise.
12904 (getKeys): likewise, also fixed javadoc comments.
12905 (getChildrenNodes): likewise.
12906 * gnu/java/util/prefs/GConfBasedPreferences.java:
12907 changed DEFAULT_USER_ROOT to /apps/classpath.
12908 (constructor): Test to check for a valid absolute path for nodes
12909 is now in the contructor for that node, instead of being on
12910 each method of the backend.
12911 (getGConfKey): removed empty new line.
12913 2006-07-08 Mark Wielaard <mark@klomp.org>
12915 * .classpath: Add gnu/java/awt/peer/x/ to excludes.
12917 2006-07-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12919 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12920 Handle the forced break in the same way as exceeding the
12921 available row space.
12922 * javax/swing/text/html/HRuleView.java: Rewritten.
12923 * javax/swing/text/html/HTMLDocument.java
12924 (HTMLReader.addSpecialElement):Reserve two characters for
12925 the special elements.
12926 * examples/gnu/classpath/examples/swing/HtmlDemo.java
12927 (text): Extended the HTML example to parse.
12929 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12931 * javax/swing/AbstractButton.java
12932 (setHorizontalAlignment): Check for illegal argument,
12933 (setVerticalAlignment): Likewise.
12935 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12937 * javax/swing/text/html/TableView.java
12938 (getStyleSheet): New method. (RowView.getStyleSheet):
12941 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12943 * javax/swing/AbstractButton.java
12944 (setRolloverIcon): Call setRolloverEnabled(true),
12945 (setRolloverSelectedIcon): Likewise.
12947 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12949 * javax/swing/border/TitledBorder.java
12950 (setTitlePosition): Added message to exception,
12951 (setTitleJustification): Likewise.
12953 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12955 * javax/swing/plaf/metal/MetalLookAndFeel.java
12956 (createDefaultTheme): Corrected API docs,
12957 (initComponentDefaults): Added entry for 'TitledBorder.border',
12958 (getCurrentTheme): Initialise theme if it is null.
12960 2006-07-07 Roman Kennke <kennke@aicas.com>
12962 * java/awt/Component.java
12963 (isValid): Return false when component has no peer,
12964 don't query the showing state.
12966 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12968 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12969 Advance the offset also in the case of the enforced break.
12971 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12973 * javax/swing/plaf/basic/BasicArrowButton.java
12974 (MAXIMUM_SIZE): Removed field,
12975 (MINIMUM_SIZE): Likewise,
12976 (PREFERRED_SIZE): Likewise,
12977 (getMaximumSize): Return new instance every time,
12978 (getMinimumSize): Likewise,
12979 (getPreferredSize): Likewise.
12981 2006-07-07 Roman Kennke <kennke@aicas.com>
12983 * java/awt/LightweightDispatcher.java
12984 (findTarget): Avoid array copying in
12985 Container.getComponents().
12987 2006-07-07 Roman Kennke <kennke@aicas.com>
12989 * javax/swing/JComponent.java
12990 (paintChildrenWithOverlap): Avoid array copying in
12991 Container.getComponents().
12992 (paintChildrenOptimized): Avoid array copying in
12993 Container.getComponents().
12994 (fireAncestorEvent): Avoid array copying in
12995 Container.getComponents().
12996 (findOverlapFreeParent): Avoid array copying in
12997 Container.getComponents().
12999 2006-07-07 Matt Wringe <mwringe@redhat.com>
13001 * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
13002 (passwordValid): New field.
13003 (setPassword): New method.
13004 (setSalt): Likewise.
13005 (setIterationCount): Likewise.
13006 (setKeyLength): Likewise.
13007 (PBEKeySpec(char[])): Use new setter methods.
13008 (PBEKeySpec(char[], byte[], int)): Likewise.
13009 (PBEKeySpec(char[], byte[], int, int)): Likewise.
13010 (clearPassword): Set passwordValid to false.
13011 (getPassword): Check that clearPassword() was not called earlier.
13012 Return a clone of the password.
13013 (getSalt): Return a clone of the salt if it was not null.
13015 2006-07-07 Roman Kennke <kennke@aicas.com>
13017 * java/awt/Component.java
13018 (isValid): Always return false when component is
13020 (setFont): Always set font, even when setting
13021 the same or equal font again.
13023 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13025 * javax/swing/plaf/metal/MetalIconFactory.java
13026 (CheckBoxMenuItemIcon): Implement UIResource,
13027 (FileChooserDetailViewIcon): Likewise,
13028 (FileChooserHomeFolderIcon): Likewise,
13029 (FileChooserListViewIcon): Likewise,
13030 (FileChooserNewFolderIcon): Likewise,
13031 (FileChooserUpFolderIcon): Removed redundant 'implements',
13032 (RadioButtonMenuItemIcon): Implement UIResource,
13033 (HorizontalSliderThumbIcon): Likewise,
13034 (InternalFrameCloseIcon): Likewise,
13035 (InternalFrameDefaultMenuIcon): Likewise,
13036 (InternalFrameAltMaximizeIcon): Likewise,
13037 (InternalFrameMaximizeIcon): Likewise,
13038 (InternalFrameMinimizeIcon): Likewise,
13039 (VerticalSliderThumbIcon): Likewise,
13040 (TreeHardDriveIcon): Likewise,
13041 (TreeFloppyDriveIcon): Likewise,
13042 (TreeComputerIcon): Likewise,
13043 (horizontalSliderThumbIcon): New field,
13044 (verticalSliderThumbIcon): New field,
13045 (getHorizontalSliderThumbIcon): Cache icon,
13046 (getVerticalSliderThumbIcon): Likewise.
13048 2006-07-06 Mark Wielaard <mark@klomp.org>
13050 * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
13051 (DISTCLEANFILES): Add standard.omit.
13052 (clean-local): Remove Makefile.deps, only remove dirs.
13054 2006-07-06 Roman Kennke <kennke@aicas.com>
13056 * java/awt/Component.java
13057 (setFont): Only invalidate when component is valid.
13058 * java/awt/Container.java
13059 (setLayout): Only invalidate when component is valid.
13061 2006-07-06 Lillian Angel <langel@redhat.com>
13063 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
13064 New class not fully implemented.
13065 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
13066 New class not fully implemented.
13067 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
13068 New class not fully implemented.
13069 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
13070 New class not fully implemented.
13071 * nu/java/awt/peer/gtk/GtkToolkit.java:
13073 (createDragSourceContextPeer): Implemented.
13074 (createDragGestureRecognizer): New function to override
13075 java.awt.Toolkit.createDragGestureRecognizer.
13076 * java/awt/dnd/DragSource.java
13077 (NoDragGestureRecognizer): Removed inner class.
13078 (createDragGestureRecognizer): Re-Implemented to
13079 call Toolkit's createDragGestureRecognizer.
13080 (createDefaultDragGestureRecognizer): Re-Implemented to
13081 call Toolkit's createDragGestureRecognizer.
13082 * java/awt/dnd/DropTarget.java
13083 (addNotify): Added check to determine type of peer and call
13085 (removeNotify): Added call to removeDropTarget.
13087 2006-07-06 Tom Tromey <tromey@redhat.com>
13089 * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
13091 (run): Wait on queue, not 'this'.
13093 2006-07-06 Lillian Angel <langel@redhat.com>
13095 * java/awt/dnd/DragSource.java
13096 (startDrag): Implemented. Added comments describing
13097 what the function should do. Removed FIXME.
13099 2006-07-06 Tania Bento <tbento@redhat.com>
13101 * gnu/java/awt/Canvas.java
13102 Added new private variable 'next_canvas_number'.
13103 (generateName): Added.
13104 (getUniqueLong): Added.
13106 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13108 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
13109 (getColor): Made public.
13110 * javax/swing/text/html/StyleSheet.java (stringToColor):
13111 Use CharacterAttributeTranslator.getColor(String)
13113 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13115 * javax/swing/text/html/HTMLEditorKit.java:
13116 (HTMLFactory.createElement): Update reference to the html table view.
13117 * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
13118 * javax/swing/text/html/TableView.java: New file.
13120 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13122 * javax/swing/text/html/HTMLEditorKit.java:
13123 (HTMLFactory.createElement): Uncomment
13124 code for BRView and HRuleView.
13125 * javax/swing/text/html/BRView.java,
13126 javax/swing/text/html/HRuleView.java: New files.
13128 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
13130 * java/lang/Thread.java:
13131 (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
13132 Added generic type signature.
13134 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
13137 * doc/vmintegration.texinfo: Likewise.
13138 * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
13139 * examples/gnu/classpath/examples/management/TestMemoryManager.java,
13140 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
13141 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
13142 * java/lang/management/GarbageCollectorMXBean.java:
13144 * java/lang/management/ManagementFactory.java:
13145 (getGarbageCollectorMXBeans()): Implemented.
13146 (getMemoryManagerMXBeans()): Likewise.
13147 * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
13148 * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
13150 * vm/reference/java/lang/management/VMManagementFactory.java:
13151 (getMemoryManagerNames()): Added.
13152 (getGarbageCollectorNames()): Added.
13154 2006-07-05 Thomas Fitzsimmons <fitzsim@redhat.com>
13156 * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
13157 from lib_LTLIBRARIES.
13158 (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
13160 2006-07-05 Lillian Angel <langel@redhat.com>
13162 * java/awt/dnd/DragGestureEvent.java:
13164 (DragGestureEvent): Initialized new fields, added to check and
13165 added documentation.
13166 (getSourceAsDragGestureRecognizer): Added documentation and
13167 changed to use getSource.
13168 (getComponent): Added documentation and fixed to return the proper
13170 (getDragSource): Likewise.
13171 (getDragOrigin): Added documentation.
13172 (iterator): Implemented and added documentation.
13173 (toArray): Likewise.
13174 (toArray): Likewise.
13175 (getDragAction): Likewise.
13176 (getTriggerEvent): Likewise.
13177 (startDrag): Likewise.
13178 * java/awt/dnd/DragGestureRecognizer.java
13179 (resetRecognizer): Added FIXME.
13180 * java/awt/dnd/DragSource.java:
13182 (DragSource): Set ds to be null if headless.
13183 (getDefaultDragSource): Added documentation and implemented.
13184 (isDragImageSupported): Marked as unimplemented.
13185 (startDrag): Likewise.
13186 (createDragSourceContext): Implemented.
13187 (NoDragGestureRecognizer): Formatted inner class.
13188 * java/awt/dnd/DropTarget.java
13189 (stop): Marked as unimplemented.
13190 (actionPerformed): Likewise.
13191 (addDropTargetListener): Added code to throw exception.
13192 (removeDropTargetListener): Added check, removed FIXME.
13193 (dragEnter): Implemented.
13194 (dragOver): Implemented.
13195 (dropActionChanged): Implemented.
13196 (dragExit): Implemented.
13197 (drop): Implemented.
13198 (addNotify): Implemented.
13199 (removeNotify): Implemented.
13200 (createDropTargetContext): Implemented.
13201 (createDropTargetAutoScroller): Implemented.
13202 (initializeAutoscrolling): Implemented.
13203 (updateAutoscroll): Implemented.
13204 (clearAutoscroll): Implemented.
13205 * java/awt/dnd/DropTargetContext.java
13206 (dropComplete): Implemented.
13207 (acceptDrag): Implemented.
13208 (rejectDrag): Implemented.
13209 (acceptDrop): Implemented.
13210 (rejectDrop): Implemented.
13211 (getCurrentDataFlavors): Implemented.
13212 (getTransferable): Partially implemented.
13213 * java/awt/dnd/DropTargetDragEvent.java
13214 (getDropAction): Uncommented correct code.
13215 * java/awt/dnd/DropTargetDropEvent.java
13216 (dropComplete) :Implemented.
13217 * java/awt/dnd/InvalidDnDOperationException.java
13218 (InvalidDnDOperationException): Added call to super.
13220 2006-07-05 Robert Schuster <robertschuster@fsfe.org>
13222 * javax/swing/plaf/basic/BasicArrowButton.java:
13223 (paint): Removed getBounds() call, changed center point
13226 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
13228 * javax/swing/InputMap.java
13229 (inputMap): Don't initialize yet,
13230 (InputMap): Removed TODO,
13231 (get): Check for null inputMap,
13232 (put): Return immediately for null keyStroke, check for null inputMap
13233 and initialize if necessary,
13234 (remove): Check for null inputMap,
13238 (allKeys): Likewise,
13239 (writeObject): Removed,
13240 (readObject): Removed.
13242 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
13244 * gnu/classpath/examples/swing/TabbedPaneDemo.java
13245 (createContent): Use different labels for buttons.
13247 2006-07-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
13250 * doc/vmintegration.texinfo: Likewise.
13251 * examples/gnu/classpath/examples/management/TestMemoryPool.java,
13252 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
13254 * java/lang/management/ManagementFactory.java:
13255 (getMemoryPoolMXBeans()): Implemented.
13256 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
13257 * vm/reference/java/lang/management/VMManagementFactory.java:
13260 2006-07-04 Lillian Angel <langel@redhat.com>
13262 * java/awt/dnd/DragSourceContext.java:
13263 Removed FIXMEs from fields.
13264 (DragSourceContext): Added code to initialize cursor and sourceActions.
13265 (getDragSource): Added documentation.
13266 (getComponent): Likewise.
13267 (getTrigger): Likewise.
13268 (getSourceActions): Added documentation and implemented.
13269 (setCursor): Implemented. Added documentation.
13270 (getCursor): Implemented. Added documentation.
13271 (dragEnter): Added code to notify DragSource's listeners.
13272 (dragOver): Likewise.
13273 (dragExit): Likewise.
13274 (dropActionChanged): Likewise.
13275 (dragDropEnd): Likewise.
13276 (dragMouseMoved): Implemented.
13277 (getTransferable): Added API documentation.
13278 (updateCurrentCursor): Added API documentation and partially implemented.
13280 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13282 * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
13284 2006-07-04 Lillian Angel <langel@redhat.com>
13286 * java/awt/dnd/DragSourceContext.java
13287 (DragSourceContext): Implemented fully. Fixed API docs.
13288 (transferablesFlavorsChanged): Implemented.
13289 (dragEnter): Implemented.
13290 (dragOver): Implemented.
13291 (dragExit): Implemented.
13292 (dropActionChanged): Implemented.
13293 (dragDropEnd): Implemented.
13295 2006-07-04 Lillian Angel <langel@redhat.com>
13297 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
13298 Fixed name of constant.
13299 (getIconWidth): Changed name of constant returned.
13300 (getIconHeight): Likewise.
13302 (createSeparator): Marked as unimplemented.
13303 * javax/swing/plaf/basic/BasicTableUI.java
13304 (focusGained): Marked as unimplemented.
13305 (focusLost): Marked as unimplemented.
13306 (mouseEntered): Likewise.
13307 (mouseMoved): Likewise.
13308 (uninstallDefaults): Likewise.
13309 * javax/swing/plaf/basic/BasicToolBarUI.java
13310 (mouseClicked): Changed comment.
13311 (mouseEntered): Likewise.
13312 (mouseExited): Likewise.
13313 (mouseMoved): Likewise.
13314 (setOrientation): Implemented.
13315 (ToolBarFocusListener): Marked as unimplemented.
13316 (focusGained): Marked as unimplemented.
13317 (focusLost): Marked as unimplemented.
13319 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13322 * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
13323 Mind the effect of the root visibility on the position of the control.
13324 Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the
13325 vertical line over first level nodes.
13327 2006-07-04 Lillian Angel <langel@redhat.com>
13329 * javax/swing/plaf/basic/BasicMenuUI.java
13330 (installKeyboardActions): Implemented to call super. Nothing else
13331 needs to be done here.
13332 (setupPostTimer): Marked as unimplemented.
13333 (uninstallKeyboardActions): Implemented to call super. Nothing else
13334 needs to be done here.
13335 (mouseMoved): Removed TODO. Nothing to be done here.
13336 (ChangeHandler): Implemented.
13337 (menuDragMouseExited): Removed TODO. Nothing to be done here.
13338 (menuDragMouseReleased): Removed TODO. Nothing to be done here.
13339 (menuKeyReleased): Removed TODO. Nothing to be done here.
13340 (menuKeyTyped): Marked as unimplemented.
13342 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13345 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
13346 (getDefaults): Set hash color to black.
13347 * javax/swing/plaf/basic/BasicLookAndFeel.java
13348 (initComponentDefaults): Set hash color to grey blue.
13349 * javax/swing/plaf/basic/BasicTreeUI.java
13350 (instellDefaults): Set hash color.
13351 * javax/swing/plaf/metal/MetalIconFactory.java
13352 (TreeControlIcon.paint): Rewritten.
13354 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13357 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13358 Always cancel the current editing session before doing anything else,
13359 return immediately if this fails.
13360 (TreeHomeAction): Ensure that the lead selection path is visible after
13361 the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
13362 Likewise. TreeTraverseAction: Likewise.
13364 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13367 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13368 Returned back the code to handle the start of the click-pause-click
13369 editing initiation, explained about this code.
13370 (TreeStartEditingAction): New inner class.
13371 (stopEditingInCompleteEditing): Explained about this field.
13372 (completeEditing(boolean, boolean, boolean): Only return early
13373 if there is no current editing session.
13374 (createDefaultActions): Install TreeStartEditingAction and
13375 TreeCancelEditingAction.
13377 2006-07-04 Mario Torre <neugens@limasoftware.net>
13379 * configure.ac: Added new option --enable-default-preferences-peer
13380 to pass user specified default preference backend.
13381 If the GConf peer is built, GConf become the default backend.
13382 * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
13384 * lib/Makefile.am: excludes files terminating in 'in' from
13385 the metafiles list.
13386 * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
13387 from copy into META-INF.
13388 * java/util/prefs/Preferences.java: added two new import
13389 classes gnu.classpath.ServiceFactory and java.util.Iterator.
13390 (getFactory): Now try to check for
13391 a system defined default preference backend before to fall back on
13392 FileBasedPreference.
13394 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13397 * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
13398 (EXPANDED): Initialise to Boolean.TRUE.
13399 * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
13400 First configure layout cache and then set the assigned value
13401 as row mapper. Set the root visibility property.
13402 (toggleExpandState): Obtains expansion state from the layout cache.
13404 2006-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
13406 * java/lang/management/MemoryPoolMXBean.java:
13409 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13411 * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
13413 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13415 * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
13416 * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
13417 * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
13418 * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
13419 * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13420 * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13421 * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13422 * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13423 * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13424 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13425 * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13426 * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13427 * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13428 * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13429 * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13430 * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13431 * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13432 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13433 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13434 * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13435 * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13436 * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13437 * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13438 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13439 * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13440 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13441 * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13442 * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13443 * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13444 * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13445 * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13446 * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13447 * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13448 * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13449 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13450 * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13451 * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13452 * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13453 * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13454 * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13455 * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13456 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13457 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13458 * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13459 * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13460 * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13461 * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13463 2006-07-02 Anthony Green <green@redhat.com>
13465 * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13466 sure that every track written ends with an End Of Track meta
13469 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13471 * java/lang/management/MemoryUsage.java:
13472 (toString()): Fix missing MB for maximum memory usage.
13474 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13477 Updated to include VMCompilationMXBeanImpl.
13478 * doc/vmintegration.texinfo:
13479 Likewise, along with update to VMMemoryMXBeanImpl
13481 * examples/gnu/classpath/examples/management/TestCompilation.java,
13482 * gnu/java/lang/management/CompilationMXBeanImpl.java,
13483 * java/lang/management/CompilationMXBeanImpl.java:
13485 * java/lang/management/ManagementFactory.java:
13486 (getCompilationMXBean()): Implemented.
13487 * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13489 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13490 (getHeapMemoryUsage()): Added default implementation.
13492 2006-07-02 Anthony Green <green@redhat.com>
13494 * NEWS: Mention MIDI file reader/writer providers.
13496 2006-07-02 Anthony Green <green@redhat.com>
13498 * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13499 gnu/javax/sound/midi/file/MidiFileWriter.java,
13500 gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13502 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13505 Updated to include VMMemoryMXBeanImpl.
13506 * doc/vmintegration.texinfo: Likewise.
13507 * examples/gnu/classpath/examples/management/TestMemory.java:
13509 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13510 Remove redundant import.
13511 * gnu/java/lang/management/MemoryMXBeanImpl.java:
13513 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13514 Remove redundant import.
13515 * java/lang/management/ManagementFactory.java:
13516 (getMemoryMXBean()): Implemented.
13517 * java/lang/management/MemoryMXBean.java,
13518 * java/lang/management/MemoryUsage.java:
13520 * java/lang/management/ThreadInfo.java:
13521 (toString()): Updated documentation.
13522 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13525 2006-07-01 Anthony Green <green@redhat.com>
13527 * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13528 gnu/javax/sound/midi/file/MidiFileReader.java,
13529 gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13530 gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13532 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13534 * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13535 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13536 * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13537 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13538 * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13539 * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13540 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13542 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13544 * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13545 * gnu/javax/crypto/pad/IPad.java: Likewise.
13546 * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13547 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13548 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13549 * gnu/javax/crypto/pad/SSL3.java: Likewise.
13550 * gnu/javax/crypto/pad/TBC.java: Likewise.
13551 * gnu/javax/crypto/pad/TLS1.java: Likewise.
13552 * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13554 2006-07-01 Anthony Green <green@redhat.com>
13556 * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13558 (setMessage): Fix it again, in a different setMessage method.
13560 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13562 * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13563 * gnu/javax/crypto/mode/CBC.java: Likewise.
13564 * gnu/javax/crypto/mode/CFB.java: Likewise.
13565 * gnu/javax/crypto/mode/CTR.java: Likewise.
13566 * gnu/javax/crypto/mode/EAX.java: Likewise.
13567 * gnu/javax/crypto/mode/ECB.java: Likewise.
13568 * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13569 * gnu/javax/crypto/mode/ICM.java: Likewise.
13570 * gnu/javax/crypto/mode/IMode.java: Likewise.
13571 * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13572 * gnu/javax/crypto/mode/OFB.java: Likewise.
13574 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13576 * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13577 * gnu/javax/crypto/mac/HMac.java: Likewise.
13578 * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13579 * gnu/javax/crypto/mac/IMac.java: Likewise.
13580 * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13581 * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13582 * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13583 * gnu/javax/crypto/mac/OMAC.java: Likewise.
13584 * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13585 * gnu/javax/crypto/mac/UHash32.java: Likewise.
13586 * gnu/javax/crypto/mac/UMac32.java: Likewise.
13588 2006-07-01 Anthony Green <green@redhat.com>
13590 * javax/sound/midi/Track.java (vector, eventSet): Initialize.
13592 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13594 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13595 * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13596 * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13597 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13598 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13599 * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13600 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13601 * gnu/javax/crypto/keyring/Entry.java: Likewise.
13602 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13603 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13604 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13605 * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13606 * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13607 * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13608 * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13609 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13610 * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13611 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13612 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13613 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13614 * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13615 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13616 * gnu/javax/crypto/keyring/Properties.java: Likewise.
13617 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13619 2006-07-01 David Gilbert <david.gilbert@object-refinery.com>
13621 * javax/swing/AbstractCellEditor.java: Source code formatting,
13622 * javax/swing/AbstractSpinnerModel.java: Likewise,
13623 * javax/swing/Box.java: Likewise,
13624 * javax/swing/BoxLayout.java: Likewise,
13625 * javax/swing/DefaultListModel.java: Likewise,
13626 * javax/swing/GrayFilter.java: Likewise,
13627 * javax/swing/LookAndFeel.java: Likewise,
13628 * javax/swing/ProgressMonitor.java: Likewise,
13629 * javax/swing/ProgressMonitorInputStream.java: Likewise,
13630 * javax/swing/ScrollPaneLayout.java: Likewise,
13631 * javax/swing/SpringLayout.java: Likewise,
13632 * javax/swing/event/EventListenerList.java: Likewise,
13633 * javax/swing/event/MenuEvent.java: Likewise,
13634 * javax/swing/event/TreeExpansionListener.java: Likewise.
13636 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13639 Mention threading bean and getState().
13640 * doc/vmintegration.texinfo:
13641 Update documentation for threading bean and new
13642 method of VMThread.
13644 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13646 * examples/gnu/classpath/examples/management/TestClassLoading.java,
13647 * examples/gnu/classpath/examples/management/TestOS.java,
13648 * examples/gnu/classpath/examples/management/TestRuntime.java,
13649 * examples/gnu/classpath/examples/management/TestThread.java:
13652 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13654 * java/lang/ThreadGroup.java
13655 (getThreadFromId, getThreadFromIdImpl): New methods.
13657 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13659 * java/lang/Thread.java:
13660 Make thread IDs start from 1 in a more efficient way.
13662 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13664 * java/lang/Thread.java:
13665 Make thread IDs start from 1.
13667 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13669 * gnu/java/lang/management/BeanImpl.java:
13670 New superclass for all bean implementations.
13671 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13672 Extend BeanImpl and call permission code there.
13673 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13675 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13676 Extend BeanImpl and call permission code there.
13677 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13679 * java/lang/management/ManagementFactory.java:
13680 (getThreadMXBean()): Implemented.
13681 * java/lang/management/ThreadInfo.java:
13682 (ThreadInfo(Thread,int)): Replaced...
13683 (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13684 boolean, boolean, StackTraceElement[])): with this.
13685 (getBlockedCount()): Refactored to use local variables.
13686 (getBlockedTime()): Likewise.
13687 (getLockName()): Likewise.
13688 (getLockOwnerId()): Likewise.
13689 (getLockOwnerName()): Likewise.
13690 (getStackTrace()): Likewise.
13691 (getWaitedCount()): Likewise.
13692 (getWaitedTime()): Likewise.
13693 (isInNative()): Likewise.
13694 (isSuspended()): Likewise.
13695 (toString()): Changed to use new local variables.
13696 * java/lang/management/ThreadMXBean.java:
13697 (getThreadInfo(long, int)): Corrected documentation.
13698 (getThreadInfo(long[], int)): Likewise.
13699 * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13701 * vm/reference/java/lang/management/VMThreadInfo.java:
13704 2006-07-01 Raif S. Naffah <raif@swiftdsl.com.au>
13706 * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13707 * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13708 * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13709 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13710 * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13711 * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13712 * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13713 * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13714 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13715 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13716 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13717 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13718 * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13719 * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13720 * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13721 * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13722 * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13723 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13724 * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13725 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13726 * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13727 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13728 * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13729 * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13730 * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13731 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13732 * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13733 * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13734 * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13735 * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13736 * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13737 * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13739 2006-07-01 Roman Kennke <kennke@aicas.com>
13741 * gnu/java/awt/java2d/AbstractGraphics2D.java
13742 (transform): Make field protected.
13743 (getDestinationRaster): Provide default implementation for
13744 previously abstract method.
13746 2006-06-30 Tania Bento <tbento@redhat.com>
13748 * java/awt/TextArea.java
13749 (TextArea(String, int, int, int)): No longer throws
13750 IllegalArgumentException if rows, columns, or scrollbarVisibility
13751 values are invalid.
13752 (TextArea(String, int, int, int)): If rows or columns are < 0,
13753 they get set to 0. If scrollbarVisibility is < 0 or > 4, it
13754 gets set to the default value of 0 (SCROLLBARS_BOTH).
13755 (appendText): Added case when peer = null.
13756 (insertText): Added case when peer == null.
13757 (replaceText): Added case when peer == null.
13758 * java/awt/TextComponent.java
13759 (TextComponent(String)): If text == null, set it to "".
13761 2006-06-30 Lillian Angel <langel@redhat.com>
13763 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13764 (create): Added synchronized block around groupMap.get calls.
13765 (setCheckboxGroup): Likewise.
13767 2006-06-30 Lillian Angel <langel@redhat.com>
13769 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13770 (create): Changed to be non-synchronized.
13771 (setLabel): Likewise.
13772 (setCheckboxGroup): Likewise.
13773 (addToGroupMap): Likewise. Added synchronized block around
13775 (dispose): Changed to be non-synchronized.
13777 2006-06-30 Lillian Angel <langel@redhat.com>
13779 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13780 Changed all return values of native functions to void.
13781 (create): Changed function to be synchronized. Removed
13782 call to put value in groupMap, this is now done from
13784 (setState): Changed function to be synchronized.
13785 (setLabel): Changed function to be synchronized.
13786 (setCheckboxGroup): Changed function to be synchronized. Removed
13787 call to put value in groupMap, this is now done from
13789 (postItemEvent): Changed function to be synchronized.
13790 (addToGroupMap): New function. Called by native code to add
13791 new value to the group.
13792 (dispose): Changed function to be synchronized.
13793 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
13795 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13796 (cp_gtk_checkbox_init_jni): Added code to link to
13798 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13799 Changed return value to void. Added call
13800 to java function to set pointer in groupMap.
13801 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
13802 changed check to an assert. Also, removed call to set/del pointer.
13803 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup):
13804 Likewise. Also, added check to determine if native_group should be
13806 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
13808 2006-06-30 Sven de Marothy <sven@physto.se>
13810 * gnu/java/awt/ClasspathToolkit.java,
13811 * gnu/java/awt/peer/x/XToolkit.java,
13812 * gnu/java/awt/peer/qt/QtToolkit.java,
13813 * gnu/java/awt/peer/gtk/GtkToolkit.java,
13814 Remove ClasspathTextLayoutPeer.
13815 * gnu/java/awt/peer/gtk/GdkTextLayout.java,
13816 * gnu/java/awt/peer/ClasspathTextLayoutPeer:
13819 2006-06-30 Sven de Marothy <sven@physto.se>
13821 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
13822 (drawGlyphVector): Don't draw empty vectors.
13824 2006-06-30 Lillian Angel <langel@redhat.com>
13825 Tom Fitzsimmons <fitzsim@redhat.com>
13827 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
13828 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13829 Added current_group, groupMap fields. Added definitions for
13830 new native functions.
13831 (create): Removed FIXME. Added code to create the check button or
13832 radio button when appropriate. Updated groupMap to contain
13833 pointer to the newly created group.
13834 (setCheckboxGroup): Added code to handle all cases. Removing
13835 a button from a group, adding a button to a group, or changing the
13837 (dispose): Changed to call super.
13838 * include/Makefile.am: Removed reference to
13839 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
13840 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
13841 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
13843 * native/jni/gtk-peer/Makefile.am: Removed reference to
13844 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
13845 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
13847 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13848 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget):
13849 Renamed to checkbox_get_widget.
13850 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals):
13851 Changed to use checkbox_get_widget.
13852 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup):
13854 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
13855 Changed to use checkbox_get_widget.
13856 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
13858 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
13859 New function. Creates checkbutton without a group.
13860 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13861 Creates a radio button in a group, using groupPointer. If groupPointer
13862 is 0, then a new group is created.
13863 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
13864 check button to a group, using groupPointer. A radio button is created
13865 in its place. If groupPointer is 0, then a new group is created.
13866 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
13867 radio button is removed from the group. A check button is created in
13869 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
13870 radio button is moved to a new group.
13872 2006-06-30 Mark Wielaard <mark@klomp.org>
13874 * configure.ac: Move standard.omit creation after dirs are created.
13875 Cat standard.omit.in from srcdir. Make exclude regex more explicit.
13876 * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
13877 (clean-local): Remove standard.omit.
13878 * lib/gen-classlist.sh.in: Use omit file in build dir.
13879 * lib/standard.omit.in: Make exclude regex more explicit.
13881 2006-06-30 Roman Kennke <kennke@aicas.com>
13883 * lib/Makefile.am: Added Escher dir/jar to classpath when
13885 * configure.ac: Moved handling of standard.omit to a place
13886 where it actually gets executed.
13888 2006-06-30 David Gilbert <david.gilbert@object-refinery.com>
13890 * java/awt/TextComponent.java: Reformatted source code,
13891 * java/awt/TextField.java: Likewise.
13893 2006-06-29 Jeroen Frijters <jeroen@sumatra.nl>
13895 * java/lang/Thread.java:
13896 (getState()): Handle case of no VMThread
13899 2006-06-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
13901 * java/lang/Thread.java,
13902 * java/lang/VMThread.java:
13903 Reverted patch from 2006-06-28.
13905 2006-06-29 Roman Kennke <kennke@aicas.com>
13907 * gnu/java/awt/peer/x/GLGraphics.java,
13908 * gnu/java/awt/peer/x/ImageConverter.java,
13909 * gnu/java/awt/peer/x/KeyboardMapping.java,
13910 * gnu/java/awt/peer/x/XEventPump.java,
13911 * gnu/java/awt/peer/x/XFontPeer.java,
13912 * gnu/java/awt/peer/x/XFontPeer2.java,
13913 * gnu/java/awt/peer/x/XFramePeer.java,
13914 * gnu/java/awt/peer/x/XGraphics.java,
13915 * gnu/java/awt/peer/x/XGraphics2D.java,
13916 * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
13917 * gnu/java/awt/peer/x/XGraphicsDevice.java,
13918 * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
13919 * gnu/java/awt/peer/x/XImage.java,
13920 * gnu/java/awt/peer/x/XLightweightPeer.java,
13921 * gnu/java/awt/peer/x/XToolkit.java,
13922 * gnu/java/awt/peer/x/XWindowPeer.java,
13923 * gnu/java/awt/peer/x/fonts.properties: New files.
13924 * lib/standard.omit: Removed.
13925 * lib/standard.omit.in: Added.
13926 * configure.ac: Added configure option --with-escher. Added some
13927 configury for omitting gnu.java.awt.peer.x package when
13928 this option is not specified.
13930 2006-06-29 David Gilbert <david.gilbert@object-refinery.com>
13932 * javax/swing/JComponent.java
13933 (JComponent()): Initialize the locale here, not the default locale,
13934 (getDefaultLocale): If null, return Locale.getDefault(),
13935 (setDefaultLocale): Added API docs.
13937 2006-06-29 Tania Bento <tbento@redhat.com>
13939 * java/awt/Container.java
13940 (applyComponentOrientation): Implemented method.
13942 2006-06-29 Gary Benson <gbenson@redhat.com>
13944 * java/io/File.java (listRoots): Merge security checks from libgcj.
13946 2006-06-29 Gary Benson <gbenson@redhat.com>
13948 * java/io/FilePermission.java (implies): Work when path is "/".
13950 2006-06-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
13952 * java/lang/Thread.java:
13953 (Thread(ThreadGroup,Runnable,String,long)): Update
13955 (Thread(VMThread,String,int,boolean)): Likewise.
13956 (join(long,int)): Likewise.
13957 (resume()): Likewise.
13958 (sleep(long,int)): Likewise.
13959 (start()): Likewise.
13960 (stop()): Likewise.
13961 (suspend()): Likewise.
13963 (getState()): Return either state or use VMThread.
13964 * java/lang/VMThread.java:
13965 (getState()): Added default implementation to return
13968 2006-06-28 Andreas Tobler <a.tobler@schweiz.ch>
13970 * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
13971 GdkPixbuf correctly on big endian systems. Fix a typo in the little
13972 endian swapping code.
13974 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
13975 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
13976 without alpha information correctly on big endian systems.
13978 2006-06-28 Roman Kennke <kennke@aicas.com>
13980 * gnu/java/net/local/LocalSocket.java
13981 (setSoTimeout): Don't throw exception and ignore request.
13982 (getSoTimeout): Don't throw exception and always return 0.
13984 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13986 * javax/swing/JComponent.java
13987 (getRegisteredKeyStrokes): Implemented.
13989 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13991 * javax/swing/JComponent.java
13992 (verifyInputWhenFocusTarget): Initialise to true.
13994 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13996 * java/beans/VetoableChangeSupport.java
13997 (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
13999 (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
14000 for null property name and/or listener,
14001 * javax/swing/JComponent.java
14002 (getListeners): Handle VetoableChangeListener.class as a special case,
14003 (getVetoableChangeListeners): Fetch these from the
14004 vetoableChangeSupport object.
14006 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14008 * javax/swing/JComponent.java
14009 (componentPopupMenu): New field,
14010 (inheritsPopupMenu): New field,
14011 (getInheritsPopupMenu): Implemented,
14012 (setInheritsPopupMenu): Likewise,
14013 (getComponentPopupMenu): Likewise,
14014 (setComponentPopupMenu): Likewise,
14015 * javax/swing/JLabel.java
14016 (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
14018 2006-06-28 Raif S. Naffah <raif@swiftdsl.com.au>
14020 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
14021 (toString): New method.
14022 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
14023 (toString): New method.
14024 * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
14025 (toString): New method.
14026 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
14027 Handle case when Q is null.
14028 (decodePrivateKey): Likewise.
14029 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
14031 (decodePublicKey): Likewise.
14032 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
14033 aliases for all block ciphers.
14034 * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
14035 (engineDoPhase): Compute fully the shared secret.
14036 (checkState): New method.
14038 (engineGenerateSecret()): Reset key-agreement before returning.
14039 (engineGenerateSecret(byte[],int)): Check for short-buffer.
14040 Reset key-agreement before returning.
14041 (engineGenerateSecret(String)): Reset key-agreement before returning.
14042 (engineInit(Key,SecureRandom)): Call reset() before returning.
14043 * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
14044 (engineInit): Replace printing to System.out with conditional logging.
14045 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
14046 When the key-size is not specified, attempt best effort to find a suitable
14047 value among those advertised by the cipher before setting it to the length
14048 of provided key material.
14050 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14052 * javax/swing/table/DefaultTableColumnModel.java
14053 (changeEvent): Don't initialize yet, removed FIXME,
14054 (fireColumnModelChanged): Initialize changeEvent if necessary.
14056 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
14058 * java/lang/Thread.java:
14059 (getAllStackTraces()): Implemented.
14060 (getStackTrace()): Likewise.
14062 2006-06-27 Tania Bento <tbento@redhat.com>
14064 * java/awt/Component.java
14065 (setComponentOrientation): NPE should not be thrown.
14067 2006-06-27 Tom Tromey <tromey@redhat.com>
14069 * configure.ac: Create gjar, gnative2ascii, gserialver.
14070 * tools/gappletviewer.in: Quote $@.
14071 * tools/gkeytool.in: Likewise.
14072 * tools/gjarsigner.in: Likewise.
14073 * tools/gjar.in: New file.
14074 * tools/gnative2ascii.in: Likewise.
14075 * tools/gserialver.in: Likewise.
14076 * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
14078 (bin_SCRIPTS): Likewise.
14080 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
14082 * java/lang/management/ThreadMXBean.java:
14083 (getThreadInfo(long[])): Corrected return type.
14084 (getThreadInfo(long[], int)): Likewise.
14086 2006-06-27 Mark Wielaard <mark@klomp.org>
14088 * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
14089 nothing when listener is null.
14090 (removeFlavorListener): Likewise.
14092 * java/awt/datatransfer/DataFlavor.java
14093 (getRepresentationClassFromMime): Renamed to
14094 getRepresentationClassFromMimeThrows.
14095 (isRepresentationClassInputStream): Use Class.isAssignableFrom().
14096 (isRepresentationClassSerializable): Likewise.
14097 (isFlavorJavaFileListType): Likewise and check primary and
14099 (getParameter): Parameters are separated by semi-colons.
14100 (DataFlavor(Class,String,String)): Do some sanity checks.
14101 (DataFlavor(String,String,ClassLoader)): Call
14102 getRepresentationClassFromMimeThrows.
14103 (DataFlavor(String)): Likewise.
14104 (equals(DataFlavor)): Special case primary type text and charset
14107 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14109 * java/awt/Component.java
14110 (setName): Fire required PropertyChangeEvent,
14111 * java/awt/Label.java
14112 (getText): Removed redundant brackets,
14113 (generateName): New method (override),
14114 (nextLabelNumber): New field,
14115 (getUniqueLong): New method.
14117 2006-06-27 Roman Kennke <kennke@aicas.com>
14119 * gnu/java/awt/peer/swing/SwingComponentPeer.java
14120 (createImage): Delegate this to the parent.
14121 (handleEvent): Only handle PAINT/UPDATE events when the
14122 component is actually showing.
14123 (hide): Repaint the parent after hiding a component.
14124 (prepareImage): Have only one return point.
14125 (setVisible): Delegate to show() and hide().
14126 (createVolatileImage): Added null check to avoid NPE.
14128 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14130 * java/awt/Label.java: Reformatted source code.
14132 2006-06-27 Roman Kennke <kennke@aicas.com>
14134 * java/awt/image/BufferedImage.java
14135 (getSource): Use a fixed DirectColorModel to deliver the
14136 RGB pixels to the ImageConsumer.
14138 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14140 * java/awt/Point.java
14141 (setLocation(double, double)): Round to nearest integer coordinates.
14143 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14145 * java/awt/Component.java
14146 (minSizeSet): New field,
14147 (maxSize): Likewise,
14148 (maxSizeSet): Likewise,
14149 (isMaximumSizeSet): Implemented,
14150 (isMinimumSizeSet): Likewise,
14151 (isPreferredSizeSet): Likewise,
14152 (setMaximumSize): Likewise,
14153 (setMinimumSize): Likewise,
14154 (setPreferredSize): Likewise.
14156 2006-06-27 Roman Kennke <kennke@aicas.com>
14158 * javax/imageio/spi/IIORegistry.java
14159 (IIORegistry): Added BMP codec.
14161 2006-06-27 Mark Wielaard <mark@klomp.org>
14163 * javax/swing/JComponent.java
14164 (firePropertyChange(String,char,char)): New override method.
14166 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14168 * java/lang/Thread.java:
14169 (getState()): New method.
14170 * java/lang/management/ClassLoadingMXBean.java:
14171 Corrected class documentation.
14172 * java/lang/management/ManagementFactory.java:
14173 Added new temporary marked stub to get thread bean.
14174 * java/lang/management/OperatingSystemMXBean.java:
14175 Corrected class documentation.
14176 * java/lang/management/RuntimeMXBean.java:
14177 Corrected class documentation.
14178 * java/lang/management/ThreadInfo.java,
14179 * java/lang/management/ThreadMXBean.java:
14181 * vm/reference/java/lang/VMThread.java:
14182 (getState()): New method.
14183 * vm/reference/java/lang/management/VMThreadInfo.java:
14186 2006-06-26 Sven de Marothy <sven@physto.se>
14188 * gnu/javax/imageio/gif/GIFFile.java
14189 * gnu/javax/imageio/gif/GIFImageReader.java
14190 * gnu/javax/imageio/gif/GIFImageSpi.java
14191 * gnu/javax/imageio/gif/GIFStream.java
14193 * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
14195 2006-06-26 Tania Bento <tbento@redhat.com>
14197 * java/awt/List.java
14198 (List): A list should have at least 4 visible rows.
14199 (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
14200 not an IllegalArgumentException.
14201 (makeVisible): Should not throw an IllegalArgumentException if
14202 the specified index is out of range.
14204 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14206 * javax/swing/JList.java
14207 (getNextMatch): Reimplemented to perform a circular search for the
14210 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14212 * javax/swing/JList.java
14213 (init): Set default value for visibleRowCount to 8,
14214 (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
14216 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14218 * javax/swing/JList.java
14219 (valueIsAdjusting): Removed,
14220 (init): Removed initialization of valueIsAdjusting field,
14221 (getValueIsAdjusting): Fetch value from selection model,
14222 (setValueIsAdjusting): Store value in selection model.
14224 2006-06-26 Roman Kennke <kennke@aicas.com>
14226 * javax/swing/plaf/basic/BasicListUI.java
14227 (installKeyboardActions): Rewritten to fit with the
14228 ActionMap/InputMap architecture.
14229 (uninstallKeyboardActions): Implemented.
14230 (ListAction): Made private. Added TODO for splitting
14231 up this bulk Action.
14232 (ListAction.ListAction): New constructor. This one
14233 takes a cmd parameter to be installed as actionCommand.
14235 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
14237 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
14238 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14240 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
14242 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
14243 * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
14244 * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
14245 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
14246 * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
14247 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
14248 * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
14249 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
14250 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14251 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14252 * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
14253 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
14254 * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
14255 * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
14256 * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
14257 * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
14258 * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
14259 * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
14260 * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
14261 * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
14262 * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
14263 * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
14264 * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
14265 * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
14266 * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
14267 * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
14268 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
14269 * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
14270 * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
14271 * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
14272 * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
14273 * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
14274 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
14275 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
14276 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
14277 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
14278 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
14279 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
14280 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
14281 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
14282 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
14283 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
14284 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
14285 * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
14286 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14287 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
14288 * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
14289 * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
14290 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
14291 * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
14292 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
14293 * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
14294 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14295 * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
14296 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
14297 * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
14298 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
14299 * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
14300 * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
14301 * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
14302 * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
14303 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
14304 * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
14305 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
14306 * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
14307 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
14308 * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
14309 * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
14310 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
14311 * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
14312 * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
14313 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
14314 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14315 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
14316 * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
14317 * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
14318 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14319 * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
14320 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
14321 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
14322 * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
14323 * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
14325 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14327 * javax/swing/JList.java
14328 (setLayoutOrientation): Check for valid argument.
14330 2006-06-26 Roman Kennke <kennke@aicas.com>
14332 * javax/swing/JComponent.java
14333 (firePropertyChange(String,int,int)): New method. Overrides
14334 Component method and makes it public.
14335 (firePropertyChange(String,boolean,boolean)): Likewise.
14337 2006-06-25 Vivek Lakshmanan <vivekl@redhat.com>
14339 * gnu/java/security/.cvsignore: New File.
14340 * gnu/java/security/Configuration.java.in: New File.
14341 * gnu/java/security/Properties.java: Change import from
14342 gnu.classpath.Configuration to gnu.java.security.Configuration.
14343 * gnu/java/security/hash/Whirlpool.java: Likewise.
14344 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14345 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14346 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14347 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14348 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14349 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14350 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14351 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14352 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14353 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
14354 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
14355 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14356 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14357 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14358 * gnu/java/security/util/Base64.java: Likewise.
14359 * gnu/java/security/x509/X509CRL.java: Likewise.
14360 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
14361 * gnu/java/security/x509/ext/Extension.java: Likewise.
14362 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14363 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14364 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14365 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14366 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14367 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14368 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14369 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14370 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
14371 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
14372 * gnu/javax/crypto/keyring/Entry.java: Likewise.
14373 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
14374 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
14375 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
14376 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14377 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14378 * gnu/javax/crypto/mac/OMAC.java: Likewise.
14379 * gnu/javax/crypto/pad/BasePad.java: Likewise.
14380 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
14381 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
14382 * gnu/javax/crypto/pad/TBC.java: Likewise.
14383 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
14384 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
14385 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
14386 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
14387 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
14388 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
14389 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
14390 * gnu/javax/security/auth/login/GnuConfiguration.java
14391 (getAppConfigurationEntry): Change reference to
14392 gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
14393 (getConfigFromUserHome): Likewise.
14394 (getInputStreamFromURL): Likewise.
14395 (getUserHome): Likewise.
14397 (processSecurityProperties): Likewise.
14398 (processSystemProperty): Likewise.
14399 (processUserHome): Likewise.
14400 * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
14401 * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
14404 2006-06-25 Carsten Neumann <cn-develop@gmx.net>
14406 * javax/swing/text/DefaultCaret.java (isActive): New method.
14408 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14410 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14411 * java/lang/management/ClassLoadingMXBean.java:
14412 (getTotalLoadedClassCount()): Corrected return type.
14413 (getUnloadedClassCount()): Likewise.
14414 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14415 (getUnloadedClassCount()): Likewise.
14417 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14419 * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14420 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14421 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14422 * gnu/javax/crypto/cipher/Square.java: Likewise.
14423 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14424 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14425 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14426 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14427 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14428 * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14429 * gnu/javax/crypto/cipher/DES.java: Likewise.
14430 * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14431 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14432 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14433 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14434 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14436 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14438 * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14439 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14440 * gnu/javax/crypto/assembly/Stage.java: Likewise.
14441 * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14442 * gnu/javax/crypto/assembly/Operation.java: Likewise.
14443 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14444 * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14445 * gnu/javax/crypto/assembly/Direction.java: Likewise.
14446 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14447 * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14448 * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14449 * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14450 * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14452 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14455 * doc/vmintegration.texinfo:
14456 Updated with information on new VM interface.
14457 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14458 * java/lang/management/ClassLoadingMXBean.java:
14459 New files implementing the class loading bean.
14460 * java/lang/management/ManagementFactory.java:
14461 (getClassLoadingMXBean()): Implemented.
14462 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14463 New VM interface file.
14465 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14467 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14468 (isBootClassPathSupported()): Use SystemProperties
14469 rather than System.getProperty.
14471 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14473 * gnu/java/security/Properties.java: Source formatting.
14474 * gnu/java/security/Registry.java: Likewise.
14476 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14478 * gnu/java/security/util/Util.java: Source formatting.
14479 * gnu/java/security/util/SimpleList.java: Likewise.
14480 * gnu/java/security/util/Sequence.java: Likewise.
14481 * gnu/java/security/util/PRNG.java: Likewise.
14482 * gnu/java/security/util/ExpirableObject.java: Likewise.
14483 * gnu/java/security/util/Base64.java: Likewise.
14484 * gnu/java/security/sig/SignatureFactory.java: Likewise.
14485 * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14486 * gnu/java/security/sig/ISignature.java: Likewise.
14487 * gnu/java/security/sig/BaseSignature.java: Likewise.
14488 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14489 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14490 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14491 * gnu/java/security/sig/rsa/RSA.java: Likewise.
14492 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14493 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14494 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14495 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14496 * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14497 * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14498 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14499 * gnu/java/security/provider/Gnu.java: Likewise.
14500 * gnu/java/security/prng/RandomEventListener.java: Likewise.
14501 * gnu/java/security/prng/RandomEvent.java: Likewise.
14502 * gnu/java/security/prng/PRNGFactory.java: Likewise.
14503 * gnu/java/security/prng/MDGenerator.java: Likewise.
14504 * gnu/java/security/prng/LimitReachedException.java: Likewise.
14505 * gnu/java/security/prng/IRandom.java: Likewise.
14506 * gnu/java/security/prng/EntropySource.java: Likewise.
14507 * gnu/java/security/prng/BasePRNG.java: Likewise.
14509 2006-06-23 Francis Kung <fkung@redhat.com>
14511 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14512 (Harness.actionPerformed): Process additional options.
14513 (J2dBenchmarkWrapper): Defer init call until after options are processed.
14514 (J2dBenchmarkWrapper.setAlias): New method.
14515 (J2dBenchmarkWrapper.setComposite): New method.
14516 (J2dBenchmarkWrapper.setFill): New method.
14517 (J2dBenchmarkWrapper.setRotation): New method.
14518 (J2dBenchmarkWrapper.setShear): New method.
14519 (J2dBenchmarkWrapper.setStroke): New method.
14520 (J2dBenchmarkWrapper.setTranslation): New method.
14521 (run): Add additional options to GUI.
14522 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14523 Added protected fields for various options.
14524 (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14525 (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14526 (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14527 (getNextColor): Renamed to setRandom.
14528 (init): Load additional image for texturing if needed.
14529 (loadBufferedImage): New method.
14530 (main): Accept additional command-line switches.
14531 (prepareGraphics): New method.
14532 (resetGraphics): New method.
14533 (runTestSuite): Accept additional image-processing options.
14534 (setRandom): Renamed from getNextColor; generate various random options
14535 (test_drawArc): Rename getNextColor to setRandom.
14536 (test_drawCubic): Likewise.
14537 (test_drawEllipse): Likewise.
14538 (test_drawGeneralPath): Likewise.
14539 (test_drawImage): Likewise.
14540 (test_drawLine): Likewise.
14541 (test_drawQuadCurve): Likewise.
14542 (test_drawRectangle): Likewise.
14543 (test_drawRoundRectangle): Likewise.
14544 (test_drawTransparentImage): Likewise.
14545 (test_fillArc): Rename getNextColor to setRandom.
14546 (test_fillEllipse): Likewise.
14547 (test_fillGeneralPath): Likewise.
14548 (test_fillRectangle): Likewise.
14549 (test_fillRoundRectangle): Likewise.
14550 (TestRecorder.getAverage): Round the average time.
14552 2006-06-23 Tom Tromey <tromey@redhat.com>
14554 * java/util/logging/LoggingMXBean.java: New file.
14555 * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14556 (loggingBean): New field.
14557 (getLoggingMXBean): New method.
14559 2006-06-23 Tania Bento <tbento@redhat.com>
14561 * java/awt/TextField.java
14562 (TextField): Default number of columns should be 0, not 1.
14563 (TextField): Check if number of columns given as argument
14564 is valid (>= 0) and set the number of columns accordingly.
14565 (TextField): Check if the string passed is null. If it is,
14566 set columns to 0, else columns is set to the length of
14569 2006-06-23 Roman Kennke <kennke@aicas.com>
14571 * javax/swing/plaf/basic/BasicInternalFrameUI.java
14572 (InternalFramePropertyChangeListener.propertyChange):
14573 Don't call getPropertyName() repeatedly. Added null checks
14574 to avoid NPEs. Call closeFrame() if the closed property
14577 2006-06-23 Roman Kennke <kennke@aicas.com>
14579 * javax/swing/JInternalFrame.java
14580 (maxTransition): Removed.
14581 (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14582 Don't initialize storedBounds here.
14583 (dipose): Rewritten to correctly dispose the JInternalFrame.
14584 (getDesktopIcon): Don't initialize desktopIcon here.
14585 (getLayer): Delegate to JLayeredPane.getLayer().
14586 (getNormalBounds): Return bounds when storedBounds == null,
14587 otherwise storedBounds.
14588 (hide): Don't change selection. Also hide the desktopIcon.
14589 (moveToBack): Call getParent() only once.
14590 (moveToFront): Call getParent() only once.
14591 (pack): Call validate() to make sure that the layout is
14592 propagated to the children.
14593 (setClosed): Fire InternalFrameEvent first, before the
14595 (setJMenuBar): Fire PropertyChangeEvent for this property.
14596 (setLayer): Delegate to JLayeredPane.
14597 (setLayeredPane): Check for null and throw IllegalArgumenException.
14598 (setMaximum): Remove handling of maxTransition and normalBounds.
14599 Should probably be done in the UI.
14600 (setNormalBounds): Store Rectangle object directly, not a copy.
14601 (setRootPane): Go into rootPaneCheckingEnabled mode so that
14602 adding the RootPane doesn't add it to the contentPane.
14603 Fire PropertyChangeEvent.
14604 (setSelected): Added condition for when this property must not
14606 (show): Don't ask the DesktopPane to select the frame. Moved
14607 code around to fire InternalFrameEvent before actually calling
14608 super.show(). Also make the desktopIcon visible.
14609 (setTitle): Fire PropertyChangeEvent unconditionally.
14611 2006-06-23 Roman Kennke <kennke@aicas.com>
14613 * javax/swing/JLayeredPane.java
14614 (getPosition): Moved code around to avoid unnecessary method calls.
14615 (setPosition): Delegate to setLayer().
14616 (insertIndexForLayer(int,int)): Delegate to new private helper method.
14617 (insertIndexForLayer(Component,int,int)): New helper method
14618 to support the use of setComponentZOrder() which doesn't remove
14619 the component and thus the insertIndexForLayer must ignore
14620 the component to be moved to get the index right.
14621 (setLayer): Added check to prevent unnecessary execution of
14622 method body. Changed to update the component order here.
14623 Added repaint() to make sure that the update becomes visible.
14624 (addImpl): Call setLayer() only when a constraint has been specified.
14625 Validate and repaint the JLayeredPane.
14627 2006-06-23 Roman Kennke <kennke@aicas.com>
14629 * java/awt/Container.java
14630 (getComponentZOrder): Use ncomponents instead of
14631 component.length so that we don't consider the empty space
14632 after the last component.
14634 2006-06-22 Roman Kennke <kennke@aicas.com>
14636 * javax/swing/JComponent.java
14637 (vetoableChangeSupport): New field.
14638 (removeVetoableChangeListener): Rewritten to use
14639 vetoableChangeSupport.
14640 (addVetoableChangeListener): Rewritten to use
14641 vetoableChangeSupport.
14642 (fireVetoableChange): Rewritten to use
14643 vetoableChangeSupport.
14644 (addPropertyChangeListener): Removed. This is handled in
14646 (firePropertyChange(String,boolean,boolean)): Likewise.
14647 (firePropertyChange(String,char,char)): Likewise.
14648 (firePropertyChange(String,int,int)): Likewise.
14649 (revalidate): Don't do anything when the commponent has no
14652 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14654 * javax/swing/JLabel.java: Updated API docs.
14656 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14658 * java/awt/Insets.java: Updated copyright year.
14659 (toString): Changed string, removed a line from the
14662 2006-06-22 Roman Kennke <kennke@aicas.com>
14664 * javax/swing/text/AbstractDocument.java
14665 (AbstractDocument): Set the i18n document property.
14666 (removeImpl): Added checks for correct boundaries.
14668 2006-06-22 Roman Kennke <kennke@aicas.com>
14670 * javax/swing/text/PlainDocument.java
14671 (rootElement): Changed type to Element.
14672 (tabSize): Removed field. This is stored in the document properties
14674 (PlainDocument): Set tabSize property. Init rootElement without
14676 (insertUpdate): Rewritten. The previous implementation did not
14677 handle some corner cases properly and was a mess.
14678 (removeUpdate): Cast rootElement to BranchElement.
14680 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14682 * javax/swing/plaf/basic/BasicLabelUI.java
14683 (installKeyboardActions): Implemented,
14684 (uninstallKeyboardActions): Implemented,
14685 (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14688 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14690 * javax/swing/JMenu.java:
14691 (removeAll): Added check for popupMenu not being null.
14693 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14695 * javax/swing/JLabel.java
14696 (getText): Updated API docs,
14697 (setText): Corrected the check for an unchanged value, and the update
14698 of the displayedMnemonicIndex.
14700 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14702 * javax/swing/JLabel.java
14703 (setDisplayedMnemonic(int)): Fire property change event AFTER updating
14705 (setDisplayedMnemonicIndex): Modified argument checking to handle case
14706 where label text is null.
14708 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14710 * javax/swing/JLabel.java
14711 (setDisplayedMnemonic): Updated API docs,
14712 (getDisplayedMnemonic): Removed unnecessary type-cast,
14713 (setDisplayedMnemonicIndex): Removed unnecessary validation,
14714 (getDisplayedMnemonicIndex): Updated API docs.
14716 2006-06-21 Jeroen Frijters <jeroen@frijters.net>
14718 * java/util/Collections (entrySet): Fixed compile error.
14720 2006-06-21 David Gilbert <david.gilbert@object-refinery.com>
14722 * javax/swing/DefaultListSelectionModel.java
14723 (getSelectionMode): Updated API docs,
14724 (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14725 (addSelectionInterval): If mode is SINGLE_SELECTION, just call
14726 setSelectionInterval(),
14727 (setSelectionInterval): Reimplemented SINGLE_SELECTION and
14728 SINGLE_INTERVAL_SELECTION cases.
14730 2006-06-21 Roman Kennke <kennke@aicas.com>
14732 * javax/swing/text/AbstractDocument.java
14733 (BranchElement.numChildren): New field.
14734 (BranchElement.BranchElement): Initialize children array with
14735 one element (that's the least number of elements that makes sense).
14736 Initialize numChildren.
14737 (BranchElement.children): Use numChildren as boundary.
14738 (BranchElement.getElement): Use numChildren as boundary.
14739 (BranchElement.getElementCount): Use numChildren as boundary.
14740 (BranchElement.getElementIndex): Use numChildren as boundary.
14741 (BranchElement.getEndOffset): Use numChildren as boundary.
14742 (BranchElement.getStartOffset): Use numChildren as boundary.
14743 (BranchElement.positionToElement): Use numChildren as boundary.
14744 (BranchElement.replace): Handle the children array more efficiently
14745 by growing in blocks > 1, and reusing space from removed elements.
14746 (LeafElement.startDelta): Removed.
14747 (LeafElement.endDelta): Removed.
14748 (LeafElement.LeafElement): Removed handling of deltas.
14749 (LeafElement.getEndOffset): Likewise.
14750 (LeafElement.getStartOffset): Likewise.
14751 * javax/swing/text/JTextComponent.java
14752 (setDocument): Added locking of the old document to avoid dangling
14753 notification beeing delivered while the document is beeing
14755 (getScrollableTracksViewportWidth): Fixed condition.
14756 * javax/swing/text/PlainDocument.java
14757 (createDefaultRoot): Create elements without AttributeSet.
14758 * javax/swing/text/rtf/RTFParser.java
14759 (parseFile): Handle slightly incorrect RTF gracefully.
14760 * javax/swing/text/rtf/RTFScanner.java
14761 (lastToken): New field.
14762 (readTokenImpl): New method.
14763 (peekToken): New method.
14764 (readToken): Changed to call readTokenImpl or return the lastToken
14765 if there's one present.
14767 2006-06-21 Tania Bento <tbento@redhat.com>
14769 * javax/swing/JMenu.java
14770 (remove): An IllegalArgumentException should be thrown if
14771 either index < 0 or if index > 0 and there are no menu
14772 components. Also, a check was added that ensures there are
14773 menu components before removing the desired the component.
14775 2006-06-21 Lillian Angel <langel@redhat.com>
14777 * javax/swing/text/DefaultCaret.java
14778 (install): Added check to prevent NPE.
14779 (propertyChange): Added checks to prevent NPEs.
14781 2006-06-21 Tania Bento <tbento@redhat.com>
14783 * javax/swing/JMenu.java
14784 Changed instantiation of popupMenu to null.
14785 (JMenu): Instantiated popupMenu to new JPopupMenu.
14786 (JMenu): Instantiated popupMenu to new JPopupMenu.
14787 (add): Changed popupMenu to getPopupMenu().
14788 (add): Changed popupMenu to getPopupMenu().
14789 (add): Changed popupMenu to getPopupMenu().
14790 (add): Changed popupMenu to getPopupMenu().
14791 (remove): Changed popupMenu to getPopupMenu().
14792 (remove): Changed popupMenu to getPopupMenu().
14793 (insert): Changed popupMenu to getPopupMenu().
14794 (setSelectedHelper): Changed popupMenu to getPopupMenu().
14795 (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
14796 (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
14797 (getMenuComponentCount): Changed popupMenu to getPopupMenu().
14798 (getMenuComponents): Changed popupMenu to getPopupMenu().
14799 (getPopupMenu): Check first if popupMenu is null and if so,
14800 instantiate it to a new JPopupMenu and set the invoker.
14801 * javax/swing/plaf/basic/BasicPopupMenuUI.java
14802 (popupMenuWillBecomeVisible): Component Listener should only
14803 be added to the root container if the root container is not
14804 null. This avoids a null pointer exception.
14806 2006-06-21 Tania Bento <tbento@redhat.com>
14808 * javax/swing/JMenu.java
14809 (JMenu): Delay should be set to 200, not default of 0.
14810 (JMenu): Delay should be set to 200, not default of 0.
14811 (JMenu): Delay should be set to 200, not default of 0.
14812 (JMenu): Delay should be set to 200, not default of 0.
14813 (remove): Added check that index >= 0 before removing
14815 (getItem): Return null if item count equals 0.
14816 (isTearOff): Should throw new error and not return false.
14817 (getMenuComponent): Return null if popupMenu is null or
14818 if there are no menu components.
14820 2006-06-21 Roman Kennke <kennke@aicas.com>
14822 * java/awt/font/FontRenderContext.java:
14823 (equals): Added special conditions for affineTransform beeing
14826 2006-06-21 Roman Kennke <kennke@aicas.com>
14828 * javax/swing/UIManager.java
14829 (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
14830 must not be cleared.
14832 2006-06-21 Roman Kennke <kennke@aicas.com>
14834 * javax/swing/plaf/metal/MetalUtils.java
14835 (paintHorizontalGradient): Use paintHorizontalGradient2D when
14836 Graphics2D is available. Use fillRect instead of drawLine, this
14838 (paintVerticalGradient): Use paintHorizontalGradient2D when
14839 Graphics2D is available. Use fillRect instead of drawLine, this
14841 (paintHorizontalGradient2D): New method. Paints gradient
14842 using Graphics2D functions.
14843 (paintVerticalGradient2D): New method. Paints gradient
14844 using Graphics2D functions.
14846 2006-06-21 Roman Kennke <kennke@aicas.com>
14848 * javax/swing/plaf/basic/BasicButtonListener.java
14849 (propertyChange): Create a TextLayout and store it in the button
14850 when the 'text' property changes.
14851 * javax/swing/plaf/basic/BasicButtonUI.java
14852 (paintText): Call BasicGraphicsUtils utility method for
14853 drawing strings, instead of Graphics.drawString().
14854 * javax/swing/plaf/basic/BasicGraphicsUtils.java
14855 (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
14856 cached text layouts as client properties in JComponents.
14857 (drawString(JComponent,Graphics,String,int,int)): New helper method.
14858 (drawStringUnderlineCharAt): New helper method.
14859 * javax/swing/plaf/basic/BasicMenuItemUI.java
14860 (PropertyChangeHandler.propertyChange): Update cached text layout
14861 when 'text' property changes. Use equals() instead of == for
14863 (paintText): Use new BasicGraphicsUtils methods for painting
14864 the cached text layout.
14865 (installListeners): Call super.installListeners() and remove
14866 the unneeded listener installs.
14867 (uninstallListeners): Call super.uninstallListeners() and remove
14868 the unneeded listener uninstalls.
14870 2006-06-21 Roman Kennke <kennke@aicas.com>
14872 * javax/swing/plaf/basic/BasicTextUI.java
14873 (PropertyChangeHandler.propertyChange): Handle document listener
14875 (background): Removed unneeded fields.
14876 (inactiveBackground): Remove unneeded fields.
14877 (installUI): Install the document listener. Slightly changed
14878 order of operations. Don't trigger modelChanged().
14879 (installDefaults): Only install properties when the
14880 current properties are null or instances of UIResource.
14881 (installListeners): Removed unnecessary listener installs.
14882 (installDocumentListeners): Removed unneeded method.
14883 (uninstallListeners): Removed unnecessary listener uninstalls.
14884 (modelChanged): Removed call to installDocumentListeners().
14885 * javax/swing/plaf/basic/BasicTextFieldUI.java
14886 (propertyChange): Update the colors by fetching them from
14887 SharedUIDefaults. Fixed conditions.
14888 * javax/swing/plaf/basic/SharedUIDefaults.java
14889 (getColor): New method.
14891 2006-06-21 Roman Kennke <kennke@aicas.com>
14893 * javax/swing/SizeSequence.java
14894 (SizeSequence): Initialize array with correct number of entries.
14896 2006-06-21 Roman Kennke <kennke@aicas.com>
14898 * javax/swing/JSplitPane.java
14899 (setDividerLocation): Substract divider size when computing
14902 2006-06-21 Roman Kennke <kennke@aicas.com>
14904 * javax/swing/JComponent.java
14905 (paintChildrenWithOverlap): Determine opaque property by
14906 calling the corresponding Component method, without requiring
14908 (paintChildrenOptimized): Removed old unneeded code.
14909 (paintImmediately): Use JComponent's convertRectangleToAncestor()
14910 method instead of SwingUtilities.convertRectangle(). This is
14913 2006-06-21 Roman Kennke <kennke@aicas.com>
14915 * javax/swing/AbstractButton.java
14916 (init): Call setText() instead of setting the property directly,
14917 so that listeners (especially in the UI) get notified.
14919 2006-06-21 Roman Kennke <kennke@aicas.com>
14921 * javax/swing/UIManager.java
14922 (MultiplexUIDefaults): New inner class.
14923 (currentUIDefaults): Changed type to be MultiplexUIDefaults.
14924 (userUIDefaults): Changed name to be lookAndFeelDefaults.
14925 (<cinit>): Call setLookAndFeel(String) instead of trying to load
14926 directly. Print stacktrace if something goes wrong.
14927 (get): Delegate call to currentUIDefaults.
14928 (getDefaults): If currentUIDefaults is null, then lazily instantiate
14930 (getUI): Delegate call to currentUIDefaults.
14931 (put): Delegate call to currentUIDefaults.
14932 (setLookAndFeel): Initialize currentUIDefaults with
14933 MultiplexUIDefaults. Set lookAndFeelDefaults.
14934 (setLookAndFeel): Use current thread's context classloader for
14937 2006-06-21 Roman Kennke <kennke@aicas.com>
14939 * javax/swing/text/GapContent.java
14940 (GapContentPosition.GapContentPosition): Replace
14941 Collections.binarySearch with call to local search() to make
14942 sure we find the first object that equals the searched object.
14943 (setPositionsInRange): Likewise.
14944 (adjustPositionsInRange): Likewise.
14945 (search): New helper method.
14947 2006-06-21 Gary Benson <gbenson@redhat.com>
14949 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
14950 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
14951 * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
14953 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
14955 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
14956 APPLETVIEWER_EXECUTABLE to gappletviewer.
14958 2006-06-20 Tom Tromey <tromey@redhat.com>
14960 PR classpath/28095:
14961 * java/net/URL.java (URL): Throw MalformedURLException if a
14962 RuntimeException is caught. Chain exceptions.
14964 2006-06-20 Lillian Angel <langel@redhat.com>
14966 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14967 (create): Added check to prevent Seg Fault. Should not
14968 set the label if it is null.
14969 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
14970 (setText): Changed to be a non-native function. Calls
14971 setNativeText if the String parameter is non-null.
14972 (setNativeText): Replaces old native setText function.
14973 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
14974 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
14975 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
14976 Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
14977 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
14978 Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
14980 2006-06-20 Lillian Angel <langel@redhat.com>
14982 * javax/swing/text/JTextComponent.java
14983 (AccessibleJTextComponent): Rewrote all javadocs
14984 for this inner class.
14986 2006-06-20 Francis Kung <fkung@redhat.com>
14988 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14989 Changed many members to be protected.
14990 (J2dBenchmark): moved to init() instead.
14991 (init): New method.
14992 (main): Call init() after creating object
14993 (testComplete): New method.
14994 (test_drawArc): Use maxTests varialbe instead of constant.
14995 (test_drawCubicCurve): Likewise.
14996 (test_drawEllipse): Likewise.
14997 (test_drawGeneralPath): Likewise.
14998 (test_drawImage): Likewise.
14999 (test_drawLine): Likewise.
15000 (test_drawQuadCurve): Likewise.
15001 (test_drawRectangle): Likewise.
15002 (test_drawRoundRectangle): Likewise.
15003 (test_drawTransparentImage): Likewise.
15004 (test_fillArc): Likewise.
15005 (test_fillEllipse): Likewise.
15006 (test_fillGeneralPath): Likewise.
15007 (test_fillRectangle): Likewise.
15008 (test_fillRoundRectangle): Likewise.
15009 (GraphicsTest.runSetNoClipping): Added runCount parameter.
15010 (GraphicsTest.runSetWithClipping): Likewise.
15011 (GraphicsTest.runSetZeroClipping): Likewise.
15012 (GraphicsTest.run): Added checks for more option flags.
15013 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
15016 2006-06-20 Roman Kennke <kennke@aicas.com>
15018 * javax/swing/text/GapContent.java
15019 (GapContentPosition.mark): New field.
15020 (GapContentPosition.index): Removed.
15021 (GapContentPosition.GapContentPosition): Changed to take the
15022 real offset as parameter. Added handling of reference counter.
15023 Try to cleanup before creating new instances.
15024 (getOffset): Delegate to the Mark method with same name.
15025 (Mark): New class, encapsulating a mark.
15026 (positionMarks): Removed field.
15027 (numMarks): Removed field.
15028 (marks): New field.
15029 (queueOfDeath): New field.
15030 (GapContent): Removed init of old fields, added init of new fields.
15031 (createPosition): Added check for validity of arguments.
15032 Create GapContentPosition directly with offset.
15033 (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
15034 (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
15035 (shiftGapStartDown): Call resetMarksAtZero().
15036 (shiftGapEndUp): Call resetMarksAtZero().
15037 (replace): Don't call resetMarksAtZero().
15038 (setPositionInRange): Replaced by simpler algorithm, similar to
15039 adjustPositionsInRange.
15040 (adjustPositionsInRange): Adapted to use of Mark objects.
15041 (resetMarksAtZero): Reset all marks that point to zero instead
15042 of only the first one.
15043 (dumpMarks): Adjusted to dump Mark objects.
15044 (insertMark): Removed.
15045 (garbageCollect): New method. Cleans up the marks list.
15046 (binarySearch): Removed.
15048 2006-06-20 Lillian Angel <langel@redhat.com>
15050 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15051 (drawImage): Added call to updateColor because
15052 Cairo seems to lose the current color.
15054 2006-06-20 Gary Benson <gbenson@redhat.com>
15056 * java/awt/Toolkit.java: Add security check.
15057 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
15058 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
15060 2006-06-20 Raif S. Naffah <raif@swiftdsl.com.au>
15062 * gnu/java/security/key/dss/DSSKey.java: Source formatting.
15063 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15064 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15065 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
15066 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
15067 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15068 * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
15069 * gnu/java/security/key/dss/FIPS186.java: Likewise.
15070 * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
15071 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15072 * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
15073 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15074 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15075 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
15076 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15077 * gnu/java/security/key/IKeyPairCodec.java: Likewise.
15078 * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
15079 * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
15080 * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
15082 2006-06-19 Lillian Angel <langel@redhat.com>
15084 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15085 (drawImage): Should always use getRGB to get the pixels.
15086 getData returns an incorrect array of pixels.
15088 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
15090 * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
15091 * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
15092 * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
15093 * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
15094 * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
15095 * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
15096 * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
15097 * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
15098 * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
15099 * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
15100 * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
15101 * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
15102 * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
15103 * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
15104 * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
15105 * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
15106 * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
15107 * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
15108 * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
15109 * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
15110 * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
15111 * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
15112 * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
15113 * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
15114 * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
15115 * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
15116 * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
15117 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
15118 * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
15119 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
15120 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15121 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
15122 * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
15123 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15124 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
15125 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15127 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
15129 * NEWS: Updated (delayed) for security tools and tools.texinfo.
15131 2006-06-19 Roman Kennke <kennke@aicas.com>
15133 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15134 (drawImage): Clip volatile image correctly.
15135 (drawVolatileImage): Added arguments for clipping.
15136 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15137 (drawVolatileImage): Added arguments for clipping. Clip image
15139 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15141 2006-06-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15144 * java/rmi/server/UID.java (constructor): Synchronized
15145 the whole constructor on the UID class.
15147 2006-06-19 Roman Kennke <kennke@aicas.com>
15149 * javax/swing/RepaintManager.java
15150 (addInvalidComponent): Only add component that are displayable,
15151 that have displayable parents and that have a validateRoot.
15152 Also, don't validate components that have a CellRendererPane
15155 2006-06-19 David Gilbert <david.gilbert@object-refinery.com>
15157 * javax/swing/plaf/IconUIResource.java
15158 (IconUIResource): Throw IllegalArgumentException for null icon.
15160 2006-06-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15163 * java/rmi/server/UID.java (constructor): First increment
15164 uidCounter, and then use the value.
15166 2006-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
15168 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15169 * java/awt/GridBagConstraints.java: Indent.
15171 2006-06-18 Tom Tromey <tromey@redhat.com>
15173 * native/jni/gconf-peer/.cvsignore: New file.
15175 2006-06-18 Tom Tromey <tromey@redhat.com>
15177 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
15178 Also handle short options.
15180 2006-06-18 Jim Huang <jserv@kaffe.org>
15182 PR classpath/28076:
15183 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
15186 2006-06-19 Mark Wielaard <mark@klomp.org>
15188 * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
15189 on gnu/java/util/prefs/gconf/%.class.
15190 * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
15191 chache typo, should be cache.
15192 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
15194 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
15196 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
15197 Don't return a value for void function.
15198 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
15200 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
15201 Mark clazz as unused. Return JNI_FALSE, not NULL for jboolean
15203 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
15204 Mark clazz ad unused.
15206 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
15208 * gnu/java/security/hash/Whirlpool.java: Source formatting.
15209 * gnu/java/security/hash/Tiger.java: Likewise.
15210 * gnu/java/security/hash/Sha512.java: Likewise.
15211 * gnu/java/security/hash/Sha384.java: Likewise.
15212 * gnu/java/security/hash/Sha256.java: Likewise.
15213 * gnu/java/security/hash/Sha160.java: Likewise.
15214 * gnu/java/security/hash/RipeMD160.java: Likewise.
15215 * gnu/java/security/hash/RipeMD128.java: Likewise.
15216 * gnu/java/security/hash/MD5.java: Likewise.
15217 * gnu/java/security/hash/MD4.java: Likewise.
15218 * gnu/java/security/hash/MD2.java: Likewise.
15219 * gnu/java/security/hash/IMessageDigest.java: Likewise.
15220 * gnu/java/security/hash/Haval.java: Likewise.
15221 * gnu/java/security/hash/HashFactory.java: Likewise.
15222 * gnu/java/security/hash/BaseHash.java: Likewise.
15224 2006-06-18 Sven de Marothy <sven@physto.se>
15226 * java/awt/event/KeyEvent.java:
15227 (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
15228 * natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15229 Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
15231 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
15233 * gnu/java/security/util/Prime2.java: Removed.
15234 * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
15235 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15236 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
15237 (generate): Use isProbablePrime() in BigInteger instead of Prime2.
15238 * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
15239 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15240 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
15241 (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
15242 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
15243 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15244 * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
15245 (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
15247 2006-06-18 Sven de Marothy <sven@physto.se>
15249 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15250 * java/awt/font/TextMeasurer.java: Fix copyright date,
15251 remove commented-out code.
15253 2006-06-18 Sven de Marothy <sven@physto.se>
15255 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15256 (FreetypeGlyphVector, clone): Implement cloning.
15257 (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
15258 * java/awt/font/TextMeasurer.java: Implement.
15259 * java/awt/font/LineBreakMeasurer.java:
15260 Reimplement to use TextMeasurer.
15261 * java/awt/font/TextLayout.java
15263 (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
15264 (getText, getFont): New private static methods.
15265 (setCharIndices): New method.
15266 * java/text/AttributedString.java
15267 (AttributedString): Fix constructor to stop at end point.
15269 2006-06-17 Tom Tromey <tromey@redhat.com>
15271 * lib/gen-classlist.sh.in: Search all top-level directories, not
15272 just 'org', in external.
15274 2006-06-12 Mario torre <neugens at limasoftware.net>
15276 * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
15277 * gnu/java/util/prefs/GConfBasedFactory.java: new class.
15278 * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
15279 * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
15281 * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
15282 * configure.ac: update to introduce new files. Added options
15283 to build gconf native peer used by the GConf preference backend.
15284 * include/Makefile.am: update to introduce new files.
15285 * native/jni/Makefile.am update to introduce new files.
15286 * scripts/check_jni_methods.sh: added three new ignored file
15288 * native/jni/gconf-peer/Makefile.am: new Makefile needed to
15289 build gconf-peer shared library.
15291 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15293 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
15294 Use Integer.valueOf() instead of new Integer().
15295 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15296 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15297 * gnu/java/security/util/Sequence.java: Likewise.
15298 * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
15299 * gnu/java/security/x509/X509Certificate.java: Likewise.
15300 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
15301 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15302 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
15303 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
15304 * gnu/javax/crypto/cipher/DES.java: Likewise.
15305 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15306 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
15307 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15308 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
15309 * gnu/javax/crypto/cipher/Square.java: Likewise.
15310 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
15311 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15312 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
15313 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
15314 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
15315 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
15316 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15317 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15318 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
15319 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
15320 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
15321 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15322 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15323 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
15324 * gnu/javax/crypto/mac/UHash32.java: Likewise.
15325 * gnu/javax/crypto/mac/UMac32.java: Likewise.
15326 * gnu/javax/crypto/mode/BaseMode.java: Likewise.
15327 * gnu/javax/crypto/mode/EAX.java: Likewise.
15328 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
15329 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
15330 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
15331 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
15332 * java/security/cert/X509CertSelector.java: Likewise.
15334 2006-06-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
15336 * javax/management/DynamicMBean.java:
15337 (setAttribute): Fixed to return void.
15338 * javax/management/MBeanFeatureInfo.java:
15341 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15343 On behalf of Vivek Lakshmanan <vivekl@redhat.com>
15344 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
15345 (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
15346 into engineInitHandler and reuse the code in
15347 engineInit(int, Key, AlgorithmSpec, SecureRandom).
15348 (engineInitHandler): New method.
15349 (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
15350 null, use random or default information when possible.
15352 2006-06-16 Francis Kung <fkung@redhat.com>
15354 * examples/gnu/classpath/examples/swing/Demo.java:
15355 (mkButtonBar): Rename FillRect to JNIOverhead.
15356 (mkMenuBar): Rename FillRect to JNIOverhead.
15357 * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
15358 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
15359 * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
15360 Moved from old FillRect.
15362 2006-06-16 Tom Tromey <tromey@redhat.com>
15364 * tools/.cvsignore: Added new tool names.
15366 2006-06-16 Keith Seitz <keiths@redhat.com>
15368 * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
15369 instantiation so that EventManager is created when getDefault
15371 * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
15374 2006-06-16 Keith Seitz <keiths@redhat.com>
15376 * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
15377 (_initCount): New field.
15378 (Jdwp): Don't set isDebugging until fully initialized.
15379 (subcomponentInitialized): New method.
15380 (run): Wait for PacketProcessor and JdwpConnection to
15381 startup, then set isDebugging, and then let this thread
15383 * gnu/classpath/jdwp/transport/JdwpConnection.java
15384 (run): Add synchronization notification.
15385 * gnu/classpath/jdwp/processor/PacketProcessor.java
15388 2006-06-16 Tom Tromey <tromey@redhat.com>
15390 * NEWS: Updated for JSR 166.
15392 2006-06-16 Tom Tromey <tromey@redhat.com>
15394 * lib/Makefile.am (compile_classpath): Added jsr166.
15395 * configure.ac: Added external/jsr166/Makefile.
15396 * external/Makefile.am (SUBDIRS): Added jsr166.
15397 * external/jsr166/Makefile.am: New file.
15398 * lib/gen-classlist.sh.in: Look in external/jsr166.
15400 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15402 * gnu/classpath/jdwp/event/ExceptionEvent:
15403 Added Object instance to javadoc in constructor
15404 * gnu/classpath/jdwp/event/MethodEntryEvent:
15406 * gnu/classpath/jdwp/event/MethodExitEvent:
15408 * gnu/classpath/jdwp/event/SingleStepEvent:
15411 2006-06-16 Tom Tromey <tromey@redhat.com>
15413 Imported JSR 166 reference implementation:
15414 * .classpath: Added external/jsr166.
15415 * java/util/concurrent/CopyOnWriteArrayList.java: New file.
15416 * java/util/AbstractQueue.java: Removed.
15417 * java/util/Queue.java: Removed.
15418 * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
15419 (runPeriodic): Added explicit cast.
15420 * external/jsr166/java/util/ArrayDeque.java (clone): Use
15423 2006-06-16 Tom Tromey <tromey@redhat.com>
15425 * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15427 (getCallerClass): Now static.
15428 * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15430 2006-06-16 Lillian Angel <langel@redhat.com>
15432 * java/awt/FileDialog.java
15433 (FileDialog): Added @since tag to API docs.
15434 (FileDialog): Likewise.
15435 (FileDialog): Likewise.
15436 * java/awt/Font.java:
15437 Added @since tag to TYPE1_FONT field docs.
15438 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15439 (isThumbRollover): Likewise.
15440 (setThumbRollover): Likewise.
15441 (getSupportsAbsolutePositioning): Likewise.
15442 * javax/swing/plaf/basic/BasicSliderUI.java:
15443 (isDragging): Likewise.
15445 2006-06-16 Lillian Angel <langel@redhat.com>
15447 * java/awt/FileDialog.java
15448 (FileDialog): Implemented.
15449 (FileDialog): Implemented.
15450 (FileDialog): Implemented.
15451 * java/awt/Font.java:
15452 Added TYPE1_FONT constant field.
15454 2006-06-16 Lillian Angel <langel@redhat.com>
15456 * java/awt/font/TextLayout.java:
15457 Removed unneeded imports.
15458 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15459 Added new thumbRollover field.
15460 (mouseMoved): Added code to set thumbRollover field.
15461 (isThumbRollover): New function.
15462 (setThumbRollover): New function.
15463 (getSupportsAbsolutePositioning): Implemented. This
15464 needs to be changed once the feature has been
15466 * javax/swing/plaf/basic/BasicSliderUI.java:
15467 Added new dragging field.
15468 (mouseDragged): Initialized dragging field.
15469 (isDragging): New function.
15470 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15471 (focusGained): Marked as not implemented.
15472 (focusLost): Likewise.
15474 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15476 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15477 Added check for null ThreadId to avoid null pointer
15480 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15482 * javax/swing/DefaultComboBoxModel.java
15483 (removeElementAt): Set new selected item by calling setSelectedItem().
15485 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15487 * javax/swing/DefaultButtonModel.java
15488 (setSelected): Use 'this', not null, for the item in the ItemEvent.
15490 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15492 * javax/swing/event/ListDataEvent.java: updated API docs, plus
15493 (ListDataEvent): Handle case where index0 > index1,
15494 (toString): Implemented.
15496 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15498 * javax/swing/plaf/metal/MetalMenuBarUI.java:
15499 (update): Added subexpression to if-statement.
15501 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15503 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15504 (installDefaults): Removed unneccessary code.
15505 (paint): Removed complex if-cascade, revert to default icon if
15506 icon property is not set.
15507 (getPreferredSize): New method.
15509 2006-06-16 Roman Kennke <kennke@aicas.com>
15512 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15513 (drawImage): Don't use setClip() but instead clipRect() to
15514 intersect the current clip with a new one.
15516 2006-06-15 Tom Tromey <tromey@redhat.com>
15518 * scripts/sanitize-jsr166: New file.
15519 * external/jsr166/IMPORTING: New file.
15520 * vm/reference/sun/reflect/Reflection.java: New file.
15521 * vm/reference/gnu/classpath/Unsafe.java: Moved...
15522 * vm/reference/sun/misc/Unsafe.java: ...here.
15524 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
15526 * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15527 gjarsigner and keytool to gkeytool.
15528 * doc/tools.texinfo: Add note about tool exectable names.
15529 * tools/Makefile.am: Rename appletviewer to gappletviewer,
15530 jarsigner to gjarsigner and keytool to gkeytool.
15531 * tools/appletviewer.in: Rename ...
15532 * tools/gappletviewer.in: New file.
15533 * tools/jarsigner.in: Rename ...
15534 * tools/gjarsigner.in: New file.
15535 * tools/keytool.in: Rename ...
15536 * tools/gkeytool.in: New file.
15537 * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15539 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15541 * javax/management/AttributeList.java:
15542 Add serialization UID.
15543 * javax/management/DynamicMBean.java:
15545 * javax/management/JMRuntimeException.java:
15546 Add serialization UID and correct name
15547 of serialized field.
15548 * javax/management/MBeanInfo.java: New file.
15550 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15552 * javax/management/AttributeList.java,
15553 * javax/management/JMRuntimeException.java,
15554 * javax/management/RuntimeOperationsException.java:
15557 2006-06-15 Lillian Angel <langel@redhat.com>
15559 * java/awt/font/TextLayout.java:
15560 DEFAULT_CARET_POLICY changed to be public static final.
15562 2006-06-15 Tania Bento <tbento@redhat.com>
15564 * javax/swing/plaf/metal/MetalScrollButton.java
15565 (MetalScrollButton): Should set 'focusable' to false.
15567 2006-06-15 Tania Bento <tbento@redhat.com>
15569 * javax/swing/plaf/basic/BasicArrowButton.java
15570 (BasicArrowButton): Should set 'focusable' to false.
15571 (BasicArrowButton): Should set 'focusable' to false.
15573 2006-06-15 Mark Wielaard <mark@klomp.org>
15575 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15576 (getGraphicsConfiguration): Return default screen device.
15577 * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15579 (GtkVolatileImage): Record initiating component.
15580 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15581 (getDeviceConfiguration): Return configuration of image component.
15583 2006-06-15 Mark Wielaard <mark@klomp.org>
15585 * java/awt/geom/GeneralPath.java (closePath): Return if path already
15588 2006-06-15 Mark Wielaard <mark@klomp.org>
15590 * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15591 with null argument.
15593 2006-06-15 Kyle Galloway <kgallowa@redhat.com>
15595 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15596 (matches): Added explicit brackets to return statement.
15598 2006-06-15 Tania Bento <tbento@redhat.com>
15600 * javax/swing/JRadioButtonMenuItem.java
15601 (JRadioButtonMenuItem): Should set 'focusable' to false.
15603 2006-06-15 Tania Bento <tbento@redhat.com>
15605 * javax/swing/JCheckBoxMenuItem.java
15606 (JCheckBoxMenuItem): Should set 'focusable' to false.
15608 2006-06-15 Tania Bento <tbento@redhat.com>
15610 * javax/swing/AbstractButton.java:
15611 (AbstractButton): 'Focusable' should be set to true and not false.
15613 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15615 * java/lang/management/ManagementFactory.java:
15616 Add private constructor to prevent instance creation.
15617 * java/lang/management/ManagementPermission.java:
15620 2006-06-15 Francis Kung <fkung@redhat.com>
15622 * javax/swing/plaf/basic/BasicArrowButton.java:
15623 (BasicArrowButton): move client property for not triggering out
15625 * javax/swing/plaf/basic/BasicComboBoxUI.java:
15626 (configureArrowButton): set client property for not triggering
15627 (installUI): set client property for not triggering
15628 * javax/swing/plaf/basic/BasicLookAndFeel.java:
15629 (PopupHelper.mousePressed): check client property for triggering
15631 2006-06-15 Roman Kennke <kennke@aicas.com>
15634 * javax/swing/RepaintManager.java
15635 (blitBuffer): Substract coordinates the other way around.
15637 2006-06-15 Roman Kennke <kennke@aicas.com>
15640 * javax/swing/JComponent.java
15641 (paintImmediately2): Only paint component without double buffering
15642 when all of it's parents have also double buffering disabled.
15643 (isPaintingDoubleBuffered): New helper method.
15645 2006-06-15 David Gilbert <david.gilbert@object-refinery.com>
15647 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15648 (draw(Shape)): Pass null transform to getPathIterator(),
15649 (getClip): Likewise,
15650 * gnu/java/print/PostscriptGraphics2D.java
15651 (drawStringShape): Pass null transform to getPathIterator(),
15652 (writeShape): Likewise,
15653 * java/awt/Shape.java: Small updates to API docs.
15655 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15657 * javax/naming/InitialContext.java:
15658 (list(javax.naming.Name)): Fixed generic type.
15659 (list(String)): Likewise.
15660 (listBindings(javax.naming.Name)): Likewise.
15661 (listBindings(String)): Likewise.
15663 2006-06-14 Roman Kennke <kennke@aicas.com>
15665 * javax/swing/plaf/basic/BasicComboBoxUI.java
15666 (getAccessibleChildrenCount): Implemented.
15667 (getAccessibleChild): Implemented.
15668 (isNavigationKey): Implemented.
15669 (KeyHandler.keyPressed): Implemented.
15671 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15673 * java/lang/management/ManagementPermission.java:
15674 Added serialization UID.
15675 * javax/management/Attribute.java: Likewise.
15676 * javax/management/MBeanException.java,
15677 * javax/management/ReflectionException.java:
15678 Added serialization UID and changed to extend
15679 javax.management.JMException.
15681 2006-06-14 Lillian Angel <langel@redhat.com>
15683 * java/awt/Component.java
15684 (ignoreOldMouseEvents): Made static.
15685 (translateEvent): Made static.
15686 * java/awt/TextComponent.java
15687 (ignoreOldMouseEvents): Made static.
15689 2006-06-14 Mark Wielaard <mark@klomp.org>
15691 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15693 (drawRect): Likewise.
15694 (fillRect): Likewise.
15696 2006-06-14 Lillian Angel <langel@redhat.com>
15698 * java/awt/Component.java
15699 (ignoreOldMouseEvents): New helper function.
15700 (translateEvent): Changed to be non-static and use new helper.
15701 * java/awt/TextComponent.java
15702 (ignoreOldMouseEvents): New helper function.
15704 2006-06-14 Roman Kennke <kennke@aicas.com>
15706 * javax/swing/RepaintManager.java
15707 (MERGE_REGIONS): New constant flag.
15708 (commitBuffer): Exclude the merging of regions by default. This
15709 was causing painting artifacts in some applications, especially
15710 when different areas of the GUI are updated synchronously.
15712 2006-06-14 Roman Kennke <kennke@aicas.com>
15714 * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15715 New file. This is a benchmark for AWT 1.1 style graphics operations.
15716 * examples/gnu/classpath/examples/awt/palme.gif: New file.
15717 * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15719 2006-06-14 Tom Tromey <tromey@redhat.com>
15721 * java/io/File.java (getParent): Javadoc fix.
15723 2006-06-14 Tom Tromey <tromey@redhat.com>
15725 * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15727 * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15728 when index entry does not exist.
15730 2006-06-14 Tania Bento <tbento@redhat.com>
15732 * javax/swing/AbstractButton.java
15733 (AbstractButton): Set focusable to false, not true.
15735 2006-06-14 Tania Bento <tbento@redhat.com>
15737 * javax/swing/JMenuItem.java
15738 (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15740 2006-06-14 Tania Bento <tbento@redhat.com>
15742 * javax/swing/JCheckBoxMenuItem.java
15743 (JCheckBoxMenuItem): Added check to set the selected state.
15745 2006-06-14 Roman Kennke <kennke@aicas.com>
15747 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15748 (cairoDrawLine): New native method.
15749 (cairoDrawRect): New native method.
15750 (cairoFillRect): New native method.
15751 (drawLine): Use special native method.
15752 (drawRect): Use special native method.
15753 (fillRect): Use special native method.
15754 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15755 (cairoDrawLine): New native method.
15756 (cairoDrawRect): New native method.
15757 (cairoFillRect): New native method.
15758 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15760 2006-06-14 Mark Wielaard <mark@klomp.org>
15762 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15763 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15764 cannot be allocated.
15766 2006-06-14 Tom Tromey <tromey@redhat.com>
15769 * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15770 * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15772 2006-06-14 Roman Kennke <kennke@aicas.com>
15774 * javax/swing/JComponent.java
15775 (isRepainting): New flag.
15776 (paintImmediately2): Set isRepainting flag.
15777 (getRoot): Removed obsolete method.
15778 (paintDoubleBuffered): Differenciate between paint calls from
15779 RepaintManager and from AWT refresh. Call
15780 RepaintManager.commitBuffer with this and local coordinates.
15781 (findOpaqueParent): Stop searching at heavyweight component. These
15783 (paintChildrenOptimized): Don't paint heavyweight children. These
15784 should care for themselves.
15785 (paintChildrenWithOverlap): Don't paint heavyweight children. These
15786 should care for themselves.
15787 * javax/swing/RepaintManager.java
15788 (getOffscreenBuffer): Associate offscreen buffer with toplevel
15790 (getVolatileOffscreenBuffer): Associate offscreen buffer with
15791 toplevel windows only.
15792 (getRoot): Removed obsolete method.
15793 (commitBuffer): Blit buffer on nearest heavyweight.
15794 (blitBuffer): New helper method.
15795 (getHeavyweightParent): New helper method.
15796 (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
15797 * javax/swing/SwingUtilities.java
15798 (convertRectangleToAncestor): New helper method.
15800 2006-06-14 Raif S. Naffah <raif@swiftdsl.com.au>
15802 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
15803 Condition all trace/debug code based on Configuration.DEBUG.
15804 Use logger instead of STDOUT and ot STDERR.
15806 2006-06-13 Lillian Angel <langel@redhat.com>
15808 * native/plugin/gcjwebplugin.cc
15809 (NP_Initialize): Removed code to create whitelist file.
15810 (GCJ_New): Added code to create whitelist file.
15811 (plugin_user_trusts_documentbase): Fixed error message.
15813 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15815 * javax/swing/plaf/metal/MetalIconFactory.java
15816 (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to
15817 prevent overwriting border,
15818 (VerticalSliderThumbIcon.gradientMask): Likewise.
15820 2006-06-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
15822 * javax/management/AttributeNotFoundException.java,
15823 * javax/management/InvalidAttributeValueException.java,
15824 * javax/management/JMException.java,
15825 * javax/management/MBeanException.java,
15826 * javax/management/OperationsException.java,
15827 * javax/management/ReflectionException.java:
15830 2006-06-13 Roman Kennke <kennke@aicas.com>
15832 * java/awt/Component.java
15833 (dispatchEvent): Handle events even when consumed (this might be
15834 picked up later in the dispatching chain).
15835 * javax/swing/plaf/basic/BasicLookAndFeel.java
15836 (PopupHelper.mousePressed): Don't consume event. Only close popup
15837 when target component isn't flagged as DONT_CANCEL_POPUP.
15838 (DONT_CANCEL_POPUP): New package private constant for flagging
15839 special components that don't trigger popup closing.
15840 * javax/swing/plaf/basic/BasicArrowButton.java
15841 (BasicArrowButton): Set client property for not triggering closing
15844 2006-06-13 Lillian Angel <langel@redhat.com>
15846 * java/awt/image/PixelGrabber.java
15847 (PixelGrabber): Added to API documentation.
15849 2006-06-13 Keith Seitz <keiths@redhat.com>
15851 From Kyle Galloway <kgallowa@redhat.com>:
15852 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15853 (ExceptionOnlyFilter): Allow null refId.
15855 * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
15856 compatibility with filters.
15857 (getParameter): Modified to allow access to above.
15859 2006-06-13 Sven de Marothy <sven@physto.se>
15861 * gnu/java/awt/peer/gtk/CairoSurface.java
15862 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15863 (create): Use stride in ints.
15865 2006-06-13 Keith Seitz <keiths@redhat.com>
15867 From Kyle Galloway <kgallowa@redhat.com>:
15868 * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
15870 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15872 * javax/swing/plaf/basic/BasicSliderUI.java
15873 (calculateThumbSize): Removed unnecessary code,
15874 (calculateThumbLocation): Shift position by one,
15875 (calculateTickRect): Shift position by one when ticks are displayed,
15876 (calculateLabelRect): Calculate rect differently according to whether
15877 or not the labels are visible,
15878 (paintTrack): Shift track down one pixel.
15880 2006-06-13 Lillian Angel <langel@redhat.com>
15882 * java/awt/image/PixelGrabber.java
15883 (PixelGrabber): Removed check to throw exception. JDK does
15885 (startGrabbing): Removed line to print stacktrace.
15887 2006-06-13 Mark Wielaard <mark@klomp.org>
15889 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
15890 allocate unused AffineTransform. Add comment about conversion to
15892 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
15893 Recognize identity transform as "easy". Always convert to
15894 BufferedImage before calling super.
15896 2006-06-13 Roman Kennke <kennke@aicas.com>
15898 * java/awt/Component.java
15899 (getGraphics): Translate child graphics correctly.
15900 (dispatchEvent): Only dispatch event if it hasn't been consumed
15901 yet by the global dispatcher.
15902 * javax/swing/plaf/basic/BasicLookAndFeel.java
15903 Added some API docs.
15904 (PopupHelper.mousePressed): Consume the event after closing
15907 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15909 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting
15911 * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
15912 * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
15913 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
15914 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
15915 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
15916 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
15917 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
15918 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
15919 * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
15920 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
15921 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
15922 * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
15923 * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
15924 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
15925 * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
15926 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
15928 2006-06-12 Sven de Marothy <sven@physto.se>
15930 * java/awt/font/LineBreakMeasurer.java): Implement.
15932 2006-06-12 Keith Seitz <keiths@redhat.com>
15934 From Kyle Galloway <kgallowa@redhat.com>:
15935 * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
15937 2006-06-12 Keith Seitz <keiths@redhat.com>
15939 From Kyle Galloway <kgallowa@redhat.com>:
15940 * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
15942 * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
15944 2006-06-12 Roman Kennke <kennke@aicas.com>
15946 * javax/swing/JComponent.java
15947 (paintDoubleBuffered): Correctly translate and clip the Graphics
15949 (clipAndTranslateGraphics): New helper method.
15951 2006-06-12 Roman Kennke <kennke@aicas.com>
15953 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15954 (copy): Use getClip() to copy the clip. Make copied transform
15955 null when original transform is null. Set clip here.
15956 (setTransform): Correctly update the clip.
15957 (setTransformImpl): New method. Updates the actual transform for
15959 (transform): Correctly update the clip.
15960 (translate): Correctly update the clip.
15961 (clip): Handle null clip and argument correctly.
15962 (clipRect): Avoid creating new Rectangle objects.
15963 (getClip): Get the correct copy of the clip.
15964 (setClip): Correctly handle null argument.
15965 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15966 (CairoSurfaceGraphics): Don't set the clip here. The clip can either
15967 be null or whatever has been set in copy().
15968 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15969 (drawImage): Add translation to the image coordinates.
15970 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15971 (VolatileImageGraphics): Don't set clip here. The clip can either
15972 be null or whatever has been set in copy().
15974 2006-06-12 Keith Seitz <keiths@redhat.com>
15976 From Kyle Galloway <kgallowa@redhat.com>:
15977 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15978 (forCaught): Removed unused/unnecessary method.
15979 (forUncaught): Likewise.
15980 (matches): Implement.
15982 2006-06-12 Keith Seitz <keiths@redhat.com>
15984 From Kyle Galloway <kgallowa@redhat.com>:
15985 * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
15987 2006-06-12 Keith Seitz <keiths@redhat.com>
15989 From Kyle Galloway <kgallowa@redhat.com>:
15990 * gnu/classpath/jdwp/event/Event.java: Added constants for
15992 (getParameter): Changed parameter type from Class to int.
15993 * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
15994 Changed from Class type to constants.
15995 * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
15997 * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
15999 * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
16001 * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
16003 * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
16005 * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
16007 * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
16009 * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
16011 * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
16014 2006-06-12 Lillian Angel <langel@redhat.com>
16016 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
16017 (StandaloneAppletWindow): Changed title of standalone window.
16019 2006-06-12 Lillian Angel <langel@redhat.com>
16021 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16022 (layoutContainer): Added missing selectedComponent assignment.
16024 2006-06-12 Lillian Angel <langel@redhat.com>
16026 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16027 (layoutContainer): Added check to prevent exception.
16029 2006-06-12 Tom Tromey <tromey@redhat.com>
16031 * java/lang/Thread.java (uncaughtException): Javadoc fix.
16033 2006-06-12 Mark Wielaard <mark@klomp.org>
16035 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
16038 (lock): New method.
16039 (unlock): Likewise.
16040 (draw): Use lock() and unlock().
16042 (drawRenderedImage): Likewise.
16043 (drawImage): Likewise.
16044 (drawGlyphVector): Likewise.
16046 2006-06-12 Roman Kennke <kennke@aicas.com>
16048 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16049 (drawPixels): Include alpha in parameter list.
16050 (cairoFill): Include alpha in parameter list.
16051 (setComposite): Don't modify the color.
16052 (draw(Shape))): Use fill when the current composite has an alpha
16053 of != 1.0, so that the stroked shaped will be composited.
16054 (fill(Shape)): Call cairoFill() with alpha.
16055 (drawImage): Call drawPixels or drawSurface with alpha.
16056 (drawGlyphVector): When composite alpha is != 1.0, render the
16057 outline using fill() to enable compositing for text.
16058 (drawRaster): Call drawPixels with alpha.
16059 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16060 (nativeDrawSurface): Include alpha in parameter list.
16061 (drawSurface): Include alpha in parameter list. Pass it to
16062 nativeDrawSurface().
16063 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
16064 * include/gnu_java_awt_peer_gtk_CairoSurface.h:
16066 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16067 (drawPixels): Handle possible alpha for compositing.
16068 (cairoFill): Likewise.
16069 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16070 (nativeDrawSurface): Handle possible alpha for compositing.
16072 2006-06-12 Mark Wielaard <mark@klomp.org>
16074 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16075 Notify data when completely done. Wait for worker thread to finish.
16076 Rethrow any pending exceptions.
16077 (exception): New field.
16078 (run): Store pending exception.
16080 2006-06-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
16082 * java/lang/management/ManagementPermission.java:
16085 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
16087 * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
16089 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
16091 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16092 Use String.charAt().
16094 2006-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
16096 * doc/tools.texinfo
16097 (Applet Tools): New chapter.
16098 (appletviewer Tool): New section.
16099 (gcjwebplugin): New section.
16101 2006-06-11 Mark Wielaard <mark@klomp.org>
16103 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16104 Takes GdkPixbufWriter.
16105 (GdkPixbufWriter): Implements Runnable.
16106 (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
16108 (DATADONE): New static final field.
16110 (write(byte[])): New method.
16112 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
16113 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
16114 Get dataOutputWriteID from writeClass.
16115 (stream_save_request): Change stream field to writer.
16116 (save_to_stream): Remove FIXME, call writer.
16117 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
16120 2006-06-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
16123 Mention new VM interface and use of properties.
16124 * doc/vmintegration.texinfo:
16125 Update with new gnu.java.lang.management section.
16126 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
16128 * java/lang/management/ManagementFactory.java:
16129 (getRuntimeMXBean()): Implemented.
16130 * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
16131 New VM interface file.
16133 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16136 * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
16137 debug code based on Configuration.DEBUG.
16138 Use logger instead of STDOUT and ot STDERR.
16139 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
16140 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
16141 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
16142 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
16143 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
16144 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
16145 * gnu/javax/crypto/pad/TBC.java: Likewise.
16146 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
16147 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
16148 * gnu/javax/crypto/pad/BasePad.java: Likewise.
16149 * gnu/javax/crypto/mac/OMAC.java: Likewise.
16150 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
16151 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
16152 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
16153 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
16154 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
16155 * gnu/javax/crypto/keyring/Entry.java: Likewise.
16156 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
16157 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
16158 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
16159 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
16160 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
16161 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
16162 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
16163 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
16164 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
16165 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
16166 * gnu/java/security/Properties.java: Likewise.
16167 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
16168 * gnu/java/security/x509/X509CRL.java: Likewise.
16169 * gnu/java/security/x509/ext/Extension.java: Likewise.
16170 * gnu/java/security/util/Prime2.java: Likewise.
16171 * gnu/java/security/util/Base64.java: Likewise.
16172 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
16173 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
16174 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
16175 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
16176 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
16177 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
16178 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
16179 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
16180 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
16181 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
16182 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
16183 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
16184 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
16185 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
16186 * gnu/java/security/hash/Whirlpool.java: Likewise.
16188 2006-06-11 Mark Wielaard <mark@klomp.org>
16190 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16191 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
16192 Remove unused variable glyph_index.
16194 2006-06-11 Mark Wielaard <mark@klomp.org>
16196 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
16197 Don't recurse, return false if not an BufferedImage and no image
16199 * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
16200 end_gdk_drawing() to finally block.
16202 (drawRenderedImage): Likewise.
16203 (drawImage): Likewise.
16204 (drawGlyphVector): Likewise.
16206 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16208 * doc/tools.texinfo: Added text for new -cacert command.
16209 Re-structured sections.
16210 * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
16211 for -cacert command.
16212 * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
16213 (_CACERT): Likewise.
16214 (shutdownThread): New field.
16215 (Main): Install shutdown thread.
16216 (main): Uninstall shutdown thread.
16217 (start): Handle new -cacert command.
16218 (getParser): Likewise.
16219 (teardown): Increased visibility.
16220 (ShutdownHook): New inner class.
16221 * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
16223 2006-06-11 Sven de Marothy <sven@physto.se>
16225 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16226 (setupGlyphMetrics): New method. Add glyphmetrics caching.
16227 (getOutline): Operate on the shape directly.
16228 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16229 (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
16230 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16231 (getGlyph renamed getGlyphs)
16232 * java/awt/geom/AffineTransform.java
16233 (getTranslateInstance): Set fields directly.
16234 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16235 (getGlyphs): Get all glyph codes at once.
16237 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16240 * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
16242 2006-06-11 Sven de Marothy <sven@physto.se>
16244 * java/awt/font/TextLayout.java
16245 (getLogicalHighlightShape): Add check.
16246 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16247 (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
16249 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16251 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16252 Check that every component of 'cn' starts with a valid Java identifier char.
16254 2006-06-10 Tom Tromey <tromey@redhat.com>
16256 * java/io/File.java (pathSeparator): Typo fix.
16258 2006-06-10 Mark Wielaard <mark@klomp.org>
16260 * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
16262 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16263 Mark all unused parameters.
16264 (cp_gtk_get_cairo_t): Removed.
16265 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
16266 Don't mix declerations and statements.
16267 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
16268 Mark all unused parameters.
16269 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
16270 Get cairographics2d pointer directly.
16271 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
16272 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
16273 Use jlong to pass pointer.
16274 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16275 Mark all unused parameters.
16276 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16277 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
16278 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
16279 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
16280 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
16281 * include/java_io_VMFile.h: Regenerated.
16283 2006-06-10 Roman Kennke <kennke@aicas.com>
16285 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16286 (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
16287 instead of setClip(), so that an already present clip is intersected
16290 2006-06-10 Mark Wielaard <mark@klomp.org>
16292 * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
16293 Call getSize() to avoid accessor method.
16295 2006-06-10 Mark Wielaard <mark@klomp.org>
16297 * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
16298 Qualify ElementSpec.
16300 2006-06-10 Mark Wielaard <mark@klomp.org>
16302 * lib/.cvsignore: Add sun.
16303 * lib/Makefile.am (dist-hook): Likewise.
16305 2006-06-10 Roman Kennke <kennke@aicas.com>
16307 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16308 * gnu/java/awt/peer/gtk/CairoSurface.java
16309 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16310 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16311 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16312 * native/jni/gtk-peer/cairographics2d.h
16313 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16314 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16315 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16316 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16317 Changed method signatures and calls to pass native pointers directly
16318 into the JNI code, in order to avoid costly lookups on each
16320 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
16321 * include/gnu_java_awt_peer_gtk_CairoSurface.h,
16322 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
16323 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
16326 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16329 * javax/swing/text/DefaultStyledDocument.java
16330 (ElementBuffer.insertContentTag):
16331 Do not recreate leaves and do not remove elements here.
16333 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16335 * javax/swing/text/html/HTMLDocument.java
16336 (HTMLReader.HiddenAction): Implemented.
16338 2006-06-10 Roman Kennke <kennke@aicas.com>
16340 * javax/swing/RepaintManager.java
16341 (getVolatileOffscreenBuffer): Store the created buffer.
16342 * javax/swing/JComponent.java
16343 (paintDoubleBuffered): Try to use a volatile offscreen buffer
16344 for better performance.
16346 2006-06-10 Roman Kennke <kennke@aicas.com>
16348 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16349 (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
16351 (getRealBounds): Overridden to return the correct bounds.
16353 2006-06-10 Roman Kennke <kennke@aicas.com>
16355 * javax/swing/plaf/metal/MetalButtonUI.java
16356 (update): Fixed to paint the gradient under the correct conditions.
16357 (updateWidthGradient): Removed.
16358 (isToolbarButton): New helper method.
16359 (isDrawingGradient): New helper method.
16361 2006-06-09 Roman Kennke <kennke@aicas.com>
16363 * javax/swing/JTabbedPane.java
16364 (setSelectedIndex): Don't change the visibility of the components,
16365 this is done by the UI class.
16366 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16367 (TabbedPaneLayout.layoutContainer): Change visibility of component
16368 here, depending on the selected index. Only do this if the new
16369 selected component is not null. Some programs seem to expect
16371 (visibleComponent): New field.
16372 (getVisibleComponent): Changed to return visibleComponent field.
16373 (setVisibleComponent): Changed to set the visibility of
16374 the old and new visible component.
16376 2006-06-09 Roman Kennke <kennke@aicas.com>
16378 * javax/swing/JComponent.java
16379 (paintChildrenOptimized): Paint component with a new Graphics
16380 object to protect the other painting code from modifications
16381 done in that object, and avoid cleanup ops on possibly dispose()ed
16384 2006-06-09 Sven de Marothy <sven@physto.se>
16386 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16387 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16388 Use GTK locks while disposing (Xlib) surface.
16390 2006-06-09 Tom Tromey <tromey@redhat.com>
16392 * lib/Makefile.am (install-data-local): Copy 'sun' files.
16393 (uninstall-local): Delete 'sun' directory.
16394 (glibj.zip): Include 'sun' classes.
16395 (clean-local): Delete 'sun' directory.
16396 * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
16398 2006-06-09 Roman Kennke <kennke@aicas.com>
16400 * gnu/java/awt/java2d/AbstractGraphics2D.java
16401 (drawImage): Fixed scaling.
16402 (fillShape): Removed offset handling.
16403 (fillShapeImpl): Limit scanlining to device bounds.
16404 (getSegments): Removed offset handling.
16405 * gnu/java/awt/java2d/PolyEdge.java
16406 (toString): Include isClip flag in output.
16408 2006-06-08 Sven de Marothy <sven@physto.se>
16410 * java/awt/font/TextLayout.java
16411 (getOutline): Allow null transform.
16413 2006-06-08 Sven de Marothy <sven@physto.se>
16415 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16416 (drawString): Use TextLayout instead of GlyphVector.
16418 2006-06-08 Sven de Marothy <sven@physto.se>
16420 * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16421 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16422 New constructor for bidirectionality.
16423 (getGlyphMetrics): Return whitespace glyphs.
16424 (getLogicalBounds): Offset rectangles to correct positions.
16425 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16426 (getBaselineFor): Default to ROMAN_BASELINE.
16427 (GdkFontLineMetrics): Guess some values for underline and
16429 (layoutGlyphVector): Use bidirectionality.
16430 * java/awt/font/TextLayout.java: Implement, mostly.
16432 2006-06-09 Anthony Green <green@redhat.com>
16434 PR classpath/27888:
16435 * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16436 * java/util/Collections.java (binarySearch): Use unsigned shift.
16437 * java/util/Arrays.java (binarySearch): Use unsigned shift.
16439 2006-06-09 Tom Tromey <tromey@redhat.com>
16441 * tools/.cvsignore: Added .deps.
16443 2006-06-09 Kazuya Ujihara <ujihara@aurora.dti.ne.jp>
16445 PR classpath/27966:
16446 * gnu/javax/security/auth/login/ConfigFileParser.java
16447 (validateClassName): Quote '.' in regexp.
16449 2006-06-09 Tom Tromey <tromey@redhat.com>
16451 PR classpath/23863:
16452 * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16454 * native/fdlibm/mprec.c: New version from newlib. Commented out
16455 some includes. Added <assert.h>.
16456 (_reent, _Bigint): New defines.
16457 (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16458 (__ULong, __Long): New types.
16459 (_calloc_r): New function.
16460 (Balloc): Dynamically add new _freelist entries as needed.
16461 * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16462 MAX_BIGNUMS to size _x[].
16463 (struct _Jv_reent): _freelist now a _Jv_Bigint**. Removed
16464 _allocation_map, num. Added _max_k.
16466 2006-06-09 Roman Kennke <kennke@aicas.com>
16468 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16469 (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16472 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16474 * java/awt/image/BufferedImage.java
16475 (BufferedImage(int, int, int)): Added API docs,
16476 (getProperty(String)): Return correct value for undefined properties,
16477 (getPropertyNames()): Added comments and removed FIXME.
16479 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
16481 * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16482 (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16484 2006-06-09 Francis Kung <fkung@redhat.com>
16486 * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16487 (getPreferredSize): Return correct height for null or empty
16490 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16492 * java/awt/datatransfer/DataFlavor.java
16493 (readExternal): Mark as stub,
16494 (writeExternal): Likewise,
16495 * java/awt/dnd/DropTargetContext.java
16496 (dropComplete): Mark as stub,
16497 (acceptDrag): Likewise,
16498 (rejectDrag): Likewise,
16499 (acceptDrop): Likewise,
16500 (rejectDrop): Likewise,
16501 (getCurrentDataFlavors): Likewise,
16502 (getTransferable): Likewise,
16503 * java/awt/dnd/DropTargetDropEvent.java
16504 (dropComplete): Mark as stub.
16506 2006-06-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16508 * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16509 (constructor): Do not lowercase the values.
16510 * javax/swing/text/html/HTMLDocument.java
16511 (HTMLReader.addSpecialElement): Implemented.
16512 * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16514 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16516 On behalf of Matthew Wringe <mwringe@redhat.com>
16517 * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16518 * gnu/javax/crypto/pad/ISO10126.java: New class.
16519 * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16520 (getInstance): Added support for ISO-10126 scheme.
16521 (getNames): Likewise.
16522 Cache result for speed.
16524 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16526 * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16527 flexible self-test by sub-classes.
16528 (test1BlockSize): New method.
16530 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16532 * javax/swing/plaf/basic/BasicLookAndFeel.java
16533 (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16534 * javax/swing/plaf/basic/BasicScrollBarUI.java
16535 (installKeyboardActions): Implemented,
16536 (uninstallKeyboardActions): Implemented,
16537 (getInputMap): New method,
16538 (getActionMap): New method,
16539 (createActionMap): New method,
16540 (installUI): Call installKeyboardActions(),
16541 (uninstallUI): Call uninstallKeyboardActions().
16543 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16545 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16546 (getActionMap): Use correct key to store action map.
16548 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16550 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16551 (executeInstruction): Added NOT support.
16553 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16555 * sun/reflect/annotation/AnnotationInvocationHandler.java:
16558 2006-06-08 Tom Tromey <tromey@redhat.com>
16560 * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16563 2006-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
16565 * java/lang/management/RuntimeMXBean.java:
16568 2006-06-08 Lillian Angel <langel@redhat.com>
16570 * native/plugin/gcjwebplugin.cc:
16571 (NP_Shutdown): Freed whitelist_filename.
16573 2006-06-08 Lillian Angel <langel@redhat.com>
16575 * native/plugin/Makefile.am:
16576 Removed DATA_DIRECTORY.
16577 * native/plugin/gcjwebplugin.cc:
16578 Added new global fields for whitelist_file
16579 and data_directory. Removed WHITELIST_FILE.
16580 (NP_Initialize): Initialized new fields. Also,
16581 Changed to use new fields.
16582 (NP_Shutdown): Freed data_directory.
16583 (GCJ_New): Changed to use new fields.
16584 (plugin_ask_user_about_documentbase): Likewise.
16586 2006-06-08 Lillian Angel <langel@redhat.com>
16588 * native/plugin/Makefile.am:
16589 Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16590 * native/plugin/gcjwebplugin.cc:
16591 Changed all instances of PLUGIN_DATA_DIRECTORY
16594 2006-06-08 Roman Kennke <kennke@aicas.com>
16596 * java/awt/LightweightDispatcher.java
16597 (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16598 with convertPointToChild(). This is more efficient and avoids
16599 problems with getLocationOnScreen().
16600 (findTarget): Check for component beeing showing() early.
16601 Simplified AWTUtilities.convertPoint() to a simple substraction
16603 (convertPointToChild): New helper method.
16605 2006-06-08 Thomas Fitzsimmons <fitzsim@redhat.com>
16607 * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16610 2006-06-08 Tom Fitzsimmons <fitzsim@redhat.com>
16611 Lillian Angel <langel@redhat.com>
16613 * native/plugin/gcjwebplugin.cc
16614 (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16615 Also, reset initialized field.
16617 2006-06-08 Lillian Angel <langel@redhat.com>
16619 * javax/swing/plaf/basic/BasicProgressBarUI.java
16620 (paintString): Fixed to paint string at the correct location.
16622 2006-06-08 Roman Kennke <kennke@aicas.com>
16624 * javax/swing/plaf/basic/BasicTreeUI.java
16625 (createDefaultActions): Added new actions.
16626 (TreePageAction.TreePageAction): Set action name.
16627 (TreePageAction.actionPerformed): Implemented.
16628 (TreePageAction.isEnabled): Implemented.
16629 (TreeToggleAction.TreePageAction): Set action name.
16630 (TreeToggleAction.actionPerformed): Implemented.
16631 (TreeToggleAction.isEnabled): Implemented.
16632 (TreeTraverseAction.TreeTraverseAction): Set action name.
16633 (TreeTraverseAction.actionPerformed): Use action name as command.
16634 (TreeTraverseAction.isEnabled): Implemented.
16636 2006-06-08 Roman Kennke <kennke@aicas.com>
16638 * javax/swing/plaf/basic/BasicTreeUI.java
16639 (installKeyboardActions): Rewritten to correctly install the UI
16640 input and action maps.
16641 (getActionMap): New helper method.
16642 (createDefaultActionMap): New helper method.
16643 (TreeHomeAction.TreeHomeAction()): Implemented.
16644 (TreeHomeAction.actionPerformed): Implemented.
16645 (TreeHomeAction.isEnabled): Implemented.
16646 (TreeIncrementAction.TreeIncrementAction()): Implemented.
16647 (TreeIncrementAction.actionPerformed): Use action name as command.
16648 (TreeIncrementAction.isEnabled): Implemented.
16650 2006-06-08 Mark Wielaard <mark@klomp.org>
16653 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16654 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16657 2006-06-08 Mark Wielaard <mark@klomp.org>
16659 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16660 (attrs): Removed unused static.
16662 2006-06-08 David Gilbert <david.gilbert@object-refinery.com>
16664 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16665 (getInputMap): New method,
16666 (getActionMap): New method,
16667 (createActionMap): New method,
16668 (installKeyboardActions): Implemented,
16669 (uninstallKeyboardActions): Implemented.
16671 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16673 * javax/swing/border/MatteBorder.java:
16674 (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16676 (paintBorder): Added if-statement to abort painting early.
16678 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16681 * gnu/xml/dom/DomIterator.java:
16682 (successor): Changed expression.
16684 2006-06-08 Sven de Marothy <sven@physto.se>
16686 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16687 (defaultLayout): Do kerning.
16688 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16689 (getKerning): Correct class name, removed unused variable.
16691 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
16693 * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16694 libqtpeer.so unconditionally.
16696 2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
16698 * java/util/InputMismatchException.java:
16701 2006-06-07 Andreas Tobler <a.tobler@schweiz.ch>
16703 * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16705 2006-06-07 Roman Kennke <kennke@aicas.com>
16707 * javax/swing/plaf/basic/BasicTreeUI.java
16708 (completeUIUninstall): Implemented.
16709 (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16710 editing before uninstalling anything.
16711 (isToggleEvent): Implemented.
16712 (selectPathForEvent): Make use of isToggleEvent().
16713 (ComponentHandler.componentMoved): Implemented.
16714 (ComponentHandler.startTimer): Implemented.
16715 (ComponentHandler.getScrollPane): Implemented.
16716 (ComponentHandler.actionPerformed): Implemented.
16718 2006-06-07 Francis Kung <fkung@redhat.com>
16720 * javax/swing/JMenuBar.java:
16721 (getSubElements): Do not return null values.
16723 2006-06-07 Roman Kennke <kennke@aicas.com>
16726 * gnu/regexp/BacktrackStack.java
16727 * gnu/regexp/CharIndexed.java
16728 * gnu/regexp/CharIndexedCharArray.java
16729 * gnu/regexp/CharIndexedCharSequence.java
16730 * gnu/regexp/CharIndexedInputStream.java
16731 * gnu/regexp/CharIndexedString.java
16732 * gnu/regexp/CharIndexedStringBuffer.java
16733 * gnu/regexp/RE.java
16734 * gnu/regexp/REException.java
16735 * gnu/regexp/REFilterInputStream.java
16736 * gnu/regexp/REMatch.java
16737 * gnu/regexp/REMatchEnumeration.java
16738 * gnu/regexp/RESyntax.java
16739 * gnu/regexp/REToken.java
16740 * gnu/regexp/RETokenAny.java
16741 * gnu/regexp/RETokenBackRef.java
16742 * gnu/regexp/RETokenChar.java
16743 * gnu/regexp/RETokenEnd.java
16744 * gnu/regexp/RETokenEndOfPreviousMatch.java
16745 * gnu/regexp/RETokenEndSub.java
16746 * gnu/regexp/RETokenIndependent.java
16747 * gnu/regexp/RETokenLookAhead.java
16748 * gnu/regexp/RETokenLookBehind.java
16749 * gnu/regexp/RETokenNamedProperty.java
16750 * gnu/regexp/RETokenOneOf.java
16751 * gnu/regexp/RETokenPOSIX.java
16752 * gnu/regexp/RETokenRange.java
16753 * gnu/regexp/RETokenRepeated.java
16754 * gnu/regexp/RETokenStart.java
16755 * gnu/regexp/RETokenWordBoundary.java
16756 * gnu/regexp/UncheckedRE.java
16757 * gnu/java/util/regex/BacktrackStack.java
16758 * gnu/java/util/regex/CharIndexed.java
16759 * gnu/java/util/regex/CharIndexedCharArray.java
16760 * gnu/java/util/regex/CharIndexedCharSequence.java
16761 * gnu/java/util/regex/CharIndexedInputStream.java
16762 * gnu/java/util/regex/CharIndexedString.java
16763 * gnu/java/util/regex/CharIndexedStringBuffer.java
16764 * gnu/java/util/regex/RE.java
16765 * gnu/java/util/regex/REException.java
16766 * gnu/java/util/regex/REFilterInputStream.java
16767 * gnu/java/util/regex/REMatch.java
16768 * gnu/java/util/regex/REMatchEnumeration.java
16769 * gnu/java/util/regex/RESyntax.java
16770 * gnu/java/util/regex/REToken.java
16771 * gnu/java/util/regex/RETokenAny.java
16772 * gnu/java/util/regex/RETokenBackRef.java
16773 * gnu/java/util/regex/RETokenChar.java
16774 * gnu/java/util/regex/RETokenEnd.java
16775 * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16776 * gnu/java/util/regex/RETokenEndSub.java
16777 * gnu/java/util/regex/RETokenIndependent.java
16778 * gnu/java/util/regex/RETokenLookAhead.java
16779 * gnu/java/util/regex/RETokenLookBehind.java
16780 * gnu/java/util/regex/RETokenNamedProperty.java
16781 * gnu/java/util/regex/RETokenOneOf.java
16782 * gnu/java/util/regex/RETokenPOSIX.java
16783 * gnu/java/util/regex/RETokenRange.java
16784 * gnu/java/util/regex/RETokenRepeated.java
16785 * gnu/java/util/regex/RETokenStart.java
16786 * gnu/java/util/regex/RETokenWordBoundary.java
16787 * gnu/java/util/regex/UncheckedRE.java
16788 Moved gnu.regexp classes to gnu.java.util.regex package.
16789 * java/util/regex/Matcher.java
16790 * java/util/regex/Pattern.java
16791 Adjusted import statements for new package name for gnu regexp.
16793 2006-06-07 Tom Tromey <tromey@redhat.com>
16795 PR classpath/27905:
16796 * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
16797 Added missing charsets.
16798 (charsetForName): Don't check 'extendedLoaded'.
16800 2006-06-07 Roman Kennke <kennke@aicas.com>
16803 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16804 (clip(Shape)): Implemented correctly, so that the current shape
16805 gets intersected by the parameter shape.
16807 2006-06-07 Lillian Angel <langel@redhat.com>
16809 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16810 (getTabBounds): If this method is called with a tab index
16811 that is not in the rects array, we need to re-layout the container
16814 2006-06-07 Lillian Angel <langel@redhat.com>
16816 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16817 (FreetypeGlyphVector): Removed assignment. Caused compilation error.
16818 * java/lang/String.java
16819 (codePointCount): Fixed check to match API. Shouldn't throw exception
16820 if end == count. end is 1 more than the endIndex, so end == count is
16823 2006-06-07 Gary Benson <gbenson@redhat.com>
16826 * native/jni/java-io/java_io_VMFile.c
16827 (Java_java_io_VMFile_toCanonicalForm): New method.
16828 * configure.ac: Added checks for lstat and readlink.
16829 * include/java_io_VMFile.h: Added new method.
16830 * vm/reference/java/io/VMFile.java: Use new method.
16831 * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
16832 * NEWS: Documented the above.
16833 * java/io/File.java: Javadoc fix.
16835 2006-06-07 Roman Kennke <kennke@aicas.com>
16838 * javax/swing/JTree.java
16839 (JTree()): Initialize with default model.
16840 (JTree(TreeModel)): Clear expanded state hashtable. Added comment
16841 on the updateUI() / setModel() order.
16842 (setModel): Correctly (un-)setup the listeners. Clear the expanded
16844 * javax/swing/plaf/basic/BasicTreeUI.java
16845 (BasicTreeUI()): Initialize listeners in installListeners().
16846 (setModel): Complete editing on model change. Correctly resetup
16847 the listeners. Update the layout cache accordingly.
16848 (setShowRootHandles): Complete editing and update layout. Do not
16849 call back into the JTree, this could cause cycles.
16850 (prepareForUIInstall): Implemented. Moved some init code from
16851 installUI() to this method.
16852 (completeUIInstall): Implemented. Moved some init code from
16853 installUI() to this method.
16854 (createDefaultCellEditor): Check for type of renderer, and install
16855 with null renderer when not DefaultTreeCellRenderer.
16856 (updateLayoutCacheExpandedNodes): Added null check for tree root
16858 (updateRenderer): Call updateEditor().
16859 (installListeners): Initialize the listeners here. Added some null
16860 checks to avoid NPEs.
16861 (installUI): Moved some init code to prepareForUIInstall() and
16862 completeUIInstall().
16863 (completeEditing): Return immediately if editing component is null
16864 or if the setting is to not stop editing on complete editing.
16865 (checkForClickInExpandControl): Call handleExpandControlClick()
16866 instead of toggleExpandState() directly.
16867 (isLocationInExpandControl): Rewritten to correctly determine the
16868 expand click location.
16869 (MouseHandler.mousePressed): Rewritten to make better use of the
16870 instance methods of BasicTreeUI to handle the click.
16871 (PropertyHandler.propertyChange): Handle model and cell renderer
16873 * javax/swing/tree/DefaultTreeCellEditor.java
16874 (DefaultTreeCellEditor): Removed initialization of the icon. This
16875 is done so that the constructor can deal with null renderer as the
16876 RI does. Maybe this needs more fixing.
16877 * javax/swing/tree/TreePath.java
16878 (isDescendant): Fixed this method. The previous version did too
16879 much and compared the wrong things, which lead to a ClassCastException
16881 * javax/swing/tree/VariableHeightLayoutCache.java
16882 (update): Do nothing when model is null.
16883 (setModel): Clear the tables and update the layout. Added null
16884 check to prevent NPE.
16886 2006-06-07 Sven de Marothy <sven@physto.se>
16888 * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
16890 2006-06-07 Sven de Marothy <sven@physto.se>
16892 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16893 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16894 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16897 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16898 (getGlyphVector): Removed native method.
16899 (createGlyphVector, getStringBounds): Use new GV class.
16901 * include/Makefile.am
16902 * native/jni/gtk-peer/Makefile.am
16905 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
16906 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16907 (getGlyphVector): Removed native method.
16909 2006-06-07 Chris Burdess <dog@gnu.org>
16911 * gnu/classpath/debug/TeeInputStream.java,
16912 gnu/classpath/debug/TeeOutputStream.java,
16913 gnu/classpath/debug/TeeReader.java,
16914 gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
16915 * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
16916 read more characters than absolutely necessary in tryRead method.
16918 2006-06-07 Robert Schuster <robertschuster@fsfe.org>
16920 * examples/gnu/classpath/examples/swing/Demo.java:
16921 (mkMenuBar): Put look and feel radio buttons into
16922 appropriate button group.
16924 2006-06-07 Chris Burdess <dog@gnu.org>
16926 * gnu/xml/stream/SAXParser.java,
16927 gnu/xml/stream/XMLParser.java: Add command line options for setting
16928 parsing parameters (for simpler debugging).
16929 * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
16930 closing output stream is propagated to application.
16932 2006-06-06 Mark Wielaard <mark@klomp.org>
16935 * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
16936 * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
16937 call disposeSurface.
16938 (disposeSurface): New native method.
16939 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16940 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
16942 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16943 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
16944 cairo_pattern_destroy.
16945 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16946 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16947 New function to destroy the surface.
16948 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16949 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
16950 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
16952 2006-06-06 Mark Wielaard <mark@klomp.org>
16954 * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
16957 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16959 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
16960 (paint): If has focus, paint special background color,
16961 * javax/swing/plaf/basic/BasicSplitPaneUI.java
16962 (FocusHandler.focusGained): Implemented,
16963 (FocusHandler.focusLost): Implemented.
16965 2006-06-06 Tom Tromey <tromey@redhat.com>
16967 * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
16969 (writeAttributeSet): Implemented.
16971 2006-06-06 Tom Tromey <tromey@redhat.com>
16973 * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
16975 (SpecialAction.end): Removed.
16976 (IsindexAction.end): Likewise.
16978 2006-06-06 Tom Tromey <tromey@redhat.com>
16980 * include/jni.h (JDK1_1InitArgs): New struct.
16981 (JDK1_1AttachArgs): Likewise.
16983 2006-06-06 Tom Tromey <tromey@redhat.com>
16985 * java/security/UnresolvedPermission.java (getUnresolvedType): New
16987 (getUnresolvedName): New method.
16988 (getUnresolvedActions): New method.
16989 (getUnresolvedCerts): New method.
16991 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16993 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16994 (getColor): Removed debugging code.
16996 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16998 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16999 (getColor): Added support for "rgb(red, green, blue)" notation.
17000 (translateTag): Use Boolean.TRUE, not new Boolean().
17002 2006-06-06 Roman Kennke <kennke@aicas.com>
17005 * javax/swing/JTree.java
17006 (JTree(TreeModel)): Call updateUI() before setModel().
17007 (setModel): Don't call updateUI here.
17009 2006-06-06 Lillian Angel <langel@redhat.com>
17011 * native/plugin/gcjwebplugin.cc:
17012 Fixed failure message and commenting.
17013 (NP_Initialize): Added more comments.
17015 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17017 * javax/swing/JSplitPane.java
17018 (AccessibleJSplitPane): API doc fixes,
17019 (setDividerLocation): Likewise,
17020 * javax/swing/plaf/basic/BasicLookAndFeel.java
17021 (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
17022 * javax/swing/plaf/basic/BasicSplitPaneUI.java
17023 (getInputMap): New method,
17024 (getActionMap): New method,
17025 (createActionMap): New method,
17026 (installKeyboardActions): Implemented,
17027 (uninstallKeyboardActions): Implemented.
17029 2006-06-06 Roman Kennke <kennke@aicas.com>
17032 * javax/swing/MenuSelectionManager.java
17033 (processKeyEvent): Added check to avoid
17034 ArrayIndexOutOfBoundsException.
17036 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17038 * gnu/javax/swing/text/html/htmlAttributeSet.java
17039 (getAttributeNames): Rewritten
17041 2006-06-06 Chris Burdess <dog@gnu.org>
17043 * gnu/xml/transform/TransformerImpl.java: Check type of created
17044 document (more cases).
17046 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17048 * gnu/javax/swing/text/html/htmlAttributeSet.java
17049 (clone): New method. (copyAttributes): New method.
17050 (getResolveParent): Comment fix. (getAttribute):
17051 Rewritten. (addAttribute): Rewritten.
17052 * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
17055 2006-06-06 Roman Kennke <kennke@aicas.com>
17058 * javax/swing/JMenuBar.java
17059 (processKeyBindingHelper): Added null check to prevent NPE.
17061 2006-06-06 Roman Kennke <kennke@aicas.com>
17063 * javax/swing/plaf/basic/BasicInternalFrameUI.java
17064 (ShowSystemMenuAction): New class.
17065 (installKeyboardActions): Implemented.
17066 (uninstallKeyboardActions): Implemented.
17067 * javax/swing/plaf/metal/MetalInternalFrameUI.java
17068 (installKeyboardActions): Overridden to remove showSystemMenu action.
17070 2006-06-06 Chris Burdess <dog@gnu.org>
17072 * gnu/xml/transform/TransformerImpl.java: Check type of created
17075 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17077 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
17078 (getScreenDevices): Added explicit cast.
17080 2006-06-06 Roman Kennke <kennke@aicas.com>
17082 * javax/swing/plaf/basic/BasicTextUI.java
17083 (installKeyboardActions): Use shared input map. Correctly
17084 install the input/action maps in the component's input/action
17086 (getActionMap): New helper method for fetching an ActionMap from
17087 the UIManager or creating a default one if there is none supplied
17089 (createActionMap): Add the TransferHandler's actions here. Made
17091 (getInputMap): Leave out unnecessary method parameter. Load
17093 * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
17095 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17097 * configure.ac: Added missing [ to expression.
17099 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17101 * configure.ac: Added missing { to expression.
17103 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17105 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
17106 * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
17107 * include/Makefile.am: Added
17108 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
17109 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
17110 (GdkGraphicsConfiguration): Rewritten.
17111 (getColorModel): Rewritten.
17112 (getColorModel(int)): Rewritten.
17113 (getBounds): Rewritten.
17114 (createCompatibleVolatileImage): Implemented.
17115 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
17117 (getDefaultScreenDevice): Rewritten.
17118 (nativeGetDefaultScreenDevice): New method.
17119 (getScreenDevices): Rewritten.
17120 (nativeGetScreenDevices): New method.
17121 (nativeInitState): New method.
17122 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
17124 (X11DisplayMode): New inner class.
17125 * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
17126 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
17127 * native/jni/gtk-peer/gdkdisplay.h: New file.
17128 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
17129 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
17131 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
17133 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17134 _nativeGetScreenDevices):
17136 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17137 _nativeGetDefaultScreenDevice):
17139 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
17141 * configure.ac: Added check for Xrandr library.
17143 2006-06-06 Roman Kennke <kennke@aicas.com>
17145 * javax/swing/plaf/basic/BasicTableUI.java
17146 (getMaximumSize): Don't return null. Fixed calculation of
17148 (getMinimumSize): Don't return null. Fixed calculation of
17150 (getPreferredSize): Fixed calculation of with and height. Added
17152 (getHeight): New helper method.
17154 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17156 * javax/swing/JComponent.java
17157 (getInputMap(int)): Throw IllegalArgumentException for unknown
17158 condition argument, and added API docs,
17159 (getInputMap()): Added API docs.
17161 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17163 * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
17165 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17167 * javax/swing/JTable.java
17168 (AccessibleJTableHeaderCell.header): New field,
17169 (AccessibleJTableHeaderCell.columnIndex): Likewise,
17170 (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
17171 (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
17172 (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
17173 (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
17174 (AccessibleJTable.getAccessibleChild(int)): Overridden,
17175 (AccessibleJTable.getAccessibleAt): Reimplemented.
17177 2006-06-05 Sven de Marothy <sven@physto.se>
17179 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17180 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17181 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17182 (initFromVolatile): New method.
17183 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17184 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17186 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17187 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17188 (copyArea, drawVolatileImage): New methods.
17190 2006-06-05 Tania Bento <tbento@redhat.com>
17192 * javax/swing/JFrame.java
17193 (frameInit): Set background color and fixed layout parameters.
17195 2006-06-05 Tom Tromey <tromey@redhat.com>
17197 * NEWS: Mention VMURLConnection.
17199 2006-06-05 Lillian Angel <langel@redhat.com>
17201 * native/plugin/gcjwebplugin.cc:
17202 Added new field to keep track of initialization.
17203 (plugin_start_appletviewer): Fixed to return an error value, if
17204 an error was encountered when loading the appletviewer.
17205 (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
17207 (plugin_failed): New helper function. Shows a warning if the appletviewer
17208 has not been installed.
17209 (NP_Initialize): Added code to make sure this function is only called
17212 2006-06-05 Lillian Angel <langel@redhat.com>
17214 * native/plugin/Makefile.am:
17215 Fixed to use a set plugin directory in the .mozilla directory.
17216 All applet logs are now stored here, instead of /tmp.
17217 * native/plugin/gcjwebplugin.cc:
17218 Added new fields for security warning.
17219 (GCJ_NEW): Added code to generate a security warning for all pages
17220 that spawn an appletviewer. This warning asks the user if they trust
17221 the applet and if they would like to add it to a 'whitelist'. This
17222 whitelist keeps track of all the addresses the user would like
17223 to trust indefinitely.
17224 (plugin_user_trusts_documentbase): New helper function.
17225 (plugin_add_documentbase_to_whitelist): New helper function.
17226 (plugin_ask_user_about_documentbase): New helper function.
17227 (plugin_in_pipe_callback): Fixed check to determine if channel_error
17229 (plugin_start_appletviewer): Likewise.
17230 (plugin_create_applet_tag): Reset all fields to null after they have been
17232 (plugin_send_message_to_appletviewer): Fixed all error checks to determine
17233 if channel_error has been set.
17234 (plugin_stop_appletviewer): Likewise.
17235 (NP_Initialize): Likewise. Also, added code to determine if directory and file
17238 2006-06-05 Francis Kung <fkung@redhat.com>
17241 * gnu/java/awt/peer/gtk/GtkImage.java
17242 (getSource): Added check to determine if in
17243 errorLoading state.
17244 * gnu/java/awt/peer/gtk/GtkToolkit.java
17245 (createImage): Added check to prevent NPE.
17247 2006-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17249 * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
17250 Create the ImageView, when applicable.
17251 * gnu/javax/swing/text/html/CombinedAttributes.java,
17252 javax/swing/text/html/ImageView.java: New files.
17254 2006-06-05 Roman Kennke <kennke@aicas.com>
17257 * javax/swing/text/GapContent.java
17258 (setPositionsInRange): Compare with startIndex and endIndex
17259 rather than start and end.
17260 (dumpMarks): Only dump real marks.
17262 2006-06-05 Sven de Marothy <sven@physto.se>
17264 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17265 (ComponentGraphics): Use 0,0 as clip origin.
17267 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17269 * java/util/Formattable.java,
17270 * java/util/FormattableFlags.java,
17271 * java/util/Formatter.java:
17274 2006-06-04 Tom Tromey <tromey@redhat.com>
17276 * javax/naming/Context.java (list): Genericized.
17277 (listBindings): Likewise.
17278 * javax/naming/Reference.java (addrs): Genericized.
17279 * javax/naming/InitialContext.java (myProps): Fixed type.
17280 (init): Genericized.
17282 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17284 * java/util/DuplicateFormatFlagsException.java,
17285 * java/util/FormatFlagsConversionMismatchException.java,
17286 * java/util/FormatterClosedException.java,
17287 * java/util/IllegalFormatCodePointException.java,
17288 * java/util/IllegalFormatConversionException.java,
17289 * java/util/IllegalFormatException.java,
17290 * java/util/IllegalFormatFlagsException.java,
17291 * java/util/IllegalFormatPrecisionException.java,
17292 * java/util/IllegalFormatWidthException.java,
17293 * java/util/MissingFormatArgumentException.java,
17294 * java/util/MissingFormatWidthException.java,
17295 * java/util/UnknownFormatConversionException.java,
17296 * java/util/UnknownFormatFlagsException.java:
17299 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17301 * java/lang/System.java:
17302 (getenv()): Handle cases where split only
17303 returns an array of size 1.
17305 2006-06-04 Sven de Marothy <sven@physto.se>
17307 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17308 (createVolatileImage): Pass peer to VolatileImage constructor.
17309 * java/awt/Component.java
17310 (createVolatileImage): Call peer method directly.
17312 2006-06-04 Sven de Marothy <sven@physto.se>
17314 * gnu/java/awt/peer/gtk/CairoSurface.java
17315 (getFlippedBuffer): New method.
17316 (getGtkImage): Renamed method.
17317 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17318 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17319 Renamed getSharedImage to getGtkImage.
17320 * include/gnu_java_awt_peer_gtk_CairoSurface.h
17321 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17322 (getFlippedBuffer): New method
17323 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17324 Avoid window casts.
17325 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17327 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17328 (drawVolatile): Add casts.
17329 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
17330 (getOutline): Add casts.
17331 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
17332 Comment out unused prototype.
17333 (getPixels): Add appropriate cast and comment out unused variable.
17335 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17337 * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
17338 * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
17339 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
17340 * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
17341 (getSystemInstance): Fix javadoc @link.
17342 (counter): Increased visibility.
17343 * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
17344 * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
17345 * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
17346 * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
17347 * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
17348 * gnu/javax/crypto/mode/CTR.java: Remove unused import.
17349 * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
17350 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
17351 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
17352 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
17353 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
17354 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
17355 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
17356 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
17357 * gnu/javax/crypto/mac/OMAC.java: Likewise.
17358 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
17359 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
17360 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
17361 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
17362 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
17363 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
17364 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
17365 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
17366 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
17367 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
17368 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
17369 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
17370 * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
17371 * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
17372 * gnu/javax/crypto/assembly/Direction.java: Likewise.
17373 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
17375 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17377 * gnu/java/security/PolicyFile.java: Updated copyright year.
17378 (logger): Increased visibility.
17379 * gnu/java/security/x509/Util.java: Updated copyright year.
17380 (hexDump): Fix javadoc @link.
17381 * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
17382 Removed unused import.
17383 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
17384 * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
17385 * gnu/java/security/util/ExpirableObject.java: Likewise.
17386 (destroy): Likewise.
17387 * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
17388 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
17389 Updated copyright year.
17390 (checkCRL): Fix javadoc @param.
17392 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17394 * java/lang/annotation/IncompleteAnnotationException.java:
17397 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17399 * java/lang/ProcessBuilder.java:
17401 (environment): Create as a copy.
17402 * java/lang/System.java:
17403 (EnvironmentMap.EnvironmentMap(Map<String,String>)):
17405 (EnvironmentMap.put(String,String)): Override superclass
17406 method with checks for nulls and non-Strings.
17408 2006-06-02 Sven de Marothy <sven@physto.se>
17410 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17411 (cairoPreserveClip, cairoResetClip): New methods.
17412 (setClip, clip): Reimplement.
17413 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17414 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17415 (cairoPreserveClip, cairoResetClip): New methods.
17417 2006-06-02 Sven de Marothy <sven@physto.se>
17419 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17420 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17421 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17423 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17424 (drawImage): Overloads for VolatileImage drawing.
17425 (drawVolatile): New method.
17426 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17427 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17428 (drawVolatile): New method.
17429 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17430 Unstub implementation.
17431 * include/Makefile.am
17432 * native/jni/gtk-peer/Makefile.am
17434 * native/jni/gtk-peer/gtkpeer.h
17437 2006-06-03 Roman Kennke <kennke@aicas.com>
17440 * javax/swing/plaf/basic/BasicTextUI.java
17441 (damageRange): Added null check to avoid NPE.
17443 2006-06-03 Roman Kennke <kennke@aicas.com>
17445 * javax/swing/text/PlainView.java
17446 (updateDamage): Check for valid longestLine and initialize if
17449 2006-06-03 Mark Wielaard <mark@klomp.org>
17451 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17454 2006-06-02 Sven de Marothy <sven@physto.se>
17457 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17458 (copyArea): Implement.
17459 (copyAreaImpl, getRealBounds): New methods.
17460 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17461 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17462 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17463 (copyAreaImpl, getRealBounds): Implement.
17464 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17465 (nativeCopyArea): Reimplement.
17467 2006-06-02 Andreas Tobler <a.tobler@schweiz.ch>
17469 * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17470 (XTEST_LIBS): New, substitute.
17471 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17473 2006-06-02 Roman Kennke <kennke@aicas.com>
17476 * javax/swing/text/PlainView.java
17477 (updateDamage): Rewritten for correct repainting and revalidating.
17478 (findLongestLine): New helper method.
17479 (getLineLength): New helper method.
17481 2006-06-02 Sven de Marothy <sven@physto.se>
17483 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17484 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17485 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17486 (nativeCopyArea): Change stride parameter to use # of ints.
17487 (setPixels): Add checks.
17488 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17489 (ComponentGraphics): Set background, clip.
17490 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17491 (Cairographics2D): Don't set clip.
17492 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17495 2006-06-02 Lillian Angel <langel@redhat.com>
17498 * java/awt/DefaultKeyboardFocusManager.java
17499 (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17500 to get the focused window.
17502 2006-06-01 Miriam Schuster <schmir11@web.de>
17504 * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17505 Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17507 2006-06-02 Roman Kennke <kennke@aicas.com>
17509 * javax/swing/JTable.java
17510 (columnSelectionChanged): Don't return when there's only one
17511 column (might still need repainting). Correctly calculate
17513 (valueChanged): Use return value of SwingUtilities.computeUnion
17516 2006-06-01 Keith Seitz <keiths@redhat.com>
17518 From Martin Platter <motse@complang.tuwien.ac.at>:
17519 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17520 (executeSet): Fix buffer underflow reading reference ID.
17521 * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17522 (executeParent): Fix NPE if ThreadGroup is top-level ThreadGroup.
17523 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17524 (executeSuperclass): Handle case of Object with ID zero.
17526 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17528 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17529 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17530 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17531 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17532 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17533 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17534 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17535 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17536 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17537 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17538 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17540 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17542 * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17543 (Command): Add the shutdown hook.
17544 (doCommand): Remove the shutdown hook.
17545 (ShutdownHook): New class.
17547 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17549 * tools/jarsigner.in: Use @VM_BINARY@.
17550 * tools/keytool.in: Likewise.
17552 2006-06-01 Sven de Marothy <sven@physto.se>
17554 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17555 (setColor): Update the cairo paint.
17557 2006-06-01 Mark Wielaard <mark@klomp.org>
17559 * java/util/logging/LogManager.java (createInstance): Always add
17560 original exception on warning.
17562 2006-06-01 Lillian Angel <langel@redhat.com>
17564 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17565 (prependCodebase): Fixed check. No dirname was ever considered to
17566 be a file, so every applet fell into the if-statement causing a lot
17567 of classloading problems with the applets.
17569 2006-06-01 Sven de Marothy <sven@physto.se>
17571 Patch submitted by Boris Dusek.
17572 * native/jni/qt-peer/qtmenupeer.cpp
17575 2006-06-01 Roman Kennke <kennke@aicas.com>
17577 * javax/swing/JTable.java
17578 (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17579 why the behaviour is like it is.
17580 (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17581 (AccessibleJTableHeader): New inner class.
17582 (AccessibleJTableHeaderCell): New inner class.
17583 (AccessibleJTable.lastSelectedRow): New field.
17584 (AccessibleJTable.lastSelectedColumn): New field.
17585 (AccessibleJTable.caption): New field.
17586 (AccessibleJTable.summary): New field.
17587 (AccessibleJTable.rowDescriptions): New field.
17588 (AccessibleJTable.columnDescriptions): New field.
17589 (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17590 (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17591 (AccessibleJTable.isAccessibleChildSelected): Implemented.
17592 (AccessibleJTable.addAccessibleSelection): Implemented.
17593 (AccessibleJTable.removeAccessibleSelection): Implemented.
17594 (AccessibleJTable.clearAccessibleSelection): Implemented.
17595 (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17596 (AccessibleJTable.valueChange): Implemented.
17597 (AccessibleJTable.tableRowsInserted): Implemented.
17598 (AccessibleJTable.tableRowsDeleted): Implemented.
17599 (AccessibleJTable.handleRowChange): New helper method.
17600 (AccessibleJTable.columnAdded): Implemented.
17601 (AccessibleJTable.columnMarginChanged): Implemented.
17602 (AccessibleJTable.columnMoved): Implemented.
17603 (AccessibleJTable.columnRemoved): Implemented.
17604 (AccessibleJTable.columnSelectionChanged): Implemented.
17605 (AccessibleJTable.handleColumnChange): New helper method.
17606 (AccessibleJTable.editingCanceled): Implemented.
17607 (AccessibleJTable.editingStopped): Implemented.
17608 (AccessibleJTable.getAccessibleRow): Implemented.
17609 (AccessibleJTable.getAccessibleColumn): Implemented.
17610 (AccessibleJTable.getAccessibleIndex): Implemented.
17611 (AccessibleJTable.getAccessibleCaption): Implemented.
17612 (AccessibleJTable.setAccessibleCaption): Implemented.
17613 (AccessibleJTable.getAccessibleSummary): Implemented.
17614 (AccessibleJTable.setAccessibleSummary): Implemented.
17615 (AccessibleJTable.getAccessibleRowCount): Implemented.
17616 (AccessibleJTable.getAccessibleColumnCount): Implemented.
17617 (AccessibleJTable.getAccessibleAt): Implemented.
17618 (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17619 (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17620 (AccessibleJTable.getAccessibleRowHeader): Implemented.
17621 (AccessibleJTable.setAccessibleRowHeader): Implemented.
17622 (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17623 (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17624 (AccessibleJTable.getAccessibleRowDescription): Implemented.
17625 (AccessibleJTable.setAccessibleRowDescription): Implemented.
17626 (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17627 (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17628 (AccessibleJTable.isAccessibleSelected): Implemented.
17629 (AccessibleJTable.isAccessibleRowSelected): Implemented.
17630 (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17631 (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17632 (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17633 (getAccessibleContext): Register listeners for the accessibility
17634 class on the JTable.
17636 2006-06-01 Sven de Marothy <sven@physto.se>
17638 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17639 (setPaint): Scale +1 pixel larger.
17641 2006-06-01 Sven de Marothy <sven@physto.se>
17644 * gnu/java/awt/Buffers.java (getData): Reimplement.
17645 * gnu/java/awt/peer/gtk/CairoSurface.java
17646 (getElem, setElem): Call native methods.
17648 2006-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17650 * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17652 2006-06-01 Sven de Marothy <sven@physto.se>
17654 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17655 (drawImage): Check for zero size.
17656 * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17657 (setFont): Declare new native method.
17658 (GdkTextLayout): Read some attributes.
17659 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17660 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17661 (setFont): New native method.
17663 2006-06-01 Sven de Marothy <sven@physto.se>
17665 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17666 (updateBufferedImage): Fix some errors.
17668 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17670 * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style
17672 * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17673 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17674 * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17675 * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17676 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17677 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17678 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17679 * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17680 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17681 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17683 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17685 * javax/swing/JComboBox.java: Minor source code formatting fixes,
17686 * javax/swing/JEditorPane.java: Likewise,
17687 * javax/swing/JFormattedTextField.java: Likewise,
17688 * javax/swing/JLayeredPane.java: Likewise,
17689 * javax/swing/JScrollPane.java: Likewise,
17690 * javax/swing/JSlider.java: Likewise,
17691 * javax/swing/JSpinner.java: Likewise,
17692 * javax/swing/JTree.java: Likewise,
17693 * javax/swing/JViewport.java: Likewise,
17694 * javax/swing/UIDefaults.java: Likewise,
17695 * javax/swing/UIManager.java: Likewise.
17697 2006-06-01 Sven de Marothy <sven@physto.se>
17699 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17700 (BufferedImageGraphics): Cache surfaces.
17701 (updateBufferedImage): Copy directly for certain color models.
17702 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17703 (drawImage): Reimplement.
17705 2006-06-01 Sven de Marothy <sven@physto.se>
17707 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17708 (setPixels): Don't swap, correct size.
17710 2006-05-31 Anthony Green <green@redhat.com>
17713 * java/net/InetSocketAddress.java: Defer getting the host
17714 name until somebody calls InetSocketAddress.getHostName().
17715 Fix "represenation" typo.
17717 2006-06-01 Sven de Marothy <sven@physto.se>
17719 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17720 (updateBufferedImage): Simplify.
17721 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17722 (getPixels): Don't swap.
17724 2006-06-01 Sven de Marothy <sven@physto.se>
17726 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17727 (setGradient): Reimplement.
17729 2006-06-01 Andreas Tobler <a.tobler@schweiz.ch>
17731 * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17732 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17733 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17734 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17735 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17736 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17737 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17740 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17742 * javax/swing/table/JTableHeader.java
17743 (getColumnHeaderRenderer): New method,
17744 (getAccessibleColumnHeaderRenderer): Delegate part to new
17745 getColumnHeaderRenderer() method,
17746 (getLocale): Implemented.
17748 2006-05-31 Andreas Tobler <a.tobler@schweiz.ch>
17750 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17751 (cp_gtk_grab_current_drawable): Rename
17752 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17753 cp_gtk_grab_current_drawable, remove static declaration.
17754 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17756 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17757 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17758 Remove prototype of
17759 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17760 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17762 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17763 * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17764 cp_gtk_grab_current_drawable here.
17766 2006-05-31 Sven de Marothy <sven@physto.se>
17768 Should fix PR 27835
17769 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17770 (updateBufferedImage): Keep within image bounds.
17772 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
17773 Andreas Tobler <a.tobler@schweiz.ch>
17775 * configure.ac: Check for libXrender when the GTK peers are
17776 enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17778 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17779 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17780 [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17782 2006-05-31 Lillian Angel <langel@redhat.com>
17784 * javax/swing/plaf/basic/BasicProgressBarUI.java
17785 (paintString): Implemented to paint the string vertically.
17787 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17789 * javax/swing/JTable.java
17790 (AccessibleJTable.AccessibleJTable()): Check for null editor,
17791 (AccessibleJTable.getAccessibleRole()): Overridden to return correct
17793 (AccessibleJTable.getAccessibleTable()): Likewise,
17794 (getAccessibleContext): Create new context if required.
17796 2006-05-31 Roman Kennke <kennke@aicas.com>
17798 * javax/swing/JTabbedPane.java
17799 (AccessibleJTabbedPane.stateChanged): Implemented.
17800 (Page.getAccessibleStateSet): Implemented.
17801 (Page.getAccessibleIndexInParent): Implemented.
17802 (getAccessibleContext): Add AccessibleJTabbedPane object
17803 as ChangeListener to the JTabbedPane.
17805 2006-05-31 Roman Kennke <kennke@aicas.com>
17807 * javax/swing/JMenuItem.java
17808 (getAccessibleContext): Register accessible object as ChangeListener
17810 (AccessibleJMenuItem.armed): New field.
17811 (AccessibleJMenuItem.focusOwner): New field.
17812 (AccessibleJMenuItem.pressed): New field.
17813 (AccessibleJMenuItem.selected): New field.
17814 (stateChanged): Implemented.
17816 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17818 * javax/swing/ListSelectionModel.java: Added API docs all over.
17820 2006-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17822 * examples/gnu/classpath/examples/swing/FillRect.java
17823 (paintComponent): Optionally paint lines rather than rectangles.
17824 (createContent): Added option to test line painting.
17826 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17828 * javax/swing/event/EventListenerList.java
17829 (getListenerList): Updated API docs.
17831 2006-05-30 Sven de Marothy <sven@physto.se>
17833 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17834 (drawImage): Clip scaled image to dest rectangle.
17836 2006-05-30 Sven de Marothy <sven@physto.se>
17838 * gnu/java/awt/peer/gtk/CairoSurface.java:
17839 (CairoSurface): Convert pixels properly.
17840 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17841 Remove commented-out lines.
17843 2006-05-30 Sven de Marothy <sven@physto.se>
17845 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17846 (drawImage): Use Toolkit to convert to BufferedImage.
17847 * gnu/java/awt/peer/gtk/CairoSurface.java
17848 (CairoSurface(GtkImage)): New Constructor.
17849 (getBufferedImage): New method.
17850 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17851 Don't fill background - FIXME.
17852 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17853 Remove unused methods.
17854 * gnu/java/awt/peer/gtk/GtkImage.java:
17855 (pixbuflock): New field. Methods change to use this lock.
17856 * gnu/java/awt/peer/gtk/GtkToolkit.java
17857 (createImage): Use Cairo-backed surfaces via GtkImage instead of
17859 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17860 (setPixels): Correct length in bytes.
17862 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17864 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
17865 System.loadLibrary unconditionally.
17866 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
17867 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
17868 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
17869 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
17871 2006-05-30 Mark Wielaard <mark@klomp.org>
17873 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17874 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
17875 Mark unused parameters, remove unused variables.
17877 2006-05-30 Sven de Marothy <sven@physto.se>
17879 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17880 (copyArea): Implemented.
17881 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17882 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17883 (copyAreaNative): New method.
17885 2006-05-30 Andreas Tobler <a.tobler@schweiz.ch>
17887 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17888 (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
17889 for non big endian systems.
17890 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
17892 2006-05-30 Roman Kennke <kennke@aicas.com>
17894 * gnu/java/awt/java2d/TexturePaintContext.java: New file.
17895 * java/awt/TexturePaint.java
17896 (createContext): Implemented.
17898 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17900 * javax/swing/table/DefaultTableMode.java: Initialize dataVector
17903 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17905 * java/awt/Container.java:
17906 (removeAll): Reimplemented, added note.
17908 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17910 * java/awt/Container.java:
17911 (removeAll): Implemented different removal mechanism, added note.
17913 2006-05-30 Lillian Angel <langel@redhat.com>
17916 * java/awt/Component.java:
17917 (translateEvent): Added handling to translate WindowEvents
17918 * java/awt/Window.java:
17919 Removed unneeded imports.
17921 2006-05-30 Mark Wielaard <mark@klomp.org>
17923 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
17926 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17928 * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
17930 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17932 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17933 (clearRect): Do not reuse the fg field, call updateColor.
17934 (drawRaster): Likewise.
17935 (setColor): Call updateColor.
17936 (updateColor): New method.
17938 2006-05-30 Mark Wielaard <mark@klomp.org>
17940 * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
17941 (PTR_TO_JLONG): Likewise.
17942 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17943 (getPointer): Use new conversion macros.
17944 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
17945 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17946 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
17948 (setNativeObject): Likewise.
17949 (getNativeObject): Likewise.
17950 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17951 (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
17953 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
17954 Correctly cast XID and pointer values.
17955 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17956 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
17957 Mark unused variables.
17958 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
17960 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17961 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17962 Remove unused cairographics2d struct.
17963 (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
17964 (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
17965 Use new conversion macros.
17966 * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
17968 2006-05-30 Mark Wielaard <mark@klomp.org>
17970 * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
17972 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17974 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17975 (copy): Do not reuse the fd field.
17976 (setColor): Do not set the color if the parameter
17978 (translate(double, double): Rewritten to use
17979 AffineTransform.translate.
17981 2006-05-30 Sven de Marothy <sven@physto.se>
17983 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17984 * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
17985 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17987 * include/Makefile.am
17988 * native/jni/gtk-peer/Makefile.am
17990 * gnu/java/awt/peer/gtk/CairoSurface.java
17991 (getSharedGtkImage): New method.
17992 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17993 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17995 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17996 Support a non-xrender context.
17997 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17999 * gnu/java/awt/peer/gtk/GtkImage.java
18000 * include/gnu_java_awt_peer_gtk_GtkImage.h
18001 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18002 (initFromBuffer): New method.
18003 * native/jni/gtk-peer/gtkpeer.h:
18004 Remove declarations of previouslyremoved methods.
18006 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
18008 * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
18010 2006-05-29 Mark Wielaard <mark@klomp.org>
18012 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18013 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
18015 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18016 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
18017 early. Remove unused return statement in void function.
18018 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
18020 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18021 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
18023 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
18024 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
18026 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
18029 2006-05-29 Sven de Marothy <sven@physto.se>
18031 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18032 (setPixels): Remove superfluous return statement.
18034 2006-05-29 Sven de Marothy <sven@physto.se>
18036 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
18037 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18038 * gnu/java/awt/peer/gtk/CairoSurface.java
18039 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18040 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18041 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
18042 * include/gnu_java_awt_peer_gtk_CairoSurface.h
18043 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18044 * native/jni/gtk-peer/cairographics2d.h
18045 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18046 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18049 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18050 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18051 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
18054 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
18055 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18056 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18057 (releasePeerGraphicsResource): Moved to Font peer class.
18059 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
18060 (createGraphics): Use new context classes.
18062 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
18063 Use native BufferedImages where possible.
18065 * gnu/java/awt/peer/gtk/GdkTextLayout.java
18066 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
18067 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18068 Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
18069 renamed to cairoDrawGdkTextLayout.
18071 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
18072 (getGraphics): Use ComponentGraphics context.
18073 (createImage): Use native BufferedImage.
18075 * gnu/java/awt/peer/gtk/GtkImage.java:
18076 * include/gnu_java_awt_peer_gtk_GtkImage.h
18077 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18078 Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
18079 Remove drawing methods.
18081 * gnu/java/awt/print/JavaPrinterGraphics.java:
18082 Use CairoSurface instead of GtkImage.
18084 * include/Makefile.am
18085 * native/jni/gtk-peer/Makefile.am
18086 Update for new files.
18088 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
18089 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
18090 Remove superfluous GtkImage code for GdkPixmaps.
18092 * native/jni/gtk-peer/gtkpeer.h
18093 Remove graphics2d structure.
18095 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18097 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
18098 Do not reuse fg in the constructor.
18100 2006-05-29 Carsten Neumann <cn-develop@gmx.net>
18102 * java/io/ObjectStreamConstants.java: Added API docs.
18104 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18106 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
18107 Take no action if this color is already set.
18109 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18111 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
18113 * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
18114 Optionally paint with translation. (createContent): Added option
18115 to test painting with translation
18117 2006-05-29 Raif S. Naffah <raif@swiftdsl.com.au>
18119 * java/util/logging/FileHandler.java (FileHandler): Set the instance field
18120 pattern to the default value when null.
18121 Pass field pattern, and not parameter with same name to createFileStream.
18123 2006-05-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
18125 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
18126 New class implementing the OS bean.
18127 * gnu/java/lang/management/package.html:
18128 New file to document the gnu.java.lang.management package.
18129 * java/lang/management/ManagementFactory.java:
18130 New class to provide access to the OS bean.
18131 * java/lang/management/OperatingSystemMXBean.java:
18133 * java/lang/management/package.html:
18134 New file to document the java.lang.management package.
18136 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18138 * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
18141 (SECURITY): Likewise.
18142 (CACERTS): Likewise.
18143 (CACERTS_GKR): Likewise.
18144 (gkrCaCertsPathName): New field.
18145 (jksCaCertsPathName): Likewise.
18146 (selfSignedCertificate): Likewise.
18147 (start): Initialize trusted certificate key stores if -trustcacerts is
18149 (ensureReplyIsOurs): Initialize selfSignedCertificate.
18150 (orderChain): Implemented.
18151 (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
18152 certificate key stores if -trustcacerts option is specified.
18153 (findTrustInCACerts): Removed.
18154 (getCertPathParameters): New method.
18155 (validate): New method.
18156 * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
18158 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18160 * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
18161 (PATTERN_KEY): Likewise.
18162 (DEFAULT_PATTERN): Likewise.
18163 (LIMIT_KEY): Likewise.
18164 (DEFAULT_LIMIT): Likewise.
18165 (COUNT_KEY): Likewise.
18166 (DEFAULT_COUNT): Likewise.
18167 (APPEND_KEY): Likewise.
18168 (DEFAULT_APPEND): Likewise.
18169 (FileHandler()): Use pattern value as set in logging.properties.
18170 Use constants defined above.
18171 (FileHandler(1)): Use constants defined above.
18172 (FileHandler(2)): Likewise.
18173 (FileHandler(3)): Likewise.
18174 (FileHandler(4)): Likewise.
18175 (createFileStream): Likewise.
18177 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18179 * java/util/logging/FileHandler.java: Reverted previous patch.
18180 * java/util/logging/LogManager.java: Likewise.
18182 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18184 * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
18185 (DEFAULT_PATTERN): Likewise.
18186 (FileHandler()): Use configured pattern property if any; otherwise use a
18187 default value as per RI documentation.
18188 * java/util/logging/LogManager.java (getStringProperty): New method.
18190 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
18192 * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
18194 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
18196 * configure.ac (FOUND_CACAO): New automake conditional.
18197 Add --enable-tool-wrappers.
18198 * NEWS: Introduce the --enable-tool-wrappers option.
18199 * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
18200 * tools/appletviewer.c: Remove file. Make tool-indepedent and
18202 * tools/toolwrapper.c: New file.
18204 2006-05-27 Dalibor Topic <robilad@kaffe.org>
18206 * java/awt/Graphics2D.java: Use full class name for
18207 PrinterJob in javadoc.
18209 2006-05-27 Andreas Tobler <a.tobler@schweiz.ch>
18211 * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
18212 (callMouseMethod): Likewise.
18214 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
18216 * native/jni/java-net/java_net_VMURLConnection.c:
18217 Fix function declarations to specify unused parameters.
18218 * scripts/check_jni_methods.sh:
18219 Remove copies of the same function using uniq.
18221 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
18223 * vm/reference/java/net/VMURLConnection.java:
18224 Make package-private and final.
18226 2006-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18228 * examples/gnu/classpath/examples/swing/TableDemo.java
18229 (TModed): Added editor for the icons column.
18230 (createContent): Increase the row height by 2 px.
18232 2006-05-26 Tom Tromey <tromey@redhat.com>
18234 PR classpath/27685:
18235 * java/math/BigInteger.java (modPow): Correctly handle negative
18238 2006-05-26 Tom Tromey <tromey@redhat.com>
18240 * configure.ac: Check for magic.h and -lmagic.
18241 * vm/reference/java/net/VMURLConnection.java: New file.
18242 * include/java_net_VMURLConnection.h: New file.
18243 * include/Makefile.am (H_FILES): Add VMURLConnection.h.
18244 ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
18245 * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
18247 (libjavanet_la_LIBADD): Add $(LIBMAGIC).
18248 * native/jni/java-net/java_net_VMURLConnection.c: New file.
18250 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18252 * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
18254 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18256 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
18257 libjawtgnu.la libjawt.la.
18259 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18261 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18264 2006-05-25 Lillian Angel <langel@redhat.com>
18267 * java/awt/Window.java
18268 (Window): Moved code to helper.
18269 (addWindowFocusListener): New function. Handles focus
18270 listener code. Added code to handle focus lost/gained
18273 2006-05-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
18276 Make pkg-config check for GTK+ >= 2.8.
18278 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18280 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18281 (flush): Remove debugging printfs.
18283 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18285 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18286 (schedule_flush): New function.
18287 (end_drawing_operation): Call schedule_flush.
18289 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18291 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
18292 paint performance demo.
18293 * examples/gnu/classpath/examples/swing/FillRect.java: New file.
18295 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18297 * INSTALL: Bump GTK requirement to 2.8 or higher. Do not mention
18298 Cairo version requirement. Do not mention --enable-gtk-cairo
18300 * NEWS: Add entry for GdkGraphics2D.
18301 * configure.ac: Remove --enable-gtk-cairo and explicit checks for
18302 Cairo library and headers.
18303 * .externalToolBuilders/Configure.launch: Remove
18304 --enable-gtk-cairo from configure line.
18305 * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
18307 * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
18308 * gnu/java/awt/peer/gtk/GdkFontPeer.java,
18309 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
18310 useGraphics2D references. Always assume Graphics2D is enabled.
18311 * gnu/java/awt/peer/gtk/GdkGraphics.java,
18312 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
18313 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
18314 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
18315 Unlocked method variants. Remove GTK_CAIRO_ENABLED and
18316 useGraphics2D references. Always assume Graphics2D is enabled.
18317 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
18318 Graphics2D check. Always assume Graphics2D is enabled.
18319 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
18320 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
18321 (realize): Remove method.
18322 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
18323 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18324 (isRealized): Remove method.
18325 (realize): Implement as a native method. Remove useGraphics2D
18326 references. Always assume Graphics2D is enabled.
18327 * gnu/java/awt/peer/gtk/GtkImage.java,
18328 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
18329 GdkGraphics references with GdkGraphics2D references.
18330 * gnu/java/awt/peer/gtk/GtkToolkit.java,
18331 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
18332 useGraphics2D references. Always assume Graphics2D is enabled.
18333 * include/Makefile.am (GTKPEER_H_FILES): Remove
18334 gnu_java_awt_peer_gtk_GdkGraphics.h.
18335 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
18336 * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
18337 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
18338 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
18339 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
18340 * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
18341 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18342 gnu_java_awt_peer_gtk_GdkGraphics.c. Include
18343 gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
18344 (AM_LDFLAGS): Remove CAIRO_LIBS.
18345 (AM_CFLAGS): Remove CAIRO_CFLAGS.
18346 * native/jni/gtk-peer/gtkcairopeer.h: Remove. Move declarations
18348 * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
18350 2006-05-25 Lillian Angel <langel@redhat.com>
18352 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18353 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
18354 Added check to prevent assertion error. If widget->window is null, then
18355 use the parent widget's window to set the cursor on.
18357 2006-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18359 * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
18362 2006-05-24 Lillian Angel <langel@redhat.com>
18364 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
18365 (prependCodeBase): Added check to determine if the documentbase
18366 points to a directory or a file.
18368 2006-05-24 Sven de Marothy <sven@physto.se>
18370 * java/awt/dnd/DragGestureRecognizer.java
18371 (resetRecognizer): Implement.
18372 (fireDragGestureRecognized): Implement.
18374 2006-05-24 David Gilbert <david.gilbert@object-refinery.com>
18376 * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
18377 fixed source code formatting.
18379 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18381 * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
18383 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18385 Reported by Antony Balkisson.
18386 * javax/swing/JTable.java (selectAll): Return without action
18387 if the table is empty.
18389 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18391 * examples/gnu/classpath/examples/swing/TableDemo.java:
18392 (SliderCell): New inner class. (setCustomEditors,
18393 setInformativeHeaders): New fields. (createContent):
18395 * javax/swing/DefaultCellEditor.java
18396 (JComboBoxDelegate.shouldSelectCell): New method.
18397 * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
18398 * javax/swing/plaf/basic/BasicTableUI.java
18399 (MouseInputHandler.mouseClicked): Start editing on a single
18400 click if the cell editor is not a default cell editor.
18402 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18404 * javax/swing/naming/CompositeName.java,
18405 javax/swing/naming/CompoundName.java:
18408 2006-05-23 Archie Cobbs <archie@dellroad.org>
18410 * vm/reference/java/lang/VMClassLoader.java: fix static initializer
18413 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18415 * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
18416 * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
18417 * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
18418 * javax/swing/tree/DefaultTreeModel.java: Likewise,
18419 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18420 * javax/swing/tree/ExpandVetoException.java: Likewise,
18421 * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18422 * javax/swing/tree/RowMapper.java: Likewise,
18423 * javax/swing/tree/TreeNode.java: Likewise,
18424 * javax/swing/tree/TreeSelectionModel.java: Likewise,
18425 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18427 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18429 * javax/swing/tree/DefaultTreeCellRenderer.java
18430 (DefaultTreeCellRenderer): Changed key for
18431 setBackgroundNonSelectionColor(),
18432 plus API docs all over.
18434 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18437 * javax/swing/JTable.java (booleanInvertingEditor): New field.
18438 (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18439 Initialise in constructor. (columnMoved): Cancel editing.
18440 (createDefaultEditors): Rewritten. (editCellAt):
18441 Just invert the value if this is a boolean cell.
18442 (initialiseLocalVars): Do not initialise renderer and editor tables.
18443 (setUI): Create editors and renderers here.
18445 2006-05-23 Robert Schuster <robertschuster@fsfe.org>
18447 * examples/gnu/classpath/examples/awt/Demo.java:
18448 (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18449 instance as subframe.
18450 (ResolutionWindow): New inner class.
18451 (FullscreenWindow): New inner class.
18453 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18456 * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18457 Set horizontal alignment to centered.
18459 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18461 * javax/accessibility/AccessibleContext.java
18462 (getAccessibleComponent): Fixed typo in docs,
18463 * javax/swing/JLabel.java:
18464 (AccessibleJLabel.getAccessibleName): Check for explicit
18466 * javax/swing/JTableHeader.java
18467 (AccessibleJTableHeaderEntry.columnIndex): New field,
18468 (AccessibleJTableHeaderEntry.parent): New field,
18469 (AccessibleJTableHeaderEntry.table): New field,
18470 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()):
18472 (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New
18474 (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18475 (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18476 (AccessibleJTableHeaderEntry.contains): Implemented,
18477 (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18478 (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18479 (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18480 (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18481 (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18482 (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18483 (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18484 (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18485 (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18486 (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18487 (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18488 (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18489 (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18490 (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18491 (AccessibleJTableHeaderEntry.getBackground): Implemented,
18492 (AccessibleJTableHeaderEntry.getBounds): Implemented,
18493 (AccessibleJTableHeaderEntry.getCursor): Implemented,
18494 (AccessibleJTableHeaderEntry.getFont): Implemented,
18495 (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18496 (AccessibleJTableHeaderEntry.getForeground): Implemented,
18497 (AccessibleJTableHeaderEntry.getLocation): Implemented,
18498 (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18499 (AccessibleJTableHeaderEntry.getSize): Implemented,
18500 (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18501 (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18502 (AccessibleJTableHeaderEntry.isShowing): Implemented,
18503 (AccessibleJTableHeaderEntry.isVisible): Implemented,
18504 (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18505 (AccessibleJTableHeaderEntry.removePropertyChangeListener):
18507 (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18508 (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18509 (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18510 (AccessibleJTableHeaderEntry.setBackground): Implemented,
18511 (AccessibleJTableHeaderEntry.setBounds): Implemented,
18512 (AccessibleJTableHeaderEntry.setCursor): Implemented,
18513 (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18514 (AccessibleJTableHeaderEntry.setFont): Implemented,
18515 (AccessibleJTableHeaderEntry.setForeground): Implemented,
18516 (AccessibleJTableHeaderEntry.setLocation): Implemented,
18517 (AccessibleJTableHeaderEntry.setSize): Implemented,
18518 (AccessibleJTableHeaderEntry.setVisible): Implemented,
18519 (AccessibleJTableHeader.getAccessibleRole): Implemented,
18520 (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18521 (AccessibleJTableHeader.getAccessibleChild): Implemented,
18522 (AccessibleJTableHeader.getAccessibleAt): Implemented.
18524 2006-05-22 Tom Tromey <tromey@redhat.com>
18528 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18530 * javax/swing/JLabel.java
18531 (AccessibleJLabel.getAccessibleName): New method (override),
18532 (setLabelFor): Fire 'labelFor' property change event before other
18535 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18537 * javax/swing/JLabel.java
18538 (AccessibleJLabel.getAccessibleRole): New method (override).
18540 2006-05-22 Tom Tromey <tromey@redhat.com>
18542 * resource/gnu/classpath/tools/serialver/messages.properties: New
18544 * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18545 * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18547 (classpath): Likewise.
18550 (addFileURL): New method.
18551 (getClassLoader): Likewise.
18552 (printMessage): Likewise.
18554 2006-05-22 Tom Tromey <tromey@redhat.com>
18556 * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18558 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18560 * javax/swing/JTable.java (doLayout): In the column
18561 resize mode, only repaing the changed part of the table.
18562 (getLeftResizingBoundary): New method.
18564 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18566 * javax/naming/spi/InitialContextFactory.java,
18567 javax/naming/spi/InitialContextFactoryBuilder.java,
18568 javax/naming/spi/NamingManager.java,
18569 javax/naming/spi/ObjectFactory.java,
18570 javax/naming/spi/ResolveResult.java,
18571 javax/naming/spi/Resolver.java,
18572 javax/naming/spi/StateFactory.java: Documented.
18574 2006-05-21 Tom Tromey <tromey@redhat.com>
18576 PR classpath/27688:
18577 * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18579 (initSet): Removed.
18580 (shouldExtract): Removed.
18582 * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18583 * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18586 (allItems): New field.
18587 (run): Initialize it.
18590 2006-05-22 Sven de Marothy <sven@physto.se>
18592 * java/nio/CharBuffer.java
18593 (wrap): Fix bounds checking.
18595 2004-08-26 Tom Tromey <tromey@redhat.com>
18597 * java/io/OutputStream.java
18598 (OutputStream): Implements Closeable, Flushable.
18600 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
18602 * java/io/ObjectOutputStream.java:
18603 (writeObject(Object)): Added enum support.
18604 (writeClassDescriptor(ObjectStreamClass)): Likewise.
18605 * java/io/ObjectStreamClass.java:
18606 (isEnum()): New package-private method.
18607 (setFlags(Class)): Added enum support.
18608 * java/io/ObjectStreamConstants.java:
18611 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
18613 * java/io/ObjectInputStream.java:
18614 (parseContent(byte)): Added enum support.
18615 * java/io/ObjectStreamConstants.java:
18617 (TC_MAX): Changed to new maximum, TC_ENUM.
18619 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18621 * java/beans/beancontext/BeanContextSupport.java:
18622 (instantiateChild(String)): Implemented.
18624 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18626 * java/beans/beancontext/BeanContextSupport.java:
18627 (add(Object)): Add further documentation.
18628 (isEmpty()): Documented.
18629 (propertyChange(PropertyChangeEvent)): Implemented.
18630 (remove(Object)): Documented.
18631 (remove(Object,boolean)): Documented and implemented.
18632 (vetoableChange(PropertyChangeEvent)): Marked as
18633 implemented (only subclasses appear to need this).
18635 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18637 * java/beans/beancontext/BeanContextSupport.java:
18638 (add(Object)): Implement support for the child being
18639 a BeanContextChild.
18640 (avoidingGui()): Implemented.
18641 (dontUseGui()): Likewise.
18642 (needsGui()): Likewise.
18643 (okToUseGui()): Likewise.
18645 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18647 * javax/naming/Context.java,
18648 javax/naming/ContextNotEmptyException.java,
18649 javax/naming/Reference.java: Documented.
18651 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18653 * javax/swing/text/html/MinimalHTMLWriter.java
18654 (writeComponent, writeImage): Declare that the method
18655 may throw the IOException.
18657 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18660 * javax/naming/InitialContext.java (colon_list): Changed type to
18661 hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18662 (merge): Rewritten.
18664 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18666 * javax/naming/InitialContext.java: Documented.
18668 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18670 * javax/naming/NameParser.java,
18671 javax/naming/NamingEnumeration.java,
18672 javax/naming/PartialResultException.java,
18673 javax/naming/SizeLimitExceededException.java,
18674 javax/naming/spi/ObjectFactory.java,
18675 javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18677 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18679 * gnu/java/net/loader/JarURLLoader.java:
18680 Use Map.Entry instead of LinkedHashMap.Entry
18682 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18684 * javax/naming/Context.java: Documented.
18686 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18688 * javax/naming/Referenceable.java: Documented.
18689 * javax/naming/spi/NamingManager.java: Documented.
18691 2006-05-21 Raif S. Naffah <raif@swiftdsl.com.au>
18693 * doc/tools.texinfo: Replaced references to MessageBundle.properties
18694 to messages.properties.
18695 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18696 Renamed to messages.properties.
18697 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18699 * resource/gnu/classpath/tools/jarsigner/messages.properties:
18700 Renamed from MessageBundle.properties.
18701 Added copyright notice.
18702 * resource/gnu/classpath/tools/keytool/messages.properties:
18704 * tools/gnu/classpath/tools/jarsigner/Messages.java
18705 (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18706 (getFormattedString): Fixed a spelling mistake.
18707 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18709 2006-05-20 Sven de Marothy <sven@physto.se>
18711 * gnu/java/awt/font/opentype/NameDecoder.java
18713 (getName): Use getShort instead of getChar(), fix PS name.
18714 (decodeName): New method.
18715 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18716 (getSubFamilyName): Implement.
18717 (getPostScriptName): Use the NameDecoder class instead.
18718 (parsePSName): Removed.
18721 2006-05-20 Sven de Marothy <sven@physto.se>
18723 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18724 (getTrueTypeTable): New native method.
18725 (getPostScriptName): Reimplement.
18726 (parsePSName): New method.
18727 (getNumGlyphs): Implement.
18728 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18729 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18730 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18731 New function. File is now explicitly dependent on FT2.
18733 2006-05-20 Tom Tromey <tromey@redhat.com>
18735 * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18736 * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18738 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18739 (HandleFile): New class.
18740 (input, output, encoding, reversed): New fields.
18741 (createParser): New method.
18744 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18745 (notifyFile): Throws OptionException.
18747 2006-05-20 Tom Tromey <tromey@redhat.com>
18749 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18752 2006-05-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
18754 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18755 (JCL_print_buffer): Fix to work with -Werror on 64-bit
18758 2006-05-20 Sven de Marothy <sven@physto.se>
18760 * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18762 2006-05-20 Sven de Marothy <sven@physto.se>
18764 * gnu/java/awt/print/JavaPrinterJob.java
18765 (print): Use PostScriptGraphics2D.
18766 * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18768 2006-05-20 Sven de Marothy <sven@physto.se>
18770 * javax/swing/text/html/MinimalHTMLWriter.java: New file
18772 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18774 * gnu/java/security/OID.java: Updated copyright year.
18775 (OID): Removed unused Javadoc param tag.
18776 * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18777 * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18779 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18781 * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18783 Added trace/debug statements.
18784 (engineSetCertificateEntry): Ensure alias is not already used for a Key
18785 Entry. Also ensure that any previous entry for this alias is removed
18786 before a new one is added.
18787 (engineGetKey): Do not trace/log passwords.
18788 Trace key's class name only.
18789 (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18790 Certificate Entry. Also ensure that previous entry for this alias is
18791 removed before a new one is added.
18792 (engineLoad): Do not trace/log passwords.
18793 (engineStore): Likewise.
18794 (engineSize): Use size of enumeration instead of collection size.
18796 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18798 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
18799 (toString): New method.
18800 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
18801 Do not trace/log passwords.
18802 Set masked to false before decoding envelope.
18803 Do not set payload to null.
18804 (encrypt): Set masked to true.
18805 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
18806 Do not trace/log passwords.
18807 Set masked to false before decoding envelope.
18808 Do not set payload to null.
18809 Added trace/debug statements.
18810 (authenticate): Do not trace/log passwords.
18811 Set masked to true.
18812 Added trace/debug statements.
18813 (getMac): Added trace/debug statements.
18814 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
18815 (remove(String)): Changed the signature to return a boolean.
18816 (toString): New method.
18817 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
18819 (getCertificate): Likewise.
18820 (putCertificate): Likewise.
18822 Do not trace/log passwords.
18824 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
18825 Do not trace/log passwords.
18826 Added more trace/logging statements.
18827 (putPrivateKey): Do not trace/log passwords.
18828 Trace only key's class name.
18830 (containsPublicKey): Formatting.
18831 (getPublicKey): Likewise.
18832 Trace only key's class name.
18833 (putPublicKey): Trace only key's class name.
18834 (containsCertPath): Formatting.
18835 (getCertPath): Likewise.
18836 (putCertPath): Likewise.
18837 (load): Do not trace/log passwords.
18840 * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
18841 (add): Do not set payload to null.
18842 Added trace/debug statements.
18843 (containsAlias): Added trace/debug statements.
18845 (remove(Entry)): Likewise.
18846 (remove(String)): Likewise.
18847 Changed the signature to return a boolean.
18848 Do not set payload to null unless really removed.
18849 (toString): New method.
18850 (decodeEnvelope): Clear entries before proceeding.
18851 (makeAliasList): Added trace/debug statements.
18852 Ensure only non-null aliases and alias-lists are added.
18853 * gnu/javax/crypto/keyring/Entry.java (log): New field.
18854 (TYPES): New constant.
18855 (toString): New method.
18856 (defaultDecode): Add trace/debug statement.
18858 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18860 * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
18861 Increased visibility.
18862 (setup): Do not trace/log passwords.
18863 (parsed): Was not setting correct (rfc) field; fixed.
18864 (print1Chain): Formatting.
18865 * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
18866 Do not trace/log passwords.
18867 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
18868 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
18869 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
18870 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
18871 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
18872 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
18873 (orderChain): Added FIXME.
18874 * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
18875 Do not trace/log passwords.
18876 Removed commented out code.
18877 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
18878 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
18879 * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
18880 (setKeystoreURLParam): Likewise.
18881 (setKeystorePasswordParam): Do not trace/log passwords.
18882 (saveKeyStore): Likewise.
18884 2006-05-19 Roman Kennke <kennke@aicas.com>
18886 * gnu/java/awt/java2d/AbstractGraphics2D.java
18888 (pixel): Removed obsolete field.
18889 (draw(Shape)): Removed commented out code.
18890 (drawImage): Formatting.
18891 (drawString): Added optimization hook.
18892 (setPaint): Removed rawSetForeground().
18893 (getFontRenderContext): Return context with correct transform.
18894 (drawGlyphVector): Draw complete outline in one go.
18895 (copyArea): Added optimization hook.
18896 (clearRect): Added optimization hook.
18897 (drawImage): Added optimization hook.
18898 (fillShape): (Temporarily) Set antialiasing off by default for
18899 font rendering. Adjust the shape by some bits to improve rendering.
18900 Pass clip bounds to the render methods.
18901 (drawPixel): Removed.
18902 (rawSetPixel): Removed.
18903 (rawSetForeground): Removed.
18904 (rawDrawLine): Default impl calls standard pipeline.
18905 (rawDrawString): New method, calls standard pipeline for rendering.
18906 (rawClearRect): New method, calls standard pipeline for rendering.
18907 (rawFillRect): New method, calls standard pipeline for rendering.
18908 (rawDrawImage): New method, calls standard pipeline for rendering.
18909 (rawCopyArea): New method.
18910 (copyAreaImpl): New method.
18911 (rawFillShape): Renamed to fillShapeImpl(). Small optimization
18913 (fillShapeAntialias): Fixed AA rendering.
18914 (fillScanlineAA): Fixed AA rendering.
18915 (getSegments): Take offset into account.
18917 2006-05-19 Sven de Marothy <sven@physto.se>
18919 * javax/swing/text/AbstractWriter.java
18920 (getText): Fix parameters (start, length) not (start, end).
18922 2006-05-19 Tom Tromey <tromey@redhat.com>
18924 PR classpath/27444:
18925 * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
18926 Changed return type.
18927 * java/net/URLClassLoader.java (urlloaders): Removed.
18928 (addURLImpl): Updated.
18929 * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
18930 (indexSet): Likewise.
18931 (classPath): Changed type.
18932 (JarURLLoader): New constructor.
18933 (initialize): New method.
18934 (getResource): Use index set if it exists.
18935 (getClassPath): Updated.
18936 * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
18937 (prefixes): New field.
18938 (headers): Removed.
18939 (IndexListParser): Fill in prefixes.
18940 (clearAll): Clear prefixes.
18941 (getHeaders): Changed return type.
18943 2006-05-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18945 * javax/swing/plaf/basic/BasicTableHeaderUI.java
18946 (MouseInputHandler.mouseExitted): No nothing there.
18947 (MouseInputHandler.endDragging): Move column to the
18948 first/last position if released outside the horizontal
18951 2006-05-19 Lillian Angel <langel@redhat.com>
18953 * java/awt/font/GlyphVector.java
18954 (getGlyphCharIndex): Implemented.
18955 (getGlyphCharIndices): Implemented.
18956 (getGlyphOutline): Implemented.
18957 (getGlyphVisualBounds): Implemented.
18958 (getGlyphVisualBounds): Implemented.
18959 (getPixelBounds): Implemented.
18960 (getLayoutFlags): Implemented.
18962 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18964 * java/awt/LightweightDispatcher.java: Added field dragButton and
18965 documentation for it.
18966 (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
18967 added subexpression to if-clause in MOUSE_RELEASED case.
18969 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18971 * javax/swing/metal/MetalButtonUI.java:
18972 (update): Removed some subexpression from if-clause and call
18973 updateWithGradient.
18974 (updateWithGradient): New method.
18976 2006-05-19 Roman Kennke <kennke@aicas.com>
18978 * javax/swing/JComponent.java
18979 (findOverlapFreeParent): Implemented algorithm for finding
18980 overlapping in component hierarchy.
18982 2006-05-19 Jeroen Frijters <jeroen@frijters.net>
18984 * java/lang/Thread.java
18985 (contextClassLoaderIsSystemClassLoader): New field.
18986 (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
18987 (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
18988 and set contextClassLoaderIsSystemClassLoader.
18989 (Thread(ThreadGroup,Runnable,String,long)):
18990 Set contextClassLoaderIsSystemClassLoader.
18991 (createAnonymousThreadName): New method.
18992 (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
18993 and fixed security check.
18994 (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
18996 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18998 * javax/swing/plaf/basic/BasicToolBarUI.java:
18999 (createNonRolloverBorder): Rewritten.
19000 (createRolloverBorder): Rewritten.
19001 (setToNonRolloverBorder): Store old border instance in hashtable.
19002 (setToRolloverBorder): Store old border instance in hashtable, use
19003 AbstractButton instead of JButton in statements.
19004 (setBorderToNormal): Rewritten.
19005 * javax/swing/plaf/metal/MetalLookAndFeel.java:
19006 (initComponentDefaults): Added values for ToolBar.rolloverBorder and
19007 ToolBar.nonrolloverBorder.
19009 2006-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
19011 * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
19012 * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
19014 2006-05-18 Lillian Angel <langel@redhat.com>
19016 * java/awt/font/GlyphMetrics.java
19017 (getLSB): Implemented.
19018 (getRSB): Implemented.
19020 2006-05-18 Lillian Angel <langel@redhat.com>
19022 * java/awt/font/GraphicAttribute.java:
19023 Documented entire class.
19024 (GraphicAttribute): Added check for alignment.
19025 (getBounds): Implemented.
19026 (getJustificationInfo): Implemented.
19028 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
19030 * java/awt/LightweightDispatcher.java:
19031 (handleMouseEvent): Added note, added subexpression to if-statement.
19033 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
19035 * javax/swing/plaf/basic/BasicToolBarUI.java:
19036 (navigateFocusedComp): Marked as stub.
19037 (createRolloverBorder): Create a different Border instance, added note.
19038 * javax/swing/plaf/metal/MetalBorders.java:
19039 (ButtonBorder): Added documentation.
19040 (ButtonBorder.paintDefaultButtonBorder): Added else-block.
19041 (ButtonBorder.paintOceanButtonBorder): Added else-block, added
19042 subexpression into if-else cascade, added note.
19044 2006-05-18 Lillian Angel <langel@redhat.com>
19046 * java/awt/font/ShapeGraphicAttribute.java:
19047 Documented entire class.
19048 (ShapeGraphicAttribute): Initialized bounds field.
19049 (draw): Implemented.
19050 (equals): Implemented.
19051 (getAdvance): Implemented.
19052 (getAscent): Implemented.
19053 (getBounds): Implemented.
19054 (getDescent): Implemented.
19055 (hashCode): Implemented.
19057 2006-05-18 Roman Kennke <kennke@aicas.com>
19059 * javax/swing/CellRendererPane.java
19060 (CellRendererPane): Set CellRendererPane to invisible.
19062 2006-05-18 Roman Kennke <kennke@aicas.com>
19064 * gnu/java/awt/peer/gtk/GdkGraphics.java
19065 (clipRect): Removed old intersection statement.
19067 2006-05-18 Roman Kennke <kennke@aicas.com>
19069 * gnu/java/awt/peer/gtk/GdkGraphics.java
19070 (clipRect): Don't use Rectangle.intersection() to avoid creating
19071 2 unnecessary Rectangle instances and fix a clipping problem.
19072 (computeIntersection): New helper method, adapted from SwingUtilities.
19074 2006-05-18 Roman Kennke <kennke@aicas.com>
19076 * javax/swing/JComponent.java
19077 (isCompletelyDirty): Removed.
19078 (paint): Don't mark children as clean, this is no longer necessary.
19079 (findOverlapFreeParent): Don't stop at Viewports, this breaks
19080 painting when something overlaps the viewport (like a popup/menu).
19081 * javax/swing/RepaintManager.java
19082 (currentRepaintManagers): Made package private to avoid accessor
19084 (dirtyComponents): Made private.
19085 (dirtyComponentsWork): Made private.
19086 (markCompletelyDirty): Fixed bounds of dirtyrect to be
19087 component-local not parent-local. Do not set flag in JComponent.
19088 (markCompletelyClean): Don't set JComponent flag.
19089 (isCompletelyDirty): Rewritten to return true when the complete
19090 component is marked dirty.
19091 (paintDirtyRegions): Improved parent-merging so that the merged-in
19092 components don't get painted too. 'Outsourced' the compilation
19093 of the repaint root components.
19094 (compileRepaintRoots): New helper method.
19096 2006-05-18 Roman Kennke <kennke@aicas.com>
19099 * javax/swing/text/GapContent.java
19100 (GapContentPosition(int)): Use adapted binarySearch method to
19101 allow for having a greater array than number of entries.
19102 (numMarks): New field, holds the end of the marks list.
19103 (GapContent): Initialize positionMarks with size of 10 instead of 0.
19104 (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
19105 (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
19106 (setPositionsInRange): Changed signature to narrow the purpose and
19107 special cases inside. Reimplemented to crunch together equal marks.
19108 (adjustPositionsInRange): Added assertion to make sure we do
19109 not accidentally change the order of the mark. Added some debug
19110 output for a special case of which I don't know if it even exists.
19111 (resetMarksAtZero): Made impl simpler.
19112 (dumpMarks): New debug helper method.
19113 (insertMark): Grow array in bigger chunks to avoid excessive copying.
19114 (binarySearch): New method. An adaption of Arrays.binarySearch()
19115 that allows for an maxIndex parameter.
19117 2006-05-18 Roman Kennke <kennke@aicas.com>
19119 * javax/swing/KeyboardManager.java
19120 (topLevelLookup): Use WeakHashMap to avoid memory leak.
19122 2006-05-18 Jeroen Frijters <jeroen@frijters.net>
19124 * gnu/java/net/loader/JarURLLoader.java
19125 (JarURLLoader): Use a slightly more efficient URL constructor.
19127 2006-05-18 David Gilbert <david.gilbert@object-refinery.com>
19129 * gnu/java/awt/print/JavaPrinterGraphics.java
19130 (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
19131 (drawImage(Image, int, int, ImageObserver)): Likewise,
19132 (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
19133 (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
19134 (drawImage(Image, int, int, int, int, int, int, int, int, Color,
19135 ImageObserver)): Likewise,
19136 (drawImage(Image, int, int, int, int, int, int, int, int,
19137 ImageObserver)): Likewise.
19139 2006-05-17 Tom Tromey <tromey@redhat.com>
19141 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
19144 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
19146 * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
19147 * javax/swing/border/BevelBorder.java: Likewise,
19148 * javax/swing/border/CompoundBorder.java: Likewise,
19149 * javax/swing/border/TitledBorder.java: Likewise.
19151 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
19153 * javax/swing/table/AbstractTableModel.java: Formatting fixes,
19154 * javax/swing/table/DefaultTableModel.java: Likewise,
19155 * javax/swing/table/TableCellEditor.java: Likewise,
19156 * javax/swing/table/TableCellRenderer.java: Likewise.
19158 2006-05-17 Lillian Angel <langel@redhat.com>
19160 * java/awt/font/ImageGraphicAttribute.java:
19161 Documented entire class.
19162 (ImageGraphicAttribute): Changed to call this.
19163 (ImageGraphicAttribute): Implemented.
19164 (draw): Implemented.
19165 (equals): Implemented.
19166 (getAdvance): Implemented.
19167 (getAscent): Implemented.
19168 (getBounds): Implemented.
19169 (getDescent): Implemented.
19170 (hashCode): Implemented.
19171 * javax/swing/text/html/HTMLDocument.java
19172 (create): Removed. Sufficent enough for
19173 super to be called.
19174 (insert): Likewise.
19175 (insertUpdate): Likewise.
19176 (processHTMLFrameHyperlinkEvent): Marked as stub.
19177 (start): Removed FIXME.
19179 (start): Called super.
19180 (end): Called super.
19181 (getElement): removed unneeded code.
19182 (setParagraphAttribute): Removed. Sufficent enough
19183 for super to be called.
19184 (fireChangedUpdate): Likewise.
19185 (fireUndoableEditUpdate): Likewise.
19187 2006-05-17 Lillian Angel <langel@redhat.com>
19189 * java/awt/TexturePaint.java:
19190 Added documentation for class and all functions.
19191 (getTransparency): Implemented.
19193 2006-05-17 Roman Kennke <kennke@aicas.com>
19195 * java/awt/LightweightDispatcher.java
19196 (findTarget): Translate point to child components.
19198 2006-05-17 Roman Kennke <kennke@aicas.com>
19201 * javax/swing/text/GapContent.java
19202 (GapContentPosition): Do no more implement Comparable.
19203 (GapContentPosition.mark): Removed field.
19204 (GapContentPosition.index): New field to hold the index into
19205 the positions array.
19206 (GapContentPosition(int)): Rewritten to use the new indirection
19207 to the positions array.
19208 (GapContentPosition.compareTo): Removed.
19209 (GapContentPosition.getOffset): Synchronized. Fetch mark from
19210 positionMarks array.
19211 (WeakPositionComparator): Removed obsolete class.
19212 (positions): Changed type to WeakHashMap.
19213 (positionMarks): New field, holds the marks of the positions.
19214 (GapContent): Initialize new fields.
19215 (createPosition): Rewritten to use the new indirection
19216 to the positions array.
19217 (getPositionsInRange): Rewritten to use the new indirection
19218 to the positions array.
19219 (setPositionsInRange): Rewritten to use the new indirection
19220 to the positions array.
19221 (adjustPositionsInRange): Rewritten to use the new indirection
19222 to the positions array.
19223 (insertMark): New helper method.
19224 (clearPositionReferences): Removed obsolete methods.
19226 2006-05-17 Lillian Angel <langel@redhat.com>
19228 * java/awt/GraphicsConfiguration.java
19229 (getImageCapabilities): Implemented.
19230 (getBufferCapabilities): Implemented.
19232 2006-05-17 Lillian Angel <langel@redhat.com>
19234 * javax/swing/plaf/basic/BasicSliderUI.java
19235 (focusGained): Implemented.
19236 (focusLost): Implemented.
19237 (paint): Added code to paint the focus.
19238 * javax/swing/plaf/metal/MetalSliderUI.java
19239 (paintThumb): Added code to set the thumbColor.
19240 (paintFocus): Implemented properly.
19242 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19245 * javax/naming/spi/NamingManager.java (getURLContext):
19246 Always search for the factory class in all possible places
19247 and use VMStackWalker.
19248 (forName): New method.
19250 2006-05-17 Roman Kennke <kennke@aicas.com>
19252 * java/awt/LightweightDispatcher.java
19253 (handleMouseEvent): Fixed search algorithm for finding the
19254 mouse event target.
19255 (findTarget): Fixed search algorithm for finding the
19256 mouse event target.
19258 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19260 * javax/naming/spi/NamingManager.java: Documented.
19262 2006-05-17 Mark Wielaard <mark@klomp.org>
19264 * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
19265 * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
19266 * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
19267 * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
19269 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19272 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
19274 (BorderListener.mouseClicked): Detect double-clicks in title pane,
19276 BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
19278 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19281 * java/awt/LightweightDispatcher.java:
19282 (handleMouseEvent): Moved assignment into switch-block, added notes.
19284 2006-05-16 Lillian Angel <langel@redhat.com>
19286 * javax/swing/text/StyleContext.java:
19287 Changed staticAttributeKeys to be a Hashtable.
19288 (getStaticAttribute): Implemented.
19289 (getStaticAttributeKey): Implemented.
19290 (readAttributeSet): Implemented.
19291 (writeAttributeSet): Added FIXME. Not sure how
19293 (readAttributes): Implemented.
19294 (writeAttributes): Implemented.
19295 (registerStaticAttibuteKey): Fixed to add key to
19298 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19300 * javax/swing/DefaultButtonModel.java
19301 (setGroup): Removed event notification.
19303 2006-05-16 Lillian Angel <langel@redhat.com>
19305 * javax/swing/plaf/basic/BasicComboBoxUI.java
19306 (installKeyboardActions): Implemented.
19307 (uninstallKeyboardActions): Implemented.
19308 * javax/swing/plaf/basic/BasicComboPopup.java
19309 (uninstallKeyboardActions): Removed FIXME. Nothing
19311 (installKeyboardActions): Likewise.
19312 * javax/swing/plaf/basic/BasicTextUI.java
19313 (uninstallKeyboardActions): Implemented.
19314 * javax/swing/plaf/basic/BasicTreeUI.java:
19315 Added field for hashColor.
19316 Marked stub methods.
19317 (getHashColor): Implemented to use field.
19318 (setHashColor): Likewise.
19319 (getRowX): Implemented.
19320 (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.
19322 2006-05-16 Roman Kennke <kennke@aicas.com>
19325 * javax/swing/JTable.java
19326 (rowHeights): New field.
19327 (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
19328 in order to initialize rowHeights correctly.
19329 (tableChanged): Nullify rowHeights when model changes. Only
19330 create default columns from model when corresponding property
19331 is set. Sync table model with rowHeights as appropriate.
19332 (valueChanged): Call repaint with the correct rectangle.
19333 (rowAtPoint): Handle rowHeights.
19334 (getCellRect): Mostly rewritten. Check for boundaries
19335 of model and return (0,0,0,0) or (0,0,width,height) when outside.
19336 Handle component orientation. Round correctly.
19337 (getRowHeight(int)): Implemented for variable row height.
19338 (setRowHeight(int,int)): Implemented for variable row height.
19339 (setRowHeight(int)): Nullify rowHeights.
19340 (setModel): Notify tableChanged().
19341 * javax/swing/plaf/basic/BasicTableUI.java
19342 (installDefaults): Create rendererPane in installUI.
19343 (installUI): Create and install rendererPane.
19344 (uninstallUI): Uninstall rendererPane and nullify rendererPane
19346 (paint): Correctly handle rowMargin.
19348 2006-05-16 Tom Tromey <tromey@redhat.com>
19350 PR classpath/27563:
19351 * java/text/NumberFormat.java (getIntegerInstance): Use
19352 "integerFormat", not "numberFormat".
19354 2006-05-16 Lillian Angel <langel@redhat.com>
19356 * javax/swing/JPopupMenu.java
19357 (addMenuKeyListener): Implemented.
19358 (removeMenuKeyListener): Implemented.
19359 (getMenuKeyListeners): Implemented.
19360 * javax/swing/ProgressMonitor.java:
19361 Added new protected field.
19362 (getAccessibleContext): Implemented.
19364 2006-05-16 Lillian Angel <langel@redhat.com>
19366 * javax/swing/JFileChooser.java:
19367 Added new private field.
19368 (setDragEnabled): Implemented.
19369 (getDragEnabled): Implemented.
19371 2006-05-16 Lillian Angel <langel@redhat.com>
19373 * java/awt/Window.java
19374 (applyResourceBundle): Implemented.
19376 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19378 * javax/swing/DefaultButtonModel.java
19379 (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
19382 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19384 * javax/swing/JList.java (getSelectedValues):
19385 Ask the value for the indexed array element.
19387 2006-05-16 Roman Kennke <kennke@aicas.com>
19389 * javax/swing/JTable.java
19390 (valueChanged): Also repaint when table has only 1 row. Fixed
19391 repaint rectangle to span the entire changed rows.
19393 2006-05-16 Roman Kennke <kennke@aicas.com>
19396 * javax/swing/JOptionPane.java
19397 (startModal): Rewritten. The events are now dispatched, even
19398 when the event dispatch thread gets blocked by the call
19399 to this method. Also, mouse events get intercepted outside the
19402 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19404 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19405 (BorderListener.mouseDragged):Do not set cursor
19406 if the frame is being dragged.
19408 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19410 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19411 (BorderListener): Rewritten. (InternalFrameBorder):
19412 Made package private.
19413 (InternalFrameBorder.offset):
19414 Renamed to cornerSize, made package private.
19415 (bSize): Made package private.
19417 2006-05-16 Roman Kennke <kennke@aicas.com>
19419 * javax/swing/JMenu.java
19420 (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19421 (AccessibleJMenu.getAccessibleChild): Implemented.
19422 (AccessibleJMenu.getAccessibleSelection): Implemented.
19423 (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19424 (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19425 (AccessibleJMenu.getAccessibleRole): Documented.
19426 (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19427 (AccessibleJMenu.addAccessibleSelection): Implemented.
19428 (AccessibleJMenu.removeAccessibleSelection): Implemented.
19429 (AccessibleJMenu.clearAccessibleSelection): Implemented.
19430 (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19431 (createPath): New helper method.
19433 2006-05-15 Tom Tromey <tromey@redhat.com>
19435 * java/text/MessageFormat.java (format): Now varargs.
19437 2006-05-15 Tom Tromey <tromey@redhat.com>
19439 * java/lang/Thread.java (State): Fixed typo.
19441 2006-05-15 Tom Tromey <tromey@redhat.com>
19443 * java/net/URLClassLoader.java: Moved inner classes to
19444 gnu.java.net.loader.
19445 (factoryCache): Changed type.
19446 (URL_LOADER_PREFIX): New constant.
19447 (URLClassLoader): Updated for new factoryCache.
19448 (addURLImpl): Use reflection to search for a loader.
19449 (findClass): Use getClass method on URLLoader.
19450 (getURLStreamHandler): Removed.
19451 * gnu/java/net/loader/URLLoader.java: New file, extracted
19452 from URLClassLoader.
19453 * gnu/java/net/loader/Resource.java: Likewise.
19454 * gnu/java/net/loader/FileResource.java: Likewise.
19455 * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19456 * gnu/java/net/loader/JarURLLoader.java: Likewise.
19457 * gnu/java/net/loader/JarURLResource.java: Likewise.
19458 * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19459 * gnu/java/net/loader/RemoteResource.java: Likewise.
19460 * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19462 2006-05-15 Sven de Marothy <sven@physto.se>
19464 * native/target/generic/target_generic_network.h:
19465 Add a pair of parenthesis.
19467 2006-05-15 Mark Wielaard <mark@klomp.org>
19469 * java/awt/Graphics2D.java: Remove PrinterJob import.
19471 2006-05-15 Mark Wielaard <mark@klomp.org>
19473 * doc/www.gnu.org/announce/20060515.wml: New file.
19474 * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19475 * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19477 2006-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
19479 * NEWS: Announce inclusion of gcjwebplugin.
19480 Announce inclusion of appletviewer.
19481 * INSTALL: Note gcjwebplugin dependencies.
19483 2006-05-15 Mark Wielaard <mark@klomp.org>
19485 * configure.ac (VERSION): Set to 0.91-generics.
19487 2006-05-15 Mark Wielaard <mark@klomp.org>
19489 * NEWS: Add release date and VMClassLoader.getBootPackages()
19492 2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
19494 * README: Added CACAO to list of VMs.
19496 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19498 * javax/swing/RepaintManager.java (paintDirtyRegions):
19499 Break loop as soon as the component repaint is merged
19500 with some parent. (ComponentComparator): Removed.
19501 (comparator): Removed.
19503 2006-05-15 Roman Kennke <kennke@aicas.com>
19505 * javax/swing/border/TitledBorder.java
19506 (paintBorderWithTitle): Fixed indentation.
19508 2006-05-15 Roman Kennke <kennke@aicas.com>
19510 * javax/swing/border/TitledBorder.java
19511 (layoutBorderWithTitle): Fetch border using getBorder() instead
19512 of using the border field directly. Allows for the use of
19513 an UI supplied border in the case when a null border was set.
19514 Fixed component orientation.
19515 (paintBorderWithTitle): Fetch border using getBorder() instead
19516 of using the border field directly. Allows for the use of
19517 an UI supplied border in the case when a null border was set.
19519 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19521 * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19522 (contains): New method.
19524 2006-05-15 Tom Tromey <tromey@redhat.com>
19526 * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19528 * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19531 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19533 * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19535 * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19536 region. (paintDirtyRegions): Rewritten.
19538 2006-05-15 Tom Tromey <tromey@redhat.com>
19540 * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19542 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19544 * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19545 (run): Use MessageFormat.
19546 * resource/gnu/classpath/tools/jar/messages.properties: New file.
19547 * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19548 (writeFile): Use MessageFormat.
19550 2006-05-15 Jeroen Frijters <jeroen@frijters.net>
19552 * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19553 instead of directly calling the class loader.
19555 2006-05-15 Tom Tromey <tromey@redhat.com>
19557 * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19558 Removed old comment.
19559 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19560 Externalized strings.
19561 (getVersionString): Use MessageFormat.
19562 * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19563 * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19564 * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19565 (getArgument): Use a MessageFormat.
19566 (handleLongOption): Likewise.
19569 2006-05-15 Robert Schuster <robertschuster@fsfe.org>
19572 * javax/swing/text/FieldView.java:
19573 (paint): Calculate intersection between clip and allocation area and
19574 set that as new clip.
19576 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19578 * javax/swing/text/JTextComponent.java: Marked stub methods.
19580 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19582 * javax/swing/JTable.java: Marked stub methods.
19584 2006-05-15 Raif S. Naffah <raif@swiftdsl.com.au>
19586 * tools/gnu/classpath/tools/jarsigner/Main.java:
19587 Increased visibility of fields used by parser anonymous classes.
19588 (KEYTOOL_TOOL): New constant.
19589 (cmdLineParser): Changed type to ToolParser.
19590 (fileAndAlias): new field.
19591 (main): Don't catch OptionException.
19592 (processArgs): Removed validation checks; now handled by ToolParser.
19593 (getParser): Removed.
19594 (ToolParserCallback): New inner class.
19595 (ToolParser): Likewise.
19597 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19599 * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19602 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19604 * javax/swing/DefaultDesktopManager.java (endDraggingFrame,
19605 endResizingFrame): Do not repaint, unless in the outline mode.
19607 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19609 * javax/swing/JTabbedPane.java
19610 (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19611 (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19612 (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19613 (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19614 (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19615 (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19616 (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19617 (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19618 (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19619 (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19620 (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19621 (Page.getAccessibleName): Implemented.
19623 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19625 * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19626 Do not repaint nor revalidate here.
19628 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19630 * javax/swing/RepaintManager.java (addDirtyRegion):
19631 If there is a lightweight parent, recursively add the corresponding
19632 region of the parent instead.
19634 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19636 * java/awt/Graphics2D.java: Added some API doc comments.
19638 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19640 * javax/swing/JTabbedPane.java
19641 (paramString): Reimplemented,
19642 (getAccessibleContext): Added API docs.
19644 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19646 * javax/swing/JFileChooser.java
19647 (paramString): Reimplemented,
19648 (getAccessibleContext): Updated API docs,
19649 (AccessibleJFileChooser): Added API docs.
19651 2006-05-14 Tom Tromey <tromey@redhat.com>
19653 * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19655 * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19657 * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19659 * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed. Moved
19660 validation to JarParser.
19661 * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19662 (run): Moved validation to JarParser. Don't throw OptionException.
19663 (initializeParser): Create a JarParser.
19664 (main): Don't catch OptionException.
19665 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19667 (validate): New method.
19668 (parse): Call it. Print '-help' in error message when long-only.
19670 2006-05-14 Tom Tromey <tromey@redhat.com>
19672 * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19675 2006-05-15 Sven de Marothy <sven@physto.se>
19677 * gnu/java/awt/print/JavaPrinterGraphics.java:
19678 Sweeping changes I can't be bothered to document in detail.
19679 * gnu/java/awt/print/JavaPrinterJob.java
19680 (getPageAttributes): New method.
19681 (setPageable,cancel,isCancelled): Implement.
19683 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19685 * javax/swing/JCheckBoxMenuItem.java
19686 (requestFocus): Fixed typo in API docs,
19687 (paramString): Just call super.paramString(),
19688 (getAccessibleContext): Added API docs,
19689 (AccessibleJCheckBoxMenuItem): Likewise.
19691 2006-05-14 Tom Tromey <tromey@redhat.com>
19693 * tools/gnu/classpath/tools/jar/Indexer.java
19694 (writeCommandLineEntries): Simplify insertion.
19695 * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19698 2006-05-14 Tom Tromey <tromey@redhat.com>
19700 PR classpath/27514:
19701 * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed. Now
19703 (JAR_INDEX_VERSION_KEY): Likewise.
19704 (IndexListParser): Updated.
19705 (getVersionInfo): Likewise.
19706 * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19707 * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19709 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19711 (ModeOption): New constructor.
19712 (parsed): Updated. Use setArchiveFile.
19713 (setArchiveFile): New method.
19714 (run): Handle no-argument case.
19715 (main): Emit --help message on option error.
19716 * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19717 (createManifest): New method.
19718 (run): Updated. Throws OptionException. Correctly copy zip entry.
19719 * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19721 (writeManifest): Removed.
19722 (outputStream): Now a JarOutputStream.
19723 (writeCommandLineEntries): Changed parameters. Updated callers.
19724 (run): Throws OptionException.
19725 * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19726 * java/util/jar/Manifest.java (read): Typo fix.
19728 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19730 * javax/swing/JMenuItem.java
19731 (paramString): Fixed class name in API doc comment.
19733 2006-05-14 Tom Tromey <tromey@redhat.com>
19735 * native/plugin/.cvsignore: Updated.
19737 2006-05-14 Mark Wielaard <mark@klomp.org>
19739 * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19742 2006-05-14 Chris Burdess <dog@gnu.org>
19744 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19745 nodes to be preserved during cloneNode.
19747 2006-05-14 Mark Wielaard <mark@klomp.org>
19750 * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19751 inherited timeout on socket.
19753 2006-05-14 Lillian Angel <langel@redhat.com>
19755 * java/util/SimpleTimeZone.java: Reverted patch.
19756 (SimpleTimeZone): Throw exception if startMonth ==
19758 (SimpleTimeZone): Likewise.
19759 (checkRule): Rewritten to properly check all values (more
19761 This code is now more stable, at least less buggy than before.
19762 Fixed API documentation.
19763 (setStartRule): Moved checkRule call to end.
19764 (setStartRule): Likewise.
19765 (setEndRule): Likewise.
19766 (setEndRule): Likewise.
19768 2006-05-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19770 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19773 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19776 * javax/swing/text/AbstractDocument.java:
19777 (insertString): Flipped if-expression and its blocks.
19779 (replace): Flipped if-expression and its blocks, added note, invoke
19780 insertString and remove instead of insertStringImpl and removeImpl.
19782 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19784 * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19786 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19788 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19790 * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
19791 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java:
19792 Increased visibility of fields used by parser anonymous classes.
19793 (processArgs): Removed.
19794 (getParser): New method.
19795 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
19796 (setup): Mark (Eclipse) strings that need not be externalised.
19798 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
19799 * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
19800 command line option parsing.
19801 * tools/gnu/classpath/tools/keytool/ListCmd.java:
19802 Increased visibility of fields used by parser anonymous classes.
19803 (processArgs): Removed.
19804 (setup): set 'all' local field.
19805 (getParser): New method.
19806 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java:
19807 Increased visibility of fields used by parser anonymous classes.
19808 (processArgs): Removed.
19809 (getParser): New method.
19810 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
19811 (setNewKeyPassword): Fixed comments.
19812 * tools/gnu/classpath/tools/keytool/ImportCmd.java:
19813 Increased visibility of fields used by parser anonymous classes.
19814 (processArgs): Removed.
19815 (getParser): New method.
19816 (findTrustInCACerts): Mark (Eclipse) strings that need not be
19818 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java:
19819 Increased visibility of fields used by parser anonymous classes.
19820 (processArgs): Removed.
19821 (setup): Mark (Eclipse) strings that need not be externalised.
19822 (getParser): New method.
19823 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
19824 * tools/gnu/classpath/tools/keytool/DeleteCmd.java:
19825 Increased visibility of fields used by parser anonymous classes.
19826 (processArgs): Removed.
19827 (getParser): New method.
19828 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
19829 (ATTRIBUTES_OPT): New constant.
19830 * tools/gnu/classpath/tools/keytool/ExportCmd.java:
19831 Increased visibility of fields used by parser anonymous classes.
19832 (processArgs): Removed.
19833 (setup): Mark (Eclipse) strings that need not be externalised.
19835 Reduced logging level.
19836 (getParser): New method.
19837 * tools/gnu/classpath/tools/keytool/Command.java
19838 (processArgs): Made it concrete.
19839 (getParser): New abstract method.
19840 * tools/Makefile.am (KEYTOOL_HELPS): Removed.
19842 2006-05-13 Casey Marshall <csm@gnu.org>
19844 Patch by Michael Barker <mike@middlesoft.co.uk>.
19845 * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
19846 * gnu/java/nio/SelectorImpl.java (register): Added condition for
19847 gnu.java.nio.SocketChannelSelectionKeyImpl.
19848 * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
19849 * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
19851 * include/gnu_java_nio_VMChannel.h: new file.
19852 * java/nio/FileChannel.java (read,write): changed to call abstract
19854 * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
19855 * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
19856 `gnu_java_nio_VMChannel.c.'
19857 * vm/reference/gnu/java/nio/VMChannel.java: new file.
19859 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19861 * javax/swing/text/AbstractDocument.java:
19862 (insertString): Flipped if-expression and its blocks.
19864 (replace): Flipped if-expression and its blocks, added note, invoke
19865 insertString and remove instead of insertStringImpl and removeImpl.
19867 2006-05-13 Tom Tromey <tromey@redhat.com>
19869 * java/nio/ByteBufferImpl.java (compact): Always set position.
19871 2006-05-13 Sven de Marothy <sven@physto.se>
19873 * gnu/java/awt/print/JavaPrinterGraphics.java
19874 (spoolPostScript): Use a faster writer.
19876 2006-05-13 Sven de Marothy <sven@physto.se>
19878 * gnu/java/awt/print/JavaPrinterGraphics.java
19879 (colorTripleHex): Reimplement better.
19881 2006-05-13 Sven de Marothy <sven@physto.se>
19883 * javax/swing/text/html/HTMLDocument.java
19884 (CharacterAction.start): Translate tag to StyleAttribute.
19885 (pushCharacterStyle): Push copy of attributes onto stack.
19886 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
19889 2006-05-13 Sven de Marothy <sven@physto.se>
19891 * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
19892 * java/awt/print/PrinterJob.java
19893 (getPrinterJob): Return a JavaPrinterJob
19894 (setPrintService,getPrintService): Implement.
19895 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
19896 (getPixels): Gtk_threads_enter required.
19897 * gnu/java/awt/print/JavaPrinterGraphics.java
19898 * gnu/java/awt/print/JavaPrinterJob.java
19899 * gnu/java/awt/print/SpooledDocumet.java:
19902 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19904 * javax/swing/text/TextAction.java:
19905 (HorizontalMovementAction): New inner class.
19906 (VerticalMovementAction): New inner class.
19907 * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
19908 new inner classes to array 'defaultActions'.
19909 (SelectionBeginWordAction): New inner class.
19910 (SelectionEndWordAction): New inner class.
19911 (BeginWordAction): New inner class.
19912 (EndWordAction): New inner class.
19913 (PreviousWordAction.actionPerformed): Rewritten.
19914 (SelectLineAction): New inner class.
19915 (SelectWordAction): New inner class.
19916 (SelectionDownAction): Rewritten.
19917 (SelectionUpAction): Rewritten.
19918 (DownAction): Rewritten.
19919 (UpAction): Rewritten.
19920 (SelectionForwardAction): Rewritten.
19921 (SelectionBackwardAction): Rewritten.
19922 (ForwardAction): Rewritten.
19923 (BackwardAction): Rewritten.
19924 (BeginAction): New inner class.
19925 (EndAction): New inner class.
19926 (DefaultKeyTypedAction.actionPerformed): Use int variant of
19927 Character.isISOControl.
19929 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19931 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
19932 (WordFilter.getNextVisualPositionFrom): Added statement to check
19933 for variable pt not being null.
19935 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19937 * javax/swing/text/Utilities.java:
19938 (getNextWord): Fixed grammar in exception message.
19939 (getPreviousWord): Changed expression in first if-clause, added sub-
19940 expression to if-clause in while-loop.
19941 (getWordStart): Changed expression in if-clause.
19942 getNextVisualPositionFrom): Added package-private helper method.
19944 2006-05-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19946 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19949 2006-05-13 Raif S. Naffah <raif@swiftdsl.com.au>
19951 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
19953 * tools/Makefile.am (JARSIGNER_HELPS): Removed.
19954 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
19955 * tools/gnu/classpath/tools/jarsigner/Main.java:
19956 Increased visibility of fields used by parser anonymous classes.
19957 (HELP_PATH): Removed.
19958 (cmdLineParser): New field.
19959 (main): Handle JVM exit status.
19960 Handle command line parsing exceptions.
19961 (processArgs): Use getopt command line parser.
19962 (getParser): New method.
19963 (setupCommonParams): Removed checks now handled by processArgs().
19964 (setupSigningParams): Likewise.
19965 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
19966 Reuse an existing message-bundle constant.
19968 2006-05-12 Tom Tromey <tromey@redhat.com>
19970 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
19971 Explicitly specify class for synchronization.
19973 2006-05-12 Tom Tromey <tromey@redhat.com>
19975 * java/util/logging/Logger.java (resetLogger): Fixed typo.
19977 2006-05-12 Sven de Marothy <sven@physto.se>
19979 * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
19980 * gnu/java/net/protocol/http/HTTPURLConnection.java
19981 (setConnectTimeout): New method.
19982 (getConnection): Add timeout parameter.
19983 * java/net/URLConnection.java
19984 (getConnectTimeout, setConnectTimeout): Implement.
19985 * native/target/generic/target_generic_network.h:
19986 Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
19988 2006-05-12 Sven de Marothy <sven@physto.se>
19990 * gnu/javax/print/CupsServer.java
19991 (CupsServer): Make the Cups host configurable.
19992 * java/lang/System.java: Document the system property.
19994 2006-05-12 Roman Kennke <kennke@aicas.com>
19996 * javax/swing/border/TitledBorder.java
19997 (paintBorder): Rewritten for simplicity and correctness.
19998 (layoutBorderWithTitle): New helper method.
19999 (paintBorderWithTitle): New helper method.
20000 (getBorderInsets): Rewritten.
20001 (getMinimumSize): Rewritten.
20002 (getRealJustification): Removed.
20003 (getMeasurements): Removed.
20004 (Measurements): Removed.
20006 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
20008 * javax/swing/plaf/basic/BasicPanelUI.java
20009 (sharedUI): New field,
20010 (createUI): Return a shared instance rather than a new instance,
20011 (installUI): Reformatted and added API docs,
20012 (installDefaults): Install border if one is defined,
20013 (uninstallDefaults): Uninstall border.
20015 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
20017 * javax/swing/JProgressBar.java: Updated API docs all over.
20019 2006-05-11 Lillian Angel <langel@redhat.com>
20021 * java/awt/ContainerOrderFocusTraversalPolicy.java
20022 (getComponentAfter): Should not throw exception if
20023 the ancestor is null. Added a check for this.
20024 Also, changed to use new helper function, we should
20025 iterate through all the components at least once.
20026 (getNextAvailableComponent): New helper function.
20027 (getPrevAvailableComponent): New helper function.
20028 (getComponentBefore): Should not throw exception if
20029 the ancestor is null. Added a check for this.
20030 Also, changed to use new helper function, we should
20031 iterate through all the components at least once.
20032 (getFirstComponent): Changed check to manually check
20033 fields. Calling accept() casts the object to a Component,
20034 so different values may be returned.
20035 (getLastComponent): Likewise.
20037 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20039 * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
20040 * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
20041 * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
20042 * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
20043 * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
20044 * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
20045 * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
20046 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
20047 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
20048 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
20049 * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
20050 * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
20051 * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
20052 * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
20053 * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
20054 * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
20055 * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
20056 * javax/swing/plaf/metal/MetalUtils.java: Likewise.
20058 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20060 * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
20061 package-private, added field 'active'.
20062 (PropertyChangeHandler.propertyChange): Added variable 'name', added
20063 cases to update field 'active'.
20064 (mouseDragged): Added documentation, added if-clause to update
20065 selection or caret position.
20066 (mouseClicked): Added early return when text component is disabled.
20067 (focusGained): Moved statements into an if-clause.
20068 (focusLost): Added subexpression to if-clause.
20069 (install): Preset value of 'active'.
20070 (paint): Added subexpression to if-clause.
20071 (isVisible): Extended return expression.
20072 * javax/swing/text/JTextComponent.java:
20073 (copy): Copy only if component is enabled.
20074 (cut): Cut only if component is enabled and editable.
20077 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20079 * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
20080 * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
20081 * javax/swing/plaf/multi/MultiListUI.java: Likewise,
20082 * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
20083 * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
20084 * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
20085 * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.
20087 2006-05-11 Roman Kennke <kennke@aicas.com>
20089 * gnu/java/awt/font/GNUGlyphVector.java
20090 (GNUGlyphVector): Don't apply the font renderer context's
20093 2006-05-11 Mark Wielaard <mark@klomp.org>
20095 * java/util/logging/Logger.java (global): Initialize inside static
20098 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20100 * javax/swing/JFrame.java
20101 (EXIT_ON_CLOSE): Added note to API docs,
20102 (close_action): Renamed closeAction,
20103 (JFrame()): Change title to "",
20104 (JFrame(String)): Added API docs,
20105 (getAccessibleContext): Likewise,
20106 (getDefaultCloseOperation): Updated for renamed field, added API docs,
20107 (processWindowEvent): Updated for renamed field,
20108 (setDefaultCloseOperation): Likewise, and updated API docs.
20110 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20112 * javax/swing/JFrame.java
20113 (paramString): Reimplemented,
20114 * javax/swing/SwingUtilities.java
20115 (convertWindowConstantToString): New method.
20117 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20119 * javax/swing/WindowConstants.java: Updated API docs.
20121 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20123 * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
20124 (createUI): Removed 'final' qualifier for parameter,
20125 (paint): Reformatted.
20127 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20129 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
20130 (createUI): Removed 'final' qualifier on method argument.
20132 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20134 * javax/swing/plaf/basic/BasicCheckBoxUI.java
20135 (getDefaultIcon): Removed this redundant method.
20137 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20139 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20140 (paint): Pass component size to paintFocus().
20142 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20144 * java/awt/Component.java:
20145 (dispatchEventImpl): Added comment.
20147 2006-05-11 Mark Wielaard <mark@klomp.org>
20149 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
20150 Option constructor null argument to String.
20152 2006-05-11 Mark Wielaard <mark@klomp.org>
20154 * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
20155 Fully qualify PathIterator constants
20157 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20159 * java/awt/Component.java:
20160 (dispatchEventImpl): Added subexpression to if-clause.
20162 2006-05-11 Mark Wielaard <mark@klomp.org>
20164 * java/util/Collections.java (UnmodifiableMapEntry): Qualify
20167 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20169 * javax/swing/TransferHandler.java: Marked stub methods.
20171 2006-05-10 Roman Kennke <kennke@aicas.com>
20174 * javax/swing/plaf/basic/BasicInternalFrameUI.java
20175 (installDefaults): Set background of content pane to null, if
20176 no custom color has been installed by the application yet.
20178 2006-05-10 Roman Kennke <kennke@aicas.com>
20181 * javax/swing/JRootPane.java
20182 (createContentPane): Don't set background to null.
20184 2006-05-10 Sven de Marothy <sven@physto.se>
20186 * java/awt/print/PrinterJob.java:
20187 (lookupPrintServices): Un-comment-out.
20189 2006-05-11 Raif S. Naffah <raif@swiftdsl.com.au>
20191 * tools/gnu/classpath/tools/getopt/OptionGroup.java
20192 (FILLER): New constant.
20193 (formatText(PrintStream,String,int)): New method.
20194 (formatText(PrintStream,String,int,Locale)): Likewise.
20195 (printHelp): Use formatText method.
20196 * tools/gnu/classpath/tools/getopt/Parser.java
20197 (MAX_LINE_LENGTH): New constant.
20198 (formatText(PrintStream,String)): New method.
20199 (formatText(PrintStream,String,Locale)): Likewise.
20200 (printHelp): New method.
20201 (printHelp(PrintStream)): Increased visibility to protected.
20202 Use formatText method.
20204 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20206 * javax/swing/plaf/metal/MetalRadioButtonUI.java
20207 (installDefaults): Use getPropertyPrefix() to allow subclasses to
20208 modify the lookup key.
20210 2006-05-10 Lillian Angel <langel@redhat.com>
20212 * java/util/SimpleTimeZone.java: Reverted patch.
20213 (SimpleTimeZone): Throw exception if startMonth ==
20215 (SimpleTimeZone): Likewise.
20216 (checkRule): Rewritten to properly check all values (more
20218 This code is now more stable, at least less buggy than before.
20219 Fixed API documentation.
20220 (setStartRule): Moved checkRule call to end.
20221 (setStartRule): Likewise.
20222 (setEndRule): Likewise.
20223 (setEndRule): Likewise.
20225 2006-05-10 Roman Kennke <kennke@aicas.com>
20227 * gnu/java/awt/peer/swing/SwingComponent.java:
20228 Some API comment fixlets.
20229 * gnu/java/awt/peer/swing/SwingComponentPeer.java:
20230 (createImage): Create a BufferedImage, not a Toolkit image.
20231 (paint): Removed bogus API comment.
20232 (prepareImage): Added checks to avoid NPE.
20233 * gnu/java/awt/peer/swing/SwingContainerPeer.java:
20234 (getInsets): Added check to avoid NPE.
20235 (handleMouseEvent): Added check to avoid NPE.
20236 * gnu/java/awt/peer/swing/SwingFramePeer.java:
20237 Some API comment fixlets.
20238 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
20239 Some API comment fixlets.
20240 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
20241 Changed start_pos name to startPos.
20242 * gnu/java/awt/peer/swing/SwingWindowPeer.java:
20243 Some API comment fixlets.
20245 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20247 * java/awt/BasicStroke.java
20248 (equals): Fixed typo in HTML tag for API doc comment.
20250 2006-05-10 Gary Benson <gbenson@redhat.com>
20252 * java/lang/ThreadGroup.java (parent): Make package-private.
20253 * java/lang/SecurityManager.java (checkAccess(Thread)):
20254 Reference ThreadGroup.parent directly to avoid extra checks.
20255 * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
20258 2006-05-10 Roman Kennke <kennke@aicas.com>
20260 Reported by Ingo Proetel (proetel@aicas.com)
20261 * java/awt/EventDispatchThread.java
20262 (DEFAULT_PRIORITY): New constant field.
20263 (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
20264 system property for adjusting the priority of the event
20267 2006-05-10 Roman Kennke <kennke@aicas.com>
20269 Reported by Ingo Proetel (proetel@aicas.com)
20270 * java/awt/image/ColorModel.java
20271 (S_RGB_MODEL): New constant field.
20272 (getRGBDefault): Return constant SRGBColorModel.
20273 (SRGBColorModel): Specialized color model for sRGB.
20275 2006-05-10 Roman Kennke <kennke@aicas.com>
20277 * java/awt/ColorPaintContext.java
20278 (getRaster): Create Raster with (0,0) as source location.
20280 2006-05-10 Roman Kennke <kennke@aicas.com>
20282 * gnu/java/awt/java2d/AlphaCompositeContext.java
20283 (compose): Don't premultiply alpha to alpha itself.
20285 2006-05-10 Roman Kennke <kennke@aicas.com>
20287 * gnu/java/awt/java2d/AbstractGraphics2D.java
20288 (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
20289 (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
20291 (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
20292 (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
20293 (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
20295 (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
20296 (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
20298 (scale): Inverse transform by doing 1/scale instead of -scale.
20299 (drawImage(Image,int,int,ImageObserver)): Implemented.
20300 (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
20301 (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
20302 (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
20303 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
20305 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
20307 (fillScanline): Work on translated destination raster for
20308 correct compositin.
20309 (init): Fetch the clip after the destination raster is initialized.
20310 * gnu/java/awt/java2d/ImagePaint.java: New file.
20311 * gnu/java/awt/java2d/RasterGraphics
20312 (drawImage): Removed.
20314 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20316 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20317 Clarify option descriptions.
20318 * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
20319 uppercase for metasyntactic variables.
20321 2006-05-09 Robert Schuster <robertschuster@fsfe.org>
20324 * javax/swing/text/AbstractDocument.java:
20325 (insertString): Added more documentation, added argument check.
20326 (remove): Added more documentation.
20327 (removeImpl): Added argument check.
20328 (replace): Added more documentation, added argument check.
20330 2006-05-09 Tom Tromey <tromey@redhat.com>
20332 * tools/.cvsignore: Added appletviewer.
20334 2006-05-09 Tom Tromey <tromey@redhat.com>
20336 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
20339 2006-05-09 Tom Tromey <tromey@redhat.com>
20341 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp):
20342 Special case for '-J'. Use space instead of '='.
20343 * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
20346 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20348 * configure.ac: Add --disable-plugin and --with-vm options. Check
20349 for plugin support headers and libraries.
20350 * native/Makefile.am: Recurse into plugin directory.
20351 * native/plugin/.cvsignore: New file.
20352 * native/plugin/Makefile.am: New file.
20353 * native/plugin/gcjwebplugin.cc: New file.
20354 * tools/Makefile.am: Install appletviewer wrapper script.
20355 * tools/appletviewer.in: Replace VM location heuristic with
20356 VM_BINARY configure substitution.
20358 2006-05-09 Tom Tromey <tromey@redhat.com>
20360 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
20361 an initial pass to look for short options. Added 'longOnly' option.
20362 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
20364 * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
20365 options into final group. Added -J.
20366 (add): Insert new groups before final group.
20367 (printHelp): Updated.
20369 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20372 * tools/gnu/classpath/tools/giop/GRMIC.java (main),
20373 tools/gnu/classpath/tools/rmi/RMIC.java (main):
20374 Expect -classpath option.
20375 * tools/gnu/classpath/tools/rmi/RMIC.txt,
20376 tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
20378 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
20379 (classLoader): New field. (loadClass, setClassPath):
20382 2006-05-09 Roman Kennke <kennke@aicas.com>
20384 * gnu/java/awt/java2d/RasterGraphics.java
20385 (RasterGraphics): Call init() and super().
20386 (drawImage): Temporary drawImage impl until AbstractGraphics2D has
20389 2006-05-09 Gary Benson <gbenson@redhat.com>
20391 * java/lang/Thread.java (Thread): Always perform threadgroup
20392 access checks on thread creation.
20394 2006-05-09 Chris Burdess <dog@gnu.org>
20396 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
20397 be preserved during cloneNode.
20399 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20402 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
20403 Do not demand all thrown exceptions to be an instance of RemoteException.
20405 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20407 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20408 Use hash-style comments.
20409 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20412 2006-05-09 David Gilbert <david.gilbert@object-refinery.com>
20414 * javax/swing/JLabel.java
20415 (paramString): Added more attribute details,
20416 * javax/swing/SwingUtilities.java
20417 (convertHorizontalAlignmentCodeToString): New method,
20418 (convertVerticalAlignmentCodeToString): New method.
20420 2006-05-08 Tom Tromey <tromey@redhat.com>
20422 * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20423 * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20424 * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20427 * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20429 (run): Use ZipInputStream.
20430 (initSet): New method.
20431 (shouldExtract): Likewise.
20432 (run): Use new methods.
20433 * tools/gnu/classpath/tools/jar/Creator.java
20434 (writeCommandLineEntries): New overload.
20435 (writeFile): Use System.err for verbose.
20436 (writeManifest): New method.
20437 (writtenItems): New field.
20438 (writeFile): Update it.
20439 (writeCommandLineEntries): Return void. Call writeManifest.
20440 (addEntries): Don't add extra '/'.
20441 * NEWS: Mention jar.
20443 2006-05-08 Lillian Angel <langel@redhat.com>
20445 * gnu/java/net/IndexListParser.java: New class.
20446 * java/net/URLClassLoader.java
20447 (JarURLLoader): Fixed code to use new class.
20449 2006-05-08 Roman Kennke <kennke@aicas.com>
20451 * javax/swing/JComboBox.java
20452 (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20453 (AccessibleJComboBox.getAccessibleChild): Implemented.
20454 (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20455 (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20456 (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20457 (AccessibleJComboBox.getAccessibleAction): Implemented.
20458 (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20459 (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20460 (AccessibleJComboBox.doAccessibleAction): Implemented.
20461 (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20462 (AccessibleJComboBox.addAccessibleSelection): Implemented.
20463 (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20464 (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20465 (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20467 2006-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
20469 * configure.ac: Add support for building appletviewer.
20470 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20472 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20474 * tools/appletviewer.c: New file.
20475 * tools/appletviewer.in: New file.
20476 * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20478 * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20480 * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20481 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20483 * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20485 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20487 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20489 * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20491 * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20492 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20494 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20496 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20498 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20500 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20502 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20504 * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20507 2006-05-08 Tom Tromey <tromey@redhat.com>
20509 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20510 * tools/gnu/classpath/tools/jar/Action.java: New file.
20511 * tools/gnu/classpath/tools/jar/Creator.java: New file.
20512 * tools/gnu/classpath/tools/jar/Entry.java: New file.
20513 * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20514 * tools/gnu/classpath/tools/jar/Lister.java: New file.
20515 * tools/gnu/classpath/tools/jar/Main.java: New file.
20516 * tools/gnu/classpath/tools/jar/Updater.java: New file.
20517 * tools/gnu/classpath/tools/getopt/Option.java: New file.
20518 * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20519 * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20520 * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20521 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20524 2006-05-08 Lillian Angel <langel@redhat.com>
20526 * java/net/URLClassLoader.java
20527 (JarURLLoader): Added check to make sure the INDEX.LIST file
20530 2006-05-08 Roman Kennke <kennke@aicas.com>
20532 * gnu/java/awt/java2d/AbstractGraphics2D.java
20533 (fill): Removed commented out code.
20534 (fillShape): Also determine the outline of the clip and feed
20535 it into the rendering method. Use new helper method for
20536 converting the shapes into lists of segments.
20537 (getUserBounds): Removed obsolete method.
20538 (rawFillShape): Respect the clip when rendering shapes.
20539 (fillShapeAntialias): Adjusted signature for new clipped rendering.
20540 However, the implementation can't clip still.
20541 (getSegments): New helper method for converting a shape into
20542 a list of segments.
20543 (clipShape): Removed obsolete method.
20544 * gnu/java/awt/java2d/PolyEdge.java
20545 (isClip): New field.
20546 (PolyEdge): Added isField argument to constructor.
20548 2006-05-08 Roman Kennke <kennke@aicas.com>
20551 * javax/swing/JRootPane.java
20552 (createContentPane): Set background of the content pane to null,
20553 so that the content pane inherits its background from the
20556 2006-05-08 Roman Kennke <kennke@aicas.com>
20559 * javax/swing/ButtonGroup.java
20560 (add): Check if new button is selected and if so, deselect other
20561 buttons in the group.
20563 2006-05-08 Lillian Angel <langel@redhat.com>
20566 * java/net/URLClassLoader.java
20567 (JarURLLoader): Added code to go through
20568 META-INF/INDEX.LIST file to load all jars listed.
20570 2006-05-08 Roman Kennke <kennke@aicas.com>
20573 * javax/swing/ImageIcon.java
20574 (ImageIcon(URL)): Set description to URL.toString().
20576 2006-05-08 Roman Kennke <kennke@aicas.com>
20579 * javax/swing/JTable.java
20580 (IconCellRenderer.getTableCellRendererComponent): Set icon to
20581 null when cell value is null.
20583 2006-05-08 Roman Kennke <kennke@aicas.com>
20586 * javax/swing/DefaultDesktopManager.java
20587 (closeFrame): Don't perform default close action on the frame
20588 to prevent endless loop.
20590 2006-05-08 Roman Kennke <kennke@aicas.com>
20593 * javax/swing/table/DefaultTableModel.java
20594 (addExtraRows): New helper method.
20595 (checkSize): New helper method.
20596 (setRowCount): Use addExtraRows helper method.
20597 (addColumn): Use addExtraRows helper method.
20598 (getColumnName): Check and adjust size if necessary using
20601 2006-05-08 Roman Kennke <kennke@aicas.com>
20604 * javax/swing/JTable.java
20605 (setValueAt): Allow setting values even when table is editable.
20607 2006-05-08 Tom Tromey <tromey@redhat.com>
20609 * java/text/SimpleDateFormat.java (compileFormat): Added missing
20610 space to error message.
20612 2006-05-08 David Gilbert <david.gilbert@object-refinery.com>
20614 * javax/swing/AbstractButton.java: Fixed comment typos.
20616 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20618 PR classpath/27435:
20619 * java/util/zip/DeflaterEngine.java:
20620 (deflateFast(boolean,boolean)): Empty buffer when full.
20622 2006-05-07 Sven de Marothy <sven@physto.se>
20625 * java/util/Calendar.java (setTimeZone): Force recalculation.
20627 2006-05-07 Sven de Marothy <sven@physto.se>
20630 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20631 (propertyChange): Handle FRAME_ICON_PROPERTY property.
20633 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20635 PR classpath/27311:
20636 * gnu/java/text/StringFormatBuffer.java:
20637 (toString()): Implemented so we can see the contents.
20638 * java/text/DecimalFormat.java:
20639 (formatInternal(double,StringFormatBuffer,FieldPosition)):
20640 Don't calculate the exponent when the number is 0 or less.
20641 Also, use log10 instead of log now it's available.
20643 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20645 * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20646 Use instance's field creationDate not the constructor's argument.
20647 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20648 Removed unused imports.
20651 (decrypt): Added trace/debug/timing statements.
20652 (encrypt): Likewise.
20653 Use PRNG instead of instantiating every time a new SecureRandom.
20654 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20655 Removed unused imports.
20658 (verify): Added trace/debug/timing statements.
20659 (authenticate): Likewise.
20660 Use PRNG instead of instantiating every time a new SecureRandom.
20662 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20664 * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20665 (THREAD_FORMAT): Likewise.
20666 (dateFormat): Added field.
20667 (threadFormat): Added field.
20668 (format): Initialize instance fields if null.
20669 Use StringBuilder instead of StringBuffer.
20671 2006-05-07 Roman Kennke <kennke@aicas.com>
20673 * gnu/java/awt/java2d/RasterGraphics.java: New file.
20675 2006-05-07 Roman Kennke <kennke@aicas.com>
20677 * gnu/java/awt/java2d/AbstractGraphics2D.java
20678 (fillShape): Determine user space bounds of shape and feed them
20679 into the actual rendering pipeline.
20680 (rawSetPixel): Made non-abstract for now. Maybe remove later.
20681 (rawSetForeground): Likewise.
20682 (getDestinationColorModel): Removed.
20683 (getDeviceBounds): Made non-abstract. Provide useful default impl.
20684 (rawFillShape): Handle paint context.
20685 (fillScanline): Implement painting and compositing.
20686 (fillShapeAntialias): Handle paint context.
20687 (fillScanlineAA): Implemented preliminary antialiasing based on
20688 composite context. Not working yet.
20689 (fillScanlineAlpha): Removed.
20690 (init): Fetch destination raster.
20691 (getDestinationRaster): New abstract method.
20692 (updateRaster): New backend method.
20694 2006-05-07 Roman Kennke <kennke@aicas.com>
20696 * gnu/java/awt/java2d/AlphaCompositeContext.java
20697 (compose): Fixed loops, conditions and logic to make compositing
20700 2006-05-07 Roman Kennke <kennke@aicas.com>
20702 * java/awt/ColorPaintContext.java
20703 (ColorPaintContext): Fixed filling of the raster.
20705 2006-05-07 Sven de Marothy <sven@physto.se>
20708 * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20709 * java/awt/Component.java (processMouseEvent):
20710 Do lightweight cursor handling.
20711 * javax/swing/plaf/basic/BasicTableHeaderUI.java
20712 (endResizing,mouseMoved): Save and reset original cursor, not the
20715 2006-05-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20718 * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20719 getNodeDimensions): Mind the size of the node icon. (getRowX):
20720 use totalChildIndent. (TreeExpansionHandler): Set maximal height
20721 to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20722 Return nullIcon if there is no other icon. (getNodeIcon): New method.
20723 (installDefaults): assign totalChildIndent. (installUI): Call
20724 updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20725 (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20728 2006-05-06 Sven de Marothy <sven@physto.se>
20731 * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled):
20732 Check for zero image sizes.
20734 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20737 * java/util/Calendar.java (clear(int)): Forced internal state
20738 completion before performing a field clearing.
20740 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20742 * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20743 UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20744 (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20745 UnmodifiableMap.UnmodifiableEntrySet.toArray,
20746 UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20747 UnmodifiableMapEntry as part of their return value.
20749 2006-05-06 Raif S. Naffah <raif@swiftdsl.com.au>
20751 * tools/keytool.sh.in: Removed (renamed to keytool.in).
20752 * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20753 * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20754 Generate jarsigner and keytool scripts.
20755 * tools/keytool.in: New file (renamed from keytool.sh.in).
20756 * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20757 * tools/.cvsignore: Replaced *.sh with *
20758 * configure.ac: Replaced tools/*.sh with tools/*.
20760 2006-05-05 Roman Kennke <kennke@aicas.com>
20762 * java/awt/image/ColorModel.java
20763 (getNormalizedComponents): Implemented.
20765 2006-05-05 Roman Kennke <kennke@aicas.com>
20767 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20768 (paint): Query the button model for it's state, not the
20771 2006-05-05 Roman Kennke <kennke@aicas.com>
20773 * javax/swing/JTable.java
20774 (tableChanged): Sync selection model with table model changes.
20776 2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20778 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20779 if there are no visible nodes to paint.
20781 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20783 * javax/swing/JOptionPane.java: API doc updates.
20785 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20787 * javax/swing/JToolBar.java
20788 (paramString): Reimplemented.
20790 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20792 * javax/swing/JScrollBar.java
20793 (paramString): Reimplemented.
20795 2006-05-04 Tom Tromey <tromey@redhat.com>
20797 PR classpath/27375:
20798 * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
20799 (readEntries): Updated.
20800 (getEntries): Likewise.
20801 (getEntry): Likewise.
20802 (getInputStream): Likewise.
20804 2006-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
20806 * gnu/javax/imageio/jpeg/DCT.java,
20807 gnu/javax/imageio/jpeg/HuffmanTable.java,
20808 gnu/javax/imageio/jpeg/JPEGComponent.java,
20809 gnu/javax/imageio/jpeg/JPEGDecoder.java,
20810 gnu/javax/imageio/jpeg/JPEGException.java,
20811 gnu/javax/imageio/jpeg/JPEGFrame.java,
20812 gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
20813 gnu/javax/imageio/jpeg/JPEGImageReader.java,
20814 gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
20815 gnu/javax/imageio/jpeg/JPEGMarker.java,
20816 gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
20817 gnu/javax/imageio/jpeg/JPEGScan.java,
20818 gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
20819 gnu/javax/imageio/jpeg/ZigZag.java: New files.
20821 2006-05-04 Lillian Angel <langel@redhat.com>
20823 * javax/swing/JLabel.java
20824 (JLabel): Pass in an empty string for the text parameter.
20825 (JLabel): Likewise.
20826 (JLabel): Likewise.
20828 2006-05-04 Roman Kennke <kennke@aicas.com>
20830 * javax/swing/plaf/basic/BasicButtonListener.java
20831 (mouseEntered): Fixed conditions for changing states.
20833 2006-05-04 Roman Kennke <kennke@aicas.com>
20835 * javax/swing/JOptionPane.java
20836 (AccessibleJOptionPane.getAccessibleRole): Implemented method.
20838 2006-05-04 Roman Kennke <kennke@aicas.com>
20840 * javax/swing/JLabel.java
20841 (AccessibleJLabel.getSelectedText): Return null instead of "".
20842 (AccessibleJLabel.getSelectionStart): Added comment why
20843 return -1 is correct here.
20844 (AccessibleJLabel.getSelectionEnd): Added comment why
20845 return -1 is correct here.
20846 (AccessibleJLabel.getCharacterAttribute): Added comment about what
20848 (AccessibleJLabel.getCharCount): Added comment about what
20850 (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
20851 (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
20852 (paramString): Return super.paramString() here, this provides
20853 a more meaningful output.
20855 2006-05-04 Roman Kennke <kennke@aicas.com>
20857 * javax/swing/JComponent.java
20858 (paint): Added null check to avoid NPE when clip == null.
20860 2006-05-04 Roman Kennke <kennke@aicas.com>
20862 * javax/swing/AbstractButton.java
20863 (addImpl): New method. Installs an OverlayLayout if no
20864 other layout has been installed before.
20865 (setLayout): New method. Detect if a client app installs a custom
20868 2006-05-04 Roman Kennke <kennke@aicas.com>
20870 * javax/swing/table/DefaultTableCellRenderer.java
20871 (noFocusBorder): Fixed width of empty border to 1.
20872 (getTableCellRendererComponent): Don't change the colors for
20873 focuses cells. Fixed border for focused cells.
20875 2006-05-04 Roman Kennke <kennke@aicas.com>
20877 * javax/swing/JTable.java
20878 (moveToCellBeingEdited): Adjust bounding box of editing component
20879 to exactly cover the grid.
20880 * javax/swing/plaf/basic/BasicTableUI.java
20881 (paint): Paint grid to the bottom and right of the cells instead
20882 of left and top. Adjust bounding box of cells accordingly.
20883 * javax/swing/plaf/metal/MetalLookAndFeel.java
20884 (initComponentDefaults): Fixed color of JTable selection border.
20885 * javax/swing/plaf/metal/OceanTheme.java
20886 (addCustomEntriesToTable): Fixed color of JTable selection border.
20888 2006-05-04 Raif S. Naffah <raif@swiftdsl.com.au>
20890 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
20891 Use _alias instead of alias.
20893 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20896 Set version to 0.92-pre.
20898 Add space for 0.92 entries.
20900 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20902 * include/Makefile.am:
20903 Added rules for gnu.java.net.local.LocalSocketImpl.h
20904 * include/java_lang_VMSystem.h:
20905 Regenerated correctly.
20907 2006-05-03 Sven de Marothy <sven@physto.se>
20910 * java/awt/Image.java:
20911 (getScaledInstance): Default to AreaAveraging for "smooth",
20912 don't thrown an error on illegal flag values.
20913 * java/awt/image/AreaAveragingScaleFilter.java: Implement.
20915 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20917 * javax/swing/text/FieldView.java:
20918 (adjustAllocation): Added if-block to return null when shape argument
20920 * javax/swing/text/PlainView.java:
20921 (updateDamage): Added if-block to return early if a is null.
20923 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20925 * javax/swing/plaf/basic/BasicTextUI.java:
20926 (changeUpdate): Added note.
20927 (removeUpdate): Dito.
20928 (insertUpdate): Dito.
20929 (damageRange): Added if-block to return early.
20930 (modelToView): Added check of getVisibleEditorRect's return value.
20931 (getVisibleEditorRect): Return null instead of empty rectangle.
20932 * javax/swing/text/DefaultCaret.java:
20933 (clearHighlight): Removed if-clause to create a highlight entry if it
20934 did not exist before.
20935 * javax/swing/text/WrappedPlainView.java:
20936 (WrappedLine.modelToView): Throw exception if allocation area is empty,
20937 removed 2nd part of if-expression.
20938 (WrappedLine.updateDamage): Added more documentation, added check
20939 whether allocation area rectangle is null.
20941 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20943 * javax/swing/JSplitPane.java (setDividerLocation(int)):
20944 Reset to preferred sizes if the argument is negative.
20946 2006-05-03 David Gilbert <david.gilbert@object-refinery.com>
20948 * javax/swing/JList.java: Added/updated API docs.
20950 2006-05-03 Lillian Angel <langel@redhat.com>
20952 * javax/swing/JComponent.java
20953 (getRoot): New private function. Gets the root appropriate
20954 for painting. If an applet exists as a parent, then it is returned.
20955 (paintDoubleBuffered): Changed to use new function.
20956 * javax/swing/RepaintManager.java
20957 (getRoot): New private function. Gets the root appropriate
20958 for painting. If an applet exists as a parent, then it is returned.
20959 (getOffscreenBuffer): Changed to use new function.
20960 * javax/swing/SwingUtilties.java
20961 (getRoot): Reverted last patch to return Window, even if
20964 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
20966 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
20967 a pair of one public keyring and one private keyring.
20968 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
20969 (containsCertificate): Added logging.
20970 (getCertificate): Likewise.
20971 (putCertificate): Likewsie.
20974 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
20975 (containsPrivateKey): Added logging.
20976 (getPrivateKey): Likewise.
20977 (putPrivateKey): Likewise.
20978 (containsPublicKey): Likewise.
20979 (getPublicKey): Likewise.
20980 (putPublicKey): Likewise.
20981 (containsCertPath): Likewise.
20982 (getCertPath): Likewise.
20983 (putCertPath): Likewise.
20987 2006-05-03 Roman Kennke <kennke@aicas.com>
20989 * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
20990 * java/awt/AlphaComposite.java
20991 (createContext): Implemented.
20993 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20995 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
20996 Set the current color again after drawing the raster.
20998 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21000 * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
21001 Do not check pos < currLineEnd if currLineStart == currLineEnd.
21003 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
21005 * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
21006 Assign returned value to field handler.
21007 * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
21010 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21012 * javax/swing/ScrollPaneLayout.java (layoutContainer):
21013 Return without action if there is no view in the viewport.
21014 * javax/swing/text/WrappedPlainView.java
21015 (WrappedLine.getPreferredSpan): If metrics == null, update
21017 * javax/swing/tree/DefaultTreeModel.java (constructors):
21018 Do not call setRoot, assign the root node directly.
21020 2006-05-02 Lillian Angel <langel@redhat.com>
21022 * javax/swing/SwingUtilities.java
21023 (getRoot): Should return the Applet if it exists.
21024 Only return the Window if an Applet has not been
21027 2006-05-02 Lillian Angel <langel@redhat.com>
21029 * gnu/javax/swing/text/html/parser/support/Parser.java
21030 (readAttributes): Reverted Audrius' last patch. There is
21031 a slight difference in code between the NUMTOKEN and SLASH case.
21033 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
21035 * javax/swing/text/JTextComponent.java:
21036 (setText): Throw InternalError from catch-block.
21037 * javax/swing/text/GapContent.java:
21038 (removed): Removed if-expression, changed '>' to '>='.
21040 2006-05-02 Roman Kennke <kennke@aicas.com>
21042 * gnu/java/awt/java2d/AbstractGraphics2D.java
21043 (AA_SAMPLING): New constant.
21044 (alpha): New field. Used in the antialiasing renderer.
21045 (edgeTable): New field. Used in the antialiasing renderer.
21046 (AbstractGraphics2D): Initialize rendering hints wrt
21048 (draw): Clip after stroking. Commented out clipping for now,
21049 it seems to be buggy.
21050 (fill): Commented out clipping for now, it seems to be buggy.
21051 (setComposite): Don't create composite context.
21052 (setPaint): Only change paint when parameter is not null.
21053 (translate): Call setClip() so subclasses can update their clip
21055 (clip): Call setClip() so subclasses can update their clip
21057 (drawGlyphVector): Added clipping, but left it commented out
21058 because it's buggy.
21059 (getClipBounds): Returns null when clip is null.
21060 (drawLine): Call rawDrawLine with translation applied.
21061 (filLRect): Call rawFillRect with translation applied.
21062 (fillShape): Added support for anti-aliasing.
21063 (rawSetForeground(int,int,int)): New method.
21064 (rawFillShape): A couple of painting fixes.
21065 (fillScanline): Implemented to call rawDrawLine.
21066 (fillShapeAntialias): New method. Implements an anti-aliasing
21068 (fillScanlineAA): New method. Used for the anti-aliasing
21070 (fillScanlineAlpha): New method. Used for the anti-aliasing
21072 (init): Initialize clip with the device bounds.
21073 (updateOptimization): Fixed the optimization condition.
21075 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
21077 * javax/swing/text/GapContent.java:
21078 (GapContent): Restrict size argument by 2.
21079 (insertString): Changed expression from >= to >.
21080 (remove): Changed right side of expression to 'length - 1', changed
21082 (getChars): Throw exception if where below 0.
21083 (replace): Replaced call to setPositionsInRange() with
21084 resetMarksAtZero(), removed note.
21086 2006-05-02 Roman Kennke <kennke@aicas.com>
21089 * javax/swing/MenuSelectionManager.java
21090 (setSelectedPath): Rewritten.
21092 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21094 * gnu/javax/swing/text/html/parser/support/Parser.java
21095 (readAttributes): Merge case NUMTOKEN: and case SLASH:
21098 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21100 * tools/.cvsignore: Added keytool.sh.
21101 * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
21103 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21105 * doc/tools.texinfo: New file.
21106 * doc/Makefile.am: Generate tools documentation.
21108 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21110 * tools/keytool.sh.in: New file.
21111 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
21112 * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
21113 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
21114 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
21115 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
21116 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
21117 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
21118 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
21119 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
21120 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
21121 * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
21122 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
21123 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
21124 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
21125 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
21126 * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
21127 * tools/gnu/classpath/tools/keytool/package.html: Likewise.
21128 * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
21130 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21132 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
21133 resemble more closely man-page style text.
21134 * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
21135 Mark (Eclipse) strings that need not be externalised.
21136 (writeSF): Likewise.
21137 (writeDSA): Likewise.
21138 Use package-private Messages class to provide i18n-ready strings.
21140 Use package-private Messages class to provide i18n-ready strings.
21141 (updateEntry): Likewise.
21142 Mark (Eclipse) strings that need not be externalised.
21143 (finishSigning): Likewise.
21144 * tools/gnu/classpath/tools/jarsigner/Main.java:
21145 Mark (Eclipse) strings that need not be externalised.
21146 (main): Do not use constant strings as class name.
21147 Use package-private Messages class to provide i18n-ready strings.
21148 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21149 (processArgs): Do not use constant strings as class name.
21150 Mark (Eclipse) strings that need not be externalised.
21151 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21152 (start): Do not use constant strings as class name.
21153 (teardown): Likewise.
21155 (setupCommonParams): Do not use constant strings as class name.
21156 Use package-private Messages class to provide i18n-ready strings.
21157 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21158 (installNewProvider): Do not use constant strings as class name.
21160 (setupSigningParams): Do not use constant strings as class name.
21161 Use package-private Messages class to provide i18n-ready strings.
21162 Mark (Eclipse) strings that need not be externalised.
21163 (getCallbackHandler): Use CallbackUtil.
21164 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
21165 Use package-private Messages class to provide i18n-ready strings.
21166 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21167 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
21168 (verifySF): Likewise.
21169 (verifySFEntries): Do not use constant strings as class name.
21170 Use Boolean.valueOf instead of new Boolean().
21171 (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
21172 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
21174 * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
21175 * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
21177 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21179 * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
21180 * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
21181 * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
21183 2006-05-01 Tom Tromey <tromey@redhat.com>
21185 * java/nio/ByteBufferImpl.java (compact): Don't reset position
21187 * gnu/java/nio/ChannelReader.java (read): Synchronize.
21188 (close): Synchronize.
21189 * java/nio/ShortBufferImpl.java (compact): Rewrote.
21190 * java/nio/LongBufferImpl.java (compact): Rewrote.
21191 * java/nio/IntBufferImpl.java (compact): Rewrote.
21192 * java/nio/FloatBufferImpl.java (compact): Rewrote.
21193 * java/nio/DoubleBufferImpl.java (compact): Rewrote.
21194 * java/nio/CharBufferImpl.java (compact): Rewrote.
21195 * gnu/java/nio/ChannelWriter.java: New file.
21196 * java/nio/channels/Channels.java (newWriter): Implemented.
21198 2006-05-01 Lillian Angel <langel@redhat.com>
21200 * java/util/SimpleTimeZone.java
21201 (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
21202 (SimpleTimeZone): Likewise.
21203 (checkRule): Rewritten to properly check all values (more efficently).
21204 This code is now more stable, at least less buggy than before. Fixed
21206 (setStartRule): Moved checkRule call to end.
21207 (setStartRule): Likewise.
21208 (setEndRule): Likewise.
21209 (setEndRule): Likewise.
21211 2006-05-01 Tom Tromey <tromey@redhat.com>
21213 * lib/.cvsignore: Added classes.2.
21215 2006-05-01 Tom Tromey <tromey@redhat.com>
21217 * java/util/jar/JarFile.java (provider): Now package-private.
21218 * java/lang/Enum.java (compareTo): Javadoc fix.
21219 * java/lang/Boolean.java (compareTo): Javadoc fix.
21221 2006-05-01 Lillian Angel <langel@redhat.com>
21223 * gnu/javax/swing/text/html/parser/support/Parser.java
21224 (readAttributes): Formatted function. Added handling for
21225 SLASH token. The value of an attribute may start with a slash
21226 (i.e. a path). I added handling similar to to the NUMTOKEN code.
21227 We should not be skipping over these type of attributes.
21229 2006-04-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
21231 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21232 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21233 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21234 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21235 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21236 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21237 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21238 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21239 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21240 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21241 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21242 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21243 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21244 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21245 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21246 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21247 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21248 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21249 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21250 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21251 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21252 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21253 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21254 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21255 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21256 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21257 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21258 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21259 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21260 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21261 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21262 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21263 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21264 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21265 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21266 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21267 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21268 * include/gnu_java_awt_peer_qt_QMatrix.h,
21269 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21270 * include/gnu_java_awt_peer_qt_QPen.h,
21271 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21272 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21273 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21274 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21275 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21276 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21277 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21278 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21279 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21280 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21281 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21282 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21283 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21284 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21285 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21286 * include/gnu_java_awt_peer_qt_QtImage.h,
21287 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21288 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21289 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21290 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21291 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21292 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21293 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21294 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21295 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21296 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21297 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21298 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21299 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21300 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21301 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21302 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21303 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21304 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21305 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21306 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21307 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21308 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21309 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21310 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21311 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21312 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21313 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21314 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21315 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21316 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21317 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21318 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21319 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21320 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21321 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21322 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21323 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21324 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21325 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21326 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21327 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21328 * include/java_lang_VMProcess.h:
21330 * native/jni/java-lang/java_lang_VMProcess.c:
21331 Redirect when pipe_count is 2 not 3.
21333 2006-04-30 Sascha Brawer <sascha@brawer.ch>
21335 * gnu/java/awt/font/FontDelegate.java,
21336 * gnu/java/awt/font/FontFactory.java,
21337 * gnu/java/awt/font/GNUGlyphVector.java,
21338 * gnu/java/awt/font/opentype/CharGlyphMap.java,
21339 * gnu/java/awt/font/opentype/GlyphNamer.java,
21340 * gnu/java/awt/font/opentype/MacResourceFork.java,
21341 * gnu/java/awt/font/opentype/NameDecoder.java,
21342 * gnu/java/awt/font/opentype/OpenTypeFont.java,
21343 * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
21344 * gnu/java/awt/font/opentype/Scaler.java,
21345 * gnu/java/awt/font/opentype/truetype/Fixed.java,
21346 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
21347 * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
21348 * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
21349 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
21350 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
21351 * gnu/java/awt/font/opentype/truetype/Zone.java,
21352 * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
21353 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
21354 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
21355 New files. Imported font framework from:
21356 http://www.brawer.ch/software/fonts/
21358 2006-04-30 Roman Kennke <kennke@aicas.com>
21360 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21361 (lastTabInRun): Fix calculation of the last tab in a run. This
21362 has caused painting problems sometimes, making the
21363 last tab painted incorrectly.
21365 2006-04-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21368 * javax/swing/JComponent.java (paintChildrenWithOverlap):
21369 Use for and not while to prevent the endless loop.
21371 2006-04-29 David Gilbert <david.gilbert@object-refinery.com>
21373 * javax/swing/JList.java
21374 (paramString): Changed from public to protected.
21376 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21378 * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
21379 (printHelpAndExit): Re-factored to use the above method.
21381 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21383 * tools/jarsigner.sh.in: Changed license to GPL + Exception.
21384 Use -Xbootclasspath/p instead of -cp when invoking the main class.
21385 * tools/gnu/classpath/tools/jarsigner/Main.java:
21386 Changed license to GPL + Exception.
21387 (handler): New field.
21388 (getCallbackHandler): New method.
21389 (setupSigningParams): Use above method.
21390 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
21391 Changed license to GPL + Exception.
21392 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
21393 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
21394 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
21395 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
21397 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21399 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
21400 (handleConfirmation): Use print instead of println.
21401 (handleConfirmation): When case is YES_NO_OPTION, print default option
21403 (handleLanguage): Use print instead of println.
21405 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21407 * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
21408 (putComponent): Handle O and OU components.
21409 (getDer): Use correct (it2) iterator.
21410 (readAttributeValue): Read next character and break if end-of-stream.
21412 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21414 * gnu/java/security/provider/Gnu.java (run):
21415 Add "RSA" as an alias to MD5withRSA.
21416 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
21417 Always encode a NULL as the value of an algorithm parameters field.
21418 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
21419 (encodePrivateKey): Added trace/log statements.
21420 (decodePrivateKey): Likewise.
21421 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21422 (setup): Added trace/log statements.
21423 (generate): Likewise.
21424 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21425 (toString): New method.
21426 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21428 (toString): New method.
21429 * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21430 (getEncoded): Use defaultFormat.
21431 (toString): New method.
21432 * gnu/java/security/key/dss/DSSKey.java (toString):
21433 Include defaultFormat in string.
21434 * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21435 Break if successfully decoded public key.
21436 (engineGeneratePrivate): Break if successfully decoded private key.
21438 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21440 * java/security/Security.java <clinit>: Add our Callback provider.
21441 * resource/java/security/classpath.security: Likewise
21443 2006-04-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21446 * javax/swing/ScrollPaneLayout.java (layoutContainer):
21447 Decide about scroll bars from the preferred view size, not
21449 * javax/swing/ViewportLayout.java (layoutContainer):
21450 Do not change returned preferred size. Do not treat JScrollPane
21453 2006-04-28 Sven de Marothy <sven@physto.se>
21455 * java/awt/image/ReplicateScaleFilter.java: Fix comment.
21456 * javax/swing/ProgressMonitor.java (actionPerformed):
21457 Avoid divide-by-zero.
21459 2006-04-28 Sven de Marothy <sven@physto.se>
21461 * javax/swing/JSpinner.java: Fix default text justification.
21462 * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21464 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21466 * javax/swing/JList.java
21467 (getMinSelectionIndex): Return correct value, added API docs,
21468 (getMaxSelectionIndex): Added API docs.
21470 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21472 * javax/swing/JList.java
21473 (JList(Object[])): Pass new model directly to init(),
21474 (JList(Vector)): Likewise,
21475 (JList(ListModel)): Renamed argument and updated API docs,
21476 (init): Throw IllegalArgumentException for null argument,
21477 (setListData(Object[])): Delegate model creation,
21478 (setListData(Vector)): Likewise,
21479 (createListModel(Object[])): New private method,
21480 (createListModel(Vector)): New private method,
21481 (paramString): Implemented.
21483 2006-04-28 Tom Tromey <tromey@redhat.com>
21485 * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21487 (isSynthetic): Likewise.
21488 (isAnnotation): Likewise.
21489 * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21490 (isAnnotation): Likewise.
21491 (isEnum): Likewise.
21493 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21495 * javax/swing/text/View.java:
21496 (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21499 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21501 * javax/swing/text/View.java:
21502 (getNextVisualPositionFrom): Rewritten.
21503 * javax/swing/text/CompositeView.java:
21504 (getNextEastWestVisualPositionFrom): Partly implemented.
21505 (getNextNorthSouthVisualPositionFrom): Partly implemented.
21507 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21509 * javax/swing/JList.java
21510 (setFixedCellHeight): Use correct property name for event.
21512 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21514 * javax/swing/text/Utilities.java:
21515 (getNextWord): Use codePointAt instead of charAt, added note, changed
21516 if-expression, added throwing of exception.
21517 (getPreviousWord): Use codePointAt instead of charAt.
21519 2006-04-28 Jeroen Frijters <jeroen@frijters.net>
21521 * java/lang/StringBuilder.java
21522 (ensureCapacity, getChars, append(StringBuffer),
21523 append(char[],int,int), delete, replace, insert(int,char[],int,int),
21524 insert(int,String), insert(int,char), trimToSize): Replaced
21525 System.arraycopy calls with VMSystem.arraycopy.
21527 2006-04-27 Tom Tromey <tromey@redhat.com>
21529 * java/awt/image/renderable/RenderableImageProducer.java
21530 (requestTopDownLeftRightResend): Implemented.
21532 (startProduction): Add new consumer.
21534 2006-04-27 Sven de Marothy <sven@physto.se>
21536 * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21538 2006-04-27 Roman Kennke <kennke@aicas.com>
21540 * java/awt/LightweightDispatcher.java
21541 Dispatch events only to targets that have a mouselistener
21542 attached. Changed to also handle null targets.
21544 2006-04-27 Roman Kennke <kennke@aicas.com>
21546 * NEWS: Added entries about accessibility support and L&F
21547 window decorations.
21549 2006-04-27 Robert Schuster <robertschuster@fsfe.org>
21551 * javax/swing/text/Utilities.java:
21552 (getTabbedTextOffset): Introduced width variable, rewritten the check
21553 which ends the loop.
21554 (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21557 2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21559 * examples/gnu/classpath/examples/swing/TreeDemo.java
21560 (createContent): Added root visibility and selection listener demos.
21561 * javax/swing/JTree.java (setRootVisible): If false, unselect
21562 the root node, if it is selected.
21563 * javax/swing/plaf/basic/BasicTreeUI.java
21564 (TreeTraverseAction.actionPerformed): Do not select the root if it
21566 * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21567 removeSelectionPaths): Reset lead to null if the current lead path is
21568 removed from selection.
21569 * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21570 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21571 Return the same path regardless is root visible or not. (update):
21572 Reduce the identation if the root is not visible.
21573 * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21574 Return the same path regardless is root visible or not. (update):
21575 Reduce the identation if the root is not visible.
21577 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org
21579 * javax/swing/plaf/basic/BasicTreeUI.java
21580 (TreeAction.actionPerformed):Newly obtain the current lead
21581 path that must stay visible.
21582 (TreeTraverseAction.actionPerformed):Rewritten.
21583 * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21584 Do not treat root specially. (setModel): Assume the root node
21585 initially expanded.
21586 * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21587 Do not treat root specially. (setModel): Assume the root node
21588 initially expanded.
21590 2006-04-26 Chris Burdess <dog@gnu.org>
21593 * javax/xml/datatype/DatatypeFactory.java: Use complete
21594 implementation resolution mechanism.
21596 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21598 * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged):
21600 * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21601 Removed NoImplementException form the implemented method.
21603 2006-04-26 Tom Tromey <tromey@redhat.com>
21605 * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21608 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21610 * javax/swing/DefaultListSelectionModel.java
21611 (clone): Initialise empty listener list,
21612 (setSelectionMode): Throw IllegalArgumentException for bad input.
21614 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21616 * javax/swing/DefaultListSelectionModel.java
21617 (clearSelection): Clear the Bitset.
21619 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21621 * javax/swing/JTree.java (setLeadSelectionPath):
21622 Repaint the new and old lead pathes.
21623 * javax/swing/plaf/basic/BasicTreeUI.java
21624 (FocusHandler): Repaint the lead row when focus changes.
21625 (PropertyChangeHandler): Use existing constants, not the
21626 string literals for the property names.
21627 (TreeIncrementAction): Shrink the selection when moving
21628 from the selection edge to the selection anchor.
21629 (TreeSelectionHandler.valueChanged): Repaint the
21630 new and old lead pathes.
21631 (paintRow): Treat row as focused only if it is the lead row.
21632 * javax/swing/tree/DefaultTreeCellRenderer.java
21633 (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21634 (paint): Rewritten.
21635 * javax/swing/tree/DefaultTreeSelectionModel.java
21636 (addSelectionPath): Event construction fix (old and new lead were
21638 (addSelectionPaths): Likewise.
21639 * javax/swing/JComponent.java (setOpaque): Explained.
21640 * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21642 * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21645 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21647 * examples/gnu/classpath/examples/swing/TreeDemo.java
21648 (createContent): Call DefaultTreeModel.reload(), not the
21649 tree.repaint(). Expand the parent of the added node.
21650 * javax/swing/JTree.java (constructor): Do not call
21651 UpdateUI (and documented why). (treeDidChange):
21652 Added comment, excluding the misinterpretation of this method.
21653 * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21654 focusListener, keyListener, mouseListener, propertyListener,
21655 selectionModelPropertyChangeListener, treeModelListener,
21656 treeSelectionListener): Made package private.
21657 (PropertyChangeHandler): If the model changes, install the
21658 listener on it. (installUI): Assign treeModel.
21659 * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21660 comment, excluding misinterpretation.
21661 * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21662 (reload(TreeNode)): Implemented.
21664 2006-04-25 Tom Tromey <tromey@redhat.com>
21666 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21667 * javax/swing/tree/VariableHeightLayoutCache.java
21668 (getVisiblePathsFrom): Genericized.
21669 * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21672 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21674 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21675 If clicked on the other row, cancel the current editing session.
21677 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21679 * javax/swing/plaf/basic/BasicTreeUI.java
21680 (NodeDimensionsHandler.getRowX): Add half of the icon width.
21681 (paintExpandControl): Always paint in one gap distance from the left
21682 border of the path bounds.
21683 (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21684 into consideration.
21685 (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21688 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21690 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21692 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21694 * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21695 Allow slashes (/) in the unquoted parameter value.
21697 2006-04-25 Roman Kennke <kennke@aicas.com>
21699 * gnu/java/awt/java2d/AbstractGraphics2D.java
21700 (drawString(String,int,int)): Implemented.
21701 (drawString(String,float,float)): Implemented.
21702 (drawString(AttributedCharacterIterator,int,int)): Implemented.
21703 (drawString(AttributedCharacterIterator,float,float)): Implemented.
21704 (getFontRenderContext): Implemented.
21705 (drawGlyphVector): Implemented.
21706 (getFont): Implemented.
21707 (setFont): Don't change font setting when null.
21708 (getFontMetrics): Implemented.
21709 (fillShape): Re-written to fill call rawFillShape() with a list
21710 of the edges instead of double arrays.
21711 (rawFillShape): Implemented using a polygon scanline conversion.
21712 (fillScanline): New helper method.
21713 (init): Initialize foreground black. Set font.
21714 * gnu/java/awt/java2d/PolyEdge.java: New file.
21715 * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21717 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21719 * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21721 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21723 * javax/swing/JTable.java: Fixed API doc tags,
21724 * javax/swing/text/AsyncBoxView.java: Likewise,
21725 * javax/swing/text/FlowView.java: Likewise.
21727 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21729 * javax/swing/table/DefaultTableColumnModel.java
21730 (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21732 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21734 * javax/swing/table/DefaultTableColumnModel.java
21735 (DefaultTableColumnModel): Set selection model field and add 'this' as
21737 (addColumn): Add 'this' as a PropertyChangeListener,
21738 (removeColumn): Remove column before firing event, and remove 'this' as
21739 a PropertyChangeListener,
21740 (setSelectionModel): Remove 'this' as a listener from old model,
21741 (propertyChange): Check for 'width' property rather than
21742 TableColumn.COLUMN_WIDTH_PROPERTY.
21744 2006-04-24 Chris Burdess <dog@gnu.org>
21747 * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21748 attributes when no doctype exists.
21750 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21752 * javax/swing/event/ChangeEvent.java: Updated API docs,
21753 * javax/swing/event/ChangeListener.java: Likewise,
21754 * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21755 * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21756 * javax/swing/table/TableColumnModel.java: Likewise.
21758 2006-04-24 Robert Schuster <robertschuster@fsfe.org>
21760 * javax/swing/text/Utilities.java:
21761 (getBreakLocation): Introduced shift variable, added notes.
21762 * javax/swing/text/WrappedPlainView.java:
21763 (calculateBreakPosition): Decrease allocation area bounds by insets,
21764 added early return when allocation area is empty, provide start offset
21766 (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21767 (WrappedPlainView.WrappedLine.paint): Added count variable, update
21768 numLines after loop.
21769 (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21770 (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21771 (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21772 decreasing variable end by one, changed break condition in while-loop,
21773 added check for return value.
21774 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21775 allocation area is empty.
21777 2006-04-24 Sven de Marothy <sven@physto.se>
21779 * gnu/java/awt/java2d/Segment.java: New file.
21780 * gnu/java/awt/java2d/CubicSegment.java: New file.
21781 * gnu/java/awt/java2d/QuadSegment.java: New file.
21782 * gnu/java/awt/java2d/LineSegment.java: New file.
21783 * java/awt/BasicStroke.java
21784 (start): New field.
21786 (createStrokedShape): Implemented.
21787 (solidStroke): New method.
21788 (dashedStroke): New method.
21789 (capEnds): New method.
21790 (convertPath): New method.
21791 (addSegments): New method.
21792 (capEnd): New method.
21793 (lineIntersection): New method.
21794 (joinSegments): New method.
21796 2006-04-24 Roman Kennke <kennke@aicas.com>
21798 * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
21801 (clip): Changed clip to be in user space not in target space.
21802 (isOptimized): Added flag to allow optimized drawing for
21803 primitive operations (e.g. for Swing).
21804 (AbstractGraphics2D()): Set foreground in init() to avoid trouble
21805 with the paint context etc.
21806 (draw): Clip the shape before drawing it.
21807 (fill): Clip the shape before drawing it.
21808 (setComposite): Update isOptimized flag.
21809 (setPaint): Likewise.
21810 (setStroke): Likewise.
21811 (translate): Update the clip.
21812 (rotate): Likewise.
21815 (transform): Likewise.
21816 (setTransform): Likewise.
21817 (clip): Added optimization for rectangle clips.
21818 (create): Implemented.
21819 (clone): New method.
21820 (setFont): Basic implementation.
21821 (setClip): Update opimization flag.
21822 (drawLine): Added possible optimization.
21823 (fillRect): Added possible optimization.
21824 (fillShape): Implemented shape-filling by filling the flattended
21825 shape using polygon fill.
21826 (drawPixel): Added basic painting.
21827 (rawSetPixel): Changed signature to only take coordinates.
21828 (rawSetForeground): New abstract method.
21829 (getUserBounds): Implemented default for this method.
21830 (rawDrawLine): New method.
21831 (rawFillRect): New method.
21832 (rawFillPolygon): New method.
21833 (init): New method.
21834 (updateOptimization): New method.
21835 (computeIntersection): New method.
21836 (updateClip): New method.
21837 (clipShape): New method.
21839 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21841 * java/lang/Package.java: Added compatibility constructor to ease
21842 VM interface migration.
21844 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21846 * java/lang/Class.java (getEnumConstants): Implemented without
21847 delegating to VMClass.
21848 * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
21850 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21852 * java/lang/ClassLoader.java (definePackage): Added argument to
21853 Package constructor.
21854 * java/lang/Package.java (Package): Added ClassLoader argument.
21855 (loader): New field.
21856 (getDeclaredAnnotations): Implemented without help from VMPackage.
21857 * vm/reference/java/lang/VMClassLoader.java (static): Added argument
21858 to Package constructor.
21859 * vm/reference/java/lang/VMPackage.java: Removed.
21861 2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21863 * examples/gnu/classpath/examples/swing/TreeDemo.java:
21864 (createContent): Added check box to swith between single and
21865 multiple selection.
21866 * javax/swing/JTree.java (leadSelectionPath): Removed.
21867 (addSelectionInterval): Explained. (getLeadSelectionPath):
21868 Request the path from model. (getPathsBetweenRows): Explained.
21869 (setLeadSelectionPath): Set the path in model.
21870 * javax/swing/plaf/basic/BasicTreeUI.java
21871 (TreeIncrementAction.actionPerformed, isMultiSelectionEvent,
21872 isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
21873 (MouseHandler.mousePressed): Call selectPathForEvent.
21875 2006-04-23 Roman Kennke <kennke@aicas.com>
21877 * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
21879 2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
21882 Mention changes to VMProcess and VMSystem.
21883 * doc/vmintegration.texinfo:
21884 Change documentation on VMProcess and VMSystem.
21885 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21886 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21887 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21888 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21889 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21890 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21891 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21892 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21893 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21894 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21895 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21896 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21897 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21898 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21899 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21900 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21901 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21902 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21903 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21904 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21905 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21906 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21907 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21908 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21909 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21910 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21911 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21912 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21913 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21914 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21915 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21916 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21917 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21918 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21919 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21920 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21921 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21922 * include/gnu_java_awt_peer_qt_QMatrix.h,
21923 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21924 * include/gnu_java_awt_peer_qt_QPen.h,
21925 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21926 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21927 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21928 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21929 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21930 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21931 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21932 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21933 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21934 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21935 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21936 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21937 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21938 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21939 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21940 * include/gnu_java_awt_peer_qt_QtImage.h,
21941 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21942 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21943 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21944 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21945 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21946 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21947 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21948 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21949 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21950 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21951 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21952 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21953 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21954 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21955 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21956 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21957 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21958 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21959 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21960 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21961 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21962 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21963 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21964 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21965 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21966 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21967 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21968 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21969 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21970 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21971 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21972 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21973 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21974 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21975 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21976 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21977 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21978 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21979 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21980 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21981 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21982 * include/java_lang_VMProcess.h,
21983 * include/java_lang_VMSystem.h:
21984 Regenerated with GCJ 4.1.
21986 2006-04-22 Casey Marshall <csm@gnu.org>
21988 Fixes PR classpath/27228.
21989 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
21990 (initialize): also accept `DHParameterSpec.'
21991 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
21992 handle a passed-in `DHParameterSpec' properly.
21993 (generate): don't check if the random exponent is less than `q -
21994 1' if no `q' was specified.
21996 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21998 * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
21999 Only repaint the patches, speficied in the passed event.
22000 (expandPath): Do nothing if the path is already expanded.
22001 (scrollPathToVisible): Only scroll to visible, do nothing else.
22002 * javax/swing/plaf/basic/BasicTreeUI.java
22003 (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
22004 (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
22005 (TreeTraverseAction.actionPerformed): Collapse the node on the
22006 action "selectParent". (selectPath): Rewritten.
22007 * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
22008 Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
22009 Do not reuse selection array.
22010 * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
22012 * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
22015 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22017 * javax/swing/tree/DefaultTreeSelectionModel.java
22018 (addSelectionPath): If the path cannot be added, set it.
22019 (addSelectionPaths): Call insureRowContinuity.
22020 (arePathsContiguous): Implemented.
22021 (canPathBeAdded): New private method.
22022 (canPathsBeAdded): Implemented.
22023 (canPathsBeRemoved): Implemented.
22024 (getPath): New private method.
22025 (insureRowContinuity): Implemented.
22026 (removeSelectionPath): Call insureRowContinuity.
22027 (removeSelectionPaths): Call insureRowContinuity.
22028 (resetRowSelection): Removed stub marking, not used in implementation
22029 (nothing to do there).
22030 (selectOne): New private method.
22031 (setSelectionMode) Call insureRowContinuity.
22032 (setSelectionPaths) Remove the current selection by clearing it.
22034 2006-04-22 Carsten Neumann <cn-develop@gmx.net>
22036 * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
22037 parameters consistendly, documented some methods.
22038 * java/sql/Blob.java: Likewise.
22039 * java/sql/CallableStatement.java: Likewise.
22040 * java/sql/Clob.java: Likewise.
22041 * java/sql/Connection.java: Likewise.
22042 * java/sql/DatabaseMetaData.java: Likewise.
22043 * java/sql/Date.java: Likewise.
22044 * java/sql/Driver.java: Likewise.
22045 * java/sql/PreparedStatement.java: Likewise.
22046 * java/sql/ResultSet.java: Likewise.
22047 * java/sql/ResultSetMetaData.java: Likewise.
22048 * java/sql/SQLData.java: Likewise.
22049 * java/sql/SQLOutput.java: Likewise.
22050 * java/sql/SQLWarning.java: Likewise.
22051 * java/sql/Statement.java: Likewise.
22052 * java/sql/Time.java: Likewise.
22053 * java/sql/Timestamp.java: Likewise.
22055 2006-04-21 Jeroen Frijters <jeroen@frijters.net>
22057 * java/lang/reflect/AccessibleObject.java:
22058 Implemented AnnotatedElement.
22059 (getAnnotation, getAnnotations, getDeclaredAnnotations,
22060 isAnnotationPresent): New methods.
22062 2006-04-21 Tom Tromey <tromey@redhat.com>
22064 PR classpath/27163:
22065 * gnu/java/net/protocol/ftp/FTPConnection.java
22066 (changeWorkingDirectory): Do nothing if path is empty.
22068 2006-04-21 Tom Tromey <tromey@redhat.com>
22071 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
22072 case where no '/' appears in 'location'.
22074 2006-04-21 Tom Tromey <tromey@redhat.com>
22076 * java/security/Security.java (<clinit>): Add all default providers.
22077 * resource/java/security/classpath.security: Added comment.
22079 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22081 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
22082 * javax/swing/SpinnerNumberModel.java: Likewise.
22084 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22086 * javax/swing/SpinnerDateModel.java
22087 (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
22088 checking to call compareTo() on start and end.
22090 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22092 * javax/swing/border/AbstractBorder.java: API doc updates,
22093 * javax/swing/border/BevelBorder.java: Likewise,
22094 * javax/swing/border/CompoundBorder.java: Likewise,
22095 * javax/swing/border/EtchedBorder.java: Likewise,
22096 * javax/swing/border/LineBorder.java: Likewise,
22097 * javax/swing/border/MatteBorder.java: Likewise,
22098 * javax/swing/border/TitledBorder.java: Likewise.
22100 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22102 * gnu/javax/crypto/cipher/Anubis.java:
22103 (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
22105 * gnu/javax/crypto/cipher/Blowfish.java:
22106 (selfTest): Likewise,
22107 * gnu/javax/crypto/cipher/Cast5.java:
22108 (selfTest): Likewise,
22109 * gnu/javax/crypto/cipher/Khazad.java:
22110 (selfTest): Likewise,
22111 * gnu/javax/crypto/cipher/Rijndael.java:
22112 (selfTest): Likewise,
22113 * gnu/javax/crypto/cipher/Serpent.java:
22114 (selfTest): Likewise,
22115 * gnu/javax/crypto/cipher/Square.java:
22116 (selfTest): Likewise,
22117 * gnu/javax/crypto/cipher/Twofish.java:
22118 (selfTest): Likewise,
22119 * gnu/javax/crypto/mac/UMac32.java:
22120 (selfTest): Likewise,
22121 * gnu/javax/crypto/prng/CSPRNG.java:
22122 (getSystemInstance): Likewise.
22124 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22126 * gnu/java/security/hash/Haval.java:
22127 (selfTest): Use Boolean.valueOf() to avoid creating new Boolean
22129 * gnu/java/security/hash/MD2.java:
22130 (selfTest): Likewise,
22131 * gnu/java/security/hash/MD4.java:
22132 (selfTest): Likewise,
22133 * gnu/java/security/hash/MD5.java:
22134 (selfTest): Likewise,
22135 * gnu/java/security/hash/RipeMD128.java:
22136 (selfTest): Likewise,
22137 * gnu/java/security/hash/RipeMD160.java:
22138 (selfTest): Likewise,
22139 * gnu/java/security/hash/Sha160.java:
22140 (selfTest): Likewise,
22141 * gnu/java/security/hash/Sha256.java:
22142 (selfTest): Likewise,
22143 * gnu/java/security/hash/Sha384.java:
22144 (selfTest): Likewise,
22145 * gnu/java/security/hash/Sha512.java:
22146 (selfTest): Likewise,
22147 * gnu/java/security/hash/Tiger.java:
22148 (selfTest): Likewise,
22149 * gnu/java/security/hash/Whirlpool.java:
22150 (selfTest): Likewise.
22152 2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22154 * javax/swing/plaf/basic/BasicTreeUI.java
22155 (PropertyChangeHandler.propertyChange): Set the row mapper
22156 for the selection model.
22157 * javax/swing/tree/AbstractLayoutCache.java
22158 (NodeDimensions.getNodeDimensions): Explained.
22159 (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
22160 Implemented. (setRowHeight): Invalidate sizes.
22161 * javax/swing/tree/DefaultTreeSelectionModel.java
22162 (addSelectionPath, addSelectionPaths): Update lead row.
22163 (removeSelectionPath, removeSelectionPaths): Do nothing if
22164 selection is empty.
22165 (clone): Only clone list selection model if it is not null.
22166 (getRow): New method. (isRowSelected, getLeadSelectionRow,
22167 setSelectionPath, setSelectionPaths, toString): Implemented.
22168 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
22169 Pass the empty rectangle. (isFixedRowHeight): New method.
22170 * javax/swing/tree/VariableHeightLayoutCache.java
22171 (NodeRecord.getBounds): Pass the empty rectangle.
22173 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22175 * gnu/java/security/Properties.java
22176 (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
22178 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22180 * gnu/classpath/jdwp/util/Value.java
22181 (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid
22182 creating new Boolean instances.
22184 2006-04-20 Mark Wielaard <mark@klomp.org>
22186 * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
22187 PrivilegedAction. Access awt.toolkit through SystemProperties.
22189 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22191 * javax/swing/ActionMap.java: Removed unused imports,
22192 * javax/swing/DefaultListSelectionModel.java
22193 (clearSelection): Removed unused label,
22194 * javax/swing/JScrollPane.java: Removed unused imports,
22195 * javax/swing/UIManager.java: Likewise,
22196 * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
22198 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22200 * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
22201 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
22202 * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
22203 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
22204 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
22206 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22208 * java/sql/Array.java: Fixed Eclipse API doc warnings,
22209 * java/sql/Blob.java: Likewise,
22210 * java/sql/CallableStatement.java: Likewise,
22211 * java/sql/Clob.java: Likewise,
22212 * java/sql/Connection.java: Likewise,
22213 * java/sql/DatabaseMetaData.java: Likewise,
22214 * java/sql/Date.java: Likewise,
22215 * java/sql/Driver.java: Likewise,
22216 * java/sql/PreparedStatement.java: Likewise,
22217 * java/sql/ResultSet.java: Likewise,
22218 * java/sql/ResultSetMetaData.java: Likewise,
22219 * java/sql/SQLData.java: Likewise,
22220 * java/sql/SQLOutput.java: Likewise,
22221 * java/sql/SQLWarning.java: Likewise,
22222 * java/sql/Statement.java: Likewise,
22223 * java/sql/Time.java: Likewise,
22224 * java/sql/Timestamp.java: Likewise.
22226 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22228 * java/sql/DriverManager.java
22229 (setLoginTimeout): Use incoming argument,
22230 (setLogStream): Likewise,
22231 (println): Fix API doc comment.
22233 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22235 * javax/swing/JMenuItem.java
22236 (paramString): Updated API docs,
22237 (getAccessibleContext): Added API docs,
22238 (AccessibleJMenuItem.stateChanged): Marked as stub,
22239 (AccessibleJMenuItem.getAccessibleRole): Added API docs,
22240 * javax/swing/JSlider.java
22241 (paramString): Fix for API docs,
22242 * javax/swing/JToolTip.java
22243 (getAccessibleContext): Fix for API docs.
22245 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22247 * javax/swing/JRadioButtonMenuItem.java
22248 (paramString): Reimplemented,
22249 (getAccessibleContext): API docs added,
22250 (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()):
22252 (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
22254 2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22256 * javax/swing/plaf/basic/BasicTreeUI.java
22257 (finish): Invalidate path bounds.
22258 (getMaxHeight): Set the row height to the layout cache.
22259 (startEditing): Do not request to recalculated
22260 row height and preferred size.
22261 * javax/swing/tree/DefaultTreeCellEditor.java
22262 (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
22264 * javax/swing/tree/FixedHeightLayoutCache.java:
22267 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22269 * javax/swing/JDesktopPane.java
22270 (paramString): Reimplemented,
22271 plus API doc updates in AccessibleJDesktopPane.
22273 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22275 * javax/swing/ImageIcon.java:
22276 (AccessibleImageIcon.getAccessibleStateSet): Return null always,
22277 (AccessibleImageIcon.getLocale): Declared exception and always return
22279 (getAccessibleContext): Updated API docs,
22280 plus updated API docs all over AccessibleImageIcon.
22282 2006-04-20 Roman Kennke <kennke@aicas.com>
22285 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
22286 (paintText): Fetch the ascent only once. Add the ascent to
22287 the text rect also when tabs are disabled.
22289 2006-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
22291 * java/util/Locale.java (defaultLocale): Set to en_US per
22292 default and use user.country but prioritize user.region if
22294 (getLocale(String language, String country)): Renamed region to
22296 (getLocale(String language, String region, String variant)):
22298 (getAvailableLocales): Likewise.
22300 2006-04-20 Roman Kennke <kennke@aicas.com>
22303 * javax/swing/JList.java
22304 (JList()): Call init() with DefaultListModel instance.
22305 (JList(Object[])): Call init() with null.
22306 (JList(Vector)): Call init() with null.
22307 (JList(ListModel)): Call init() with model.
22308 (init): Changed to take the model as argument. Don't call
22309 setter methods and initialize stuff directly instead.
22310 (getCellBounds): Check if UI is null.
22312 2006-04-20 Robert Schuster <robertschuster@fsfe.org>
22314 * javax/swing/text/WrappedPlainView.java: Initialize
22315 WrappedLine.numLines with -1.
22316 (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
22317 numLines is -1 and reculcalate the value appropriately.
22318 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
22319 allocation area is empty.
22321 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22323 * javax/swing/JTabbedPane.java
22324 (AccessibleJTabbedPane.stateChanged): Marked as stub,
22325 (AccessibleJTabbedPane.getAccessibleRole): Likewise,
22326 (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
22327 (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
22328 (AccessibleJTabbedPane.getAccessibleAt): Likewise,
22329 (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
22330 (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
22331 (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
22332 (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
22333 (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
22334 (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
22335 (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
22336 (Page.getAccessibleStateSet): Likewise,
22337 (Page.getAccessibleIndexInParent): Likewise.
22339 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22341 * javax/swing/JProgressBar.java
22342 (paramString): Reimplemented.
22344 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22346 * javax/swing/JButton.java: Updated API docs all over.
22348 2006-04-19 Roman Kennke <kennke@aicas.com>
22350 * java/awt/Toolkit.java
22351 (getDefaultToolkit): Use system classloader to load the
22354 2006-04-19 Robert Schuster <robertschuster@fsfe.org>
22356 * javax/swing/text/DefaultCaret.java:
22357 (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
22358 instead of DefaultCaret.setDot.
22360 2006-04-19 Roman Kennke <kennke@aicas.com>
22362 * native/jni/java-net/local.c
22363 (local_read): Handle EINTR correctly.
22364 (local_write): Likewise.
22366 2006-04-19 Riccardo Mottola <multix@gmail.com>
22368 PR classpath/27062, PR classpath/25650:
22369 * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
22371 2006-04-19 Tom Tromey <tromey@redhat.com>
22373 * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
22374 value of 'pureMinutes'. PR classpath/27189.
22376 2006-04-19 Olivier Jolly <olivier.jolly@pcedev.com>
22378 * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
22379 boot packages list from the META-INF/INDEX.LIST file if it exists.
22381 2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au>
22383 Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
22384 * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
22385 (ITERATION_COUNT): Removed modifiers.
22386 (PASSWORD): Likewise.
22388 (PASSWORD_ENCODING): New property.
22389 (DEFAULT_PASSWORD_ENCODING): New constant.
22390 * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
22391 material (bytes) before a password (chars).
22393 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22395 * javax/swing/JMenu.java
22396 (getAccessibleChildrenCount): Marked as stub,
22397 (getAccessibleChild): Likewise,
22398 (getAccessibleSelection): Likewise,
22399 (getAccessibleSelection(int)): Likewise,
22400 (isAccessibleChildSelected): Likewise,
22401 (getAccessibleSelectionCount): Likewise,
22402 (addAccessibleSelection): Likewise,
22403 (removeAccessibleSelection): Likewise,
22404 (clearAccessibleSelection): Likewise,
22405 (selectAllAccessibleSelection): Likewise.
22407 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22409 * javax/swing/JSplitPane.java
22410 (getAccessibleContext): Added API docs,
22411 (paramString): Reimplemented,
22412 (setOrientation): Updated API docs,
22413 (setResizeWeight): Added argument checking and event notification.
22415 2006-04-18 Casey Marshall <csm@gnu.org>
22417 Fixes PR classpath/25673
22418 * java/security/KeyStore.java (getDefaultType): return "gkr" if no
22419 property is set. Update JavaDoc to reflect this.
22421 2006-04-18 Lillian Angel <langel@redhat.com>
22423 * gnu/xml/dom/DomDocument.java
22424 (setCheckingCharacters): New function used to set
22425 checkingCharacters flag.
22426 * gnu/xml/dom/html2/DomHTMLParser.java
22427 (parseDocument): Added call to set checkingCharacters flag
22430 2006-04-18 Lillian Angel <langel@redhat.com>
22432 * gnu/xml/dom/DomDocument.java
22433 (checkNCName): Reverted last patch. Added check for colon at
22434 last position back in.
22436 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22438 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22440 * examples/gnu/classpath/examples/swing/Demo.java:
22441 (mkMenuBar): Added NavigationFilter demo.
22443 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22445 * javax/swing/JSeparator.java: Updated API docs all over, plus
22446 (setOrientation): Fire PropertyChangeEvent,
22447 (paramString): Reimplemented.
22449 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22451 * javax/swing/plaf/basic/BasicTextUI.java:
22452 (getNextVisualPositionFrom): Implemented.
22454 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22456 * javax/swing/JPanel.java: Updated API docs all over, plus
22457 (JPanel(LayoutManager, boolean)): Pass on null layout, set
22458 double-buffer flag.
22460 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22462 * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22464 * examples/gnu/classpath/examples/swing/Demo.java:
22465 (mkMenuBar): Added DocumenFilter demo.
22467 2006-04-18 Tom Tromey <tromey@redhat.com>
22469 * doc/www.gnu.org/include/layout.wml: Add FMJ.
22471 2006-04-18 Mark Wielaard <mark@klomp.org>
22473 Reported by John Sullivan (johns@fsf.org)
22474 * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22476 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22478 * javax/swing/JInternalFrame.java
22479 (JDesktopIcon.getAccessibleContext): Added API docs,
22480 (getDefaultCloseOperation): Likewise,
22481 (paramString): Added 'title' attribute,
22482 (setDefaultCloseOperation): Added API docs.
22484 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22486 * javax/swing/JSlider.java
22487 (paramString): Reimplemented.
22489 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22491 * javax/swing/JComboBox.java
22492 (paramString): Reimplemented,
22493 (getAccessibleContext): Added API docs,
22494 (AccessibleJComboBox.getAccessibleRole): Likewise.
22496 2006-04-18 Roman Kennke <kennke@aicas.com>
22498 * javax/swing/RepaintManager.java
22499 (dirtyComponentsWork): New field.
22500 (ComponentComparator): Use dirtyComponentsWork instead of
22502 (RepaintManager): Initialize new field.
22503 (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22504 and work on the copy.
22506 2006-04-18 Roman Kennke <kennke@aicas.com>
22508 * gnu/java/awt/peer/swing/SwingComponentPeer.java
22509 (setBounds): Call reshape().
22510 * gnu/java/awt/peer/swing/SwingContainerPeer.java
22511 (SwingContainerPeer): Changed argument to be a Component
22512 instead a Container.
22513 (getInsets): Call insets().
22514 (handleMouseEvent): Added null check to avoid NPE.
22515 (handleMouseMotionEvent): Added null check to avoid NPE.
22517 2006-04-18 Roman Kennke <kennke@aicas.com>
22520 * javax/swing/JComponent.java
22521 (paintChildrenWithOverlap): When one child is not opaque, propagate
22522 the dirty rectangles to the next child.
22523 (paintChildrenOptimized): Removed unnecessary 'optimization'.
22524 This actually didn't work right and probably gained nothing.
22526 2006-04-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22528 * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22529 (moveToCellBeingEdited): Do not clone the rectangle here.
22531 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22533 * javax/swing/plaf/basic/BasicSliderUI.java
22534 (getActionMap): Fixed lookup key,
22535 (createActionMap): Modified actions to fetch slider/ui from the event
22538 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22540 * java/lang/Enum.java: Documented.
22542 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22544 * gnu/java/lang/InstrumentationImpl.java:
22545 Moved from java.lang.
22546 * java/lang/InstrumentationImpl.java:
22548 * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22549 Moved from java.lang.
22550 * vm/reference/java/lang/VMClassLoader.java:
22551 Corrected reference to InstrumentationImpl.
22552 * vm/reference/java/lang/VMInstrumentationImpl.java:
22555 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22557 * java/lang/annotation/Annotation.java:
22560 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22562 * javax/swing/JToolBar.java
22563 (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22564 (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22565 (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22566 (getAccessibleContext): Likewise.
22568 2006-04-17 Dalibor Topic <robilad@kaffe.org>
22571 Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22573 * native/fdlibm/Makefile.am,
22574 native/jni/classpath/Makefile.am:
22575 Don't use -module and -version-info for convenience libraries LDFLAGS.
22576 Fixes libtool warnings.
22578 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22580 * javax/swing/plaf/basic/BasicComboBoxUI.java:
22581 (installKeyboardActions): Marked as stub,
22582 (uninstallKeyboardActions): Likewise,
22583 * javax/swing/plaf/basic/BasicComboPopup.java:
22584 (installKeyboardActions): Marked as stub,
22585 (uninstallKeyboardActions): Likewise,
22586 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22587 (installKeyboardActions): Marked as stub,
22588 (uninstallKeyboardActions): Likewise,
22589 * javax/swing/plaf/basic/BasicLabelUI.java:
22590 (installKeyboardActions): Marked as stub,
22591 (uninstallKeyboardActions): Likewise,
22592 * javax/swing/plaf/basic/BasicListUI.java:
22593 (installKeyboardActions): Marked as stub,
22594 (uninstallKeyboardActions): Likewise,
22595 * javax/swing/plaf/basic/BasicMenuBarUI.java:
22596 (installKeyboardActions): Marked as stub,
22597 (uninstallKeyboardActions): Likewise,
22598 * javax/swing/plaf/basic/BasicMenuUI.java:
22599 (installKeyboardActions): Marked as stub,
22600 (uninstallKeyboardActions): Likewise,
22601 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22602 (installKeyboardActions): Marked as stub,
22603 (uninstallKeyboardActions): Likewise,
22604 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22605 (installKeyboardActions): Marked as stub,
22606 (uninstallKeyboardActions): Likewise,
22607 * javax/swing/plaf/basic/BasicScrollBarUI.java:
22608 (installKeyboardActions): Marked as stub,
22609 (uninstallKeyboardActions): Likewise,
22610 * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22611 (installKeyboardActions): Marked as stub,
22612 (uninstallKeyboardActions): Likewise,
22613 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22614 (installKeyboardActions): Marked as stub,
22615 (uninstallKeyboardActions): Likewise,
22616 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22617 (installKeyboardActions): Marked as stub,
22618 (uninstallKeyboardActions): Likewise,
22619 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22620 (installKeyboardActions): Marked as stub,
22621 (uninstallKeyboardActions): Likewise,
22622 * javax/swing/plaf/basic/BasicTableUI.java:
22623 (installKeyboardActions): Marked as stub,
22624 (uninstallKeyboardActions): Likewise,
22625 * javax/swing/plaf/basic/BasicTextUI.java:
22626 (installKeyboardActions): Marked as stub,
22627 (uninstallKeyboardActions): Likewise,
22628 * javax/swing/plaf/basic/BasicToolBarUI.java:
22629 (installKeyboardActions): Marked as stub,
22630 (uninstallKeyboardActions): Likewise.
22632 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22634 * javax/swing/plaf/basic/BasicSliderUI.java
22635 (installKeyboardActions): Implemented,
22636 (uninstallKeyboardActions): Implemented,
22637 (scrollByBlock): Accept any value for direction,
22638 (scrollByUnit): Likewise,
22639 (getInputMap): New method,
22640 (getActionMap): New method,
22641 (createActionMap): New method.
22644 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22646 * doc/vmintegration.texinfo:
22649 2006-04-16 Tom Tromey <tromey@redhat.com>
22651 * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22653 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22656 Mention generics additions to the VM interface.
22657 * doc/vmintegration.texinfo:
22658 Added information on VMClass 1.5 additions and
22661 2006-04-16 Casey Marshall <csm@gnu.org>
22663 * NEWS: add an entry mentioning local socket support.
22665 2006-04-16 Casey Marshall <csm@gnu.org>
22667 * configure.ac (--enable-local-sockets): new enable argument.
22668 (ENABLE_LOCAL_SOCKETS): new define.
22669 * native/jni/java-net/Makefile.am (local_sources): new variable.
22670 (lib_javanet_la_SOURCES): append `local_sources.'
22671 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22672 * native/jni/java-net/local.c,
22673 * native/jni/java-net/local.h,
22674 * include/gnu_java_net_local_LocalSocketImpl.h,
22675 * gnu/java/net/local/LocalServerSocket.java,
22676 * gnu/java/net/local/LocalSocket.java,
22677 * gnu/java/net/local/LocalSocketAddress.java,
22678 * gnu/java/net/local/LocalSocketImpl.java: new files.
22680 2006-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
22682 * javax/accessibility/AccessibleAction.java:
22683 (DECREMENT): Added field.
22684 (INCREMENT): Likewise.
22685 (TOGGLE_EXPAND): Likewise.
22686 * javax/accessibility/AccessibleRole.java:
22687 (EDITBAR): Added field.
22688 (FOOTER): Likewise.
22689 (HEADER): Likewise.
22690 (PARAGRAPH): Likewise.
22691 (PROGRESS_MONITOR): Likewise.
22693 * javax/accessibility/AccessibleState.java:
22694 (INDETERMINATE): Added field.
22695 (MANAGES_DESCENDANTS): Likewise.
22696 (TRUNCATED): Likewise.
22698 2006-04-14 Tom Tromey <tromey@redhat.com>
22700 * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22702 * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22705 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22707 * javax/swing/text/DefaultCaret.java:
22708 (getBypass): New method.
22709 (moveDot): Rewritten.
22710 (moveDotImpl): New method.
22711 (setDot): Rewritten.
22712 (setDotImpl): New method.
22713 (DefaultCaret.Bypass): New class.
22715 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22717 * javax/swing/text/AbstractDocument.java:
22718 (getBypass): New method.
22719 (insertString): Rewritten.
22720 (remove): Rewritten.
22721 (replace): Rewritten.
22722 (insertStringImpl): New method.
22723 (removeImpl): New method.
22724 (replaceImpl): New method.
22725 (AbstractDocument.Bypass): New class.
22727 2006-04-14 Casey Marshall <csm@gnu.org>
22729 Fixes PR classpath/24642
22730 * NEWS: add note about SecureRandom changes, and addition of
22732 * java/security/SecureRandom.java (isSeeded): new field.
22733 (setSeed, setSeed): set `isSeeded' to `true.'
22734 (nextBytes): seed this instance if `isSeeded' is false.
22735 (getSeed): call `generateSeed.'
22736 (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22737 (generateSeed, generateSeed): new methods.
22738 * vm/reference/java/security/VMSecureRandom.java: new file.
22740 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22742 * javax/swing/text/FieldView.java:
22743 (paint): Apply clipping rectangle of the allocation area
22744 before painting the text.
22745 * javax/swing/text/DefaultHighlighter.java:
22746 (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22747 compute union and intersection, calculate intersection with allocation
22748 area before painting, adjust x and width when painting multiple lines
22749 by the range of the allocation area.
22751 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22753 * javax/swing/text/DefaultHighlighter.java:
22754 (paintLayeredHighlights): Marked as stub.
22756 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22758 * javax/swing/plaf/basic/BasicTextFieldUI.java:
22759 (propertyChanged): Added note, change color only if current background
22760 is a ColorUIResource instance.
22762 2006-04-14 Tom Tromey <tromey@redhat.com>
22764 * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22768 2006-04-14 Tom Tromey <tromey@redhat.com>
22770 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22772 2006-04-14 Mark Wielaard <mark@klomp.org>
22774 * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22775 thread group when exceptionHandler isn't set.
22776 * vm/reference/java/lang/VMThread.java (run): Use result of
22777 thread.getUncaughtExceptionHandler directly.
22779 2006-04-14 David Gilbert <david.gilbert@object-refinery.com>
22781 * javax/swing/JSplitPane.java
22782 (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22783 (AccessibleJSplitPane.getAccessibleRole): Implemented,
22784 (AccessibleJSplitPane.getAccessibleValue): Implemented,
22785 (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22786 (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22787 (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22788 (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22790 2006-04-10 Tom Tromey <tromey@redhat.com>
22792 * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
22793 Fixed parameter bounds.
22795 2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
22797 * gnu/javax/crypto/assembly/Assembly.java,
22798 * gnu/javax/crypto/assembly/Cascade.java,
22799 * gnu/javax/crypto/assembly/CascadeStage.java,
22800 * gnu/javax/crypto/assembly/CascadeTransformer.java,
22801 * gnu/javax/crypto/assembly/Direction.java,
22802 * gnu/javax/crypto/assembly/LoopbackTransformer.java,
22803 * gnu/javax/crypto/assembly/ModeStage.java,
22804 * gnu/javax/crypto/assembly/Operation.java,
22805 * gnu/javax/crypto/assembly/PaddingTransformer.java,
22806 * gnu/javax/crypto/assembly/Stage.java,
22807 * gnu/javax/crypto/assembly/Transformer.java,
22808 * gnu/javax/crypto/cipher/Square.java,
22809 * gnu/javax/crypto/jce/cipher/AESSpi.java,
22810 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
22811 * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
22812 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
22813 * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
22814 * gnu/javax/crypto/jce/cipher/DESSpi.java,
22815 * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
22816 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
22817 * gnu/javax/crypto/jce/cipher/PBES2.java,
22818 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
22819 * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
22820 * gnu/javax/crypto/jce/cipher/SquareSpi.java,
22821 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
22822 * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
22823 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
22824 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
22825 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
22826 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
22827 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
22828 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
22829 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
22830 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
22831 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
22832 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
22833 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
22834 * gnu/javax/crypto/jce/mac/MacAdapter.java,
22835 * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
22836 * gnu/javax/crypto/jce/mac/UHash32Spi.java,
22837 * gnu/javax/crypto/jce/mac/UMac32Spi.java,
22838 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
22839 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
22840 * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
22841 * gnu/javax/crypto/mode/IAuthenticatedMode.java,
22842 * gnu/javax/crypto/pad/WrongPaddingException.java,
22843 * gnu/javax/crypto/prng/ICMGenerator.java,
22844 * gnu/javax/crypto/prng/IPBE.java,
22845 * gnu/javax/crypto/prng/PBKDF2.java,
22846 * gnu/javax/crypto/sasl/ConfidentialityException.java,
22847 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
22848 * gnu/javax/crypto/sasl/srp/IALG.java,
22849 * gnu/javax/crypto/sasl/srp/SRPServer.java:
22850 Remove CVS revision tags.
22852 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22854 * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize):
22855 Removed debugging code.
22857 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22859 * javax/swing/JTree.java (getPreferredSize): Return the
22861 * javax/swing/ViewportLayout.java (layoutContainer):
22862 Do not manage the view size and location if the view is
22863 in the scroll pane. Also manage size and location for
22864 Scrollable, if it is not in the scroll pane.
22865 * javax/swing/plaf/basic/BasicTreeUI.java,
22866 * javax/swing/tree/FixedHeightLayoutCache.java,
22867 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22868 * gnu/javax/swing/tree/GnuPath.java: New file.
22870 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22872 * javax/swing/JToolBar.java
22873 (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
22875 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22877 * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
22878 (createCustomColoredPanel): Set background color as demo intends,
22879 changed custom selection color to red.
22880 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
22881 Replaced various single variables with a Compound instance, added
22882 custom highlighter demo.
22883 (TextFieldDemo.DemoHighlightPainter): New class (taken from
22885 (TextFieldDemo.Compound): New class.
22886 (createTextFieldCompound): New method.
22887 (createLeftAlignedPanel): Rewritten.
22888 (createRightAlignedPanel): Rewritten.
22889 (createCenteredPanel): Rewritten.
22890 (createCustomColoredPanel): Removed.
22891 (createCustomColoredPanel1): New method.
22892 (createCustomColoredPanel2): New method.
22893 (createCustomBordersPanel): New method.
22894 (createMiscPanel): Rewritten.
22895 (actionPerformed): Rewritten.
22896 (createContent): Add panels of new compounds to main panel, put
22897 main panel in a JScrollPane.
22898 * examples/gnu/classpath/examples/swing/Demo.java:
22899 (Demo): Put desktop in a scrollpane.
22900 (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
22901 method via reflection.
22903 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22905 * javax/swing/plaf/metal/MetalDesktopIconUI.java
22906 (createUI): Return new instance rather than shared instance.
22908 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22910 * javax/swing/text/FieldView.java:
22911 (checkContainer): Call updateVisibility() at the end.
22913 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22915 * java/awt/event/MouseEvent.java:
22916 (paramString): Add value of 'consumed' variable in string.
22918 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22921 * javax/swing/JTextField.java: Removed scrollOffset variable.
22922 (JTextField): Moved up initialization of horizontalVisibility field.
22923 (getScrollOffset): Implemented.
22924 (setScrollOffset): Implemented.
22925 (getHorizonztalVisibility): Removed note.
22926 (scrollRectToVisible): New method.
22927 * javax/swing/text/FieldView.java: Added cachedSpan variable.
22928 (checkContainer): New method.
22929 (updateVisibility): New method.
22930 (calculateHorizontalSpan): New method.
22931 (adjustAllocation): Removed unneeded local variables, added code
22932 to handle scrolling.
22933 (getPreferredSpan): Use new method calculateHorizontalSpan,
22934 avoid calculation by returning cached value cachedSpan.
22935 (paint): Added check whether the hosted component is a JTextField.
22936 (insertUpdate): Invalidate cached span value, update visibility
22938 (removeUpdate): Dito.
22939 (changeUpdate): Dito.
22941 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22943 * javax/swing/JInternalFrame.java
22944 (setTitle): Set old value to 'this.title', not 'title'.
22946 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22948 * javax/swing/JInternalFrame.java
22949 (AccessibleJInternalFrame.getAccessibleName): Implemented,
22950 (AccessibleJInternalFrame.getAccessibleRole): Implemented,
22951 (AccessibleJInternalFrame.getAccessibleValue): Implemented,
22952 (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
22953 (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
22954 (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
22955 (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
22956 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
22957 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
22958 (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue):
22960 (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue):
22962 (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue):
22964 (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue):
22966 (JInternalFrame()): Use "" for default title,
22967 (getAccessibleContext): Updated API docs,
22968 (getDesktopIcon): Likewise,
22969 (getLayer): Check for layer in client properties, and return
22970 DEFAULT_LAYER if no setting is found,
22971 (getTitle): Updated API docs,
22972 (setDesktopIcon): Fire property change event.
22974 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22976 * javax/swing/ScrollPaneLayout.java (layoutContainer):
22977 Mind that the presence of one scroll bar may cause the
22980 2006-04-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
22982 * gnu/regexp/REToken.java(unicodeAware): New field,
22983 (toLowerCase, toUpperCase): New methods.
22984 * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
22985 gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
22986 Use toLowerCase and toUpperCase defined in REToken instead of
22987 those defined in java.lang.Character.
22988 * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
22989 (initialize): Sets unicodeAware of the generated REToken to false if
22990 REG_ICASE_USASCII is set.
22991 * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
22992 to lower case and keep the original value.
22993 (matchOneString): Use the new method charEquals to compare characters.
22994 (charEquals): New method to compare characters.
22995 * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
22997 2006-04-12 David Gilbert <david.gilbert@object-refinery.com>
22999 * javax/swing/event/InternalFrameEvent.java:
23000 (paramString): Implemented,
23001 updated API docs all over.
23003 2006-04-12 Casey Marshall <csm@gnu.org>
23005 * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
23006 (Generator.setup): call `fillBlock.'
23008 2006-04-12 Casey Marshall <csm@gnu.org>
23010 Fixes PR classpath/24481.
23011 * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
23012 initialize the adaptee.
23013 (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
23014 * gnu/java/security/prng/MDGenerator.java (addRandomByte,
23015 addRandomBytes): new methods.
23017 2006-04-12 Tom Tromey <tromey@redhat.com>
23019 * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
23022 2006-04-12 Lillian Angel <langel@redhat.com>
23024 * gnu/xml/dom/DomDocument.java
23025 (checkNCName): Removed unneeded part of check.
23026 * gnu/xml/dom/DomNode.java
23027 (dispatchEvent): Added code to grow ancestors array
23028 if needed. Changed checks to use depth of node instead.
23029 Fixes an infinite loop and segmentation fault.
23030 * gnu/xml/dom/html2/DomHTMLParser.java
23031 (handleEndTag): No need to use/make a copy of the node.
23032 Causes an infinite loop.
23034 2006-04-12 Tom Tromey <tromey@redhat.com>
23036 PR classpath/27131:
23037 * java/util/BitSet.java (get): Early return if to==from.
23039 2006-04-12 Mark Wielaard <mark@klomp.org>
23041 * java/security/SecureRandom.java (algorithm): New private field.
23042 (SecureRandom): Initialize algorithm.
23043 (SecureRandom(SecureRandomSpi,Provider,String)): New private
23045 (getInstance): Call 3 argument constructor.
23046 (getAlgorithm): New method.
23048 2006-04-12 Mark Wielaard <mark@klomp.org>
23050 Port UncaughtExceptionHandler support from generics branch.
23051 * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
23053 2006-04-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
23055 * java/lang/Thread.java:
23056 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
23057 Added docs and security check.
23058 (getUncaughtExceptionHandler()): Documented.
23059 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
23060 Added docs and security check.
23061 (getDefaultUncaughtExceptionHandler()): Documented.
23062 (getId()): Documented.
23064 2006-04-12 Tom Tromey <tromey@redhat.com>
23066 * vm/reference/java/lang/VMThread.java (run): Use thread's
23068 * java/lang/Thread.java (defaultHandler): New field.
23069 (setDefaultUncaughtExceptionHandler,
23070 getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
23071 getUncaughtExceptionHandler): New methods.
23072 * java/lang/ThreadGroup.java (ThreadGroup): Implements
23073 UncaughtExceptionHandler.
23074 (uncaughtException): Use getDefaultUncaughtExceptionHandler.
23076 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
23078 * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
23079 buffer. Loop only once to determine Utf8 length when possible. Make
23080 the inner loop bounded by buf.length.
23081 (getUTFlength): New private method.
23082 (buf): New private field.
23084 2006-04-11 Lillian Angel <langel@redhat.com>
23086 * gnu/xml/dom/DomNodeIterator.java
23087 (nextNode): Moved line of code to avoid an infinite loop.
23088 * gnu/xml/dom/html2/DomHTMLAppletElement.java
23089 (getCls): New function.
23090 (setCls): Likewise.
23091 (getSrc): Likewise.
23092 (setSrc): Likewise.
23093 * gnu/xml/dom/html2/DomHTMLDocument.java:
23094 Added DomHTMLEmbedElement to map.
23095 (getApplets): Added node name, 'embed'.
23096 * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
23098 * gnu/xml/dom/html2/DomHTMLObjectElement.java
23099 (getJavaCode): New function.
23100 (setJavaCode): Likewise.
23101 (getObject): Likewise.
23102 (setObject): Likewise.
23103 (getJavaObject): Likewise.
23104 (setJavaObject): Likewise.
23105 (getJavaArchive): Likewise.
23106 (setJavaArchive): Likewise.
23107 (getJavaCodeBase): Likewise.
23108 (setJavaCodeBase): Likewise.
23109 (getJavaType): Likewise.
23110 (setJavaType): Likewise.
23111 (setMayscript): Likewise.
23112 (getMayscript): Likewise.
23113 (setScriptable): Likewise.
23114 (getScriptable): Likewise.
23115 * gnu/xml/dom/html2/DomHTMLParser.java
23116 (parseDocument): Should not check for well formedness
23117 when parsing an html document.
23118 * java/awt/Window.java
23119 (dispatchEvent): Added check to avoid NPE.
23121 2006-04-10 Tom Tromey <tromey@redhat.com>
23123 * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
23125 * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
23126 (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23128 2006-04-10 Robert Schuster <robertschuster@fsfe.org>
23130 * javax/swing/plaf/basic/BasicTextUI.java:
23131 (getNextVisualPositionFrom): Marked as stub.
23133 2006-04-10 Roman Kennke <kennke@aicas.com>
23135 * javax/swing/plaf/basic/BasicLookAndFeel.java
23136 (initSystemColorDefaults): Changed to use loadSystemColorDefaults
23137 and create the defaults as strings constants.
23138 (loadSystemColors): Implemented stubbed method.
23140 2006-04-10 Tom Tromey <tromey@redhat.com>
23142 * .settings/org.eclipse.core.resources.prefs: Set encoding for
23145 2006-04-10 Tom Tromey <tromey@redhat.com>
23147 * java/io/CharArrayWriter.java (append): Javadoc fix.
23148 (append): Likewise.
23150 2006-04-10 Tom Tromey <tromey@redhat.com>
23152 * javax/accessibility/AccessibleTextSequence.java: New file.
23153 * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
23155 (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
23156 EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
23157 FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
23158 SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23159 * javax/accessibility/AccessibleExtendedText.java: New file.
23160 * javax/accessibility/AccessibleContext.java
23161 (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
23162 (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
23163 (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
23164 * javax/accessibility/AccessibleAttributeSequence.java: New file.
23165 * javax/accessibility/AccessibleStreamable.java: New file.
23166 * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
23169 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23171 * javax/swing/tree/AbstractLayoutCache.java
23172 (getNodeDimensions, getRowsForPath): Implemented.
23173 * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
23174 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23176 2006-04-10 Roman Kennke <kennke@aicas.com>
23178 * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
23180 2006-04-10 Roman Kennke <kennke@aicas.com>
23182 * javax/swing/JInternalFrame.java
23183 (AccessibleJInternalFrame): Marked all stubbed methods as such
23184 by adding throws NotImplementedException.
23186 2006-04-10 Roman Kennke <kennke@aicas.com>
23188 * javax/swing/JFileChooser.java
23189 (getAccessibleContext): Don't create a new instance on each
23190 call, instead store the accessible context in the
23191 accessibleContext field.
23193 2006-04-10 Roman Kennke <kennke@aicas.com>
23195 * javax/swing/JComboBox.java
23196 (AccessibleJComboBox): Marked all stubbed methods as such
23197 by adding throws NotImplementedException.
23199 2006-04-10 Roman Kennke <kennke@aicas.com>
23201 * javax/swing/ActionMap.java
23202 (readObject): Removed.
23203 (writeObject): Removed.
23205 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23207 * javax/swing/tree/DefaultTreeSelectionModel.java
23208 (addSelectionPaths, setSelectionPaths): Call
23209 insureUniqueness. (clone, setRowMapper): Implemented.
23210 * TreePath (path): Marked final.
23212 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23214 * javax/swing/tree/DefaultTreeSelectionModel.java:
23215 Documented and autoformatted. (insureUniqueness):
23216 Removed stub marking.
23218 2006-04-09 David Gilbert <david.gilbert@object-refinery.com>
23220 * javax/swing/SizeSequence.java
23221 (sizes): Don't initialise here,
23222 (SizeSequence(int, int)): Initialise sizes field,
23223 (SizeSequence(int[])): Clone argument instead of calling setSizes(),
23224 (setSize): Do nothing when index is out of bounds,
23225 (getIndex): Implemented,
23226 (setSizes): Reimplemented,
23227 (getSizes): Likewise,
23228 (insertEntries): Likewise,
23229 (removeEntries): Likewise,
23230 plus added API docs all over.
23232 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org
23234 * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
23235 one way message and retry after any IOException.
23237 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23239 * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
23240 Set the byte order.
23242 2006-04-09 Wolfgang Baer <WBaer@gmx.de>
23244 * org/omg/PortableServer/ServantLocatorPOA.java:
23245 (preinvoke, postinvoke): Remove default implementation.
23246 * org/omg/PortableServer/ServantActivatorPOA.java:
23247 (incarnate, etherealize): Remove default implementation.
23248 * org/omg/PortableInterceptor/ObjectReferenceFactory.java:
23249 Extends from ValueBase and not from ObjectReferenceFactoryOperations.
23250 (make_object): Moved method from ObjectReferenceFactoryOperations.
23251 * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java:
23252 Removed unspecified interface.
23253 * org/omg/DynamicAny/_DynAnyStub.java:
23254 (_DynAnyStub(Delegate)): Removed constructor.
23255 * org/omg/DynamicAny/_DynArrayStub.java,
23256 * org/omg/DynamicAny/_DynAnyFactoryStub.java,
23257 * org/omg/DynamicAny/_DynEnumStub.java,
23258 * org/omg/DynamicAny/_DynFixedStub.java,
23259 * org/omg/DynamicAny/_DynSequenceStub.java,
23260 * org/omg/DynamicAny/_DynStructStub.java,
23261 * org/omg/DynamicAny/_DynUnionStub.java,
23262 * org/omg/DynamicAny/_DynValueStub.java:
23263 Extend from ObjectImpl and not from _DynAnyStub.
23264 (type, next, destroy, copy, rewind, assign, component_count,
23265 current_component, equal, from_any, get_any, get_boolean, get_char,
23266 get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet,
23267 get_reference, get_short, get_string, get_typecode, get_ulong,
23268 get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
23269 insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
23270 insert_long, insert_longlong, insert_octet, insert_reference,
23271 insert_short, insert_string, insert_typecode, insert_ulong,
23272 insert_ulonglong, insert_ushort, insert_val, insert_wchar,
23273 insert_wstring, seek, to_any): New methods copied from _DynAnyStub.
23274 * org/omg/CosNaming/_BindingIteratorStub.java:
23275 (_BindingIteratorStub(Delegate)): Made package private.
23276 * org/omg/CosNaming/_NamingContextExtStub.java:
23277 (_NamingContextExtStub(Delegate)): Made package private.
23278 * org/omg/CosNaming/_NamingContextStub.java:
23279 (_NamingContextStub(Delegate)): Made package private.
23280 (throw4, throw5): Likewise.
23281 * gnu/CORBA/NamingService/NameParser.java (resolve):
23282 Adapt to package private constructor. Use _set_delegate instead.
23283 * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
23284 * org/omg/CORBA/ORB.java:
23285 (create_recursive_sequence_tc): Made abstract.
23286 (get_default_context): Likewise.
23287 * gnu/CORBA/OrbRestricted.java:
23288 (create_recursive_sequence_tc): New moved method.
23289 (get_default_context): Likewise.
23290 * org/omg/CORBA/ParameterMode.java:
23291 (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final.
23293 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23295 * gnu/CORBA/GIOP/MessageHeader.java (write):
23296 More informative exception.
23297 * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
23298 * gnu/CORBA/SocketRepository.java (get_socket):
23299 Removed debugging code.
23301 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23303 * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
23304 one way message, but ignore if EOF was received.
23305 * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
23306 Minor.EOF if the end of file is received instead of the header.
23308 2006-04-09 Roman Kennke <kennke@aicas.com>
23310 * javax/swing/plaf/metal/MetalRootPaneUI.java
23311 (MetalTitlePane.IconifyAction): New inner class.
23312 (MetalTitlePane.MaximizeAction): New inner class.
23313 (MetalTitlePane.createActions): Create iconifyAction and
23315 (MetalRootLayout.titlePane): New field.
23316 (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
23318 (MetalRootLayout.preferredLayoutSize): Changed to not make
23319 assumptions about the actual component order.
23320 (MetalRootLayout.layoutContainer): Changed to not make
23321 assumptions about the actual component order.
23322 (installWindowDecorations): Pass the titlePane as parameter to
23323 the MetalRootLayout constructor.
23324 (uninstallWindowDecorations): Changed to not make
23325 assumptions about the actual component order.
23327 2006-04-08 Roman Kennke <kennke@aicas.com>
23329 * javax/swing/plaf/metal/MetalRootPaneUI.java
23330 (MetalTitlePane.MouseHandler): New inner class to handle dragging
23332 (MetalTitlePane.installListeners): Don't register a focus listener
23333 on the window. This is a potential memory leak and must be
23334 implemented on a different way. Install mouse listener here.
23335 (installWindowDecorations): Fixed assertion condition. Always
23336 insert the window decoration at index#1 in the layered
23339 2006-04-08 Roman Kennke <kennke@aicas.com>
23341 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
23342 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
23343 Only resize window if actual width or height value changes.
23344 Avoids nasty flicker when only setLocation() is beeing called
23347 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23349 * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
23350 exception if the magic sequence does not match.
23352 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23354 * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
23355 response for the one way messages.
23357 2006-04-08 Roman Kennke <kennke@aicas.com>
23359 * javax/swing/MenuSelectionManager.java
23360 (processKeyEvent): Implemented stub method.
23361 * javax/swing/JMenu.java
23362 (processKeyEvent): Implemented stub method.
23363 * javax/swing/JMenu.java
23364 (processKeyEvent): Implemented stub method.
23365 (processMenuKeyEvent): Implemented stub method.
23367 2006-04-08 Roman Kennke <kennke@aicas.com>
23369 * javax/swing/AbstractAction.java
23370 (readObject): Removed unneeded method.
23371 (writeObject): Removed unneeded method.
23373 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23375 * javax/swing/plaf/synth/SynthPainter.java:
23376 (paintSplitPaneDividerBorder): Removed.
23378 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23380 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
23381 (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
23382 No longer constants.
23383 (static_initializer): Added to initialize above fields.
23384 * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY,
23385 MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
23386 (static_initializer): Added to initialize above fields.
23388 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23390 * java/awt/Dialog.java: Improved documentation all over.
23391 (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
23392 (Dialog(Dialog)): Likewise.
23394 2006-04-08 Mark Wielaard <mark@klomp.org>
23396 * java/util/jar/JarFile.java (provider): New static field.
23397 (verify, verifyHashes, EntryInputStream.<init>): Pass provider
23400 2006-04-08 Mark Wielaard <mark@klomp.org>
23403 * java/lang/StackTraceElement.java (toString): Don't add space
23404 between type and source indicator.
23406 2006-04-07 Casey Marshall <csm@gnu.org>
23408 Fixes PR classpath/24464
23409 * java/util/jar/JarFile.java (verify, verifyHashes,
23410 EntryInputStream.<init>): pass the Gnu provider directly to
23413 2006-04-08 Raif S. Naffah <raif@swiftdsl.com.au>
23416 * gnu/java/security/hash/Whirlpool.java: Updated documentation.
23417 (DIGEST0): Use version 3 test vector.
23419 (S_box): New field: Version 3 S-box values.
23420 (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23421 (transform): Formating.
23422 (padBuffer): Likewise.
23423 (getResult): Likewise.
23424 (selfTest): Likewise.
23426 2006-04-07 Tom Tromey <tromey@redhat.com>
23428 * java/util/InvalidPropertiesFormatException.java
23429 (serialVersionUID): New field.
23430 (readObject, writeObject): New methods.
23431 * java/util/Arrays.java (toString): Javadoc fixes.
23432 * java/net/URLConnection.java: Cleaned up imports.
23433 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23434 * java/lang/reflect/MalformedParameterizedTypeException.java
23435 (serialVersionUID): New field.
23436 * java/lang/reflect/GenericSignatureFormatError.java
23437 (serialVersionUID): New field.
23438 * java/lang/Class.java (Class): Javado fixes.
23439 (getComponentType): Likewise.
23440 (getGenericInterfaces): Likewise.
23441 (getTypeParameters): Likewise.
23442 * java/io/CharArrayWriter.java (append): Javadoc fixes.
23443 * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23445 * java/lang/TypeNotPresentException.java (serialVersionUID): New
23447 * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23450 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23452 * java/awt/Dialog.java
23453 (AccessibleAWTDialog): Added api docs
23454 (AccessibleAWTDialog.getAccessibleStateSet):
23455 Renamed from getAccessibleState.
23456 * java/awt/Frame.java
23457 (AccessibleAWTFrame): Added api docs
23458 (AccessibleAWTFrame.getAccessibleStateSet):
23459 Renamed from getAccessibleState.
23461 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23463 * java/awt/Dialog.java: Reformatted.
23465 2006-04-07 Lillian Angel <langel@redhat.com>
23467 * java/awt/Component.java
23468 (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23469 HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23471 2006-04-07 Tom Tromey <tromey@redhat.com>
23473 * java/beans/beancontext/BeanContextMembershipEvent.java
23474 (serialVersionUID): New field.
23475 * java/beans/beancontext/BeanContextServicesSupport.java
23476 (addBeanContextServicesListener): Synchronize.
23477 (addService): Implemented.
23478 (createBCSChild): Implemented.
23479 (BCSSChild): Added arguments.
23480 (fireServiceAdded): Implemented.
23481 (fireServiceRevoked): Implemented.
23482 (getCurrentServiceSelectors): Implemented.
23483 (hasService): Implemented.
23484 (removeBeanContextServicesListener): Implemented.
23485 (serviceAvailable): Implemented.
23486 (serviceRevoked): Implemented.
23487 * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23489 (createBCSChild): Implemented.
23490 (BeanContextSupport):
23491 (addBeanContextMembershipListener): Synchronize.
23492 (fireChildrenAdded): Implemented.
23493 (fireChildrenRemoved): Implemented.
23494 (BeanContextSupport): Use default locale.
23495 (isEmpty): Implemented.
23496 (isDesignTime): Implemented.
23497 (size): Implemented.
23498 (toArray): Synchronized.
23499 (toArray): Likewise.
23500 (iterator): Likewise.
23501 (BCSIterator): Implemented.
23502 (bcsChildren): Implemented.
23503 (validatePendingAdd): Implemented.
23504 (validatePendingRemove): Likewise.
23505 (childJustAddedHook): Implemented.
23506 (childJustRemovedHook): Likewise.
23507 (classEquals): Likewise.
23508 (toArray): Mark as stub.
23509 (setDesignTime): Implemented.
23510 (copyChildren): Implemented.
23511 (containsKey): Implemented.
23512 (contains): Likewise.
23513 (containsAll): Likewise.
23514 (getResource): Implemented.
23515 (getResourceAsStream): Likewise.
23516 (removeBeanContextMembershipListener): Likewise.
23517 * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23518 (serialVersionUID): New field.
23519 * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23520 (serialVersionUID): New field.
23521 * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23524 2006-04-06 Roman Kennke <kennke@aicas.com>
23527 * javax/swing/MenuSelectionManager.java
23528 (setSelectedPath): Search one more item in the loop.
23530 2006-04-06 Tom Tromey <tromey@redhat.com>
23532 * java/awt/image/renderable/RenderableImageProducer.java
23533 (image, context, consumers): New fields.
23534 (RenderableImageProducer): Implemented.
23535 (setRenderContext): Likewise.
23536 (addConsumer): Likewise.
23537 (isConsumer): Likewise.
23538 (removeConsumer): Likewise.
23539 (startProduction): Likewise.
23541 2006-04-06 Roman Kennke <kennke@aicas.com>
23543 * java/awt/Component.java
23544 (AccessibleAWTComponent.getBounds): Return the component
23545 bounds regardless of its showing state.
23546 (AccessibleAWTComponent.getLocation): Return the component
23547 location regardless of its showing state.
23548 (AccessibleAWTComponent.getSize): Return the component
23549 size regardless of its showing state.
23551 2006-04-06 Roman Kennke <kennke@aicas.com>
23553 * javax/swing/JRootPane.java
23554 (getAccessibleContext): New method. Provides an accessibleContext
23557 2006-04-06 Roman Kennke <kennke@aicas.com>
23559 * java/awt/Toolkit.java
23560 (initAccessibility): Use the 'gnu.classpath.home.url' property
23561 to determine the system confiuration directory.
23562 * java/awt/Component.java
23563 (dispatchEvent): Trigger Toolkit dispatching here.
23564 (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23565 so it can't be overridden by subclasses and is performed in
23568 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23570 * javax/naming/Binding.java: Added API docs.
23571 * javax/naming/NameClassPair.java: Added API docs.
23572 (fullName): New field.
23573 (setNameInNamespace): New 1.5 method.
23574 (getNameInNamespace): Likewise.
23576 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23578 * javax/naming/CompositeName.java:
23579 (readObject): New deserialization method.
23580 (writeObject): New serialization method.
23582 2006-03-29 Nektarios K. Papadopoulos <npapadop at inaccessnetworks.com>
23584 * javax/security/auth/x500/X500Principal.java
23585 (readAttributeValue) Check for separator after quoted value was
23586 failing in all cases.
23588 2006-04-06 Mark Wielaard <mark@klomp.org>
23590 * java/lang/Class.java (getClassLoader): Don't do security check
23591 when loader is null.
23593 2006-04-06 Roman Kennke <kennke@aicas.com>
23595 * java/awt/Toolkit.java
23596 (getDefaultToolkit): Initialize accessibility after setting
23598 (initAccessibility): New helper method to setup accessibility.
23600 2006-04-06 Roman Kennke <kennke@aicas.com>
23602 * javax/swing/AbstractButton.java
23603 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23604 (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23606 (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23607 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23608 (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23609 (AccessibleAbstractButton.getCharCount): Implemented stub.
23610 (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23611 (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23612 (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23613 (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23614 (AccessibleAbstractButton.getSelectedText): Implemented stub.
23615 (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23618 2006-04-06 Roman Kennke <kennke@aicas.com>
23620 * java/awt/Component.java
23621 (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23622 state here. This is only done in JComponent.
23623 * javax/swing/JComponent.java
23624 (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23626 (getNextFocusableComponent): Implemented stub method.
23627 (grabFocus): Implemented stub method.
23628 (unregisterKeyboardAction): Implemented stub method.
23629 (setNextFocusableComponent): Implemented stub method.
23630 * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23631 This is a helper class for providing compatibility with the older
23634 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23637 * javax/naming/directory/BasicAttribute.java,
23638 * javax/naming/directory/BasicAttributes.java:
23639 (readObject): New deserialization method.
23640 (writeObject): New serialization method.
23642 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23644 * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23645 (getErrorHandler): Made method abstract.
23646 (setErrorHanlder): Likewise.
23647 * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23648 (getErrorHandler): Implement abstract method from superclass.
23649 (setErrorHandler): Likewise.
23650 (errorHandler): New field.
23651 * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:
23652 (getErrorHandler): Implement abstract method from superclass.
23653 (setErrorHandler): Likewise.
23654 (errorHandler): New field.
23655 * javax/xml/XMLConstants.java: Corrected since tag.
23656 (XMLConstants): Added private constructor.
23657 * javax/xml/datatype/Duration.java: Corrected since tag.
23658 (multiply): Made method abstract.
23659 * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23660 (DatatypeConstants): Added private constructor.
23661 * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23662 (XPathConstants): Added private constructor.
23664 2006-04-05 Tom Tromey <tromey@redhat.com>
23666 * javax/security/auth/kerberos/ServicePermission.java: Now final.
23668 2006-04-05 Tom Tromey <tromey@redhat.com>
23671 * lib/Makefile.am (compile-classes): Touch the output file.
23673 2006-04-05 Roman Kennke <kennke@aicas.com>
23675 * javax/swing/AbstractButton.java
23676 (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23677 of the focused state. This is already done in AccessibleAWTComponent.
23679 2006-04-05 Roman Kennke <kennke@aicas.com>
23681 * javax/swing/JComponent.java
23682 (accessibleContext): Fixed API doc for this field.
23683 (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23684 (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23685 Implemented and added API docs.
23686 (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23687 Implemented and added API docs.
23688 (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23689 (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23690 Implemented and added API docs.
23691 (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23692 Implemented and added API docs.
23693 (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23694 (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23695 (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23696 (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23697 (AccessibleJComponent.getAccessibleStateSet): Simply return
23698 super here. Added comment about this.
23700 2006-04-05 Roman Kennke <kennke@aicas.com>
23702 * javax/swing/JComponent.java
23703 (AccessibleJComponent.addPropertyChangeListener): Install
23704 ContainerHandler and FocusHandler here.
23705 (AccessibleJComponent.removePropertyChangeListener): Uninstall
23706 ContainerHandler and FocusHandler here.
23707 (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23708 by super.getAccessibleChildrenCount().
23709 (AccessibleJComponent.getAccessibleChild): Replaced
23710 by super.getAccessibleChild().
23711 (AccessibleJComponent.getAccessibleStateSet): Implemented by
23712 adding OPAQUE to the supported states.
23713 (AccessibleJComponent.getAccessibleName): Added titled border
23714 and label fallbacks.
23715 (AccessibleJComponent.getAccessibleDescription): Added tooltip
23716 and label fallbacks.
23717 (AccessibleJComponent.getAccessibleRole): Removed TODO.
23718 (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23719 explaining why return null seems correct here.
23720 * javax/swing/JLabel.java
23721 (LABEL_PROPERTY): New constant.
23722 (setLabelFor): Store label in labeled component's client properties
23723 for the AccessibleJComponent to read.
23725 2006-04-05 Tom Tromey <tromey@redhat.com>
23727 * java/util/zip/ZipFile.java (available): Defer to super if
23728 entry's size is unknown.
23730 2006-04-05 Tom Tromey <tromey@redhat.com>
23732 * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23733 property with mime.types name.
23734 * gnu/classpath/SystemProperties.java: Set
23735 gnu.classpath.mime.types.file if not already set.
23736 * java/net/URLConnection.java (defaultFactory): New field.
23737 (guessContentTypeFromStream): Mark as unimplemented.
23738 (getContentHandler): Updated with libgcj's implementation.
23739 * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23742 2006-04-05 Bryce McKinlay <mckinlay@redhat.com>
23746 * java/util/AbstractList.java (hasNext): Don't throw
23747 ConcurrentModificationException. Update Javadoc.
23748 (hasPrevious): Likewise.
23749 (nextIndex): Likewise.
23750 (previousIndex): Likewise.
23751 * java/util/HashMap.java (hasNext): Likewise.
23752 * java/util/Hashtable.java (hasNext): Likewise.
23753 * java/util/IdentityHashMap.java (hasNext): Likewise.
23754 * java/util/LinkedHashMap.java (hasNext): Likewise.
23755 * java/util/LinkedList.java (nextIndex): Likewise.
23756 (previousIndex): Likewise.
23757 (hasNext): Likewise.
23758 (hasPrevious): Likewise.
23759 * java/util/TreeMap.java (hasNext): Likewise.
23760 * java/util/WeakHashMap.java (hasNext): Likewise.
23762 2006-04-05 Roman Kennke <kennke@aicas.com>
23764 * javax/swing/AbstractButton.java
23765 (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23766 (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23767 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23768 (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23769 (AccessibleAbstractButton.getAccessibleActionDescription):
23771 (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23772 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23773 (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23774 (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23775 (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23776 (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23778 2006-04-05 Roman Kennke <kennke@aicas.com>
23780 * javax/swing/JComboBox.java
23781 (selectWithKeyChar): Implemented stubbed method.
23783 2006-04-05 Roman Kennke <kennke@aicas.com>
23785 * javax/swing/LookAndFeel.java
23786 (installProperty): New method. Allows primitive typed properties
23787 to be handled like UIResources.
23788 * javax/swing/AbstractButton.java
23789 (clientBorderPaintedSet): New field.
23790 (clientRolloverEnabledSet): New field.
23791 (clientIconTextGapSet): New field.
23792 (clientContentAreaFilledSet): New field.
23793 (setRolloverEnabled): Set the client field to true.
23794 (setBorderPainted): Likewise.
23795 (setIconTextGap): Likewise.
23796 (setContentAreaFilled): Likewise.
23797 (setUIProperty): New helper method.
23798 * javax/swing/JComponent.java
23799 (clientOpaqueSet): New field.
23800 (clientAutoscrollsSet): New field.
23801 (setAutoscrolls): Set the client field to true.
23802 (setOpaque): Likewise.
23803 (setUIProperty): New helper method.
23804 * javax/swing/JDesktopPane.java
23805 (clientDragModeSet): New field.
23806 (setDragMode): Set the client field to true.
23807 (setUIProperty): New helper method.
23808 * javax/swing/JSplitPane.java
23809 (clientDividerSizeSet): New field.
23810 (clientOneTouchExpandableSet): New field.
23811 (setDividerSize): Set the client field to true.
23812 (setOneTouchExpandable): Likewise.
23813 (setUIProperty): New helper method.
23814 * javax/swing/JTable.java
23815 (clientRowHeightSet): New field.
23816 (setRowHeight): Set the client field to true.
23817 (setUIProperty): New helper method.
23818 * javax/swing/JTree.java
23819 (clientRowHeightSet): New field.
23820 (clientScrollsOnExpandSet): New field.
23821 (clientShowsRootHandlesSet): New field.
23822 (setRowHeight): Set the client field to true.
23823 (setShowsRootHandles): Likewise.
23824 (setScrollsOnExpand): Likewise.
23825 (setUIProperty): New helper method.
23827 2006-04-05 Roman Kennke <kennke@aicas.com>
23829 * java/awt/Component.java
23830 (getFont): Don't request the font from the peer's graphics. The
23831 graphics should instead get the font from the Component, which might
23833 (getFocusCycleAncestor): Don't special case Window.
23834 (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
23835 to here. Correctly determine the focus cycle root.
23836 (transferFocusBackward): Likewise.
23837 (transferFocusUpCycle): Likewise.
23838 * java/awt/Container.java
23839 (transferFocusDownCycle): Moved implementation from
23840 DefaultKeyboardFocusManager to here.
23841 * java/awt/DefaultKeyboardFocusManager.java
23842 (focusPreviousComponent): Moved implementation to
23843 Component.transferFocusBackward().
23844 (focusNextComponent): Moved implementation to
23845 Component.nextFocus().
23846 (upFocusCycle): Moved implementation to
23847 Component.transferFocusUpCycle().
23848 (downFocusCycle): Moved implementation to
23849 Container.transferFocusDownCycle().
23851 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23853 * java/awt/image/ComponentSampleModel.java
23854 (equals): Implemented,
23855 (hashCode): Likewise.
23857 2006-04-05 Jeroen Frijters <jeroen@frijters.net>
23859 * java/lang/Class.java
23860 (cast): New method.
23862 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23864 * java/awt/image/ComponentSampleModel.java
23865 (getBankIndices): Return a copy of the array, not a reference to the
23867 (getBandOffsets): Likewise.
23869 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23871 * java/awt/image/ComponentSampleModel.java: Added API docs all over.
23873 2006-04-04 Tom Tromey <tromey@redhat.com>
23875 * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
23877 2006-04-04 Tom Tromey <tromey@redhat.com>
23879 * java/net/MimeTypeMapper.java (mime_types): No longer static.
23880 (MimeTypeMapper): Initialize.
23881 (fillFromFile): New method.
23882 (main): New method.
23883 (mime_strings): Updated.
23885 2006-04-04 Tom Tromey <tromey@redhat.com>
23887 * lib/gen-classlist.sh.in: Correct handle generated files.
23889 2006-04-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
23891 * gnu/regexp/CharIndexed.java(setAnchor): New method.
23892 * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
23893 * gnu/regexp/CharIndexedCharSequence.java: New file.
23894 * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
23895 gnu.regexp.CharIndexedCharSequence.
23896 * gnu/regexp/CharIndexedString.java: Likewise.
23897 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
23898 * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
23899 using CharIndexedCharSequence. Use setAnchor when the input
23900 object is already a CharIndexed.
23901 * java/util/regex/Matcher.java(inputCharIndexed): New field
23902 to be used as a parameter of the RE#getMatch.
23904 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23906 * java/awt/image/SampleModel.java: Reformatted.
23908 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23910 * java/awt/image/ComponentSampleModel.java
23911 (ComponentSampleModel(int, int, int, int, int[])): Added API
23913 (ComponentSampleModel(int, int, int, int, int[], int[]): Throw
23914 IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
23915 of the bandOffsets and bankIndices arguments, added API documentation,
23916 * java/awt/image/SampleModel.java
23917 (SampleModel(int, int, int, int): Throw IllegalArgumentException for
23918 unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
23919 less than or equal to zero, added API documentation.
23921 2006-04-04 Lillian Angel <langel@redhat.com>
23923 * java/util/zip/ZipFile.java
23924 (getInputStream): Fixed to return size of ZipEntry
23925 minus the total bytes read. This guarantees that the
23926 right value is returned even if some bytes have already
23929 2006-04-04 Thomas Fitzsimmons <fitzsim@redhat.com>
23931 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
23932 Remove static modifier.
23934 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23936 * java/awt/image/ComponentSampleModel.java: Reformatted.
23938 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23940 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
23941 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
23942 retrieval instructions to javadoc header.
23943 * javax/imageio/ImageWriteParam.java: Fix javadoc for
23944 compressionType field.
23945 * lib/Makefile.am (propertydirs): Add javax directory.
23946 (propertyfiles): Likewise.
23947 * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
23950 2006-04-03 Tom Tromey <tromey@redhat.com>
23952 PR classpath/26971:
23953 * javax/naming/directory/BasicAttribute.java: Added missing @since.
23954 (BasicAttributeEnumeration.where): Initialize to 0.
23955 (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
23957 2006-04-03 Lillian Angel <langel@redhat.com>
23959 PR classpath/24596 and PR classpath/26930
23960 * java/util/zip/ZipFile.java
23961 (getInputStream): Override available function for
23962 InflaterInputStream instance.
23964 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23966 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
23968 2006-04-03 Tom Tromey <tromey@redhat.com>
23970 * javax/security/auth/kerberos/ServicePermission.java: New file.
23971 * javax/security/auth/kerberos/DelegationPermission.java: New file.
23972 * javax/security/auth/kerberos/KerberosKey.java: New file.
23973 * javax/security/auth/kerberos/KeyImpl.java: New file.
23974 * javax/security/auth/kerberos/KerberosTicket.java: New file.
23975 * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
23977 2006-04-03 Sven de Marothy <sven@physto.se>
23979 * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
23980 non-GtkImage images.
23982 2006-04-03 Mark Wielaard <mark@klomp.org>
23984 * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
23985 as temporary file name.
23987 2006-04-03 Dalibor Topic <robilad@kaffe.org>
23989 * INSTALL: Documented --with-glibj-zip option.
23991 2006-04-03 Dalibor Topic <robilad@kaffe.org>
23993 Fixed all pscan warnings.
23995 * native/jni/classpath/jcl.c (JCL_ThrowException),
23996 native/jni/classpath/jcl.h (DBG),
23997 native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
23998 native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
23999 Use "%s" format in fprintf and snprintf explicitely when printing a single
24000 string to prevent format string exploits.
24002 * native/jni/java-net/javanet.h (DBG): Removed duplicate
24003 definition. Included jcl.h instead.
24005 2006-04-03 Raif S. Naffah <raif@swiftdsl.com.au>
24007 * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
24008 (provider): Made it protected.
24009 (providerInstalled): New field.
24010 (Main): Made it a 0-arguments constructor.
24011 Removed throws clasue.
24012 (main): Removed throws clause.
24013 Call processArgs(args) after constructing instance.
24014 Call teardown() before existing.
24015 (processArgs): Added javadoc.
24016 Reduced to throws Exception.
24018 (teardown): New method.
24019 (setupCommonParams): Added javadoc.
24020 Install designated provider if not already installed.
24021 (installNewProvider): New method.
24022 (setupSigningParams): Added javadoc.
24023 Instantiate the KeyStore using type only.
24024 * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
24025 Removed unused imports.
24026 (start): Reduced to throws Exception.
24027 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
24028 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
24029 Re-organized imports.
24030 * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
24031 Test ignoring case.
24032 (getNames): Add "dsa" as an algorithm provided by this Factory.
24033 (makeInstance): Construct IllegalArgumentException with 2 arguments.
24035 2006-04-03 Roman Kennke <kennke@aicas.com>
24037 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
24038 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
24039 Replaced g_free() with pango_item_free() to avoid problems
24040 with the allocator.
24042 2006-04-03 Rafael H. Schloming <rafaels@redhat.com>
24045 * java/util/logging/Level.java (parse): Document.
24046 * java/util/logging/LogManager.java (rootLogger): Removed.
24047 (LogManager): Just set loggers to new HashMap.
24048 (getLogManager): Make synchronized. Create and init LogManager if it
24050 (static): Removed block.
24051 (MANAGER_PROPERTY): New private final string.
24052 (makeLogManager): Use new property string, move warning to
24053 createInstance() method.
24054 (CONFIG_PROPERTY): New private final string.
24055 (initLogManager): New method.
24056 (addLogger): Use Logger.root, not rootLogger.
24057 (findAncestor): Likewise.
24058 (readConfiguration): Move warning to createInstance() method.
24059 Add handlers directly to Logger.root. Warn about bad level values.
24060 (getClassProperty): Use new locateClass() method.
24061 (getInstanceProperty): Only catch specific newInstance Errors.
24062 (createInstance): Make private and takes a string to use in warning
24063 messages. Use new locateClass() method and generate appropriate
24065 (warn): New methods.
24066 (locateClass): Locates a class through the context class loader and
24067 system class loader as backup.
24068 * java/util/logging/Logger.java (root): New static final field.
24069 (Logger): Set parent to root.
24070 (setParent): Directly check root field.
24072 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
24074 * java/util/Collections.java:
24075 (binarySearch(List, T)): Fixed signature.
24076 (unmodifiableList(List)): Likewise.
24077 (UnmodifiableList(List)): Fixed constructor.
24078 (UnmodifiableRandomAccessList(List)): Likewise.
24079 (unmodifiableMap(Map)): Fixed signature.
24080 (UnmodifiableMap(Map)): Fixed constructor.
24081 (unmodifiableSortedMap(Map)): Fixed signature.
24082 (UnmodifiableSortedMap(Map)): Fixed constructor.
24084 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
24086 * java/io/ObjectOutputStream.java:
24087 (writeObject(Object)): Added enum support.
24088 (writeClassDescriptor(ObjectStreamClass)): Likewise.
24089 * java/io/ObjectStreamClass.java:
24090 (isEnum()): New package-private method.
24091 (setFlags(Class)): Added enum support.
24092 * java/io/ObjectStreamConstants.java:
24095 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24097 * javax/swing/text/Segment.java:
24098 (setPosition): Make exception message more verbose.
24099 * javax/swing/text/WrappedPlainView.java:
24100 (insertUpdate): Removed unneeded repaint call.
24101 (changeUpdate): Dito.
24102 (removeUpdate): Dito.
24103 (WrappedLine.determineNumLines): Do not return numLines, break
24104 from loop if no new break point has been calculated.
24105 (WrappedLine.updateDamage): Rewritten.
24106 (WrappedLine.insertUpdate): Removed unneeded update code.
24107 (WrappedLine.removeUpdate): Removed unneeded update code, added
24110 2006-04-02 Dalibor Topic <robilad@kaffe.org>
24112 * configure.ac (with-glibj-zip): Added new option.
24114 * examples/Makefile.am,
24116 tools/Makefile.am: Adapted build classpath to use glibj.zip,
24117 in addition to classes in lib directory.
24119 2006-04-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24121 * tools/gnu/classpath/tools/giop/GRMIC.java,
24122 tools/gnu/classpath/tools/giop/IorParser.java,
24123 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
24124 tools/gnu/classpath/tools/giop/grmic/Generator.java,
24125 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
24126 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
24127 tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
24128 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
24129 tools/gnu/classpath/tools/rmi/RMIC.java,
24130 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
24131 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
24132 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
24133 linking exception from the licensing header.
24134 * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24135 Added licensing header.
24137 2006-04-02 Mark Wielaard <mark@klomp.org>
24139 * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
24140 (jarsigner): Removed.
24142 2006-04-02 Dalibor Topic <robilad@kaffe.org>
24144 * configure.ac: don't check for isnan function.
24145 * native/fdlibm/fdlibm.h: Always use the isnan macro.
24147 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
24149 * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
24150 * tools/Makefile.am: Generate jarsigner shell script.
24151 * tools/jarsigner.sh.in: New template.
24152 * tools/.cvsignore: Added jarsigner.sh.
24154 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
24156 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
24157 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24158 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24159 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24160 * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
24161 Re-organised imports.
24163 2006-04-01 Bernhard Rosenkraenzer <bero@arklinux.org>
24165 PR classpath/25924:
24166 * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
24167 Handle case where alpha==0.
24169 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24172 * javax/swing/text/Utilities.java:
24173 (getTabbedTextOffset): Added check to decrement pos not below zero,
24174 changed '>' comparison to '>='.
24175 * javax/swing/text/WrappedPlainView.java:
24176 (lineHeight): New field.
24177 (calculateBreakPosition): Throw InternalError in catch block, removed
24178 unneeded brackets, use specific version of
24179 Utilities.getTabbedTextOffset.
24180 (paint): Set various properties neccessary for drawing.
24181 (WrappedLine.paint): Removed code to set field of outer class.
24182 (WrappedLine.modelToView): Removed unneeded expression from
24184 (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
24185 -1 from return statement, copy only a subset into the Segment, removed
24186 special handling of mark value - just return it, simplified
24187 incrementation of currLineStart.
24188 (WrappedLine.insertUpdate): Recalculate numLines, report preference
24189 change to parent view.
24190 (WrappedLine.removeUpdate): Dito.
24192 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24194 * javax/swing/text/Segment.java:
24195 (toString): Return empty string when array is null.
24197 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24199 * javax/swing/plaf/basic/BasicTextUI.java:
24200 (damageRange): Use SwingUtilities.computeUnion to avoid
24201 unneccessary Rectangle instantiation.
24203 2006-04-01 Tom Tromey <tromey@redhat.com>
24205 * java/security/cert/Certificate.java (serialVersionUID): Fixed.
24207 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24209 * javax/swing/text/CompositeView.java: Fixed copyright header.
24210 * javax/swing/text/BoxView.java: Fixed copyright header.
24211 * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
24212 * javax/swing/text/Utilities.java: Fixed copyright header.
24214 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24216 * javax/swing/text/CompositeView.java:
24217 (modelToView): Throw BadLocationException when no child
24218 view can be found, restructed to throw exception as early
24220 (viewToModel): Use mutable allocation as argument for viewToModel
24221 call on child view.
24222 * javax/swing/text/BoxView.java:
24223 (getViewAtPoint): Call setBounds() r before method returns with
24224 suitable child view.
24225 * javax/swing/text/Utilities.java:
24226 (getPositionBelow): Added try-catch-block around modelToView call,
24227 added method return when BadLocationException was thrown.
24228 * javax/swing/text/WrappedPlainView.java:
24229 (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
24230 added note about meaning of rect.x and rect.width, removed unneeded
24231 checks, added code to not return the last possible document offset.
24233 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24235 * javax/swing/text/WrappedPlainView.java:
24236 (WrappedLine.viewToModel): Change < to <= in if-statement,
24237 removed addition of currLineStart to return value.
24238 * javax/swing/text/BoxView.java:
24239 (getViewAtPoint): Use copy instead of r for method call
24240 which modifies the second argument.
24242 2006-04-01 Mark Wielaard <mark@klomp.org>
24245 * java/util/jar/Attributes.java: Fully qualify java.util.Map.
24247 2006-03-31 Tom Tromey <tromey@redhat.com>
24249 * lib/split-for-gcj.sh: Updated for multi-field format.
24250 * lib/Makefile.am (CLEANFILES): Added classes.2.
24251 * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and
24252 classes.2 using multiple fields.
24254 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24256 * javax/swing/JTable.java (columnSelectionChanged):
24257 Removed print statement.
24258 * javax/swing/DefaultListSelectionModel.java
24259 (addSelectionInterval, removeSelectionInterval):
24260 Fire the difference between selection. (setLeadSelectionIndex):
24261 Fire the difference and mark current and previous lead
24262 selection indexes for repaint.
24264 2006-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
24266 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
24267 unnecessary copying.
24268 * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
24270 2006-03-31 Lillian Angel <langel@redhat.com>
24272 * java/awt/Component.java
24273 (translateEvent): oldKey should be the value of the
24276 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24278 * javax/swing/JTable.java (columnSelectionChanged):
24279 Treat second repaint parameter as width.
24281 2006-03-31 Lillian Angel <langel@redhat.com>
24284 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
24285 (realize): New native function.
24286 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
24287 Added new function declaration.
24288 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
24289 (realize): New function.
24291 2006-03-31 Robert Schuster <robertschuster@fsfe.org>
24293 * javax/swing/text/GapContent.java:
24294 (replace): Move all Position instances from gap's end to
24295 it's start before increasing the gap start.
24296 * javax/swing/plaf/basic/BasicTextAreaUI.java:
24297 (propertyChanged): Update the view only instead of
24298 indicating a document change.
24300 2006-03-31 Roman Kennke <kennke@aicas.com>
24302 * javax/swing/JTextField.java
24303 (fireActionPerformed): Put the textfields text in the action
24304 instead of the action name.
24306 2006-04-01 Raif S. Naffah <raif@swiftdsl.com.au>
24308 * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
24309 Check for null jar-file argument.
24310 (setupSigningParams): Check for null alias argument.
24312 2006-03-31 Roman Kennke <kennke@aicas.com>
24314 * javax/swing/JComponent.java
24315 (paintChildren): Split up in two cases, depending on the
24316 optimizedDrawingEnabled flag.
24317 (paintChildrenWithOverlap): New method. Paints children when
24318 not optimizedDrawingEnabled. This implements better painting
24319 algorithm for overlapping components, so that the painted
24320 regions are minimized.
24321 (paintChildrenOptimized): New method. Paints children when
24322 when optimizedDrawingEnabled. This implements a painting
24323 algorithm that is optimized for the case when all children
24324 are guaranteed to be tiled.
24326 2006-03-31 Raif S. Naffah <raif@swiftdsl.com.au>
24328 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
24329 Attributes.putValue(String,String).
24330 (finishSigning): Likewise.
24331 * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
24332 (SIGNATURE_VERSION): Likewise.
24333 (readSFManifest): Use local string constant.
24334 (readMainSection): Likewise.
24335 (readVersionInfo): Likewise.
24336 * java/util/jar/Attributes.java (MANIFEST_VERSION):
24337 Redefined using JarUtils constant.
24338 (SIGNATURE_VERSION): Likewise.
24339 (putValue(Name,String)): Made it private.
24341 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24343 * javax/swing/DefaultListSelectionModel.java (fireDifference):
24344 New method. (clearSelection): Rewritten. (setSelectionInterval):
24345 Fire the difference between current and new selection.
24346 * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
24347 Only repaint the region, where selection has been changed.
24348 * javax/swing/plaf/basic/BasicTableUI.java
24349 (TableAction.actionPerformed): Do not change the column selection
24350 when only row selection change is wanted (and in reverse) and
24351 do not call the repaint() here.
24353 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24356 * javax/swing/DefaultComboBoxModel.java
24357 (DefaultComboBoxModel(Vector)): Call getSize() instead of
24359 (addElement): Call list.addElement() rather than list.add(), and only
24360 update selected item if it is currently null,
24361 (removeElementAt): Update selected item, then remove the element.
24363 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24366 * java/awt/geom/Point2D.java
24367 (distanceSq(double, double)): Fixed order of arguments,
24368 (distanceSq(Point2D)): Likewise,
24369 (distance(double, double)): Likewise,
24370 (distance(Point2D)): Likewise.
24372 2006-03-30 Thomas Fitzsimmons <fitzsim@redhat.com>
24374 * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
24375 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
24376 (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
24377 ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
24378 DCLuminanceLengths, DCLuminanceValues): Remove fields.
24380 2006-03-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24382 * javax.swing.JTable (constructor): Initialize column
24383 model column margin and table row margin before setting the
24384 table column model. (initialiseLocalVars): Do not call
24385 setIntercellSpacing.
24387 2006-03-30 Chris Burdess <dog@gnu.org>
24389 * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
24391 * javax/xml/validation/SchemaFactoryLoader.java: New file.
24393 2006-03-30 Mark Wielaard <mark@klomp.org>
24396 * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
24397 adjust bounds. On resize invalidate and validate container.
24398 Always pass on ComponentEvents to Container super class.
24399 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
24400 menuBar and pass to GtkWindowPeer super class.
24401 (postConfigureEvent): Adjust menu bar width. Adjust y and height
24402 bounds and pass to GtkWindowPeer super class.
24403 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
24404 New fields for local bounds.
24405 (getX, getY): New methods.
24406 (getWidth): Don't call into awtComponent.
24407 (getHeight): Likewise.
24408 (create): Cache local bounds.
24409 (setLocation): Documented, made protected and just call
24411 (setLocationUnlocked): Removed unused method.
24412 (setBoundsUnlocked): Likewise.
24413 (setBounds): Check whether bounds actually changed and cache local
24415 (setSize): Documented and made protected.
24416 (setResizable): Documented and cache local bounds.
24417 (postConfigureEvent): Update local bounds. Don't call awtComponent
24418 directly but post ComponentEvents.
24419 (show): Cache local bounds.
24420 (getBounds): Override to return cached bounds.
24422 2006-03-30 Lillian Angel <langel@redhat.com>
24424 * gnu/java/awt/peer/gtk/GdkGraphics.java
24425 (drawImage): Added check to prevent NPE.
24426 (drawImage): Likewise.
24427 (drawImage): Likewise.
24428 * java/awt/Choice.java
24429 (dispatchEventImpl): New function. selectedIndex was
24430 not being updated properly otherwise.
24432 2006-03-30 Roman Kennke <kennke@aicas.com>
24434 * javax/swing/JTabbedPane.java
24435 (removeTabAt): Removed debug code.
24437 2006-03-30 Roman Kennke <kennke@aicas.com>
24440 * javax/swing/plaf/basic/BasicTextUI.java
24441 (installKeyboardActions): Simply call getKeymap() and install this.
24442 (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24444 2006-03-30 Roman Kennke <kennke@aicas.com>
24446 * javax/swing/JTabbedPane.java
24447 (removeTabAt): Adjust selection correctly when removing a tab
24448 before the selected tab. Also remove the component from the
24449 container, not only the tab object. Repaint and revalidate the
24450 component after the removal.
24451 (removeAll): Set selection to -1 before removing the tabs.
24453 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
24455 * java/io/ObjectInputStream.java:
24456 (parseContent(byte)): Added enum support.
24457 * java/io/ObjectStreamConstants.java:
24459 (TC_MAX): Changed to new maximum, TC_ENUM.
24461 2006-03-29 Lillian Angel <langel@redhat.com>
24463 Partial fix for bug #26929
24464 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24465 (updateComponent): Removed. We want to clear the panel
24467 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24468 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24469 Should set the background to the saved background color.
24471 2006-03-29 Mark Wielaard <mark@klomp.org>
24473 Partial fix for bug #26848 (pack).
24474 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24475 Always show instances of Window.
24477 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24479 * javax/swing/JSlider.java
24480 (setPaintLabels): Only create standard labels if labelTable is null,
24481 * javax/swing/plaf/basic/BasicSliderUI.java
24482 (PropertyChangeHandler.propertyChange): Recalculate geometry for
24483 "paintTicks" property change,
24484 (calculateThumbSize): Updated API docs,
24485 (calculateContentRect): Likewise,
24486 (calculateTrackBuffer): Take into account the lowest and highest
24487 labels when calculating buffer space,
24488 (calculateTrackRect): Include labels, if visible, in the calculation of
24489 the trackRect position,
24490 (calculateTickRect): Height is zero if ticks are not painted,
24491 (calculateLabelRect): Use max dimensions of actual labels,
24492 (getWidthOfHighValueLabel): Use preferred size,
24493 (getWidthOfLowValueLabel): Likewise,
24494 (getHeightOfHighValueLabel): Likewise,
24495 (getHeightOfLowValueLabel): Likewise,
24496 (drawInverted): Just return slider setting,
24497 (getHighestValueLabel): Updated API docs,
24498 (paintTicks): Removed redundant (and buggy) code, replaced with calls
24499 to xPositionForValue() and yPositionForValue(),
24500 (paintHorizontalLabel): Removed full qualification of class name,
24501 (paintVerticalLabel): Likewise,
24502 (xPositionForValue): Reimplemented,
24503 (yPositionForValue): Reimplemented,
24504 * javax/swing/plaf/metal/MetalSliderUI.java
24505 (paintTrack): Made track one pixel longer.
24507 2006-03-29 Tom Tromey <tromey@redhat.com>
24510 * tools/Makefile.am (JCOMPILER): Added encoding options.
24511 * examples/Makefile.am (JCOMPILER): Added encoding options.
24513 2006-03-29 Gary Benson <gbenson@redhat.com>
24515 Partial fix for PR classpath/24895
24516 * java/io/FilePermission.java (implies): Canonicalize paths.
24518 2006-03-29 Robert Schuster <robertschuster@fsfe.org>
24521 * javax/swing/text/GapContent.java:
24522 (replace): Added call to resetMarksAtZero.
24524 2006-03-29 Roman Kennke <kennke@aicas.com>
24527 * javax/swing/plaf/basic/BasicMenuItemUI.java
24528 (cachedRect): New field.
24529 (BasicMenuItemUI): Initialize cachedRect field.
24530 (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24531 to determine layout. Store maximum accelerator and text width
24532 in client properties of parent to allow correct alignment
24533 of accelerators among menu items of one menu.
24534 (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24535 method. Align accelerators according to the values calculated
24536 in getPreferredMenuItemSize.
24537 (getAcceleratorString) New helper method.
24538 (layoutMenuItem): New helper method.
24540 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24542 * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24543 * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24544 * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24546 * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass,
24547 readExternal, writeExternal): New methods.
24548 * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24549 two stages, invokeCommon(Remote, ...) and
24550 invokeCommen(UnicastConnection, ...).
24551 * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24552 also the ActivatableRef. toString(): Documented.
24553 * gnu/java/rmi/server/ActivatableRef.java,
24554 tools/gnu/classpath/tools/rmi/Persistent.java,
24555 tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24556 tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24557 tools/gnu/classpath/tools/rmi/REGISTRY.java,
24558 tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24559 tools/gnu/classpath/tools/rmi/RMID.java,
24560 tools/gnu/classpath/tools/rmi/RMID.txt,
24561 tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24562 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24563 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24564 tools/gnu/classpath/tools/rmi/registry/package.html,
24565 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24566 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24568 * tools/README: Documented.
24569 * NEWS: Added entry about the activation.
24571 2006-03-29 Roman Kennke <kennke@aicas.com>
24574 * javax/swing/plaf/basic/BasicMenuItemUI.java
24575 (viewRect): New field.
24576 (textRect): New field.
24577 (accelRect): New field.
24578 (iconRect): New field.
24579 (arrowIconRect): New field.
24580 (checkIconRect): New field.
24581 (BasicMenuItemUI): Initialize new fields.
24582 (paintMenuItem): Rewritten to correctly layout and paint
24583 the menu item in a more straightforward way. Use cached rectangle
24584 objects for layout.
24585 (paintAccelerator): Pulled inside the paintMenuItem method.
24587 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24589 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24590 Do not use initCause with UnexpectedException.
24591 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24594 2006-03-29 Mark Wielaard <mark@klomp.org>
24596 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24597 (setCursorID): Removed unused static variable.
24599 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24601 * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24603 2006-03-29 Mark Wielaard <mark@klomp.org>
24606 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24607 (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24609 2006-03-28 Roman Kennke <kennke@aicas.com>
24611 * javax/swing/UIManager.java
24612 (installLookAndFeel): Implemented.
24613 (setInstalledLookAndFeels): Implemented.
24615 2006-03-28 Roman Kennke <kennke@aicas.com>
24617 * javax/swing/plaf/metal/MetalButtonUI.java
24618 (update): Paint gradient only when the background color
24619 is not a UIResource and if the button is neither armed nor
24620 pressed and if the button is contentAreaFilled.
24622 2006-03-28 Roman Kennke <kennke@aicas.com>
24624 * javax/swing/JLayeredPane.java
24625 (addImpl): Repaint added component.
24627 2006-03-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
24629 * java/util/regex/Matcher.java: Reverted.
24631 2006-03-28 Roman Kennke <kennke@aicas.com>
24633 * javax/swing/text/AsyncBoxView.java
24634 (setEstimatedMajorSpan): Made method protected.
24635 (getEstimatedMajorSpan): Made method protected.
24636 * javax/swing/text/BoxView.java
24637 (flipEastAndWestAtEnds): Fixed typo.
24638 * javax/swing/text/InternationalFormatter.java
24639 (getActions): Made method protected.
24640 * javax/swing/text/Position.java
24641 (Bias): Made class final.
24642 * javax/swing/text/html/HTML.java
24643 (MEDIA): Made field package private. Not specified.
24644 (NOBR): Made field package private. Not specified.
24645 * javax/swing/text/html/NullView.java
24646 Made class package private.
24647 * javax/swing/text/html/parser/Entity.java
24648 Made class non-serializable as specified.
24650 2006-03-28 Roman Kennke <kennke@aicas.com>
24652 * javax/swing/plaf/metal/MetalButtonUI.java
24653 (update): Don't paint gradient if the background color is
24654 no UIResource. Removed double getModel() call. Don't check for
24657 2006-03-28 Roman Kennke <kennke@aicas.com>
24659 * javax/swing/plaf/basic/BasicMenuItemUI.java
24660 (paint): Call paintMenuItem with the selectionBackground as
24662 (paintBackground): Fixed the condition and color for the background
24665 2006-03-28 Roman Kennke <kennke@aicas.com>
24667 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24668 (tabsOpaque): New field.
24669 (paintLeftTabBorder): Paint some parts only when the tabs are
24670 opaque. Determine the tab background using the paintLeftTabBorder()
24672 (paintRightTabBorder): Likewise.
24673 (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24675 2006-03-27 Tom Tromey <tromey@redhat.com>
24677 PR classpath/25189:
24678 * java/lang/Enum.java (valueOf): Ensure that the named field
24679 is an enum constant.
24680 (compareTo): Check class of enum.
24682 2006-03-27 Tom Tromey <tromey@redhat.com>
24684 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24686 2006-03-27 Tom Tromey <tromey@redhat.com>
24688 * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24690 (getModifiersInternal): Renamed from getModifiers.
24691 (getModifiers): New method.
24692 (isBridge): Likewise.
24693 (isSynthetic): Likewise.
24694 (isVarArgs): Likewise.
24695 * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24697 (getModifiersInternal): Renamed from getModifiers.
24698 (getModifiers): New method.
24699 (isSynthetic): Likewise.
24700 (isEnumConstant): Likewise.
24701 * vm/reference/java/lang/reflect/Constructor.java
24702 (getModifiersInternal): Renamed from getModifiers.
24703 (getModifiers): New method
24704 (CONSTRUCTOR_MODIFIERS): New constant.
24705 (isSynthetic): New method.
24706 (isVarArgs): Likewise.
24707 * java/lang/reflect/Member.java (isSynthetic): New method.
24709 2006-03-28 Tom Tromey <tromey@redhat.com>
24711 * java/net/Proxy.java (TYPE): Added missing ";".
24713 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24715 * java/math/RoundingMode.java:
24716 Fixed serialization UID.
24717 * java/net/Proxy.java:
24720 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24722 * java/io/CharArrayWriter.java:
24723 (append(char)): Documented.
24724 (append(CharSequence)): Likewise.
24725 (append(CharSequence,int,int)): Likewise.
24727 2006-03-27 Jeroen Frijters <jeroen@frijters.net>
24729 * vm/reference/java/lang/reflect/Constructor.java
24730 (getTypeParameters): Check return value of getSignature for null.
24731 * vm/reference/java/lang/reflect/Method.java
24732 (getTypeParameters): Check return value of getSignature for null.
24734 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24736 * java/rmi/activation/ActivationGroup_Stub.java:
24739 2006-03-27 Tom Tromey <tromey@redhat.com>
24741 * java/io/CharArrayWriter.java (append): New overloads.
24743 2006-03-27 Lillian Angel <langel@redhat.com>
24745 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24746 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24747 Added check for colormap. Prevents assertion error.
24748 (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24750 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24752 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24754 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24756 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24759 2006-03-27 Dalibor Topic <robilad@kaffe.org>
24761 * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use
24762 AC_MSG_ERROR instead of echoing the error message
24763 that no compiler has been found manually.
24765 2006-03-27 Roman Kennke <kennke@aicas.com>
24767 * javax/swing/RepaintManager.java
24768 (commitBuffer): Use simple drawImage() method instead of the
24771 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24773 * javax/swing/text/PlainView.java:
24774 (drawLine): Use 'endOffset' instead of 'selectionEnd'
24775 for painting the selected line.
24777 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24779 * javax/swing/plaf/basic/BasicSliderUI.java
24780 (getThumbSize): Removed TODO and updated API docs.
24782 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24784 * javax/swing/text/DefaultCaret.java:
24785 (mouseClicked): Word selection rewritten.
24786 (paint): Draw line inside the bounding rectangle.
24787 (damage): Retrieve caret height from line height.
24789 2006-03-28 Raif S. Naffah <raif@swiftdsl.com.au>
24791 * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
24793 Check for -help option.
24794 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
24796 2006-03-27 Roman Kennke <kennke@aicas.com>
24798 * javax/swing/text/FieldView.java
24799 (getPreferredSpan): Don't include trailing newline in
24801 * javax/swing/text/PlainView.java
24802 (drawLine): Don't include trailing newline.
24803 (determineMaxLineLength): Don't include trailing newline.
24804 (getLineBuffer): Made method final.
24806 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24808 * javax/swing/JSlider.java
24809 (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
24810 (AccessibleJSlider.getAccessibleRole): Removed declaration of
24811 NotImplementedException,
24812 (AccessibleJSlider.getAccessibleValue): Updated API docs.
24814 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24816 * java/lang/ProcessBuilder.java:
24819 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24821 * gnu/java/net/protocol/http/Headers.java:
24822 Match layout of file on HEAD.
24823 * gnu/javax/swing/text/html/parser/htmlValidator.java:
24825 * java/awt/datatransfer/DataFlavor.java
24828 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24830 * gnu/java/security/jce/hash/HavalSpi.java,
24831 * gnu/java/security/jce/hash/MD2Spi.java,
24832 * gnu/java/security/jce/hash/MD4Spi.java,
24833 * gnu/java/security/jce/hash/MD5Spi.java,
24834 * gnu/java/security/jce/hash/MessageDigestAdapter.java,
24835 * gnu/java/security/jce/hash/RipeMD128Spi.java,
24836 * gnu/java/security/jce/hash/RipeMD160Spi.java,
24837 * gnu/java/security/jce/hash/Sha160Spi.java,
24838 * gnu/java/security/jce/hash/Sha256Spi.java,
24839 * gnu/java/security/jce/hash/Sha384Spi.java,
24840 * gnu/java/security/jce/hash/Sha512Spi.java,
24841 * gnu/java/security/jce/hash/TigerSpi.java,
24842 * gnu/java/security/jce/hash/WhirlpoolSpi.java,
24843 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
24844 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
24845 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
24846 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
24847 * gnu/java/security/jce/sig/SignatureAdapter.java,
24848 * gnu/java/security/key/IKeyPairCodec.java,
24849 * gnu/java/security/key/IKeyPairGenerator.java,
24850 * gnu/java/security/key/KeyPairGeneratorFactory.java,
24851 * gnu/java/security/key/dss/DSSKey.java,
24852 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
24853 * gnu/java/security/key/dss/DSSPrivateKey.java,
24854 * gnu/java/security/key/dss/DSSPublicKey.java,
24855 * gnu/java/security/key/dss/FIPS186.java,
24856 * gnu/java/security/key/rsa/GnuRSAKey.java,
24857 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
24858 * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
24859 * gnu/java/security/sig/ISignature.java,
24860 * gnu/java/security/sig/ISignatureCodec.java,
24861 * gnu/java/security/sig/dss/DSSSignature.java,
24862 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
24863 * gnu/java/security/sig/rsa/RSAPSSSignature.java,
24864 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
24865 * gnu/java/security/util/Util.java:
24866 Remove CVS revision tags.
24868 2006-03-26 Tom Tromey <tromey@redhat.com>
24870 * java/io/InputStream.java (InputStream): Implements Closeable.
24872 2006-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
24874 * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
24876 * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
24877 getAnchor): New methods.
24878 * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
24879 getAnchor): New methods.
24880 * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
24881 getAnchor): New methods.
24882 * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
24883 getAnchor): New methods.
24884 * gnu/regexp/REMatch.java(start1): New field.
24885 * gnu/regexp/RE.java(initialize): Added support for \z and \G,
24886 (match): set the starting position to start1[] instead of start[],
24887 (getMatchImpl): Set the found REMatch to the input,
24888 (makeCharIndexed): Made public.
24889 * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
24890 * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
24891 set the value of start[] copying from start1[].
24892 * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
24894 * java/util/regex/Matcher.java(inputCharIndexed): New field
24895 to be used as a parameter of the RE#getMatch.
24897 2006-03-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24899 * gnu/java/rmi/activation/DefaultActivationGroup.java:
24900 Documented the default jre spawning strategy (none).
24901 * java/rmi/activation/ActivationGroup.java (currentGroupId,
24902 getSystem): Obtain the acticivation system from the
24903 DefaultActivationSystem.
24905 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24907 * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
24908 Ask user for keystore password if one was not provided.
24910 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24912 * tools/README: Added Security tools section.
24913 Documented the jarsigner tool.
24915 2006-03-25 David Gilbert <david.gilbert@object-refinery.com>
24917 * javax/swing/JScrollBar.java
24918 (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
24919 (AccessibleJScrollBar.getAccessibleRole): Likewise,
24920 (AccessibleJScrollBar.getAccessibleValue): Likewise,
24921 (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
24922 (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
24923 (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
24924 (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
24925 (getAccessibleContext): Updated API docs.
24927 2006-03-25 Tom Tromey <tromey@redhat.com>
24929 * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
24930 change or if generator script changes.
24932 2006-03-25 Tom Tromey <tromey@redhat.com>
24934 * javax/naming/ldap/StartTlsRequest.java: New file.
24935 * javax/naming/ldap/StartTlsResponse.java: New file.
24937 2006-03-25 Olivier Jolly <olivier.jolly@pcedev.com>
24939 * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
24940 to validate all components of a resource path.
24941 (FileURLLoader.walkPathComponents): Helper which ensures that we are
24942 allowed to walk through every component of a resource path.
24944 2006-03-25 Michael Koch <konqueror@gmx.de>
24946 * NEWS: Added item for CLDR 1.3 update.
24948 2006-03-25 Michael Koch <konqueror@gmx.de>
24950 * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
24951 resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
24952 resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
24953 resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
24954 resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
24955 resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
24958 2006-03-25 Michael Koch <konqueror@gmx.de>
24960 * resource/gnu/java/locale/LocaleInformation_az.properties,
24961 resource/gnu/java/locale/LocaleInformation_bs.properties,
24962 resource/gnu/java/locale/LocaleInformation_byn.properties,
24963 resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
24964 resource/gnu/java/locale/LocaleInformation_el_CY.properties,
24965 resource/gnu/java/locale/LocaleInformation_gez.properties,
24966 resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
24967 resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
24968 resource/gnu/java/locale/LocaleInformation_haw.properties,
24969 resource/gnu/java/locale/LocaleInformation_haw_US.properties,
24970 resource/gnu/java/locale/LocaleInformation_kok.properties,
24971 resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
24972 resource/gnu/java/locale/LocaleInformation_sid.properties,
24973 resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
24974 resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
24975 resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
24976 resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
24977 resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
24978 resource/gnu/java/locale/LocaleInformation_syr.properties,
24979 resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
24980 resource/gnu/java/locale/LocaleInformation_tig.properties,
24981 resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
24982 resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
24983 resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
24984 resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
24985 resource/gnu/java/locale/LocaleInformation_wal.properties,
24986 resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
24989 2006-03-25 Michael Koch <konqueror@gmx.de>
24991 * resource/gnu/java/locale/LocaleInformation_fa.properties,
24992 resource/gnu/java/locale/LocaleInformation_kn.properties,
24993 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24994 resource/gnu/java/locale/LocaleInformation_ko.properties,
24995 resource/gnu/java/locale/LocaleInformation_sl.properties,
24996 resource/gnu/java/locale/LocaleInformation_so.properties,
24997 resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
24998 resource/gnu/java/locale/LocaleInformation_so_ET.properties,
24999 resource/gnu/java/locale/LocaleInformation_so_SO.properties,
25000 resource/gnu/java/locale/LocaleInformation_sr.properties:
25001 Random fixes I forgot to commit before.
25003 2006-03-25 Michael Koch <konqueror@gmx.de>
25005 * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
25006 resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
25007 resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
25008 resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
25009 resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
25010 resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
25011 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
25012 resource/gnu/java/locale/LocaleInformation_be_BY.properties,
25013 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
25014 resource/gnu/java/locale/LocaleInformation_en.properties,
25015 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
25016 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
25017 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
25018 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
25019 resource/gnu/java/locale/LocaleInformation_fa.properties,
25020 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
25021 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25022 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25023 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25024 resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
25025 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25026 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
25027 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
25028 resource/gnu/java/locale/LocaleInformation_pa.properties,
25029 resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
25030 resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
25031 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
25032 resource/gnu/java/locale/LocaleInformation_sa.properties,
25033 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
25034 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
25035 resource/gnu/java/locale/LocaleInformation_te_IN.properties:
25036 Updated currency formats.
25038 2006-03-25 Roman Kennke <kennke@aicas.com>
25040 * javax/swing/text/AbstractDocument.java
25041 (getAttributeContext): Made method final.
25042 (getCurrentWriter): Likewise.
25043 (getEndPosition): Likewise.
25044 (getProperty): Likewise.
25045 (getStartPosition): Likewise.
25046 (putProperty): Likewise.
25047 (readLock): Likewise.
25048 (readUnlock): Likewise.
25049 (writeLock): Likewise.
25050 (writeUnlock): Likewise.
25052 2006-03-25 Roman Kennke <kennke@aicas.com>
25054 * javax/swing/InputMap.java
25055 (allKeys): Check if parent keys is null.
25056 * javax/swing/KeyboardManager.java
25057 (registerEntireMap): Also register map's parent keys.
25058 * javax/swing/plaf/metal/MetalRootPaneUI.java
25059 (propertyChange): Also call super.propertyChange().
25061 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25063 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
25064 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
25065 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
25066 * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
25067 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
25068 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
25070 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25072 * gnu/java/util/jar/JarUtils.java: New file.
25073 * java/util/jar/Manifest.java (CRLF): Removed.
25074 (read_main_section): Likewise.
25075 (read_version_info): Likewise.
25076 (expect_header(String,BufferedReader)): Likewise.
25077 (expect_header(String,BufferedReader,String)): Likewise.
25078 (read_header_value): Likewise.
25079 (read_attributes): Likewise.
25080 (read_attribute): Likewise.
25081 (read_individual_sections): Likewise.
25082 (read_section_name): Likewise.
25083 (write_main_section): Likewise.
25084 (write_version_info): Likewise.
25085 (write_header): Likewise.
25086 (write_main_attributes): Likewise.
25087 (write_attribute_entry): Likewise.
25088 (write_individual_sections): Likewise.
25089 (write_entry_attributes): Likewise.
25090 (read): use JarUtils.
25093 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25095 * gnu/java/security/pkcs/SignerInfo.java (log): New field.
25098 (SignerInfo(BERReader)): Updated javadoc.
25100 (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
25102 (encode): New method.
25103 * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
25104 (PKCS7_DATA): Removed.
25107 (PKCS7SignedData(BERReader)): Updated javadoc.
25109 (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
25111 (encode): New method.
25112 * gnu/java/security/pkcs/PKCS7Data.java: New file.
25113 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
25114 (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
25115 (decodePrivateKey): Decode x from an OCTET STRING.
25116 * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
25117 (toString): New method.
25118 * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
25120 (toString): New method.
25121 * gnu/java/security/key/dss/DSSKey.java (str): New Field.
25122 (toString): New method.
25123 * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
25125 2006-03-25 Roman Kennke <kennke@aicas.com>
25127 * java/util/GregorianCalender.java
25128 (computeTime): Fix comparison to correctly calculate the
25131 2006-03-25 Wolfgang Baer <WBaer@gmx.de>
25134 * java/awt/Window.java:
25135 (setFocusCycleRoot): New overriden method.
25136 (isFocusCycleRoot): Likewise.
25137 (getFocusCycleRootAncestor): Likewise.
25138 * java/awt/Container.java:
25139 (getFocusTraversalPolicy): Check also for anchestor == null.
25141 2006-03-25 Mark Wielaard <mark@klomp.org>
25143 Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
25144 * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
25147 2006-03-24 Tom Tromey <tromey@redhat.com>
25149 * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
25151 (writeChar): Removed useless cast.
25152 (writeChars(String)): Implemented.
25153 (writeDouble): Rewrote.
25154 (writeFloat): Likewise.
25155 (writeUTF): Implemented.
25156 * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
25159 2006-03-24 Roman Kennke <kennke@aicas.com>
25161 * javax/swing/JButton.java
25162 (def): Replaced field with defaultCapable field.
25163 (is_def): Removed field.
25164 (JButton): Initialize defaultCapable with true.
25165 (isDefaultButton): Documented and implemented method by querying
25166 the button's root pane if present.
25167 (isDefaultCapable): Changed def field to defaultCapable.
25168 Added documentation.
25169 (paramString): Call isDefaultButton() instead of accessing field,
25171 (setDefaultCapable): Changed def field to defaultCapable.
25172 Added documentation.
25173 * javax/swing/JRootPane.java
25174 (setDefaultButton): Only change the default button if the
25175 new button is defaultCapable.
25176 * javax/swing/plaf/basic/BasicRootPaneUI.java
25177 (DefaultPressAction): New class.
25178 (DefaultReleaseAction): New class.
25179 (installKeyboardActions): Implemented.
25180 (uninstallKeyboardActions): Implemented.
25181 (propertyChange): Implemented.
25182 * javax/swing/plaf/metal/MetalBorders.java
25183 (ButtonBorder.paintBorder): 'Outsourced' default theme
25184 painting to paintDefaultButtonBorder().
25185 (ButtonBorder.paintDefaultButtonBorder): New helper method
25186 to paint the border in the default theme. This also fixes
25187 painting of the border for default buttons.
25188 (ButtonBorder.paintOceanButtonBorder): Added support for
25189 default button painting. Fixed border for pressed/default state.
25190 * javax/swing/plaf/metal/MetalButtonUI.java
25191 (update): Only paint gradient when in OceanTheme and when the
25192 button is not armed.
25194 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25196 * gnu/java/rmi/activation/ActivationSystemTransient.java:
25197 Inherit from Activator.
25199 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25201 * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
25202 Print debug message if debug flag is set.
25203 * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
25204 * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
25205 detail, do not call iniCause(). (exportClass): New method.
25206 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
25207 Ignore null (bootstrap) class loader.
25208 * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
25209 buildMethodHash, findStubSkelClass, getHelperClass): Changed
25210 visibility to protected.
25211 * java/rmi/activation/Activatable.java (export, register): Rewritten.
25212 (toStub): New method.
25213 * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
25214 * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT):
25215 Explained property java.rmi.activation.port.
25217 2006-03-24 Tom Tromey <tromey@redhat.com>
25219 * .externalToolBuilders/CreateLocaleData.launch: Updated.
25220 * gnu/java/locale/.cvsignore: New file.
25221 * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
25222 * java/util/Locale.java (getAvailableLocales): Clone result.
25223 (getISOCountries): Likewise.
25224 (getISOLanguages): Likewise.
25225 * scripts/generate-locale-list.sh: Make class public. Added new
25227 * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
25228 (getLocaleCount): Likewise.
25229 * java/text/Collator.java (getInstance): Javadoc typo fix.
25230 (getAvailableLocales): Wrote.
25232 2006-03-24 Roman Kennke <kennke@aicas.com>
25234 * javax/swing/JTabbedPane.java
25235 (getSelectedComponent): Return null when no component is
25238 2006-03-24 Mark Wielaard <mark@klomp.org>
25240 * NEWS: Add cursor and selection improvements.
25242 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25244 * java/awt/Component.java
25245 (getAccessibleName): Just return accessibleName,
25246 * javax/swing/AbstractButton.java
25247 (getAccessibleStateSet): Mark as stub,
25248 (getAccessibleName): Implemented,
25249 (getAcessibleIcon): Mark as stub,
25250 (getAccessibleRelationSet): Likewise,
25251 (getAccessibleAction): Likewise,
25252 (getAccessibleValue): Likewise,
25253 (getAccessibleActionCount): Likewise,
25254 (getAccessibleActionDescription): Likewise,
25255 (doAccessibleAction): Likewise,
25256 (getCurrentAccessibleValue): Likewise,
25257 (setCurrentAccessibleValue): Likewise,
25258 (getMinimumAccessibleValue): Likewise,
25259 (getMaximumAccessibleValue): Likewise,
25260 (getAccessibleText): Likewise,
25261 (getIndexAtPoint): Likewise,
25262 (getCharacterBounds): Likewise,
25263 (getCharCount): Likewise,
25264 (getCaretPosition): Likewise,
25265 (getAtIndex): Likewise,
25266 (getAfterIndex): Likewise,
25267 (getBeforeIndex): Likewise,
25268 (getCharacterAttribute): Likewise,
25269 (getSelectionStart): Likewise,
25270 (getSelectionEnd): Likewise,
25271 (getSelectedText): Likewise,
25272 (getTextRectangle): Likewise,
25273 (setIconTextGap): Fire PropertyChangeEvent, not state changed,
25274 (getIconTextGap): Added @since 1.4,
25275 (setContentAreaFilled): Reordered code to make event sequence match
25276 reference implementation,
25277 * javax/swing/JButton.java
25278 (getSelectedObjects): Removed,
25279 *javax/swing/JComponent.java
25280 (getAccessibleName): Call super.
25282 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25284 * javax/swing/JProgressBar.java
25285 (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
25286 (AccessibleJProgressBar.getAccessibleRole): Added API docs,
25287 (AccessibleJProgressBar.getAccessibleValue): Implemented,
25288 (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
25289 (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
25290 (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
25291 (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
25292 (getAccessibleContext): Added API docs.
25294 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25296 * javax/swing/plaf/basic/BasicTextUI.java:
25297 (FocusListener.focusLost): Put current selection into the system
25300 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25302 * java/awt/Component.java:
25303 (processMouseEvent): Remove call to consume event.
25304 (dispatchEventImpl): Handle specific events first, do focus request
25305 only when mouse event was not yet consumed.
25306 * javax/swing/text/DefaultCaret.java:
25307 (mousePressed): Rewritten.
25308 (setDot): Changed order of operations.
25311 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25313 * javax/swing/JComponent.java
25314 (AccessibleJComponent.changeSupport): Removed field,
25315 (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
25316 (AccessibleJComponent.addPropertyChangeListener): Call super,
25317 (AccessibleJComponent.removePropertyChangeListener): Likewise,
25318 * javax/swing/JSlider.java
25319 (AccessibleJSlider.getAccessibleStateSet): Implemented,
25320 (AccessibleJSlider.getAccessibleRole): Likewise,
25321 (AccessibleJSlider.getAccessibleValue): Likewise,
25322 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25323 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25324 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25325 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25326 (getAccessibleContext): Added API docs.
25328 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25330 * gnu/java/rmi/activation/ActivationSystemTransient.java
25331 (debug): Made public. (constructor): Made protected.
25332 (activate, getActivationDesc): Throw more informative exceptions.
25333 * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
25335 * gnu/java/rmi/server/UnicastRef.java (remoteToString):
25337 * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
25339 * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
25341 * java/rmi/activation/Activatable.java (obtainId): Use the activation
25342 system, passed in the activation descriptor field.
25343 * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
25344 * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
25345 to package private final. (equals): Compare uid, not the system.
25346 (hashCode): Forward to uid.hashCode(). toString(): New method.
25347 * java/rmi/activation/ActivationID.java (readObject, writeObject):
25348 Rewritten. (equals): Compare UID only. toString(): New method.
25349 * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
25350 UID (space). (hashCode, toString): Rewritten.
25351 * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs):
25352 New method. (invoke): Treat null as an empty array for parameters.
25353 * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
25354 Include count, do not include the static machineId.
25356 2006-03-23 Tom Tromey <tromey@redhat.com>
25358 * java/net/URLConnection.java (getContent(Class[])): Implemented.
25360 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25362 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
25363 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
25364 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
25365 (force): New field. (setForce): New method. (compile): Handle -force.
25366 * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
25367 * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
25369 2006-03-23 Roman Kennke <kennke@aicas.com>
25371 * javax/swing/JTabbedPane.java
25372 (Page.getBackground): Return the JTabbedPane's background,
25373 rather than the page's component background.
25374 (Page.getForeground): Return the JTabbedPane's foreground,
25375 rather than the page's component foreground.
25376 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25377 (uninstallUI): Don't set colors to null.
25378 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25379 (paintTabBackground): Correctly determine the tab background.
25380 (getUnselectedBackground): New helper method to
25381 handle the UI property 'TabbedPane.unselectedBackground'
25384 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25386 * javax/swing/plaf/basic/BasicInternalFrameUI.java
25387 (BorderListener.showingResizeCursor): New field.
25388 (BorderListener.mouseMoved, BorderListner.mouseExited):
25391 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25393 * javax/swing/JComboBox.java
25394 (selectWithKeyChar): Mark as stub,
25395 * javax/swing/JFileChooser.java
25396 (setDragEnabled): Mark as stub,
25397 (getDragEnabled): Likewise,
25398 * javax/swing/JSlider.java
25399 (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
25400 (AccessibleJSlider.getAccessibleRole): Likewise,
25401 (AccessibleJSlider.getAccessibleValue): Likewise,
25402 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25403 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25404 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25405 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25406 * javax/swing/UIManager.java
25407 (installLookAndFeel): Mark as stub,
25408 (setInstalledLookAndFeels): Likewise.
25410 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25412 * javax/swing/filechooser/UnixFileSystemView.java
25413 (getSystemDisplayName): Mark as stub,
25414 (getSystemIcon): Likewise,
25415 (getSystemTypeDescription): Likewise.
25417 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25419 * javax/swing/tree/AbstractLayoutCache.java
25420 (getNodeDimensions): Mark as stub,
25421 (getPreferredHeight): Likewise,
25422 (getPreferredWidth): Likewise,
25423 (getRowsForPaths): Likewise,
25424 (isFixedRowHeight): Likewise,
25425 * javax/swing/tree/DefaultTreeModel.java
25426 (reload()): Mark as stub,
25427 (reload(TreeNode)): Likewise,
25428 (nodeStructureChanged): Likewise,
25429 * javax/swing/tree/DefaultTreeSelectionModel.java
25430 (clone): Mark as stub,
25431 (setRowMapper): Likewise,
25432 (setSelectionPaths): Likewise,
25433 (isRowSelected): Likewise,
25434 (resetRowSelection): Likewise,
25435 (insureRowContinuity): Likewise,
25436 (arePathsContiguous): Likewise,
25437 (canPathsBeAdded): Likewise,
25438 (canPathsBeRemoved): Likewise,
25439 (notifyPathChange): Likewise,
25440 (updateLeadIndex): Likewise,
25441 (insureUniqueness): Likewise,
25442 * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25444 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25446 2006-03-22 Tom Tromey <tromey@redhat.com>
25448 * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25450 (getStaticAttributeKey): Likewise.
25451 (readAttributeSet): Likewise.
25452 (writeAttributeSet): Likewise.
25453 (readAttributes): Likewise.
25454 (writeAttributes): Likewise.
25455 * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25457 * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25459 (fireChangedUpdate): Likewise.
25462 (handleEndOfLineString): Likewise.
25463 (textAreaContent): Likewise.
25464 (preContent): Likewise.
25465 (addSpecialElement): Likewise.
25466 (setInnerHTML): Likewise.
25467 (setOuterHTML): Likewise.
25468 (insertBeforeStart): Likewise.
25469 (insertBeforeEnd): Likewise.
25470 (insertAfterEnd): Likewise.
25471 (insertAfterStart): Likewise.
25472 * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25473 Mark all methods as stub.s
25474 * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25476 (paintHorizontalSeparators): Likewise.
25477 * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25479 * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25481 * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25483 * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25486 2006-03-22 Mark Wielaard <mark@klomp.org>
25488 * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25490 2006-03-22 Mark Wielaard <mark@klomp.org>
25493 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25494 Takes GtkImage, x and y coordinates.
25495 (gtkWidgetSetCursorUnlocked): Likewise.
25496 (GtkComponentPeer): Set cursor when set.
25497 (setCursor): Handle GtkCursor.
25498 * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25500 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25501 (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25502 (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25503 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25505 2006-03-23 Roman Kennke <kennke@aicas.com>
25508 * gnu/java/security/Registry.java
25509 (PKCS5_PAD): Added pad PKCS#5 algorithm.
25510 * gnu/javax/crypto/pad/PadFactory.java
25511 (getInstance): For PKCS#5, also return PKCS#7 pad
25513 (getNames): Added PKCS#5.
25514 * javax/crypto/KeyGenerator.java
25515 (getInstance): Initialize key generator before returning
25518 2006-03-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
25520 * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25521 (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25522 * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25523 if COMMENTS is set.
25525 2006-03-22 Tom Tromey <tromey@redhat.com>
25527 * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25528 (getBoolean): Likewise.
25529 (getString): Likewise.
25530 (getIcon): Likewise.
25532 2006-03-22 Mark Wielaard <mark@klomp.org>
25535 * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25536 (GLightweightPeer(Component)): Install MouseListener.
25537 (setCursor): Implement.
25538 (mouseEntered): New method.
25540 2006-03-22 Tom Tromey <tromey@redhat.com>
25542 * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25544 * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25546 (getFontForState): Likewise.
25547 (getInsets): Added 'result' argument.
25548 (getPainter): Renamed.
25550 2006-03-22 Tom Tromey <tromey@redhat.com>
25552 * javax/swing/plaf/synth/SynthPainter.java
25553 (paintScrollBarThumbBackground): Added 'orientation' argument.
25554 (paintScrollBarThumbBorder): Likewise.
25555 (paintSliderThumbBackground): Likewise.
25556 (paintSliderThumbBorder): Likewise.
25557 (paintTabbedPaneTabBackground): Added 'index' argument.
25558 (paintTabbedPaneTabBorder): Likewise.
25560 2006-03-22 Tom Tromey <tromey@redhat.com>
25562 * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25563 (toString): New method.
25565 2006-03-22 Tom Tromey <tromey@redhat.com>
25567 * doc/hacking.texinfo (Source Code Style Guide): Mention
25568 NotImplementedException.
25569 * javax/imageio/stream/MemoryCacheImageOutputStream.java
25570 (flushBefore): Mark as stub.
25572 * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25574 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25577 (writeBit): Likewise.
25578 (writeChars): Likewise.
25579 (writeUTF): Likewise.
25580 * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25583 * java/net/URLConnection.java (getContent): Mark as stub.
25584 * java/awt/Window.java (applyResourceBundle): Mark as stub.
25585 * java/awt/TexturePaint.java (createContext): Mark as stub.
25586 (getTransparency): Mark as stub.
25587 * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25588 * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25589 * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25591 (getImageCapabilities): Likewise.
25592 * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25593 * java/awt/AlphaComposite.java (createContext): Mark as stub.
25594 * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25596 * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25597 (getAdvanceBetween): Likewise.
25598 (getLayout): Likewise.
25599 (insertChar): Likewise.
25600 (getLineBreakIndex): Likewise.
25601 * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25602 (getAdvance): Likewise.
25603 (getAscent): Likewise.
25604 (getDescent): Likewise.
25605 * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25606 (insertChar): Likewise.
25607 (nextLayout): Likewise.
25608 (nextLayout): Likewise.
25609 (nextOffset): Likewise.
25610 (nextOffset): Likewise.
25611 * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25612 (equals): Likewise.
25613 (getAdvance): Likewise.
25614 (getAscent): Likewise.
25615 (getBounds): Likewise.
25616 (getDescent): Likewise.
25617 (hashCode): Likewise.
25618 (ImageGraphicAttribute): Likewise.
25619 * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25620 (getJustificationInfo): Likewise.
25621 * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25622 (getGlyphCharIndices): Likewise.
25623 (getGlyphOutline): Likewise.
25624 (getGlyphPixelBounds): Likewise.
25625 (getLayoutFlags): Likewise.
25626 (getPixelBounds): Likewise.
25627 * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25628 (getRSB): Likewise.
25629 * java/nio/channels/Channels.java (newWriter): Mark as stub.
25630 * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25631 * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25633 (resetRecognizer): Likewise.
25634 * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25636 (getNativesForFlavor): Likewise.
25637 * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25638 * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25640 (getRegion): Likewise.
25641 (createUI): Likewise.
25642 (initialize): Likewise.
25643 (uninitialize): Likewise.
25644 (getDefaults): Likewise.
25646 (shouldUpdateStyleOnAncestorChanged): Likewise.
25647 * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25649 (getPreferredSize): Likewise.
25650 (getMaximumSize): Likewise.
25651 (paintText): Likewise.
25652 * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25654 * java/text/Collator.java (getAvailableLocales): Mark as stub.
25656 2006-03-22 Wolfgang Baer <WBaer@gmx.de>
25658 * java/io/ObjectStreamConstants.java: Added since tag.
25659 (PROTOCOL_VERSION_1): Added javadoc.
25660 (PROTOCOL_VERSION_2): Likewise.
25661 * java/io/ObjectOutputStream.java:
25662 (setDefaultProtocolVersion): Removed.
25663 (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25665 2006-03-21 Lillian Angel <langel@redhat.com>
25667 * gnu/javax/imageio/bmp/BMPInfoHeader.java
25668 (BMPInfoHeader): Removed debug lines.
25669 * gnu/javax/imageio/bmp/EncodeRLE4.java
25670 (encode): Implemented.
25671 (uncompress): New function implemented to
25672 uncompress the image before encoding.
25673 * gnu/javax/imageio/bmp/EncodeRLE8.java
25674 (encode): Implemented.
25675 (uncompress): New function implemented to
25676 uncompress the image before encoding.
25678 2006-03-21 Roman Kennke <kennke@aicas.com>
25680 * javax/swing/text/html/FormView.java
25681 (getImageData): New helper method.
25683 2006-03-21 Tom Tromey <tromey@redhat.com>
25685 * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25687 (Unsafe): Now final.
25689 2006-03-21 Roman Kennke <kennke@aicas.com>
25691 * javax/swing/text/html/FormView.java
25692 (MouseEventListener): New inner class.
25694 2006-03-21 Roman Kennke <kennke@aicas.com>
25696 * javax/swing/text/html/ListView.java: New file.
25698 2006-03-21 Tom Tromey <tromey@redhat.com>
25700 * java/text/Bidi.java: Completed.
25702 2006-03-21 Anthony Balkissoon <abalkiss@redhat.com>
25704 * javax/swing/JTable.java:
25705 (columnAtPoint): Removed the null check, this method should throw a NPE
25706 if the argument is null.
25708 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25710 * javax/swing/text/DefaultHighlighter.java:
25711 (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25713 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25715 * javax/swing/text/DefaultCaret.java: Added class variable denoting
25716 the textcomponent having a selection.
25717 (clearSelection): Clear 'componentWithSelection' variable.
25718 (handleSelection): Clear selection of current component having a
25719 selection before setting a new selection in another component.
25720 (mouseDragged): Only react on left mouse button.
25721 (mouseClicked): Only react on left mouse button.
25723 2006-03-21 Roman Kennke <kennke@aicas.com>
25725 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25726 (paintContentBorderTopEdge): Implemented.
25727 (paintContentBorderBottomEdge): Implemented.
25728 (paintContentBorderLeftEdge): Implemented.
25729 (paintContentBorderRightEdge): Implemented.
25730 (isLastTabInRun): New helper method.
25732 2006-03-21 Roman Kennke <kennke@aicas.com>
25734 * javax/swing/JTabbedPane.java
25735 (Page.getForeground): Fall back to returning the tabbed pane's
25736 foreground if no foreground has been exclicitly set.
25738 2006-03-21 Roman Kennke <kennke@aicas.com>
25740 * javax/swing/plaf/metal/MetalComboBoxButton.java
25741 (setEnabled): Update colors of button correctly.
25742 * javax/swing/plaf/metal/MetalComboBoxUI.java
25743 (MetalPropertyChangeListener.propertyChange): Update the colors
25744 of the list and the button when any of the color properties
25745 of the ComboBox change.
25747 2006-03-21 Roman Kennke <kennke@aicas.com>
25749 * javax/swing/plaf/basic/BasicButtonUI.java
25750 (uninstallDefaults): Only nullify button colors if they are
25751 not UIResource instances.
25753 2006-03-21 David Gilbert <david.gilbert@object-refinery.com>
25755 * javax/swing/JComponent.java
25756 (AccessibleJComponent.getAccessibleDescription): Call super,
25757 * javax/swing/JToolTip.java: API doc updates all over, plus
25758 (AccessibleJToolTip.getAccessibleDescription): Implemented,
25759 (AccessibleJToolTip.getAccessibleRole): Implemented,
25760 (getAccessibleContext): Implemented,
25761 (paramString): Reimplemented,
25762 (setComponent): Fire PropertyChangeEvent,
25763 (setTipText): Likewise.
25765 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25767 * java/util/Formatter.java:
25768 Make the class final.
25770 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25772 * java/lang/System.java:
25773 (nanoTime()): Documented.
25774 * java/lang/Thread.java:
25775 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25776 Added docs and security check.
25777 (getUncaughtExceptionHandler()): Documented.
25778 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25779 Added docs and security check.
25780 (getDefaultUncaughtExceptionHandler()): Documented.
25781 (getId()): Documented.
25782 (Thread.State): Documented.
25783 * vm/reference/gnu/classpath/Unsafe.java:
25785 (getUnsafe()): Updated to handle security.
25787 2006-03-20 Tom Tromey <tromey@redhat.com>
25789 * java/lang/System.java:
25790 (nanoTime()): Implemented.
25791 * java/lang/Thread.java:
25792 (getId()): Implemented.
25793 * java/util/AbstractMap.java:
25794 (SimpleImmutableEntry): New 1.6 class.
25795 (BasicMapEntry): Modified to be SimpleEntry.
25796 * java/util/Collections.java:
25797 Modified to use SimpleEntry.
25798 * java/util/EnumMap.java: Likewise.
25799 * java/util/HashMap.java: Likewise.
25800 * java/util/Hashtable.java: Likewise.
25801 * java/util/TreeMap.java: Likewise.
25802 * vm/reference/gnu/classpath/Unsafe.java:
25803 New class to handle low-level facilities for concurrency.
25804 * vm/reference/java/lang/VMSystem.java:
25805 (nanoTime()): Implemented.
25807 2006-03-20 Tom Tromey <tromey@redhat.com>
25809 * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
25810 * java/security/cert/CertStoreSpi.java: Added import for javadoc.
25811 (CertStoreSpi): Updated throws clause.
25812 * java/security/cert/CertPathValidatorSpi.java: Added import for
25814 (engineValidate): Updated 'throws' clause.
25815 * java/security/cert/PKIXParameters.java: Javadoc fix.
25816 * java/security/cert/X509CertSelector.java
25817 (setAuthorityKeyIdentifier): Javadoc fix.
25819 2006-03-20 Tom Tromey <tromey@redhat.com>
25821 * .classpath: Build gnu.javax.swing.plaf.
25823 2006-03-20 Lillian Angel <langel@redhat.com>
25825 * gnu/javax/imageio/bmp/BMPDecoder.java:
25826 Removed unneeded import.
25827 * gnu/javax/imageio/bmp/BMPEncoder.java:
25829 * gnu/javax/imageio/bmp/BMPFileHeader.java
25830 (BMPFileHeader): New constructor used to create info header
25831 for an output stream.
25832 (write): Fixed indexes.
25833 * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
25834 Initialized writerSpiNames field.
25835 * gnu/javax/imageio/bmp/BMPImageWriter.java:
25837 * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
25839 * gnu/javax/imageio/bmp/BMPInfoHeader.java:
25840 Change visibility for fields.
25841 (BMPInfoHeader): New constructor used to create
25842 file header for an output stream.
25843 (intToDWord): New method. Converts an int to a
25845 (intToWord): New method. Converts an int to a word.
25846 * gnu/javax/imageio/bmp/DecodeBF32.java:
25847 Removed unneeded imports.
25848 * gnu/javax/imageio/bmp/EncodeRGB1.java:
25850 * gnu/javax/imageio/bmp/EncodeRGB16.java:
25852 * gnu/javax/imageio/bmp/EncodeRGB24.java:
25854 * gnu/javax/imageio/bmp/EncodeRGB32.java:
25856 * gnu/javax/imageio/bmp/EncodeRGB4.java:
25858 * gnu/javax/imageio/bmp/EncodeRGB8.java:
25860 * gnu/javax/imageio/bmp/EncodeRLE4.java:
25862 * gnu/javax/imageio/bmp/EncodeRLE8.java:
25864 * javax/imageio/ImageIO.java:
25867 2006-03-20 Roman Kennke <kennke@aicas.com>
25869 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25870 (TabbedPaneLayout.normalizeTabRuns): New method.
25871 (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
25872 (paintTabBorder): Replaced if-else chain with switch.
25873 (paintTopTabBorder): Rewritten to correctly paint tab. Also support
25875 (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
25877 (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
25879 (paintRightTabBorder): Rewritten to correctly paint tab. Also support
25881 (paintTabBackground): Fetch background color from the TabbedPane.
25882 Fixed painting and improved by not using fillPolygon, and instead
25883 using fillRectangle. Replaced if-else chain with switch.
25884 (calculateMaxTabHeight): Added overridden method with FIXME.
25885 (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
25887 (paintContentBorderTopEdge): Added stub with FIXME.
25888 (paintContentBorderBottomEdge): Added stub with FIXME.
25889 (paintContentBorderLeftEdge): Added stub with FIXME.
25890 (paintContentBorderRightEdge): Added stub with FIXME.
25892 2006-03-20 Roman Kennke <kennke@aicas.com>
25894 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25895 (tabsOpaque): New field.
25896 (installDefaults): Fetch tabsOpaque property from UIManager.
25897 (paintTab): Fill tab background when tabsOpaque property is true.
25898 * javax/swing/plaf/basic/BasicLookAndFeel.java
25899 (initComponentDefaults): Added TabbedPane.tabsOpaque property.
25901 2006-03-20 Roman Kennke <kennke@aicas.com>
25903 * javax/swing/JTabbedPane.java
25904 (Pane.getBackground): When no background was explicitly set, return
25905 the JTabbedPane's background.
25907 2006-03-20 Wolfgang Baer <WBaer@gmx.de>
25909 * org/omg/CORBA/ACTIVITY_COMPLETED.java,
25910 * org/omg/CORBA/ACTIVITY_REQUIRED.java,
25911 * org/omg/CORBA/BAD_INV_ORDER.java,
25912 * org/omg/CORBA/BAD_CONTEXT.java,
25913 * org/omg/CORBA/BAD_OPERATION.java,
25914 * org/omg/CORBA/BAD_PARAM.java,
25915 * org/omg/CORBA/BAD_QOS.java,
25916 * org/omg/CORBA/BAD_TYPECODE.java,
25917 * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
25918 * org/omg/CORBA/COMM_FAILURE.java,
25919 * org/omg/CORBA/CurrentHolder.java,
25920 * org/omg/CORBA/DATA_CONVERSION.java,
25921 * org/omg/CORBA/FREE_MEM.java,
25922 * org/omg/CORBA/IMP_LIMIT.java,
25923 * org/omg/CORBA/INITIALIZE.java,
25924 * org/omg/CORBA/INTERNAL.java,
25925 * org/omg/CORBA/INTF_REPOS.java,
25926 * org/omg/CORBA/INVALID_ACTIVITY.java,
25927 * org/omg/CORBA/INVALID_TRANSACTION.java,
25928 * org/omg/CORBA/INV_FLAG.java,
25929 * org/omg/CORBA/INV_IDENT.java,
25930 * org/omg/CORBA/INV_OBJREF.java,
25931 * org/omg/CORBA/INV_POLICY.java,
25932 * org/omg/CORBA/MARSHAL.java,
25933 * org/omg/CORBA/NO_RESOURCES.java,
25934 * org/omg/CORBA/NO_MEMORY.java,
25935 * org/omg/CORBA/NO_IMPLEMENT.java,
25936 * org/omg/CORBA/NO_PERMISSION.java,
25937 * org/omg/CORBA/NO_RESPONSE.java,
25938 * org/omg/CORBA/OBJECT_NOT_EXIST.java,
25939 * org/omg/CORBA/OBJ_ADAPTER.java,
25940 * org/omg/CORBA/ParameterModeHolder.java,
25941 * org/omg/CORBA/PolicyError.java,
25942 * org/omg/CORBA/PolicyErrorHolder.java,
25943 * org/omg/CORBA/PolicyHolder.java,
25944 * org/omg/CORBA/PolicyListHolder.java,
25945 * org/omg/CORBA/REBIND.java,
25946 * org/omg/CORBA/TIMEOUT.java,
25947 * org/omg/CORBA/TRANSACTION_MODE.java,
25948 * org/omg/CORBA/TRANSACTION_REQUIRED.java,
25949 * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
25950 * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
25951 * org/omg/CORBA/TRANSIENT.java,
25952 * org/omg/CORBA/TypeCodeHolder.java,
25953 * org/omg/CORBA/UNKNOWN.java,
25954 * org/omg/CORBA/UnionMember.java,
25955 * org/omg/CORBA/UnknownUserException.java,
25956 * org/omg/CORBA/UnknownUserExceptionHolder.java,
25957 * org/omg/CORBA/WrongTransactionHolder.java,
25958 * org/omg/IOP/IOR.java,
25959 * org/omg/IOP/IORHolder.java,
25960 * org/omg/IOP/MultipleComponentProfileHolder.java,
25961 * org/omg/IOP/ServiceContextHolder.java,
25962 * org/omg/IOP/ServiceContextListHolder.java,
25963 * org/omg/IOP/TaggedComponentHolder.java,
25964 * org/omg/IOP/TaggedProfileHolder.java,
25965 * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
25966 * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
25967 * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
25968 * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
25969 Made class final, various javadoc fixlets.
25970 * org/omg/CORBA/CompletionStatus.java,
25971 * org/omg/CORBA/PERSIST_STORE.java,
25972 * org/omg/CORBA/ValueMember.java,
25973 * org/omg/PortableInterceptor/ForwardRequest.java,
25974 * org/omg/PortableInterceptor/InvalidSlot.java,
25975 * org/omg/IOP/CodecPackage/TypeMismatch.java,
25976 * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
25977 * org/omg/IOP/CodecPackage/FormatMismatch.java,
25978 * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
25979 * org/omg/IOP/Encoding.java,
25980 * org/omg/IOP/TaggedComponent.java,
25981 * org/omg/IOP/TaggedProfile.java: Made class final.
25982 * org/omg/CORBA/SystemException.java: Made class abstract.
25983 * org/omg/CORBA/UserException.java: Made class abstract.
25984 (UserException): Now protected.
25985 (UserException(String)): Likewise.
25986 * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
25987 (typecode): Removed unused private variable.
25989 2006-03-20 Chris Burdess <dog@gnu.org>
25992 * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
25994 2006-03-20 Roman Kennke <kennke@aicas.com>
25996 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25997 (paintTabArea): Look up tab run indices in tabRuns array instead
25998 of using the index directly.
26000 2006-03-20 Roman Kennke <kennke@aicas.com>
26002 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26003 (paintTab): Fixed painting.
26004 (paintText): Fixed text painting.
26005 (paintFocusIndicator): Fixed painting of the focus rectangle.
26006 (paintContentBorder): Fixed painting of the content area.
26008 2006-03-20 Mark Wielaard <mark@klomp.org>
26010 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
26011 static lock Object field.
26012 (produce): Synchronize on pixbufLock when calling initState(),
26013 pumpBytes() and pumpDone().
26014 (finalize): Likewise when calling finish().
26015 (GdkPixbufWriter.write): Likewise when calling streamImage().
26016 * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
26017 when calling loadPixbuf. Chain exception.
26018 (GtkImage(byte[])): Likewise when calling loadImageFromData.
26019 (GtkImage(URL)): Likewise.
26020 (GtkImage(int,int)): Likewise when calling createPixmap().
26021 (GtkImage(GtkImage,int,int,int)): Likewise when calling
26022 createScaledPixmap().
26023 (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
26024 (setImage): Likewise when calling createPixmap() and setPixels().
26025 (getSource): Likewise when calling getPixels().
26026 (flush): Likewise when calling freePixmap().
26027 (finalize): Likewise.
26028 (drawImage): Likewise when calling drawPixelsScaledFlipped() and
26029 drawPixelsScaledFlipped().
26030 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
26031 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
26032 gdk_threads_enter/leave().
26033 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
26034 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
26035 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
26036 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
26037 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
26038 (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
26039 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
26040 (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
26041 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
26042 (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
26043 (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
26044 (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
26045 (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
26047 2006-03-20 Roman Kennke <kennke@aicas.com>
26049 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26050 (calculateTabHeight): Not need to use SwingUtilities here.
26051 (getTabInsets): Do not rotate insets.
26053 2006-03-20 Roman Kennke <kennke@aicas.com>
26055 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26056 (paint): Make sure the layout is valid before painting.
26057 (paintTabArea): Made tab painting more straightforward and efficient.
26059 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26061 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
26062 (getScrollableUnitIncrement): Rewritten.
26063 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
26064 (getScrollableUnitIncrement): Rewritten.
26065 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26066 (ROWS_PER_WHEEL_CLICK): New field.
26067 (MouseWheelHandler.mouseWheelMoved): Rewritten.
26069 2006-03-20 Roman Kennke <kennke@aicas.com>
26071 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26072 (paint): Make sure the layout is valid before painting.
26073 (paintTabArea): Made tab painting more straightforward and efficient.
26075 2006-03-20 Roman Kennke <kennke@aicas.com>
26077 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26078 (MouseHandler.mousePressed): Rewritten for clearer and simpler
26080 (MouseHandler.mouseEntered): Implemented to set the rollover tab.
26081 (MouseHandler.mouseMoved): Implemented to set the rollover tab.
26082 (MouseHandler.mouseExited): Implemented to unset the rollover tab.
26083 (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
26084 bounds here. That is moved into layoutContainer().
26085 (calculateSize): Correctly respect insets. Made code slightly more
26086 clear and efficient.
26087 (calculateTabRects): Rewritten completely. The old code was
26088 not quite right and unstable in some situations.
26089 (layoutContainer): Moved layout of tabbed pane's subcomponents
26091 (tabRunsDirty): New field.
26092 (rolloverTab): New field.
26093 (tabForCoordinate): Rewritten for simplicity and correctness.
26094 (setRolloverTab): New method.
26095 (getRolloverTab): New method.
26097 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26099 * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
26100 * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
26101 (getScrollableUnitIncrement
26102 * javax/swing/Scrollable.java: Documented.
26103 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26104 (MouseWheelHandler):Rewritten.
26106 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
26108 * doc/vmintegration.texinfo:
26109 Updated with gnu.classpath.Unsafe
26111 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
26114 Updated with VMArray and Unsafe changes.
26116 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26118 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
26119 (getScrollableUnitIncrement): Rewritten.
26120 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
26121 (getScrollableUnitIncrement): Rewritten.
26122 (getScrollableBlockIncrement): Rewritten.
26123 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26124 (MouseWheelHandler): Implemented. (ViewportContainerListener):
26125 New class. (containerListener): New field. (SCROLL_NON_SCROLABLES):
26126 New field. (installListeners): Install wheel listeners.
26127 (uninstallListeners): Uninstall wheel listeners.
26128 * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
26129 of the MouseWheelListener. (installListeners): Do not install wheel
26130 listener. (ROWS_PER_WHEEL_CLICK): Removed.
26132 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
26134 * vm/reference/gnu/classpath/Unsafe.java:
26136 (getUnsafe()): Updated to handle security.
26138 2006-03-19 Tom Tromey <tromey@redhat.com>
26140 * vm/reference/gnu/classpath/Unsafe.java:
26141 New class to handle low-level facilities for concurrency.
26143 2006-03-19 Mark Wielaard <mark@klomp.org>
26145 * include/Makefile.am: Rename PlainDatagramSocketImpl to
26146 VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
26147 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
26148 * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
26150 2006-03-19 Mark Wielaard <mark@klomp.org>
26152 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
26154 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
26156 2006-03-19 Michael Koch <konqueror@gmx.de>
26158 * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
26159 resource/gnu/java/locale/LocaleInformation_am.properties,
26160 resource/gnu/java/locale/LocaleInformation_am_ET.properties,
26161 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
26162 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26163 resource/gnu/java/locale/LocaleInformation_bg.properties,
26164 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
26165 resource/gnu/java/locale/LocaleInformation_ca.properties,
26166 resource/gnu/java/locale/LocaleInformation_cs.properties,
26167 resource/gnu/java/locale/LocaleInformation_cy.properties,
26168 resource/gnu/java/locale/LocaleInformation_da.properties,
26169 resource/gnu/java/locale/LocaleInformation_de.properties,
26170 resource/gnu/java/locale/LocaleInformation_dv.properties,
26171 resource/gnu/java/locale/LocaleInformation_el.properties,
26172 resource/gnu/java/locale/LocaleInformation_en.properties,
26173 resource/gnu/java/locale/LocaleInformation_en_GB.properties,
26174 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
26175 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
26176 resource/gnu/java/locale/LocaleInformation_en_SG.properties,
26177 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
26178 resource/gnu/java/locale/LocaleInformation_es.properties,
26179 resource/gnu/java/locale/LocaleInformation_es_AR.properties,
26180 resource/gnu/java/locale/LocaleInformation_es_BO.properties,
26181 resource/gnu/java/locale/LocaleInformation_es_CL.properties,
26182 resource/gnu/java/locale/LocaleInformation_es_CO.properties,
26183 resource/gnu/java/locale/LocaleInformation_es_CR.properties,
26184 resource/gnu/java/locale/LocaleInformation_es_DO.properties,
26185 resource/gnu/java/locale/LocaleInformation_es_EC.properties,
26186 resource/gnu/java/locale/LocaleInformation_es_ES.properties,
26187 resource/gnu/java/locale/LocaleInformation_es_GT.properties,
26188 resource/gnu/java/locale/LocaleInformation_es_HN.properties,
26189 resource/gnu/java/locale/LocaleInformation_es_MX.properties,
26190 resource/gnu/java/locale/LocaleInformation_es_NI.properties,
26191 resource/gnu/java/locale/LocaleInformation_es_PA.properties,
26192 resource/gnu/java/locale/LocaleInformation_es_PE.properties,
26193 resource/gnu/java/locale/LocaleInformation_es_PR.properties,
26194 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
26195 resource/gnu/java/locale/LocaleInformation_es_SV.properties,
26196 resource/gnu/java/locale/LocaleInformation_es_US.properties,
26197 resource/gnu/java/locale/LocaleInformation_es_UY.properties,
26198 resource/gnu/java/locale/LocaleInformation_es_VE.properties,
26199 resource/gnu/java/locale/LocaleInformation_fa.properties,
26200 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26201 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
26202 resource/gnu/java/locale/LocaleInformation_fi.properties,
26203 resource/gnu/java/locale/LocaleInformation_fr.properties,
26204 resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
26205 resource/gnu/java/locale/LocaleInformation_ga.properties,
26206 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
26207 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
26208 resource/gnu/java/locale/LocaleInformation_hr.properties,
26209 resource/gnu/java/locale/LocaleInformation_hu.properties,
26210 resource/gnu/java/locale/LocaleInformation_id.properties,
26211 resource/gnu/java/locale/LocaleInformation_is.properties,
26212 resource/gnu/java/locale/LocaleInformation_it.properties,
26213 resource/gnu/java/locale/LocaleInformation_ja.properties,
26214 resource/gnu/java/locale/LocaleInformation_kk.properties,
26215 resource/gnu/java/locale/LocaleInformation_kl.properties,
26216 resource/gnu/java/locale/LocaleInformation_km.properties,
26217 resource/gnu/java/locale/LocaleInformation_ky.properties,
26218 resource/gnu/java/locale/LocaleInformation_lo.properties,
26219 resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
26220 resource/gnu/java/locale/LocaleInformation_lt.properties,
26221 resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
26222 resource/gnu/java/locale/LocaleInformation_lv.properties,
26223 resource/gnu/java/locale/LocaleInformation_mk.properties,
26224 resource/gnu/java/locale/LocaleInformation_mn.properties,
26225 resource/gnu/java/locale/LocaleInformation_mr.properties,
26226 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
26227 resource/gnu/java/locale/LocaleInformation_ms.properties,
26228 resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
26229 resource/gnu/java/locale/LocaleInformation_mt.properties,
26230 resource/gnu/java/locale/LocaleInformation_nb.properties,
26231 resource/gnu/java/locale/LocaleInformation_nl.properties,
26232 resource/gnu/java/locale/LocaleInformation_nn.properties,
26233 resource/gnu/java/locale/LocaleInformation_om_ET.properties,
26234 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
26235 resource/gnu/java/locale/LocaleInformation_pa.properties,
26236 resource/gnu/java/locale/LocaleInformation_pl.properties,
26237 resource/gnu/java/locale/LocaleInformation_pt.properties,
26238 resource/gnu/java/locale/LocaleInformation_ru.properties,
26239 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
26240 resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
26241 resource/gnu/java/locale/LocaleInformation_sa.properties,
26242 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
26243 resource/gnu/java/locale/LocaleInformation_sk.properties,
26244 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26245 resource/gnu/java/locale/LocaleInformation_sv.properties,
26246 resource/gnu/java/locale/LocaleInformation_sw.properties,
26247 resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
26248 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
26249 resource/gnu/java/locale/LocaleInformation_te.properties,
26250 resource/gnu/java/locale/LocaleInformation_te_IN.properties,
26251 resource/gnu/java/locale/LocaleInformation_th.properties,
26252 resource/gnu/java/locale/LocaleInformation_ti.properties,
26253 resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
26254 resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
26255 resource/gnu/java/locale/LocaleInformation_tr.properties,
26256 resource/gnu/java/locale/LocaleInformation_tt.properties,
26257 resource/gnu/java/locale/LocaleInformation_uk.properties,
26258 resource/gnu/java/locale/LocaleInformation_ur.properties,
26259 resource/gnu/java/locale/LocaleInformation_uz.properties,
26260 resource/gnu/java/locale/LocaleInformation_zh.properties,
26261 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26262 More updates for CLDR 1.3.
26264 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
26266 * doc/vmintegration.texinfo:
26267 Updated to include VMArray.
26268 * include/Makefile.am:
26269 Replace java_lang_reflect_Array.h with
26270 java_lang_reflect_VMArray.h
26271 * include/java_lang_reflect_VMArray.h:
26272 New autogenerated header.
26273 * include/java_lang_reflect_Array.h:
26275 * java/lang/reflect/Array.java:
26276 (newInstance(Class,int)): Calls VMArray.
26277 (createMultiArray(Class,int[],int)): Likewise.
26278 (createObjectArray(Class,int)): Removed.
26279 * native/jni/java-lang/Makefile.am:
26280 Replaced java_lang_reflect_Array.c with
26281 java_lang_reflect_VMArray.c
26282 * native/jni/java-lang/java_lang_reflect_VMArray.c:
26283 Renamed from java_lang_reflect_Array.c.
26284 * vm/reference/java/lang/reflect/VMArray.java:
26285 (createObjectArray(Class,int)): Native method moved
26286 from java.lang.reflect.Array.
26288 2006-03-19 Roman Kennke <kennke@aicas.com>
26290 * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
26291 * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
26293 * examples/gnu/classpath/examples/swing/Demo.java
26294 (mkButtonBar): Hook up theme editor.
26295 (mkMenuBar): Hook up theme editor.
26297 2006-03-19 Roman Kennke <kennke@aicas.com>
26299 * javax/swing/plaf/basic/BasicFileChooserUI.java
26300 (ApproveSelectionAction.actionPerformed): Added case for when
26301 nothing has been selected but the user has typed a filename
26302 into the textfield.
26303 (getFileName): Return the value of the text field.
26305 2006-03-19 Roman Kennke <kennke@aicas.com>
26307 * javax/swing/JColorChooser.java
26308 (createDialog): Create JDialog instead of ModalDialog. Make this
26309 dialog modal by calling setModal(true).
26310 (ModalDialog): Removed unnecessary inner class.
26312 2006-03-19 Tom Tromey <tromey@redhat.com>
26314 * java/awt/font/NumericShaper.java: Rewrote.
26316 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26318 * javax/swing/plaf/basic/BasicTableUI.java:
26319 Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
26320 New field. MouseInputHandler.mouseWheelMoved): New method.
26321 (installListeners): Register MouseInputHandler as
26322 wheel listener also.
26324 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26327 * javax/swing/ViewportLayout.java (layoutContainer):
26328 If Scrollable tracks dimension, set view size to the port size.
26329 If port is larger than the view, move the view to the top/left.
26331 2006-03-19 Roman Kennke <kennke@aicas.com>
26333 * javax/swing/MenuSelectionManager.java
26334 (isComponentPartOfCurrentMenu): Also consider the first element
26335 in a menu selection list. Make a isDescendentFrom check instead
26336 of simple equals to also catch sub components.
26338 2006-03-19 Roman Kennke <kennke@aicas.com>
26340 * javax/swing/JComboBox.java
26341 (actionPerformed): Fetch selected item directly from the editor
26342 instead of trying to get it from the event.
26344 2006-03-19 Roman Kennke <kennke@aicas.com>
26346 * javax/swing/plaf/basic/BasicComboBoxEditor.java
26347 (listener): Removed field.
26348 (BasicComboBoxEditor): Removed initialization of listener field.
26349 (addActionListener): Add listener directly to editor.
26350 (removeActionListener): Remove listener directly from editor.
26351 (ComboBoxEditorListener): Removed class.
26352 * javax/swing/plaf/basic/BasicComboBoxUI.java
26353 (getPreferredSize): Fixed to return the minimumSize.
26354 (getMinimumSize): Improved code for more clearness.
26355 (getMaximumSize): Return (32767,32767) as requested by the mauve test.
26356 (rectangleForCurrentValue): Correctly respect insets.
26357 (getDefaultSize): Return preferredSize here. Dont override height
26359 (getDisplaySize): Moved around code for more clearness. Added
26360 handling of prototype renderer.
26361 (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
26362 arrowButton bounds since the former depends on the latter.
26363 * javax/swing/plaf/metal/MetalComboBoxButton.java:
26364 (MetalComboBoxButton): Make button rollover disabled.
26365 (isFocusTraversable): Return false unconditionally.
26366 * javax/swing/plaf/metal/MetalComboBoxEditor.java:
26367 (EditorTextField): New class. Fixes the size properties.
26368 (MetalComboBoxEditor): Create instance of EditorTextField.
26369 * javax/swing/plaf/metal/MetalComboBoxUI.java:
26370 (getMinimumSize): Fixed editable size.
26372 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26374 * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
26376 2006-03-18 Roman Kennke <kennke@aicas.com>
26378 * javax/swing/plaf/metal/MetalToolBarUI.java
26379 (update): Added overridden method to support OceanTheme.
26381 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26383 * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped):
26384 Activate the cell editing on character keystroke.
26386 2006-03-18 Mark Wielaard <mark@klomp.org>
26388 * java/awt/Component.java (eventTypeEnabled): Handle
26389 MouseEvent.MOUSE_WHEEL.
26390 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
26391 New callback method.
26392 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
26393 (AWT_MOUSE_WHEEL): New constant.
26394 (AWT_WHEEL_UNIT_SCROLL): Likewise.
26395 (postMouseWheelEventID): New static variable.
26396 (cp_gtk_component_init_jni): Record postMouseWheelEventID.
26397 (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
26398 (button_number): Renamed to ...
26399 (button_number_direction): variable to hold button number or scroll
26401 (component_button_press_cb): Use button_number_direction.
26402 (component_scroll_cb): New static callback function.
26404 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26406 * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
26407 Return without action.
26409 2006-03-18 Mark Wielaard <mark@klomp.org>
26411 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
26412 Don't cast graphics object to GdkGraphics.
26413 (updateComponent): Likewise.
26415 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26417 * examples/gnu/classpath/examples/swing/TableDemo.java
26418 (TModel.getColumnClass): Set second column to Icon.
26419 (TModel.isCellEditable): Say icons are not editable.
26420 (createContent): Fill the in second column with some icons from
26423 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26425 * examples/gnu/classpath/examples/swing/Demo.java
26426 (mkButtonBar): Set maximal button bar height to the preferred height.
26428 2006-03-18 Roman Kennke <kennke@aicas.com>
26430 * javax/swing/plaf/basic/BasicComboPopup.java
26431 (show): Substract insets from scroller width.
26432 (getPopupHeightForRowCount): If height==0, return a default of 100
26433 instead for empty ComboBoxes.
26435 2006-03-18 Roman Kennke <kennke@aicas.com>
26437 * javax/swing/plaf/basic/BasicLookAndFeel.java
26438 (PopupHelper.autoClosePopups): Removed field.
26439 (PopupHelper.mousePressed): Removed processing of registered
26441 (registerForAutoClose): Removed unneeded method.
26442 (autoClosePopups): Removed unneeded method.
26443 (registerForAutoClose): Removed unneeded method.
26445 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26447 * javax.swing.JTable.java (TableTextField): Set border.
26448 (moveToCellBeingEdited): Do not adjust the editor boundaries
26450 2006-03-18 Michael Koch <konqueror@gmx.de>
26452 * resource/gnu/java/locale/LocaleInformation_aa.properties,
26453 resource/gnu/java/locale/LocaleInformation_af.properties,
26454 resource/gnu/java/locale/LocaleInformation_am.properties,
26455 resource/gnu/java/locale/LocaleInformation_ar.properties,
26456 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26457 resource/gnu/java/locale/LocaleInformation_be.properties,
26458 resource/gnu/java/locale/LocaleInformation_bg.properties,
26459 resource/gnu/java/locale/LocaleInformation_bn.properties,
26460 resource/gnu/java/locale/LocaleInformation_ca.properties,
26461 resource/gnu/java/locale/LocaleInformation_cs.properties,
26462 resource/gnu/java/locale/LocaleInformation_cy.properties,
26463 resource/gnu/java/locale/LocaleInformation_da.properties,
26464 resource/gnu/java/locale/LocaleInformation_de.properties,
26465 resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26466 resource/gnu/java/locale/LocaleInformation_dz.properties,
26467 resource/gnu/java/locale/LocaleInformation_en.properties,
26468 resource/gnu/java/locale/LocaleInformation_eo.properties,
26469 resource/gnu/java/locale/LocaleInformation_es.properties,
26470 resource/gnu/java/locale/LocaleInformation_et.properties,
26471 resource/gnu/java/locale/LocaleInformation_eu.properties,
26472 resource/gnu/java/locale/LocaleInformation_fa.properties,
26473 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26474 resource/gnu/java/locale/LocaleInformation_fi.properties,
26475 resource/gnu/java/locale/LocaleInformation_fo.properties,
26476 resource/gnu/java/locale/LocaleInformation_fr.properties,
26477 resource/gnu/java/locale/LocaleInformation_ga.properties,
26478 resource/gnu/java/locale/LocaleInformation_gl.properties,
26479 resource/gnu/java/locale/LocaleInformation_gu.properties,
26480 resource/gnu/java/locale/LocaleInformation_he.properties,
26481 resource/gnu/java/locale/LocaleInformation_hi.properties,
26482 resource/gnu/java/locale/LocaleInformation_hr.properties,
26483 resource/gnu/java/locale/LocaleInformation_hu.properties,
26484 resource/gnu/java/locale/LocaleInformation_hy.properties,
26485 resource/gnu/java/locale/LocaleInformation_id.properties,
26486 resource/gnu/java/locale/LocaleInformation_is.properties,
26487 resource/gnu/java/locale/LocaleInformation_it.properties,
26488 resource/gnu/java/locale/LocaleInformation_ja.properties,
26489 resource/gnu/java/locale/LocaleInformation_ka.properties,
26490 resource/gnu/java/locale/LocaleInformation_km.properties,
26491 resource/gnu/java/locale/LocaleInformation_ko.properties,
26492 resource/gnu/java/locale/LocaleInformation_lo.properties,
26493 resource/gnu/java/locale/LocaleInformation_lt.properties,
26494 resource/gnu/java/locale/LocaleInformation_lv.properties,
26495 resource/gnu/java/locale/LocaleInformation_mk.properties,
26496 resource/gnu/java/locale/LocaleInformation_mr.properties,
26497 resource/gnu/java/locale/LocaleInformation_ms.properties,
26498 resource/gnu/java/locale/LocaleInformation_mt.properties,
26499 resource/gnu/java/locale/LocaleInformation_nb.properties,
26500 resource/gnu/java/locale/LocaleInformation_nl.properties,
26501 resource/gnu/java/locale/LocaleInformation_nn.properties,
26502 resource/gnu/java/locale/LocaleInformation_om.properties,
26503 resource/gnu/java/locale/LocaleInformation_pl.properties,
26504 resource/gnu/java/locale/LocaleInformation_ps.properties,
26505 resource/gnu/java/locale/LocaleInformation_pt.properties,
26506 resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26507 resource/gnu/java/locale/LocaleInformation_ro.properties,
26508 resource/gnu/java/locale/LocaleInformation_ru.properties,
26509 resource/gnu/java/locale/LocaleInformation_sk.properties,
26510 resource/gnu/java/locale/LocaleInformation_sl.properties,
26511 resource/gnu/java/locale/LocaleInformation_so.properties,
26512 resource/gnu/java/locale/LocaleInformation_sq.properties,
26513 resource/gnu/java/locale/LocaleInformation_sr.properties,
26514 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26515 resource/gnu/java/locale/LocaleInformation_sv.properties,
26516 resource/gnu/java/locale/LocaleInformation_sw.properties,
26517 resource/gnu/java/locale/LocaleInformation_ta.properties,
26518 resource/gnu/java/locale/LocaleInformation_te.properties,
26519 resource/gnu/java/locale/LocaleInformation_th.properties,
26520 resource/gnu/java/locale/LocaleInformation_tr.properties,
26521 resource/gnu/java/locale/LocaleInformation_uk.properties,
26522 resource/gnu/java/locale/LocaleInformation_uz.properties,
26523 resource/gnu/java/locale/LocaleInformation_vi.properties,
26524 resource/gnu/java/locale/LocaleInformation_zh.properties,
26525 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26526 Updated to use the new localized strings for currencies, languages,
26527 variants, territories, etc.
26529 2006-03-18 Ito Kazumitsu <kaz@maczuka.gcd.org>
26531 * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26532 (start, end): Added comment about the negative values of them,
26533 (finish): Saves the input text in matchedCharIndexed,
26534 (toString): If the start or end index is out of bounds of the
26535 matched text, get the substring from matchedCharIndexed.
26536 Added special handlings in case start/end index < -1,
26537 (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26538 Added special handlings in case start/end index < -1,
26539 * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26540 found match, but keep the index as the original match.
26541 * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26542 found match, but keep the index as the original match.
26543 * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26544 in case start/end index < -1.
26546 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26548 * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26551 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26553 * javax/swing/text/DefaultCaret.java:
26554 (mouseClicked) Use setDot() and moveDot() instead of
26555 JTextComponent.select().
26557 2006-03-17 Roman Kennke <kennke@aicas.com>
26559 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26560 (MetalComboBoxEditorBorder.paintBorder): Implemented special
26561 border painting for the Ocean theme.
26562 (MetalComboBoxEditor): Create editor directly instead of going
26565 2006-03-17 Roman Kennke <kennke@aicas.com>
26567 * javax/swing/text/JTextComponent.java
26568 (JTextComponent): Make text components opaque.
26570 2006-03-17 Roman Kennke <kennke@aicas.com>
26572 * javax/swing/plaf/metal/MetalComboBoxUI.java
26573 (MetalComboBoxLayoutManager.layoutContainer): Forward to
26575 (MetalPropertyChangeListener.propertyChange): Update focusable
26576 flag according to the enable and editable state.
26577 (editablePropertyChanged): Removed unnecessary code.
26578 (getMinimumSize): Rewritten to correctly compute the
26579 size, respecting the insets of the components and the icon,
26580 the visual properties of the combobox, etc.
26581 (configureEditor): Update listeners correctly.
26582 (unconfigureEditor): Update listeners correctly.
26583 (layoutComboBox): Implemented.
26585 2006-03-17 Roman Kennke <kennke@aicas.com>
26587 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26588 (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26589 instead of Flush3DBorder.
26590 (paintBorder): Fixed border painting.
26591 (editorBorderInsets): Fixed border's insets.
26593 2006-03-17 Roman Kennke <kennke@aicas.com>
26595 * javax/swing/plaf/metal/MetalComboBoxButton.java
26596 (rendererPane): Documented.
26597 (MetalComboBoxButton): Set enabled flag from ComboBox.
26598 Set focusable flag from ComboBox's enabled flag.
26599 (isFocusTraversable): Make button focus traversable if
26600 ComboBox is not editable but enable.
26601 (paintComponent): Fixed painting to correctly adjust
26602 the boxes of the renderer and button.
26604 2006-03-17 Roman Kennke <kennke@aicas.com>
26606 * javax/swing/plaf/basic/BasicButtonUI.java
26607 (installDefaults): Only install UI margin if installed margin.
26608 is null or a UIResource.
26609 (uninstallDefaults): Only uninstall margin if it's
26612 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26614 * javax/swing/text/DefaultCaret.java:
26615 (mouseClicked) Use setDot() and moveDot() instead of
26616 JTextComponent.select().
26618 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26620 * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26621 inner classes into package-private inner classes, added actions
26622 for caret movement and selection to the next and previous word
26623 and an action which selects the whole text.
26625 2006-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
26627 * javax/swing/Spring.java: Uncomment springdebug methods and
26628 rename them toString.
26629 * javax/swing/SpringLayout.java: Likewise.
26631 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26633 * javax/swing/text/FieldView.java:
26634 (viewToModel): Added call to adjust allocation area.
26636 2006-03-17 Roman Kennke <kennke@aicas.com>
26638 * javax/swing/plaf/basic/BasicComboBoxUI.java
26639 (mouseListener): Removed field.
26640 (buttonBackground): Removed field.
26641 (buttonShadow): Removed field.
26642 (buttonDarkShadow): Removed field.
26643 (buttonHighlight): Removed field.
26644 (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26645 (installUI): Initialize and configure renderer and editor here.
26646 (uninstallUI): Close popup before uninitializing.
26647 Message popup that we are uninitializing. Clear layout.
26648 (installDefaults): Install UI border. Don't install colors.
26649 (installListeners): Install listeners fetched from the popup.
26650 Remove handling of mouseListener.
26651 (uninstallDefaults): Uninstall border. Don't handle colors.
26652 (uninstallListeners): Don't handle mouseListener. Uninstall
26653 listener from the popup.
26654 (createMouseListener): Removed method.
26655 (createRenderer): Create UIResource.
26656 (installComponents): Cleaned up.
26657 (uninstallComponents): Only remove renderer when it is
26659 (addEditor): Remove editor before adding new one.
26660 Fetch editor from comboBox.
26661 (removeEditor): Only do something when editor != null. Unconfigure
26662 editor before removing.
26663 (configureEditor): Add key listener. Call comboBox.configureEditor.
26664 (unconfigureEditor): Removed key listener.
26665 (configureArrowButton): Only handle when arrowButton != null.
26666 Add mouse listeners to arrow button.
26667 (unconfigureArrowButton): Remove listeners.
26668 (createArrowButton): Don't handle colors here.
26669 (setPopupVisible): Don't handle focus here.
26670 (paint): Only paint when comboBox is not editable. Update
26672 (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26673 (getMinimumSize): Respect insets here.
26674 (getMaximumSize): Return preferredSize with width of 32767.
26675 (getInsets): Return ComboBox insets.
26676 (paintCurrentValue): Paint using currentValuePane.
26677 Install correct colors. Don't revalidate.
26678 (paintCurrentValueBackground): Implemented.
26679 (getDefaultSize): Reimplemented using a default renderer.
26680 (getDisplaySize): Reimplemented to use renderer.
26681 (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26682 (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26683 (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26684 (FocusHandler.focusGained): Don't invalidate minimumSize.
26685 (FocusHandler.focusLost): Don't invalidate minimumSize.
26686 Only close popup if focus change is not temporary.
26687 (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26688 Reconfigure editor if not null.
26689 (ListDataHandler.contentsChanged): Revalidate and reconfigure
26690 editor if necessary.
26691 (ListDataHandler.intervalAdded): Fixed updating of the display size.
26692 (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26693 (MouseHandler): Removed unnecessary class.
26695 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26697 * examples/gnu/classpath/examples/swing/Demo.java:
26698 (Demo): Set default closing operation to shutdown the runtime.
26700 2006-03-17 Roman Kennke <kennke@aicas.com>
26702 * javax/swing/plaf/basic/BasicComboPopup.java
26703 (BasicComboPopup): Create listeners here.
26704 Configure components here.
26705 (show): Correctly calculate bounds using computePopupBounds().
26706 Make scroller fixed-size. Removed special autocloser handling.
26707 (hide): Rewritten to use MenuSelectionHandler.
26708 (createList): Don't set selection mode here.
26709 (configureList): Correctly install colors and fonts and selectionMode.
26710 (createScroller): Set scrollpane policies.
26711 (configureScroller): Make scroller and scrollbar not-focusable.
26712 (configurePopup): Make popup opaque and borderPainted.
26713 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26714 (delegateFocus): Implemented.
26715 (convertMouseEvent): Implemented.
26716 (updateListBoxSelectionForEvent): Implemented to also handle
26718 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26719 Only open popup on left mouse-click.
26720 (InvocationMouseHandler.mouseReleased): Rewritten.
26721 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26722 support autoscrolling.
26723 (ItemHandler.itemStateChanged): Implemented to sync selection with
26725 (ListMouseHandler.mouseReleased): Fetch selected index directly
26727 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26729 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26730 When model changes, then update listeners correctly.
26731 (uninstallListeners): Don't uninstall list listeners.
26732 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26734 (syncSelection): New helper method.
26736 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26738 * javax/swing/text/PlainView.java:
26739 (drawLine): Rewritten.
26740 (drawSelectedText): Corrected last argument for
26741 Utilities.drawTabbedText() call.
26742 (paint): Store start and end of selection in object variables,
26743 store constant values of for-loop in local variables.
26744 * javax/swing/text/Utilities.java:
26745 (drawTabbedText): Add 'pixelWidth' to the return value, store
26746 constant value of for-loop in local variable.
26748 2006-03-17 Roman Kennke <kennke@aicas.com>
26750 * javax/swing/plaf/basic/BasicComboPopup.java
26751 (BasicComboPopup): Create listeners here.
26752 Configure components here.
26753 (show): Correctly calculate bounds using computePopupBounds().
26754 Make scroller fixed-size. Removed special autocloser handling.
26755 (hide): Rewritten to use MenuSelectionHandler.
26756 (createList): Don't set selection mode here.
26757 (configureList): Correctly install colors and fonts and selectionMode.
26758 (createScroller): Set scrollpane policies.
26759 (configureScroller): Make scroller and scrollbar not-focusable.
26760 (configurePopup): Make popup opaque and borderPainted.
26761 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26762 (delegateFocus): Implemented.
26763 (convertMouseEvent): Implemented.
26764 (updateListBoxSelectionForEvent): Implemented to also handle
26766 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26767 Only open popup on left mouse-click.
26768 (InvocationMouseHandler.mouseReleased): Rewritten.
26769 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26770 support autoscrolling.
26771 (ItemHandler.itemStateChanged): Implemented to sync selection with
26773 (ListMouseHandler.mouseReleased): Fetch selected index directly
26775 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26777 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26778 When model changes, then update listeners correctly.
26779 (uninstallListeners): Don't uninstall list listeners.
26780 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26782 (syncSelection): New helper method.
26784 2006-03-17 Roman Kennke <kennke@aicas.com>
26786 * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26787 (noFocusBorder): Make border with insets of (1,1,1,1).
26788 (BasicComboBoxRenderer): Make renderer opaque.
26789 No need to explicitly set alignment.
26790 (getListCellRendererComponent): Rewritten to correctly initialize
26793 2006-03-17 Roman Kennke <kennke@aicas.com>
26795 * javax/swing/JPopupMenu.java
26796 (setVisible): Handle JPopupMenu opening and closing via
26797 the MenuSelectionHandler.
26799 2006-03-17 Wolfgang Baer <WBaer@gmx.de>
26801 * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
26802 * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
26803 * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java:
26805 * org/omg/CORBA/portable/RemarshalException.java: Likewise
26806 * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
26807 * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
26808 * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
26809 * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
26810 * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
26811 * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
26812 * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
26813 * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
26814 * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
26816 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26818 * java/rmi/activation/Activatable.java: Implemented.
26819 java/rmi/activation/ActivationDesc.java: Implemented.
26820 java/rmi/activation/ActivationGroup.java: Implemented.
26821 java/rmi/activation/ActivationGroupDesc.java: Implemented.
26822 java/rmi/activation/ActivationID.java: Implemented.
26823 java/rmi/activation/ActivationSystem.java: Implemented.
26824 * gnu/java/rmi/server/UnicastServerRef.java
26825 (exportObject, incommingMessageCall): Documented.
26826 * java/rmi/activation/package.html: Documented.
26827 * java/rmi/server/ObjID.java (objNum, space): Made package
26829 * gnu/java/rmi/server/UnicastServer.java: Rewritten.
26830 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
26832 * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
26833 gnu/java/rmi/activation/BidiTable.java: New file.
26834 gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
26835 gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
26836 gnu/java/rmi/server/ActivatableServerRef.java: New file.
26838 2006-03-17 Mark Wielaard <mark@klomp.org>
26840 * java/security/BasicPermission.java (BasicPermission): Check
26841 name equals empty string to force NullPointerException.
26843 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26846 Commit patch by Caolan McNamara <caolanm@redhat.com>
26847 * javax/swing/Spring.java: Complete implementation
26848 * javax/swing/SpringLayout.java: Likewise.
26850 2006-03-16 Keith Seitz <keiths@redhat.com>
26852 * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
26854 (run): Remove catch clause for InterruptedException. It is no
26857 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26859 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26860 (getFontMetrics): Handle monospaced fonts specially.
26862 2006-03-16 Keith Seitz <keiths@redhat.com>
26864 * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
26865 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
26866 (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
26867 Don't suspend the current thread unless it is not part of the JDWP
26870 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26872 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
26874 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
26875 font metrics through toolkit.
26876 * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
26878 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26879 (getFontMetrics): To calculate Java logical ascent and descent
26880 values, average Pango ink and logical values.
26882 2006-03-16 Anthony Balkissoon <abalkiss@redhat.com>
26884 * java/lang/Character.java: Updated header comment.
26886 2006-03-16 Tom Tromey <tromey@redhat.com>
26888 * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
26890 * javax/sound/sampled/FloatControl.java: Now abstract.
26891 * javax/sound/sampled/EnumControl.java: Now abstract.
26892 * javax/sound/sampled/CompoundControl.java: Now abstract.
26893 * javax/sound/sampled/BooleanControl.java: Now abstract.
26895 2006-03-16 Tom Tromey <tromey@redhat.com>
26897 * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
26899 2006-03-16 Roman Kennke <kennke@aicas.com>
26901 * java/util/zip/ZipFile.java
26902 (openFile): New helper method.
26903 (ZipFile): Use new openFile method to ensure the proper
26904 exception is thrown. This applies for all overloaded constructors.
26906 2006-03-16 Roman Kennke <kennke@aicas.com>
26908 * java/text/DateFormatSymbols.java
26909 (setAmPmStrings): Added null check and throw NPE.
26910 (setEras): Likewise.
26911 (setLocalPatternChars): Likewise.
26912 (setMonths): Likewise.
26913 (setShortMonths): Likewise.
26914 (setShortWeekdays): Likewise.
26915 (setWeekdays): Likewise.
26916 (setZoneStrings): Likewise.
26918 2006-03-16 Roman Kennke <kennke@aicas.com>
26920 * javax/swing/DefaultDesktopManager.java
26921 (iconifyFrame): Repaint after removing the frame.
26922 (removeIconFor): Repaint after removing the icon.
26924 2006-03-16 Roman Kennke <kennke@aicas.com>
26926 * javax/swing/JInternalFrame.java
26927 (remove): Respect the rootPaneCheckingEnabled flag here.
26929 2006-03-16 Roman Kennke <kennke@aicas.com>
26931 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
26932 Moved from examples into gnu.javax.swing.. namespace.
26933 * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
26934 Moved to gnu.javax.swing.. namespace.
26935 * examples/gnu/classpath/examples/swing/Demo.java:
26936 (themesMenu): New field. Used to disable theme switch in
26938 (mkMenuBar): Added L&F menu.
26939 (ChangeThemeAction.actionPerformed): Only switch theme when
26941 (ChangeLAFAction): New class used for changing themes.
26942 * javax/swing/UIManager.java
26943 (installed): Added GNU L&F as installed L&F.
26945 2006-03-16 Mark Wielaard <mark@klomp.org>
26947 * examples/gnu/classpath/examples/swing/badge.png: Removed.
26948 * examples/gnu/classpath/examples/icons/badge.png: Added.
26949 * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
26950 from icon directory.
26952 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26954 * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
26956 * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
26957 * examples/gnu/classpath/examples/awt/Demo.java: Add
26958 AnimationApplet demo.
26959 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
26962 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26965 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
26967 (handleEvent): Likewise.
26968 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
26970 (beginNativeRepaint): Remove method.
26971 (endNativeRepaint): Likewise.
26972 (handleEvent): Call paintComponent and updateComponent.
26973 (paintComponent): New method.
26974 (updateComponent): Likewise.
26975 (repaint): Return early if width or height is less than one.
26976 (postExposeEvent): Remove isInRepaint reference.
26977 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
26979 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
26980 from GtkWindowPeer.
26981 (postMouseEvent): Likewise.
26982 (postExposeEvent): Likewise.
26983 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
26984 Override to do nothing.
26985 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
26986 from GtkWindowPeer.
26987 (postMouseEvent): Likewise.
26988 (postExposeEvent): Likewise.
26989 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
26990 paint and update handling from GtkComponentPeer.
26991 (updateComponent): Override to call paintComponent.
26992 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
26993 gdk_flush calls with schedule_flush calls.
26994 (flush): New function.
26995 (schedule_flush): Likewise.
26997 2006-03-15 Tom Tromey <tromey@redhat.com>
26999 * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
27001 (BCSIterator): Likewise.
27002 * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
27004 (BCSSProxyServiceProvider): Likewise.
27005 (BCSSServiceProvider): Likewise.
27007 2006-03-15 Tom Tromey <tromey@redhat.com>
27009 * javax/sound/midi/Track.java (Track): New constructor.
27010 (events): Now package-private.
27011 * javax/sound/midi/MidiUnavailableException.java
27012 (MidiUnavailableException): Removed invalid constructors.
27013 * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
27014 * javax/sound/midi/InvalidMidiDataException.java
27015 (InvalidMidiDataException): Removed invalid constructors.
27016 * javax/sound/midi/Sequencer.java (hashCode): Now final.
27017 * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
27018 * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
27019 (SYSTEM_EXCLUSIVE): Removed.
27020 (getDataLength): Updated.
27021 * javax/sound/midi/MidiDevice.java (Info): Now protected.
27022 (equals): Now final
27023 (getName): Now final.
27024 (getVendor): Now final.
27025 (getDescription): Likewise.
27026 (hashCode): Likewise.
27027 (getVersion): Likewise.
27028 (toString): Likewise.
27029 * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
27030 * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
27031 (getEarlyReflectionDelay): Likewise.
27032 (getEarlyReflectionIntensity): Likewise.
27033 (getLateReflectionDelay): Likewise.
27034 (getLateReflectionIntensity): Likewise.
27035 (toString): Likewise.
27036 * javax/sound/sampled/Port.java (toString): Now final.
27037 * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
27038 (getLine): Likewise.
27039 (getType): Likewise.
27040 * javax/sound/sampled/Mixer.java (Info): Now protected.
27041 (getDescription): Now final.
27042 (getName): Likewise.
27043 (getVendor): Likewise.
27044 (getVersion): Likewise.
27045 (toString): Likewise.
27046 * javax/sound/sampled/Control.java: Now abstract.
27047 (Type.toString): Now final.
27049 2006-03-15 Keith Seitz <keiths@redhat.com>
27051 * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
27052 of this redundant variable.
27053 (LineTable): Assert that the number of line numbers and the number of
27054 code indicies is the same.
27056 2006-03-15 Tom Tromey <tromey@redhat.com>
27058 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
27060 * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
27062 * java/util/zip/ZipFile.java (ENDNRD): New constant.
27063 * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
27064 * java/util/zip/Inflater.java (end): Not deprecated.
27065 * java/util/zip/Deflater.java (end): Not deprecated.
27066 * java/text/Bidi.java (Bidi): Now final.
27067 * java/nio/MappedByteBuffer.java (finalize): Now protected.
27069 2006-03-15 Keith Seitz <keiths@redhat.com>
27071 * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
27072 (Location): Index is a long, not an int.
27073 (getMethod): New method.
27074 (getIndex): New method.
27075 (toString): New method.
27077 2006-03-15 Tom Tromey <tromey@redhat.com>
27079 * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
27080 * java/awt/image/LookupOp.java (filter): Now final.
27081 (getBounds2D): Likewise.
27082 (getPoint2D): Likewise.
27083 (getTable): Likewise.
27084 (getRenderingHints): Likewise.
27085 * java/awt/image/ConvolveOp.java (filter): Now final.
27086 (getBounds2D): Likewise.
27087 (getKernel): Likewise.
27088 (getPoint2D): Likewise.
27089 (getRenderingHints): Likewise.
27090 * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
27091 (getMatrix): Likewise.
27092 (getBounds2D): Likewise.
27093 (getRenderingHints): Likewise.
27094 * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
27095 * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
27097 * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
27099 * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
27101 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
27103 2006-03-15 Keith Seitz <keiths@redhat.com>
27105 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
27107 (matches): Implement.
27109 2006-03-15 Keith Seitz <keiths@redhat.com>
27111 * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
27113 * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
27115 2006-03-15 Tom Tromey <tromey@redhat.com>
27117 * java/lang/StrictMath.java (signum): New methods.
27119 2006-03-15 Tom Tromey <tromey@redhat.com>
27121 * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
27123 2006-03-15 Lillian Angel <langel@redhat.com>
27126 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
27127 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
27128 Added check to avoid segmentation fault.
27130 2006-03-15 Lillian Angel <langel@redhat.com>
27132 * java/awt/Container.java
27133 (getComponentAt): Fixed documentation.
27134 (getComponentAt): Likewise.
27136 2006-03-15 Roman Kennke <kennke@aicas.com>
27138 * javax/swing/JComponent.java
27139 (dragBuffer): New field.
27140 (dragBufferInitialized): New field.
27141 (paint): Added facility for buffered dragging of components.
27142 (initializeDragBuffer): New method.
27143 (getConditionForKeyStroke): Removed deprecated flag. Adjusted
27145 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27146 (BorderListener.mouseDragged): Turn on buffered dragging.
27147 (BorderListener.mouseReleased): Turn off buffered dragging.
27149 2006-03-15 Lillian Angel <langel@redhat.com>
27151 * java/awt/Container.java
27152 (getComponentAt): Fixed documentation.
27153 (getComponentAt): Likewise.
27154 (findComponentAt): Likewise.
27155 (findComponentAt): Likewise.
27157 2006-03-15 Roman Kennke <kennke@aicas.com>
27159 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27160 (PropertyChangeHandler.propertyChange): Call enableActions().
27161 Fixed 'iconable' property name.
27163 2006-03-15 Chris Burdess <dog@gnu.org>
27166 * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
27168 2006-03-15 Roman Kennke <kennke@aicas.com>
27170 * examples/gnu/classpath/examples/swing/Demo.java:
27171 (desktop): New field.
27172 (mkMenuBar): Added new subdemos.
27173 (mkButtonWorld): Removed.
27174 (CheckCellRenderer): Moved to ListDemo.
27175 (LabelCellRenderer): Moved to ListDemo.
27176 (mkTreeWorld): Moved to TreeDemo.
27177 (mkDesktopWorld): Removed.
27178 (mkTabWorld): Moved to TabbedPaneDemo.
27179 (mkTabbedPane): Removed.
27180 (Demo): Replaced 'worlds' tabbed pane with desktop.
27181 (PopupAction): Made class non-static.
27182 (PopupAction.actionPerformed): Bring up subdemos in internal
27184 (mkButtonBar): Added new demos.
27185 (createDesktop): New method.
27186 * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
27187 * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
27188 * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
27189 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
27190 * examples/gnu/classpath/examples/swing/badge.png: New image file.
27192 2006-03-15 Lillian Angel <langel@redhat.com>
27194 * java/awt/Container.java
27195 (getComponentAt): Fixed mistake in comments.
27196 (getComponentAt): Likewise.
27197 (locate): Likewise. Also, handled lightweight components.
27198 Heavyweights take precedence over lightweights, so we should
27199 iterate through the heavyweights first.
27201 2006-03-15 Lillian Angel <langel@redhat.com>
27203 * java/awt/Container.java
27204 (getComponentAt): Added API documentation.
27205 (getComponentAt): Likewise.
27206 (locate): Likewise. Also, removed lines to ignore
27207 invisible components.
27208 (findComponentAt): Added API documentation.
27209 (findComponentAt): Added API documentation.
27210 (findComponentForMouseEvent): Removed, never used.
27212 2006-03-15 Roman Kennke <kennke@aicas.com>
27214 * javax/swing/Popup.java
27215 (LightweightPopup.show): Repaint the panel after showing it.
27217 2006-03-15 Lillian Angel <langel@redhat.com>
27219 * java/awt/Component.java
27220 (show): repaint should only be called if the component
27221 isShowing and isLightweight.
27223 2006-03-15 Roman Kennke <kennke@aicas.com>
27225 * javax/swing/JInternalFrame.java
27226 (setClosable): Made this property bound.
27227 (setResizable): Made this property bound.
27228 (setIconifiable): Made this property bound.
27229 (setMaximizable): Made this property bound.
27231 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
27233 * javax/swing/table/TableColumn.java
27234 (sizeWidthToFit): Implemented.
27236 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
27238 * javax/swing/table/TableColumn.java: API docs updated all over, plus
27239 (setIdentifier): Fire required PropertyChangeEvent,
27240 (setCellEditor): Likewise.
27242 2006-03-15 Roman Kennke <kennke@aicas.com>
27244 * examples/gnu/classpath/examples/swing/ButtonDemo.java,
27245 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
27246 * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
27247 * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
27248 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
27249 * examples/gnu/classpath/examples/swing/SliderDemo.java,
27250 * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
27251 * examples/gnu/classpath/examples/swing/TableDemo.java,
27252 * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
27253 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
27254 Reworked to implemented DemoFactory and lazy loading of Sub-demos.
27255 * examples/gnu/classpath/examples/swing/Demo.java:
27256 Cleaned up. Reworked handling of Sub-demos to load lazily.
27257 * examples/gnu/classpath/examples/swing/DemoFactory.java:
27258 New interface. Used for loading the subdemos lazily.
27260 2006-03-15 Roman Kennke <kennke@aicas.com>
27262 * javax/swing/plaf/basic/BasicToolBarUI.java
27263 (PropertyListener.propertyChange): Added null check to avoid NPE.
27265 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27267 * javax/swing/table/TableColumn.java
27268 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27270 (minWidth): Likewise,
27271 (preferredWidth): Likewise,
27272 (maxWidth): Likewise,
27273 (headerRenderer): Likewise,
27274 (cellRenderer): Likewise,
27275 (cellEditor): Likewise,
27276 (changeSupport): Likewise,
27277 (firePropertyChange(String, Object, Object)): Removed,
27278 (firePropertyChange(String, int. int)): Likewise,
27279 (firePropertyChange(String, boolean, boolean)): Likewise,
27280 (setModelIndex): Fire property change,
27281 (setHeaderValue): Call changeSupport directly to generate event,
27282 (setHeaderRenderer): Likewise,
27283 (setCellRenderer): Likewise,
27284 (setWidth): Likewise,
27285 (setPreferredWidth): Likewise,
27286 (setMinWidth): Likewise,
27287 (setMaxWidth): Likewise,
27288 (createDefaultHeaderRenderer): Added API docs.
27290 2006-03-14 Roman Kennke <kennke@aicas.com>
27292 * examples/gnu/classpath/examples/swing/Demo.java
27293 Removed static initializer.
27294 (mkMenuBar): Made method non-static. Added themes menu.
27295 (ChangeThemeAction): New inner class, used to change themes.
27297 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27299 * javax/swing/table/TableColumn.java
27300 (setMaxWidth): Updated width and preferredWidth if necessary,
27301 (getMaxWidth): Updated API docs.
27303 2006-03-14 Roman Kennke <kennke@aicas.com>
27305 * javax/swing/plaf/basic/BasicSliderUI.java
27306 (TrackListener.mouseDragged): Only process event when slider is
27308 (TrackListener.mouseReleased): Only process event when slider is
27310 (TrackListener.mousePressed): Only process event when slider is
27313 2006-03-14 Roman Kennke <kennke@aicas.com>
27315 * NEWS: Added note about OceanTheme support.
27317 2006-03-14 Roman Kennke <kennke@aicas.com>
27319 * javax/swing/plaf/metal/MetalIconFactory.java
27320 (HorizontalSliderThumbIcon.gradientMask): New field
27321 (HorizontalSliderThumbIcon.paintIcon): Added support for the
27323 (VerticalSliderThumbIcon.gradientMask): New field
27324 (VerticalSliderThumbIcon.paintIcon): Added support for the
27326 * javax/swing/plaf/metal/MetalUtils.java
27327 (paintHorizontalGradient): Fixed painting of 'masked' gradients.
27328 (paintVerticalGradient): Fixed painting of 'masked' gradients.
27330 2006-03-14 Mark Wielaard <mark@klomp.org>
27333 * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
27334 of handleMouseEvent.
27335 (handleMouseEvent): Return boolean to indicate whether we handled the
27336 event by passing it to a lightweight.
27338 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27340 * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
27341 * org/omg/PortableServer/ServantActivatorPOA.java,
27342 * org/omg/PortableServer/ServantLocatorPOA.java:
27343 Make class abstract and minor api docs fixlets.
27344 * org/omg/PortableServer/ForwardRequest.java,
27345 * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java,
27346 * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java,
27347 * org/omg/PortableServer/POAPackage/AdapterNonExistent.java,
27348 * org/omg/PortableServer/POAPackage/InvalidPolicy.java,
27349 * org/omg/PortableServer/POAPackage/NoServant.java,
27350 * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java,
27351 * org/omg/PortableServer/POAPackage/ObjectNotActive.java,
27352 * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java,
27353 * org/omg/PortableServer/POAPackage/ServantNotActive.java,
27354 * org/omg/PortableServer/POAPackage/WrongAdapter.java,
27355 * org/omg/PortableServer/POAPackage/WrongPolicy.java,
27356 * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java,
27357 * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
27358 * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
27359 * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
27361 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27363 * NEWS: Added entry about printing support.
27365 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27367 * javax/swing/table/TableColumn.java
27368 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27369 (isResizable): Likewise,
27370 (setWidth): Likewise,
27371 (getWidth): Likewise,
27372 (setPreferredWidth): Likewise,
27373 (getPreferredWidth): Likewise,
27374 (setMinWidth): Check for negative argument and update width and
27375 preferredWidth if necessary,
27376 (getMinWidth): Updated API docs.
27378 2006-03-14 Lillian Angel <langel@redhat.com>
27380 * java/awt/Container.java
27381 (addImpl): Removed call to repaint. No need to repaint here.
27383 2006-03-14 Roman Kennke <kennke@aicas.com>
27385 * javax/swing/plaf/metal/MetalSliderUI.java
27386 (paintTrack): Added OceanTheme support.
27388 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27390 * javax/swing/table/TableColumn.java
27391 (setResizable): Fire PropertyChangeEvent if the flag value changes,
27392 (isResizable): Updated API docs.
27394 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27396 * javax/swing/LookAndFeel.java: Updated API docs.
27398 2006-03-14 Roman Kennke <kennke@aicas.com>
27400 * javax/swing/plaf/metal/MetalUtils.java
27401 (paintGradient): Added support for 'masked' gradients.
27402 (paintHorizontalGradient): Likewise.
27403 (paintVerticalGradient): Likewise.
27404 * javax/swing/plaf/metal/MetalIconFactory.java
27405 (RadioButtonIcon.gradientMask): New field.
27406 (RadioButtonIcon.paintIcon): Added mask for gradient painting.
27408 2006-03-14 Mark Wielaard <mark@klomp.org>
27411 * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
27413 (removeActionListener): Add listener to ComboBoxEditorListener.
27414 (removeActionListener): Remove listener from ComboBoxEditorListener.
27415 (ComboBoxEditorListener): New static helper class.
27417 2006-03-14 Roman Kennke <kennke@aicas.com>
27419 * javax/swing/plaf/metal/MetalBorders.java
27420 (getToolBarButtonBorder): Don't create a UIResource border
27422 * javax/swing/plaf/metal/MetalToolBarUI.java
27423 (installUI): New overridden method. Installs the rollover property.
27424 (uninstallUI): New overridden method. Resets the rollover property.
27425 * javax/swing/plaf/metal/MetalUtils.java
27426 (paintGradient): Fetch Float values from the UIManager. Adjusted
27427 method signatures accordingly.
27428 (paintHorizontalGradient): Adjusted signature to accept float
27430 (paintVerticalGradient): Adjusted signature to accept float
27432 * javax/swing/plaf/metal/OceanTheme.java
27433 (addCustomEntriesToTable): Added missing UIDefaults entries,
27434 except of Icons. Fixed gradient entries to use Float instead
27437 2006-03-14 Roman Kennke <kennke@aicas.com>
27439 * javax/swing/JInternalFrame.java
27440 (JInternalFrame): Make JInternalFrame opaque.
27441 * javax/swing/JToolBarFrame.java
27442 (JToolBar): Make JToolBar opaque.
27444 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27446 * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27447 * javax/swing/tree/TreePath.java: Likewise.
27449 2006-03-13 Tom Tromey <tromey@redhat.com>
27451 * javax/swing/text/html/StyleSheet.java (removeAttributes):
27453 * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27454 * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27456 2006-03-13 Keith Seitz <keiths@redhat.com>
27458 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27459 (executeMethods): Output number of methods.
27461 2006-03-13 Roman Kennke <kennke@aicas.com>
27463 * javax/swing/plaf/basic/BasicButtonUI.java
27464 (uninstallDefaults): Only uninstall border if it's a UIResource.
27465 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27466 (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27467 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27468 (installUI): Don't touch the opaque flag of the glassPane and
27469 the frame. Don't invalidate.
27470 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27471 (installUI): Don't touch the opaque flag of the glassPane.
27472 * javax/swing/plaf/basic/BasicMenuBarUI.java
27473 (properyChangeListener): Made field private.
27474 (ChangeHandler): Made class private.
27475 (ContainerHandler): Made class private.
27476 (PropertyChangeHandler): Made class private.
27477 * javax/swing/plaf/basic/BasicMenuUI.java
27478 (MenuHandler): Made class private.
27479 (PropertyChangeHandler): Removed unneeded class.
27480 (MenuDragMouseHandler): Made class private.
27481 (MenuKeyHandler): Made class private.
27482 * javax/swing/plaf/basic/BasicPanelUI.java
27483 (installDefaults): Made method protected. Don't set opaque
27485 * javax/swing/plaf/basic/BasicScrollBarUI.java
27486 (TrackListener.shouldScroll): Made method private.
27487 * javax/swing/plaf/basic/BasicSplitPaneUI.java
27488 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27489 Made constructor package private.
27490 * javax/swing/plaf/basic/BasicTableHeaderUI.java
27491 (cellBorder): Made field private.
27492 * javax/swing/plaf/basic/BasicTextUI.java
27493 (installDefaults): Don't make component opaque.
27494 * javax/swing/plaf/basic/BasicToolBarUI.java
27495 (createNonRollOverBorder): Don't create UIResource border.
27496 (createRollOverBorder): Don't create UIResource border.
27497 (installComponents): Moved setRolloverBorders call here.
27498 (installDefaults): Moved setRolloverBorders call from here.
27499 (installUI): Don't make toolbar opaque.
27500 (setBorderToNonRollover): Handle AbstractButton instead of
27502 (uninstallComponents): Don't nullify class fields here.
27504 2006-03-13 David Gilbert <david.gilbert@object-refinery.com>
27506 * javax/swing/SwingUtilities.java
27507 (calculateInnerArea): handle null component, and replace
27508 getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27511 2006-03-13 Roman Kennke <kennke@aicas.com>
27513 * javax/swing/JColorChooser.java
27514 (updateUI): Don't call revalidate().
27515 * javax/swing/JComboBox.java
27516 (updateUI): Don't call invalidate().
27517 * javax/swing/JDesktopPane.java
27518 (updateUI): Don't call invalidate().
27519 * javax/swing/JFileChooser.java
27520 (updateUI): Don't call revalidate().
27521 * javax/swing/JMenu.java
27522 (updateUI): Don't call invalidate().
27523 * javax/swing/JMenuBar.java
27524 (updateUI): Don't call invalidate().
27525 * javax/swing/JMenuItem.java
27526 (updateUI): Don't call invalidate().
27527 * javax/swing/JOptionPane.java
27528 (updateUI): Don't call invalidate().
27529 * javax/swing/JPopupMenu.java
27530 (updateUI): Don't call invalidate().
27531 * javax/swing/JProgressBar.java
27532 (updateUI): Don't call invalidate().
27533 * javax/swing/JScrollBar.java
27534 (updateUI): Don't call invalidate() and repaint().
27535 * javax/swing/JScrollPane.java
27536 (updateUI): Rewritten to be like the other updateUI()
27538 * javax/swing/JSlider.java
27539 (updateUI): Don't call invalidate() and repaint().
27540 * javax/swing/JSplitPane.java
27541 (updateUI): Don't call invalidate() and repaint().
27542 * javax/swing/JTabbedPane.java
27543 (updateUI): Don't call invalidate().
27544 * javax/swing/JTable.java
27545 (updateUI): Don't call revalidate() and repaint().
27546 * javax/swing/JToolBar.java
27547 (updateUI): Don't call revalidate() and repaint().
27548 * javax/swing/JToolTip.java
27549 (updateUI): Don't call revalidate() and repaint().
27551 2006-03-13 Roman Kennke <kennke@aicas.com>
27553 * javax/swing/SwingUtilities.java
27554 (updateComponentTreeUI): Rewritten to be more robust. Handling of
27555 menus and non-Swing components is improved.
27556 (updateComponentTreeUIImpl): New helper method.
27557 (replaceUIActionMap): Added check for uiActionMap==parent to
27559 (replaceUIInputMap): Added check for uiInputMap==parent to
27562 2006-03-13 Wolfgang Baer <WBaer@gmx.de>
27564 * gnu/classpath/debug/Component.java:
27565 (IPP) New component for IPP debugging.
27566 (EVERYTHING): Adapted to include IPP.
27567 * javax/print/PrintServiceLookup.java:
27568 (registerServiceProvider): New method.
27569 (registerService): Likewise.
27570 (lookupPrintServices): Likewise.
27571 (lookupMultiDocPrintServices): Likewise.
27572 (lookupDefaultPrintService): Likewise.
27573 (static_initializer): Likewise.
27574 (printServiceLookups): New field for found service providers.
27575 (printServices): New field for application registered providers.
27576 (systemProvider): New field for the system provider.
27577 * javax/print/ServiceUI.java: New file.
27578 * javax/print/package.html: Added more usage content.
27579 * javax/print/event/package.html: Likewise.
27580 * javax/print/attribute/package.html: Likewise.
27581 * javax/print/attribute/standard/package.html: Likewise.
27582 * gnu/javax/print/PrintUriException.java,
27583 gnu/javax/print/PrintFlavorException.java,
27584 gnu/javax/print/PrinterDialog.java,
27585 gnu/javax/print/PrintAttributeException.java,
27586 gnu/javax/print/CupsPrintServiceLookup.java,
27587 gnu/javax/print/CupsServer.java,
27588 gnu/javax/print/CupsPrintService.java,
27589 gnu/javax/print/CupsMediaMapping.java,
27590 gnu/javax/print/CupsIppOperation.java:
27591 New implementation files of the Java Print Service API.
27592 * gnu/javax/print/ipp/IppValueTag.java,
27593 gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27594 gnu/javax/print/ipp/IppStatusCode.java,
27595 gnu/javax/print/ipp/IppUtilities.java,
27596 gnu/javax/print/ipp/IppResponse.java,
27597 gnu/javax/print/ipp/IppException.java,
27598 gnu/javax/print/ipp/IppPrintService.java,
27599 gnu/javax/print/ipp/IppRequest.java,
27600 gnu/javax/print/ipp/IppMultiDocPrintService.java,
27601 gnu/javax/print/ipp/IppDelimiterTag.java,
27602 gnu/javax/print/ipp/DocPrintJobImpl.java:
27603 New files of the IPP client implementation.
27604 * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27605 gnu/javax/print/ipp/attribute/StatusMessage.java,
27606 gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27607 gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27608 gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27609 gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27610 gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27611 gnu/javax/print/ipp/attribute/CharsetSyntax.java:
27612 New attribute syntax/role files of the printing implementation.
27613 * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27614 gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27615 gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27616 gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27617 gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27618 gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27619 gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27620 gnu/javax/print/ipp/attribute/supported/
27621 OrientationRequestedSupported.java,
27622 gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27623 gnu/javax/print/ipp/attribute/supported/
27624 MultipleDocumentHandlingSupported.java,
27625 gnu/javax/print/ipp/attribute/supported/
27626 MultipleDocumentJobsSupported.java,
27627 gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27628 gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27629 gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27630 gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27631 gnu/javax/print/ipp/attribute/supported/
27632 GeneratedNaturalLanguageSupported.java,
27633 gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27634 gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27635 gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27636 gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27637 New supported attribute files.
27638 * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27639 gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27640 gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27641 gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27642 gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27643 gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27644 gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27645 gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27646 New printer description attribute files.
27647 * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27648 gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27649 gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27650 gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27651 gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27652 gnu/javax/print/ipp/attribute/job/JobId.java,
27653 gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27654 gnu/javax/print/ipp/attribute/job/JobUri.java,
27655 gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27656 New job description attribute files.
27657 * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27658 gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27659 gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27660 gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27661 gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27662 gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27663 gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27664 gnu/javax/print/ipp/attribute/defaults/
27665 MultipleDocumentHandlingDefault.java,
27666 gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27667 gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27668 gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27669 gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27670 gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27671 New default printing attribute files.
27672 * resource/gnu/javax/print/PrinterDialog.properties: New file.
27673 * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27674 * examples/gnu/classpath/examples/print/Demo.java:
27675 New demo application of the current implemented functionality.
27677 2006-03-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27679 * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27680 java/rmi/activation/ActivationDesc.java.java,
27681 java/rmi/activation/ActivationGroup.java,
27682 java/rmi/activation/ActivationID.java,
27683 java/rmi/activation/ActivationMonitor.java,
27684 java/rmi/activation/ActivationSystem.java,
27685 java/rmi/activation/package.html: Documenting.
27687 2006-03-13 Roman Kennke <kennke@aicas.com>
27689 * javax/swing/JInternalFrame.java
27690 (setSelected): Repaint frame when it is showing and the selection
27693 2006-03-13 Roman Kennke <kennke@aicas.com>
27695 * javax/swing/AbstractButton.java
27696 (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27699 2006-03-13 Roman Kennke <kennke@aicas.com>
27701 * javax/accessibility/AccessibleContext.java
27702 (getAccessibleRelationSet): Return empty set instead of null.
27704 2006-03-13 Roman Kennke <kennke@aicas.com>
27706 * javax/swing/ImageIcon.java
27707 (loadImage): Remove completed images from the MediaTracker. This
27708 avoids a potential memory leak.
27710 2006-03-12 Wolfgang Baer <WBaer@gmx.de>
27712 * javax/print/MultiDocPrintService.java,
27713 * javax/print/MultiDocPrintJob.java,
27714 * javax/print/MultiDoc.java: Added and enhanced documentation.
27716 2006-03-12 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27718 * java/rmi/activation/ActivationID.java (uid): New field.
27719 (writeExternal, readExternal): New methods.
27720 (equals, hashCode): Rewritten.
27721 * java/rmi/activation/ActivationInstantiator.java,
27722 * java/rmi/activation/ActivationSystem.java,
27723 * java/rmi/activation/Activator.java,
27724 * java/rmi/activation/Activatable.java,
27725 * java/rmi/activation/ActivationGroup.java,
27726 * java/rmi/activation/ActivationGroupDesc.java:
27727 Documented and autoformatted.
27728 * java/rmi/activation/package.html: Added content.
27730 2006-03-12 Chris Burdess <dog@gnu.org>
27733 * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27734 encoding are specified.
27736 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27738 * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27739 (changeEvent): Initialise in fireStateChange(),
27740 (setSelectedIndex): Check if change is made before firing event,
27741 (clearSelection): Delegate to setSelectedIndex(),
27742 (fireStateChanged): Initialise changeEvent if necessary,
27743 * javax/swing/SingleSelectionModel.java: API docs all over.
27745 2006-03-11 Tom Tromey <tromey@redhat.com>
27747 * java/util/zip/InflaterInputStream.java: Reverted previous
27750 2006-03-11 Mark Wielaard <mark@klomp.org>
27752 * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27755 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27757 * javax/swing/event/TreeSelectionEvent.java
27758 (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27759 not one of the added/removed paths,
27760 (cloneWithSource): Reformatted.
27762 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27764 * javax/swing/tree/TreeCellEditor.java: Added API docs,
27765 * javax/swing/tree/TreeCellRenderer.java: Likewise.
27767 2006-03-10 Casey Marshall <csm@gnu.org>
27770 * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27772 (doFinal, update): new methods.
27773 (init, init, init, init): initialize `state' after trying the
27774 implementation, which can throw an exception.
27775 * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27778 2006-03-11 Ito Kazumitsu <kaz@maczuka.gcd.org>
27780 * gnu/regexp/BacktrackStack.java: New file.
27781 * gnu/regexp/RE.java(findMatch): New method.
27782 * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27783 REMatchList): Removed. (backtrackStack): New field.
27784 * gnu/regexp/REToken.java(match): Changed from an abstract
27785 method to an ordinary method defined with the new method
27786 matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27787 findFixedLengthMatches, backtrack, toString): New methods.
27788 * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27789 * gnu/regexp/RETokenBackRef.java: Likewise.
27790 * gnu/regexp/RETokenChar.java: Likewise.
27791 * gnu/regexp/RETokenEnd.java: Likewise.
27792 * gnu/regexp/RETokenEndSub.java: Likewise.
27793 * gnu/regexp/RETokenIndependent.java: Likewise.
27794 * gnu/regexp/RETokenLookAhead.java: Likewise.
27795 * gnu/regexp/RETokenLookBehind.java: Likewise.
27796 * gnu/regexp/RETokenNamedProperty.java: Likewise.
27797 * gnu/regexp/RETokenPOSIX.java: Likewise.
27798 * gnu/regexp/RETokenRange.java: Likewise.
27799 * gnu/regexp/RETokenStart.java: Likewise.
27800 * gnu/regexp/RETokenWordBoundary.java: Likewise
27801 * gnu/regexp/RETokenOneOf.java: Rewriten.
27802 * gnu/regexp/RETokenRepeated.java: Rewriten.
27804 2006-03-10 Roman Kennke <kennke@aicas.com>
27806 * javax/swing/plaf/metal/MetalBorders.java
27807 (RolloverButtonBorder.paintBorder): Only call super here.
27808 * javax/swing/plaf/metal/MetalButtonListener.java
27809 (propertyChange): Only call super here.
27810 * javax/swing/plaf/metal/MetalButtonUI.java
27811 (update): Changed condition from isOpaque() to isContentAreaFilled()
27812 for the gradient fill.
27813 * javax/swing/plaf/metal/MetalToggleButtonUI.java
27814 (paintText): API doc fix. Makes paintText not deprecated as specified
27815 but adds comment that this is obsolete.
27816 * javax/swing/plaf/metal/MetalUtils.java
27817 (fillMetalPattern): Fixed condition so that the Java2D is not
27818 used when the noGraphics2D property is set.
27820 2006-03-10 Roman Kennke <kennke@aicas.com>
27822 * javax/swing/plaf/metal/MetalLookAndFeel.java
27823 (createDefaultTheme): Set OceanTheme as default metal theme.
27825 2006-03-10 Roman Kennke <kennke@aicas.com>
27827 * javax/swing/text/WrappedPlainView.java
27828 (metrics): Made field package private to avoid accessor method.
27829 (WrappedLine.paint): Call drawLine with y offset of the font ascent.
27830 The drawLine (righly) interprets the y parameter as the baseline.
27831 * javax/swing/text/Utilities.java
27832 (getBreakLocation): Don't consider the offset. The returned value
27833 for getTabbedTextOffset is already relative to the offset.
27835 2006-03-10 Wolfgang Baer <WBaer@gmx.de>
27837 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27838 (dateFormat): Made private.
27839 (put): Replace only the last occurance and the value.
27840 (putAll): Save one iteration. Clarified documentation.
27842 2006-03-10 Tom Tromey <tromey@redhat.com>
27844 * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
27846 * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
27849 2006-03-10 Lillian Angel <langel@redhat.com>
27851 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
27852 (comboboxgroup_get_widget): New function.
27853 (removed): Fixed to use new function to get the correct widget.
27854 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27855 (nativeSetCheckboxGroup): Reverted last patch to use get_widget
27858 2006-03-10 Lillian Angel <langel@redhat.com>
27860 * java/awt/GridBagLayout.java
27861 (ArrangeGrid): Added checks to determine if component
27862 is placed last in a row or column. If so, the location
27863 of the last component should be used to get the location
27864 of the current component.
27866 2006-03-10 Lillian Angel <langel@redhat.com>
27868 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27869 (nativeSetCheckboxGroup): No need to use new function here.
27870 Should just pass in pointer.
27872 2006-03-10 Lillian Angel <langel@redhat.com>
27874 * java/awt/GridBagLayout.java
27875 (distributeSizeAndWeight): Change else if to else. This
27876 allows for components to be added to a new row when
27877 their gridheight is REMAINDER.
27879 2006-03-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27881 * java/rmi/activation/ActivationDesc.java,
27882 java/rmi/activation/ActivationGroupID.java,
27883 java/rmi/activation/Activator.java,
27884 java/rmi/server/Operation.java,
27885 java/rmi/server/RemoteServer.java: Documented and formatted.
27887 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27889 * javax/swing/JToggleButton.java: Fixed API doc tags,
27890 * javax/swing/OverlayLayout.java: Likewise.
27892 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27894 * javax/swing/DefaultCellEditor.java
27895 (cancelCellEditing): Removed spurious API doc tag.
27897 2006-03-10 Lillian Angel <langel@redhat.com>
27899 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27900 (create): Put checkbox widget into an event box so it paints properly.
27901 (connectSignals): Fixed to use new function.
27902 (nativeSetCheckboxGroup): Likewise.
27903 (gtkToggleButtonSetActive): Likewise.
27904 (gtkWidgetModifyFont): Likewise.
27905 (gtkButtonSetLabel): Likewise.
27906 (combobox_get_widget): New function.
27908 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27910 * javax/swing/text/rtf/package.html: New file.
27912 2006-03-10 Roman Kennke <kennke@aicas.com>
27914 * javax/swing/plaf/metal/OceanTheme.java
27915 (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
27916 * javax/swing/plaf/metal/MetalScrollBarUI.java
27917 (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
27918 (paintThumbHorizontal): Added handling of OceanTheme.
27919 (paintThumbVertical): Added handling of OceanTheme.
27921 2006-03-10 Roman Kennke <kennke@aicas.com>
27923 Reported by Fridjof Siebert <siebert@aicas.com>
27924 * java/awt/MediaTracker.java
27925 (removeImage): Only set prev to e when the the images of the
27926 entries are not the same. This avoids a potentially corrupt list.
27928 2006-03-10 Chris Burdess <dog@gnu.org>
27931 * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
27932 checking while reindenting.
27934 2006-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
27936 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
27938 2006-03-09 Tom Tromey <tromey@redhat.com>
27940 PR classpath/26585:
27941 * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
27942 subdir. Added README.
27943 (install-data-local): Removed.
27944 (uninstall-local): Likewise.
27945 (EXTRA_DIST): Removed.
27947 2006-03-09 Tom Tromey <tromey@redhat.com>
27949 PR classpath/26623:
27950 * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27952 * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
27954 * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
27956 * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
27958 * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
27960 * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27962 * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
27964 * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
27966 * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
27968 * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
27970 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
27971 * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
27973 2006-03-09 Keith Seitz <keiths@redhat.com>
27975 * gnu/classpath/jdwp/processor/MethodCommandSet.java
27976 (executeVariableTable): Use VMMethod instead of reflection.
27977 (executeLineTable): Likewise.
27978 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27979 (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
27980 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27981 (getLineTable): Removed. Now resides in VMMethod.
27982 (getVarTable): Likewise.
27983 (getAllClassMethods): New method.
27985 2006-03-09 Keith Seitz <keiths@redhat.com>
27987 * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
27988 * gnu/classpath/jdwp/event/ThreadStartEvent.java
27989 (ThreadStartEvent): Likewise.
27990 * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
27991 * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
27992 (ConditionalFilter): Likewise.
27993 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
27994 (ExceptionOnlyFilter): Likewise.
27995 * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
27996 (FieldOnlyFilter): Likewise.
27997 * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
27998 (getSize): Likewise.
27999 (StepFilter): Likewise.
28000 * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
28001 * gnu/classpath/jdwp/transport/JdwpPacket.java
28002 (JdwpPacket): Likewise.
28003 (fromBytes): Likewise.
28004 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
28005 (JdwpReplyPacket): Likewise.
28006 * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
28007 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
28008 (getReferenceType): Likewise.
28009 (newObjectId): Likewise.
28010 * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
28011 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28012 (getFrames): Fix typo in parameter name and update javadoc.
28013 (getClassMethod): Update javadoc.
28015 2006-03-09 David Gilbert <david.gilbert@object-refinery.com>
28017 * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
28018 * javax/swing/event/TreeSelectionListener.java: Likewise.
28020 2006-03-09 Lillian Angel <langel@redhat.com>
28022 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28023 (getHScrollbarHeight): Fixed property name.
28024 (getVScrollbarHeight): Likewise.
28026 2006-03-09 Lillian Angel <langel@redhat.com>
28028 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
28029 (get_widget): New function.
28030 (gtkWidgetSetParent): Changed to use new function.
28031 (gtkWidgetSetCursorUnlocked): Likewise.
28032 (gtkWidgetSetSensitive): Likewise.
28033 (gtkWidgetRequestFocus): Likewise.
28034 (gtkWindowGetLocationOnScreen): Likewise.
28035 (gtkWidgetGetDimensions): Likewise.
28036 (gtkWidgetGetPreferredDimensions): Likewise.
28037 (setNativeBounds): Likewise.
28038 (gtkWidgetGetBackground): Likewise.
28039 (gtkWidgetGetForeground): Likewise.
28040 (gtkWidgetSetBackground): Likewise.
28041 (gtkWidgetSetForeground): Likewise.
28042 (setVisibleNativeUnlocked): Likewise.
28043 (isEnabled): Likewise.
28044 (isRealized): Likewise.
28045 (setNativeEventMask): Likewise.
28047 2006-03-09 Lillian Angel <langel@redhat.com>
28050 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
28051 (create): Added combobox widget to an event box.
28052 (connectSignals): Added call to choice_get_widget to get the
28053 combobox out of the event box.
28054 (append): Likewise.
28055 (nativeRemoveAll): Likewise.
28056 (nativeRemove): Likwise.
28057 (nativeAdd): Likewise.
28058 (selectNative): Likewise.
28059 (choice_get_widget): New function.
28060 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
28061 (create): Added list scroll window widget to an event box.
28062 (connectSignals): Changed call to use new function to get the
28063 correct widget out of the event box.
28064 (getWidgetModifyFont): Likewise.
28065 (getWidgetRequestFocus): Likewise.
28066 (append): Likewise.
28068 (delItems): Likewise.
28069 (select): Likewise.
28070 (deselect): Likewise.
28071 (getSize): Likewise.
28072 (getSelectedIndexes): Likewise.
28073 (makeVisible): Likewise.
28074 (setMultipleMode): Likewise.
28075 (list_get_widget): New function.
28076 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28077 (create): Added scrollpane to an eventbox.
28078 (setScrollPosition): Changed call to use new function to get the
28079 correct widget out of the event box.
28080 (gtkScrolledWindowSetHScrollIncrement): Likewise.
28081 (gtkScrolledWindowSetVScrollIncrement): Likewise.
28082 (getHScrollbarHeight): Likewise.
28083 (getVScrollbarWidth): Likewise.
28084 (setPolicy): Likewise.
28085 (scrollpane_get_widget): New function.
28086 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
28087 (connectSignals): Changed call to use new function to get the
28088 correct widget out of the event box.
28089 (create): Added scrollbar to an eventbox.
28090 (setLineIncrement): Changed call to use new function to get the
28091 correct widget out of the event box.
28092 (setPageIncrement): Likewise.
28093 (setBarValues): Likewise.
28094 (scrollbar_get_widget): New function.
28095 * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
28096 (create): Added text area scroll window widget to an event box.
28097 (connectSignals): Changed call to use new function to get the
28098 correct widget out of the event box.
28099 (insert): Likewise.
28100 (replaceRange): Likewise.
28101 (gtkWidgetModifyFont): Likewise.
28102 (gtkWidgetRequestFocus): Likewise.
28103 (getHScrollbarHeight): Likewise.
28104 (getVScrollbarWidth): Likewise.
28105 (getCaretPosition): Likewise.
28106 (setCaretPosition):Likewise.
28107 (getSelectionStart): Likewise.
28108 (getSelectionEnd): Likewise.
28109 (select): Likewise.
28110 (setEditable): Likewise.
28111 (getText): Likewise.
28112 (setText): Likewise.
28113 (textarea_get_widget): New function.
28115 2006-03-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28117 * java/rmi/dgc/VMID.java:
28118 (equals, hashCode, static initializer): Rewritten.
28119 * java/rmi/dgc/package.html: Documented.
28121 2006-03-09 Mark Wielaard <mark@klomp.org>
28123 * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
28125 (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
28126 (canCache): Likewise.
28127 (GtkClipboard): Take String argument.
28128 (getInstance): Removed.
28129 (getClipboardInstance, getSelectionInstance): New static methods.
28130 (setSystemContents): Make synchronized. Takes boolean argument.
28131 (initNativeState): Add clipboard and selection.
28132 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
28133 (announceClipboardChange, announcePrimaryChange): New static field.
28134 (announce): Take GtkClipboard as argument.
28135 (run): Check which clipboard to announce change for.
28136 * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
28138 (GtkSelection): Take GtkClipboard as argument.
28139 (requestText, requestImage, requestURIs, requestBytes): Add boolean
28140 clipboard argument.
28141 (requestMimeTypes): Likewise.
28142 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
28144 * java/awt/Toolkit.java (getSystemSelection): Document.
28145 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
28146 (cp_gtk_selection_instance): New var.
28147 (current_selection, owner): Removed.
28148 (clipboard_owner_change_cb): Use clipboard argument.
28149 (initNativeState): Store clipboard and selection instances. Cache
28150 setSystemContentsID, provideContentID, provideTextID, provideImageID,
28152 (clipboard_get_func): Use clipboard argument.
28153 (clipboard_clear_func): Likewise. Always call method.
28154 (advertiseContent): Don't cache method ids here. Check whether to
28155 use clpboard or selection. Don't set owner or current_selection.
28156 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
28157 (requestText, requestImage, requestURIs, requestBytes): Use extra
28158 boolean argument to select clipboard.
28159 * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
28160 (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
28161 * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
28162 * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
28164 2006-03-09 Keith Seitz <keiths@redhat.com>
28166 * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
28167 * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
28168 * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
28169 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
28170 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
28171 * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
28172 * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
28173 * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
28174 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
28176 2006-03-09 Mark Wielaard <mark@klomp.org>
28178 * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
28179 bounds for index is valid.
28180 * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
28182 (getCellBounds): Update documentation.
28184 2006-03-09 Arnaud Vandyck <avdyk@gnu.org>
28186 * .classpath: added exclude pattern on source folders
28187 (Makefiles, README and .cvsignore)
28189 2006-03-08 Michael Koch <konqueror@gmx.de>
28191 * java/net/Proxy.java (NO_PROXY): Made final.
28192 (equals): Likewise.
28193 (hashCode): Likewise.
28195 2006-03-08 Keith Seitz <keiths@redhat.com>
28197 * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
28198 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28199 (getClassMethod): New method.
28201 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28203 * java/rmi/server/UID.java (getMachineId): Include the host IP address.
28205 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28207 * java/rmi/server/ObjID.java: Documented and autoformatted.
28209 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28212 * tools/Makefile.am (install-data-local,
28213 uninstall-local): Install/uninstall the tools/README only.
28214 * tools/gnu/classpath/tools/giop/README: Updated.
28215 * tools/README: New file.
28217 2006-03-08 Lillian Angel <langel@redhat.com>
28219 * java/awt/GridBagLayout.java
28220 (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
28221 then the next item should be set to current_y (not 0).
28223 2006-03-08 Lillian Angel <langel@redhat.com>
28225 * java/awt/GridBagLayout.java
28226 (GetLayoutInfo): If gridy is RELATIVE and there is no component
28227 in the bottom-most spot of the column, we need to place that component
28228 at the y-location of the other components in that row. If there are
28229 no other components in that row, then place it at y = 0.
28231 2006-03-08 David Gilbert <david.gilbert@object-refinery.com>
28233 * javax/swing/ProgressMonitor.java: Updated API docs,
28234 * javax/swing/ProgressMonitorInputStream.java: Likewise.
28236 2006-03-08 Michael Koch <konqueror@gmx.de>
28238 * java/net/InetSocketAddress.java
28239 (InetSocketAddress(String,int,resolve)): New private contructor.
28240 (InetSocketAddress(String,int)): Use new private constructor.
28241 (createUnresolved): New method.
28243 2006-03-07 Michael Koch <konqueror@gmx.de>
28245 * gnu/java/net/DefaultProxySelector.java,
28246 java/net/Proxy.java, java/net/ProxySelector.java:
28249 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28251 * java/rmi/server/UID.java (constructor): Assign last and time fields
28254 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28256 * java/rmi/server/UID.java: New file (replacing).
28258 2006-03-08 Raif S. Naffah <raif@swiftdsl.com.au>
28260 * java/util/jar/Manifest.java: Removed unused imports.
28261 (CRLF): New constant.
28262 (read): Added method documentation.
28263 Use UTF-8 encoding instead of 8859_1.
28264 (write): Added method documentation.
28265 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28266 (write_main_section): Replace PrintWriter arg with OutputStream.
28267 Replace JarException with IOException.
28268 (write_version_info): Likewise.
28269 (write_main_attributes): Likewise.
28270 (write_attribute_entry): Likewise.
28271 (write_individual_sections): Likewise.
28272 (write_entry_attributes): Likewise.
28273 (write_header): Replace PrintWriter arg with OutputStream.
28276 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28278 * javax/swing/tree/DefaultMutableTreeNode.java
28279 (getFirstChild): Updated API docs,
28280 (getLastChild): Likewise,
28281 (getChildAfter): Likewise,
28282 (getChildBefore): Likewise,
28283 (isNodeSibling): Return true if node == this,
28284 (getSiblingCount): Updated API docs,
28285 (getNextSibling): Likewise,
28286 (getPreviousSibling): Likewise,
28287 (isLeaf): Likewise,
28288 (getFirstLeaf): Likewise,
28289 (getLastLeaf): Likewise,
28290 (getNextLeaf): Implemented,
28291 (getPreviousLeaf): Implemented.
28293 2006-03-07 Tom Tromey <tromey@redhat.com>
28295 * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
28296 * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
28297 * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
28298 * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
28301 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28303 * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
28304 (clone): Reimplemented,
28305 (add): Throw IllegalArgumentException if child is an ancestor,
28306 (remove(int)): Set child's parent to null,
28307 (remove(MutableTreeNode)): Check arguments and set child's parent to
28309 (insert): Check allowsChildren flag, check for null argument, and
28310 check for a node that is an ancestor,
28311 (getIndex): Throw IllegalArgumentException for null argument,
28312 (setAllowsChildren): If setting to false, remove existing children,
28313 (removeAllChildren): Set parent to null for removed children.
28315 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28317 * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
28320 2006-03-06 Tom Tromey <tromey@redhat.com>
28322 * java/lang/StrictMath.java (ulp): New methods.
28323 * java/lang/Math.java (ulp): New methods.
28325 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28327 * gnu/java/rmi/server/UnicastRef.java,
28328 * gnu/java/rmi/server/UnicastServer.java: Formatted.
28330 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28332 * gnu/java/rmi/server/CombinedClassLoader.java
28333 (findClass, findLibrary, findResouce, findResources): check
28334 all loaders in array.
28336 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28339 * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
28340 (RefProtector): new inner class. (dirty): Rewritten.
28341 * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
28342 dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
28343 new methods. (readExternal): Create LeaseRenewingTask if non local.
28344 * gnu/java/rmi/server/UnicastServer.java (objects):
28345 Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
28346 (getExported): New method.
28347 * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
28349 2006-03-06 Mark Wielaard <mark@klomp.org>
28351 * doc/www.gnu.org/announce/20060306.wml: New file.
28352 * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
28353 * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
28355 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28357 * javax/swing/plaf/metal/MetalLookAndFeel.java
28358 (initComponentDefaults): Use Boolean.TRUE for
28359 'CheckBoxMenuItem.borderPainted'.
28361 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28363 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28364 (dateFormat): Made private.
28365 (put): Replace only the last occurance and the value.
28366 (putAll): Reimplemented with the put method.
28368 2006-03-06 Lillian Angel <langel@redhat.com>
28371 * java/awt/List.java
28372 (preferredSize): Return the size of the list if the peer is
28374 * gnu/java/awt/peer/gtk/GtkListPeer.java
28375 (preferredSize): Code was returning the minimum size of the
28376 list. Added adjustment to the width of the list so it is a
28379 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28381 * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
28382 (getRequestProperty): Remove duplicated null check.
28383 * java/net/URLConnection.java:
28384 (URLConnection): Javadoc fix.
28385 (addRequestProperty): Likewise.
28386 (getDefaultRequestProperty): Likewise.
28387 (getHeaderField): Likewise.
28388 (getHeaderFieldDate): Likewise.
28389 (getHeaderFieldKey): Likewise.
28390 (getHeaderFields): Likewise.
28391 (getRequestProperties): Likewise.
28392 (getRequestProperty): Likewise.
28393 (setDefaultRequestProperty): Likewise.
28394 (setRequestProperty): Likewise.
28396 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28398 * examples/gnu/classpath/examples/swing/TextArea.java: New file.
28399 * examples/gnu/classpath/examples/swing/Demo.java:
28400 (mkButtonBar): Changed layout manager to GridLayout, added entry for
28402 (mkMenuBar): Added entry for text area example.
28404 2006-03-06 Tom Tromey <tromey@redhat.com>
28406 * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
28407 (FORMATTED_TEXT_FIELD): Likewise.
28409 2006-03-06 Tom Tromey <tromey@redhat.com>
28411 * javax/swing/plaf/synth/SynthPainter.java: Finished.
28413 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28415 * examples/gnu/classpath/examples/swing/Demo.java:
28416 (mkMenuBar): Added menu entry that will display the VM's name,
28417 version and distributor.
28419 2006-03-06 Tom Tromey <tromey@redhat.com>
28421 * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription):
28423 (getName): Likewise.
28425 2006-03-06 Raif S. Naffah <raif@swiftdsl.com.au>
28427 * java/util/jar/Manifest.java: Removed unused imports.
28428 (CRLF): New constant.
28429 (read): Added method documentation.
28430 Use UTF-8 encoding instead of 8859_1.
28431 (write): Added method documentation.
28432 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28433 (write_main_section): Replace PrintWriter arg with OutputStream.
28434 Replace JarException with IOException.
28435 (write_version_info): Likewise.
28436 (write_main_attributes): Likewise.
28437 (write_attribute_entry): Likewise.
28438 (write_individual_sections): Likewise.
28439 (write_entry_attributes): Likewise.
28440 (write_header): Replace PrintWriter arg with OutputStream.
28443 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28446 * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28447 API doc tag warnings,
28448 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28450 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28452 * gnu/java/net/protocol/file/Connection.java (unquote):
28453 Update position in buffer after decoding a unicode character
28454 outside of the basic plane.
28456 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28458 * java/net/URI.java
28459 (quote): Pass Unicode characters outside the basic plane through.
28461 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28463 * javax/swing/plaf/basic/BasicTextUI.java:
28464 (damageRange): Rewritten if-expressions to correctly identify the
28467 2006-03-06 Mark Wielaard <mark@klomp.org>
28469 * configure.ac: Set version to 0.90-generics.
28472 2006-03-06 Mark Wielaard <mark@klomp.org>
28474 Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28475 * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28476 (isnan): Define explicitly isnan if it is not a macro.
28478 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28480 * javax/swing/text/GapContent.java:
28481 (insertString): Throw exception when argument is below
28484 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28486 * javax/swing/text/PlainDocument.java:
28487 (insertUpdate): Extended if-expression, added
28488 code to generate another Element when newly inserted characters
28489 and old ones will be on the same line.
28491 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28493 * javax/swing/text/DefaultCaret.java:
28494 (mouseDragged): Do selection when shift is pressed.
28495 (mouseClicked): Implemented.
28497 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28499 * javax/swing/text/PlainDocument.java: Fix copyright header,
28501 (insertUpdate): Do not copy the whole document any more, added some
28502 more variables to prevent needless method calls.
28504 2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
28506 * configure.ac: Check for FREETYPE2. This is a reverted patch and
28507 is required on Darwin.
28508 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28509 (AM_CFLAGS): Likewise.
28511 2006-03-06 Mark Wielaard <mark@klomp.org>
28513 * NEWS: Add updates for 0.90 release.
28515 2006-03-05 Robert Schuster <robertschuster@fsfe.org>
28517 * javax/swing/text/GapContent.java:
28518 (insertString): Throw exception when argument is below
28521 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28524 * javax/swing/filechooser/FileFilter.java:
28525 (accept): Fixed API doc tag,
28526 (getDescription): Likewise,
28527 * javax/swing/filechooser/FileView.java:
28528 (isTraversable): Fixed API doc tag.
28530 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28532 * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28533 added API docs all over.
28535 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28537 * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28538 and corrected a bad API doc tag.
28540 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28542 * javax/swing/undo/StateEditable.java
28543 (restoreState): Fixed bad API doc tag,
28544 * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28545 AbstractUndoableEdit.java,
28546 * javax/swing/undo/UndoableEditSupport.java
28547 (createCompoundEdit): Fixed bad API doc tag,
28548 * javax/swing/undo/UndoManager.java
28549 (editToBeUndone): Fixed bad API doc tag,
28550 (editToBeRedone): Likewise.
28552 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28554 * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28555 * javax/swing/FocusManager.java: Likewise.
28558 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28561 * javax/swing/plaf/metal/MetalComboBoxButton.java
28562 (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28563 JList)): Fixed API doc tag,
28564 * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28565 (createLayout): Fixed API doc warning.
28567 2006-03-05 Tom Tromey <tromey@redhat.com>
28569 * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28570 ClassHelper.getUserName.
28571 * vm/reference/java/lang/reflect/Method.java (toString): Use
28572 ClassHelper.getUserName.
28573 (getUserTypeName): Removed.
28574 * gnu/java/lang/ClassHelper.java (getUserName): New method.
28575 * vm/reference/java/lang/reflect/Field.java (toString): Use
28576 ClassHelper.getUserName.
28578 2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com>
28581 * java/net/URLClassLoader.java (FileURLLoader.getResource):
28582 Allows directories as valid resources.
28584 2006-03-05 Mark Wielaard <mark@klomp.org>
28586 * configure.ac (VERSION): Set to 0.90-pre-generics.
28587 * Merge with CVS trunk from classpath-0_90-branch-point.
28589 2006-03-04 Tom Tromey <tromey@redhat.com>
28591 * javax/swing/SpringLayout.java (Constraints): New constructor.
28592 * javax/swing/Spring.java (width): New method.
28593 (height): Likewise.
28596 2006-03-04 Mark Wielaard <mark@klomp.org>
28598 * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28599 existing connection from pool before returning.
28601 2006-03-04 Mark Wielaard <mark@klomp.org>
28603 * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28604 exceptions thrown by handlers while cleaning up and rethrow original
28607 2006-03-04 Tom Tromey <tromey@redhat.com>
28609 * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28611 (findConstructor): Likewise.
28612 (instantiateClass): Likewise.
28614 2006-03-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28616 * gnu/java/rmi/dgc/DGCImpl.java: More comments, boilerplate fix.
28617 (dirty): Do not synchronize on Hashtable. Use the passed (requested)
28618 lease value and not always the default one.
28619 (LeaseRecord): Remember the array of objects, marked as dirty.
28620 java/rmi/dgc/Lease.java: Boilerplate fix.
28622 2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au>
28624 * java/util/jar/Attributes.java (putValue): Made it public and updated
28625 method documentation.
28627 2006-03-04 Mark Wielaard <mark@klomp.org>
28629 * java/awt/Container.java (remove(int)): Always call removeNotify()
28630 on removed Component.
28632 2006-03-04 Mark Wielaard <mark@klomp.org>
28634 Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28635 * javax/swing/JEditorPane.java (setText): Check for empty String
28636 with equals(), not equality (==).
28638 2006-03-04 Mark Wielaard <mark@klomp.org>
28640 * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28641 DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28643 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28645 * javax/swing/text/GapContent.java
28646 (getArray): Mark as final.
28648 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28650 * javax/swing/text/StyleConstants.java
28651 (CharacterConstants.Background): Marked final,
28652 (CharacterConstants.BidiLevel): Likewise,
28653 (CharacterConstants.Bold): Likewise,
28654 (CharacterConstants.ComponentAttribute): Likewise,
28655 (CharacterConstants.Family): Likewise,
28656 (CharacterConstants.Size): Likewise,
28657 (CharacterConstants.Foreground): Likewise,
28658 (CharacterConstants.IconAttribute): Likewise,
28659 (CharacterConstants.Italic): Likewise,
28660 (CharacterConstants.StrikeThrough): Likewise,
28661 (CharacterConstants.Subscript): Likewise,
28662 (CharacterConstants.Superscript): Likewise,
28663 (CharacterConstants.Underline): Likewise,
28664 (ColorConstants.Foreground): Likewise,
28665 (ColorConstants.Background): Likewise,
28666 (FontConstants.Bold): Likewise,
28667 (FontConstants.Family): Likewise,
28668 (FontConstants.Italic): Likewise,
28669 (FontConstants.Size): Likewise,
28670 (ParagraphConstants.Alignment): Likewise,
28671 (ParagraphConstants.FirstLineIndent): Likewise,
28672 (ParagraphConstants.LeftIndent): Likewise,
28673 (ParagraphConstants.LineSpacing): Likewise,
28674 (ParagraphConstants.Orientation): Likewise,
28675 (ParagraphConstants.RightIndent): Likewise,
28676 (ParagraphConstants.SpaceAbove): Likewise,
28677 (ParagraphConstants.SpaceBelow): Likewise,
28678 (ParagraphConstants.TabSet): Likewise.
28680 2006-03-03 Tom Tromey <tromey@redhat.com>
28682 * javax/net/ssl/SSLException.java: Added missing @since.
28685 2006-03-03 Tom Tromey <tromey@redhat.com>
28687 * javax/net/ssl/SSLException.java (SSLException): New constructors.
28688 (serialVersionUID): New field.
28690 2006-03-03 Tom Tromey <tromey@redhat.com>
28692 * java/security/spec/InvalidKeySpecException.java
28693 (InvalidKeySpecException): New constructors.
28694 * java/security/cert/CertificateParsingException.java
28695 (CertificateParsingException): New constructors.
28696 * java/security/cert/CertificateEncodingException.java
28697 (CertificateEncodingException): New constructors.
28698 * java/security/cert/CertificateException.java (CertificateException):
28700 * java/security/cert/CRLException.java (CRLException): New
28703 2006-03-03 Tom Tromey <tromey@redhat.com>
28705 * java/security/SignatureException.java (SignatureException): New
28707 * java/security/ProviderException.java (ProviderException): New
28709 * java/security/NoSuchAlgorithmException.java
28710 (NoSuchAlgorithmException): New constructors.
28711 * java/security/KeyStoreException.java (KeyStoreException): New
28713 * java/security/KeyManagementException.java (KeyManagementException):
28715 * java/security/InvalidKeyException.java (InvalidKeyException): New
28717 * java/security/KeyException.java (KeyException): New constructors.
28718 * java/security/InvalidAlgorithmParameterException.java
28719 (InvalidAlgorithmParameterException): New constructors.
28720 * java/security/DigestException.java (DigestException): New
28722 * java/security/GeneralSecurityException.java
28723 (GeneralSecurityException): New constructors.
28725 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28727 * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc
28729 * javax/swing/event/DocumentEvent.java: Likewise,
28730 * javax/swing/event/EventListenerList.java: Likewise,
28731 * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28732 * javax/swing/event/MenuKeyEvent.java: Likewise,
28733 * javax/swing/event/TableColumnModelEvent.java: Likewise,
28734 * javax/swing/event/TreeExpansionEvent.java: Likewise,
28735 * javax/swing/event/TreeModelEvent.java: Likewise,
28736 * javax/swing/event/TreeSelectionEvent.java: Likewise,
28737 * javax/swing/event/UndoableEditEvent.java: Likewise.
28739 2006-03-03 Tom Tromey <tromey@redhat.com>
28741 * java/awt/Insets.java (set): New method.
28742 (equals): Added @since.
28744 2006-03-03 David Daney <ddaney@avtrex.com>
28746 * gnu/java/net/protocol/http/HTTPURLConnection.java
28747 (getRequestProperties): Rewrote.
28748 (addRequestProperty): Rewrote.
28749 (getHeaderFields): Rewrote.
28750 (getHeaderField): Rewrote.
28751 (getHeaderFieldKey): Rewrote.
28752 (getHeaderField): Removed useless cast.
28753 * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28754 * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28756 (notifyHeaderHandlers): Use new Headers interface.
28758 2006-03-03 Tom Tromey <tromey@redhat.com>
28760 * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28761 * javax/naming/spi/ResolveResult.java,
28762 javax/naming/event/NamingExceptionEvent.java,
28763 javax/naming/event/NamingEvent.java,
28764 javax/naming/directory/SearchResult.java,
28765 javax/naming/directory/SearchControls.java,
28766 javax/naming/directory/SchemaViolationException.java,
28767 javax/naming/directory/NoSuchAttributeException.java,
28768 javax/naming/directory/ModificationItem.java,
28769 javax/naming/directory/InvalidSearchFilterException.java,
28770 javax/naming/directory/InvalidSearchControlsException.java,
28771 javax/naming/directory/InvalidAttributesException.java,
28772 javax/naming/directory/InvalidAttributeIdentifierException.java,
28773 javax/naming/directory/AttributeModificationException.java,
28774 javax/naming/directory/AttributeInUseException.java,
28775 javax/naming/TimeLimitExceededException.java,
28776 javax/naming/SizeLimitExceededException.java,
28777 javax/naming/PartialResultException.java,
28778 javax/naming/Reference.java,
28779 javax/naming/ServiceUnavailableException.java,
28780 javax/naming/OperationNotSupportedException.java,
28781 javax/naming/NotContextException.java,
28782 javax/naming/NoPermissionException.java,
28783 javax/naming/NoInitialContextException.java,
28784 javax/naming/NameNotFoundException.java,
28785 javax/naming/NameAlreadyBoundException.java,
28786 javax/naming/NameClassPair.java,
28787 javax/naming/MalformedLinkException.java,
28788 javax/naming/LinkLoopException.java,
28789 javax/naming/LinkException.java,
28790 javax/naming/LimitExceededException.java,
28791 javax/naming/InvalidNameException.java,
28792 javax/naming/InterruptedNamingException.java,
28793 javax/naming/InsufficientResourcesException.java,
28794 javax/naming/ContextNotEmptyException.java,
28795 javax/naming/ConfigurationException.java,
28796 javax/naming/CannotProceedException.java,
28797 javax/naming/CommunicationException.java,
28798 javax/naming/Binding.java,
28799 javax/naming/AuthenticationNotSupportedException.java,
28800 javax/naming/AuthenticationException.java: Added serialVersionUID.
28802 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28804 * javax/swing/event/TableColumnModelEvent.java: Reformatted.
28806 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28808 * javax/swing/event/TableModelListener.java: Updated API docs.
28810 2006-03-03 Mark Wielaard <mark@klomp.org>
28812 * java/awt/Component.java (addNotify): Expand documentation.
28814 2006-03-03 Mark Wielaard <mark@klomp.org>
28816 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
28817 Always call setParentAndBounds().
28818 (setComponentBounds): Always call setBounds().
28819 (setBounds): Call setVisible().
28820 (setVisible): If no pixels are showing then don't make it visible.
28821 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
28822 to call setParentAndBounds() anymore.
28824 2006-03-03 Roman Kennke <kennke@aicas.com>
28826 * javax/swing/JInternalFrame.java
28827 (JInternalFrame): Set frame invisible.
28828 (show): Reformatted.
28829 * javax/swing/plaf/basic/BasicInternalFrameUI.java
28830 (installDefaults): Do not set invisible here.
28832 2006-03-03 Roman Kennke <kennke@aicas.com>
28834 * java/awt/Toolkit.java
28835 (getScreenInsets): Return (0,0,0,0) here.
28837 2006-03-03 Roman Kennke <kennke@aicas.com>
28839 * javax/swing/text/FlowView.java
28840 (FlowStrategy.layoutRow): Added check for rowCount == 0.
28841 (FlowStrategy.getLogicalView): Made method protected.
28843 2006-03-03 Chris Burdess <dog@gnu.org>
28845 * gnu/xml/validation/relaxng/AnyNameNameClass.java,
28846 gnu/xml/validation/relaxng/AttributePattern.java,
28847 gnu/xml/validation/relaxng/ChoiceNameClass.java,
28848 gnu/xml/validation/relaxng/ChoicePattern.java,
28849 gnu/xml/validation/relaxng/DataPattern.java,
28850 gnu/xml/validation/relaxng/Define.java,
28851 gnu/xml/validation/relaxng/ElementPattern.java,
28852 gnu/xml/validation/relaxng/EmptyPattern.java,
28853 gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
28854 gnu/xml/validation/relaxng/Grammar.java,
28855 gnu/xml/validation/relaxng/GrammarException.java,
28856 gnu/xml/validation/relaxng/GrammarValidator.java,
28857 gnu/xml/validation/relaxng/GroupPattern.java,
28858 gnu/xml/validation/relaxng/InterleavePattern.java,
28859 gnu/xml/validation/relaxng/ListPattern.java,
28860 gnu/xml/validation/relaxng/NSNameNameClass.java,
28861 gnu/xml/validation/relaxng/NameClass.java,
28862 gnu/xml/validation/relaxng/NameNameClass.java,
28863 gnu/xml/validation/relaxng/NotAllowedPattern.java,
28864 gnu/xml/validation/relaxng/OneOrMorePattern.java,
28865 gnu/xml/validation/relaxng/Param.java,
28866 gnu/xml/validation/relaxng/Pattern.java,
28867 gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
28868 gnu/xml/validation/relaxng/RefPattern.java,
28869 gnu/xml/validation/relaxng/TextPattern.java,
28870 gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
28871 builder and data model.
28872 * gnu/xml/validation/xmlschema/AnyAttribute.java,
28873 gnu/xml/validation/xmlschema/AttributeDeclaration.java,
28874 gnu/xml/validation/xmlschema/AttributeUse.java,
28875 gnu/xml/validation/xmlschema/ComplexType.java,
28876 gnu/xml/validation/xmlschema/ElementDeclaration.java,
28877 gnu/xml/validation/xmlschema/Particle.java,
28878 gnu/xml/validation/xmlschema/ValidationException.java,
28879 gnu/xml/validation/xmlschema/XMLSchema.java,
28880 gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
28881 gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
28882 gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
28883 gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
28884 gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
28885 gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
28886 gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
28887 gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
28888 W3C XML Schema builder and schema components.
28889 * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
28890 XML Schema namespace URIs.
28892 2006-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
28894 * NEWS: Add entry for --enable-collections.
28895 * configure.ac: Add --enable-collections option.
28896 * lib/Makefile.am (collections.jar): New target.
28897 (glibj_DATA): Add $(COLLECTIONS).
28898 * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
28899 configure substitution.
28900 (classpath): Read from command line.
28901 (javautilclasses): Remove BasicMapEntry. Add RandomAccess.
28903 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28905 * javax/swing/SpringLayout.java: Fixed API doc warnings.
28907 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28909 * javax/swing/event/ListSelectionEvent.java
28910 (toString): Implemented,
28911 plus updated API docs all over.
28913 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28915 * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
28917 * javax/swing/event/ListSelectionListener.java: Updated API docs.
28919 2006-03-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28921 * gnu/java/rmi/dgc/DGCImpl.java,
28922 java/rmi/dgc/DGC.java,
28923 java/rmi/dgc/Lease.java: Formatted and commented.
28925 2006-03-03 Roman Kennke <kennke@aicas.com>
28927 * NEWS: Added comment about text highlighting and copy+paste
28930 2006-03-03 Roman Kennke <kennke@aicas.com>
28932 * javax/swing/JTabbedPane.java
28933 (remove(int)): Call super.remove(int) instead of remove(Component).
28934 Avoids a stack overflow.
28936 2006-03-03 Roman Kennke <kennke@aicas.com>
28938 * javax/swing/JTable.java
28939 (distributeSpillResizing): Avoid ArithmeticException by checking
28942 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28944 * javax/swing/text/package.html: Added package description.
28946 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28948 * javax/swing/CellRendererPane.java: Minor API doc fix,
28949 * javax/swing/ComboBoxModel.java: Updated API docs.
28951 2006-03-03 Chris Burdess <dog@gnu.org>
28954 * gnu/xml/stream/EntityReferenceImpl.java,
28955 gnu/xml/stream/FilteredEventReader.java,
28956 gnu/xml/stream/SAXParser.java,
28957 gnu/xml/stream/XIncludeFilter.java,
28958 gnu/xml/stream/XMLEventAllocatorImpl.java,
28959 gnu/xml/stream/XMLEventFactoryImpl.java,
28960 gnu/xml/stream/XMLEventImpl.java,
28961 gnu/xml/stream/XMLEventReaderImpl.java,
28962 gnu/xml/stream/XMLEventWriterImpl.java,
28963 gnu/xml/stream/XMLInputFactoryImpl.java,
28964 gnu/xml/stream/XMLOutputFactoryImpl.java,
28965 gnu/xml/stream/XMLParser.java,
28966 javax/xml/stream/EventFilter.java,
28967 javax/xml/stream/Location.java,
28968 javax/xml/stream/StreamFilter.java,
28969 javax/xml/stream/XMLEventFactory.java,
28970 javax/xml/stream/XMLEventReader.java,
28971 javax/xml/stream/XMLEventWriter.java,
28972 javax/xml/stream/XMLInputFactory.java,
28973 javax/xml/stream/XMLOutputFactory.java,
28974 javax/xml/stream/XMLReporter.java,
28975 javax/xml/stream/XMLResolver.java,
28976 javax/xml/stream/XMLStreamConstants.java,
28977 javax/xml/stream/XMLStreamReader.java,
28978 javax/xml/stream/events/EntityDeclaration.java,
28979 javax/xml/stream/events/EntityReference.java,
28980 javax/xml/stream/events/XMLEvent.java,
28981 javax/xml/stream/util/EventReaderDelegate.java,
28982 javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
28983 StAX API as specified in JWSDP 2.0.
28984 * gnu/xml/stream/EndEntityImpl.java,
28985 gnu/xml/stream/LocationImpl.java,
28986 gnu/xml/stream/StartEntityImpl.java,
28987 gnu/xml/stream/XMLStreamReaderImpl.java,
28988 javax/xml/stream/XMLFilter.java,
28989 javax/xml/stream/XMLIterator.java,
28990 javax/xml/stream/events/EndEntity.java,
28991 javax/xml/stream/events/StartEntity.java: Removed legacy files.
28993 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28995 * javax/swing/CellEditor.java: API doc updates,
28996 * javax/swing/DefaultCellEditor.java: Likewise.
28998 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29000 * javax/swing/AbstractListModel.java:
29001 (AbstractListModel): Added API docs,
29002 (fireContentsChanged): Minor API doc correction,
29003 (fireIntervalAdded): Likewise,
29004 (fireIntervalRemoved): Likewise.
29006 2006-03-03 Roman Kennke <kennke@aicas.com>
29008 * NEWS: Added paragraph about Swing improvements.
29010 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29012 * javax/swing/AbstractAction.java: Updated API docs all over,
29013 * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
29014 (stopCellEditing): Minor API doc correction,
29015 * javax/swing/UnsupportedLookAndFeelException.java
29016 (UnsupportedLookAndFeelException): Changed argument name, updated API
29019 2006-03-03 Roman Kennke <kennke@aicas.com>
29021 * javax/swing/plaf/metal/MetalUtils.java
29022 (fillMetalPattern): Added switch to not use Graphics2D methods,
29023 even if they are available.
29025 2006-03-03 Roman Kennke <kennke@aicas.com>
29027 * javax/swing/plaf/basic/BasicHTML.java
29028 (isHTMLString): Check for string beeing null.
29029 * javax/swing/plaf/basic/BasicInternalFrameUI.java
29030 (BasicInternalFrameListener.internalFrameActivated): Implemented.
29031 (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
29032 (InternalFrameLayout): Don't touch the glass pane here.
29033 (installUI): Fix handling of glass pane.
29034 * javax/swing/plaf/basic/BasicLabelUI.java
29038 (BasicLabelUI): Initialize new fields.
29039 (getPreferredSize): Avoid creating new Rectangles by using
29040 SwingUtilities method.
29041 (paint): Avoid creating new Rectangles by reusing
29042 new fields. Added some preliminary handling of HTML inside the
29044 (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
29045 (uninstallComponents): Clear HTML renderer.
29046 (propertyChange): Check for HTML text and install renderer if
29048 * javax/swing/plaf/basic/BasicListUI.java
29049 (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
29051 * javax/swing/plaf/basic/BasicTextUI.java
29052 (RootView.getStartOffset): Implemented.
29053 (RootView.getEndOffset): Implemented.
29054 (RootView.getDocument): Implemented.
29056 2006-03-03 Roman Kennke <kennke@aicas.com>
29058 * javax/swing/text/DefaultStyledDocument.java
29059 (ElementBuffer.inserUpdate): Added check for zero-length
29061 * javax/swing/text/DefaultStyledDocument.java
29062 (setIndex): Improved exception message.
29063 * javax/swing/text/TableView.java
29064 Made class abstract.
29065 (TableRow.replace): Probably extend columnRequirements
29067 (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
29068 of super.layoutMajorAxis.
29069 (columnRequirements): Made field package private.
29070 (TableView): Do not load any child views here.
29071 (layoutColumns): Implemented this method.
29072 (updateColumnRequirements): New helper method.
29073 * javax/swing/text/Utilities.java
29074 (getBreakLocation): Also take offset into account when
29075 finding end location.
29076 * javax/swing/text/html/HTMLDocument.java
29077 (HTMLReader.parseStack): New field.
29078 (HTMLReader.blockOpen): Properly handle p-implied tags.
29079 (HTMLReader.blockClose): Properly handle p-implied and empty tags.
29080 (HTMLReader.addContent): Insert p-implied when adding content to
29082 * javax/swing/text/html/HTMLEditorKit.java
29083 (HTMLFactory.create): Create HTMLTableView for <table> tags and
29084 ParagraphView for TD tags. Print out warning for tags that don't have
29085 matching view yet and create NullView for them.
29086 (read): Only set document base when document != null.
29087 * javax/swing/text/html/HTMLTableView.java:
29090 2006-03-03 Roman Kennke <kennke@aicas.com>
29092 * javax/swing/plaf/basic/BasicHTML.java
29093 (HTMLRootView): New inner class.
29094 (createHTMLView): Embed view inside a HTMLRootView.
29096 2006-03-03 Wolfgang Baer <WBaer@gmx.de>
29098 * gnu/java/net/protocol/jar/Connection.java:
29099 (connect): Throw FileNotFoundException.
29100 (getInputStream): Remove duplicated code.
29102 2006-03-03 Roman Kennke <kennke@aicas.com>
29104 * javax/swing/RepaintManager.java
29105 (commitBuffer): Added null check for clip.
29107 2006-03-02 Lillian Angel <langel@redhat.com>
29109 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29110 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
29111 to use GtkWidget instead of GTKMenu.
29113 2006-03-02 Lillian Angel <langel@redhat.com>
29115 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29116 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to
29117 use the submenu to get the list of children. This now works
29118 in the same way as addItem.
29120 2006-03-02 Anthony Balkissoon <abalkiss@redhat.com>
29122 * java/lang/StringBuilder.java:
29123 (codePointAt): New method.
29124 (codePointBefore): Likewise.
29125 (codePointCount): Likewise.
29126 (trimToSize): Likewise.
29128 2006-03-02 Tom Tromey <tromey@redhat.com>
29130 * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
29132 2006-03-02 Tom Tromey <tromey@redhat.com>
29134 * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
29135 (getProviderInstance):
29137 2006-03-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
29139 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
29140 Fix regression caused by move to VM variant.
29141 PR classpath/22926.
29143 2006-03-01 Tom Tromey <tromey@redhat.com>
29145 * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
29146 * vm/reference/java/net/VMInetAddress.java: Organized imports.
29147 * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
29148 imports for javadoc.
29149 (getProxyClass): Javadoc fixes.
29150 (getProxyData): Likewise.
29151 (generateProxyClass): Likewise.
29152 * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
29153 (setOut): Likewise.
29154 (setErr): Likewise.
29155 * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
29156 * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
29158 * vm/reference/java/lang/VMClass.java (getComponentType): Import for
29160 (getModifiers): Likewise.
29161 (getDeclaredClasses): Javadoc fix.
29162 (getDeclaredFields): Likewise.
29163 (getDeclaredMethods): Likewise.
29164 (getDeclaredConstructors): Likewise.
29165 * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
29168 2006-03-01 Tom Tromey <tromey@redhat.com>
29170 * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
29171 * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
29172 (getVersion): Javadoc fix.
29174 * gnu/java/net/protocol/http/Headers.java: Organized imports.
29175 * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
29177 2006-03-01 David Daney <ddaney@avtrex.com>
29179 * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
29180 as relative if it contains a colon but no protocol handler can be
29183 2006-03-01 Roman Kennke <kennke@aicas.com>
29185 * javax/swing/text/AbstractDocument.java
29186 (LeafElement.LeafElement): Handle delta with respect to content
29187 length not document length.
29188 * javax/swing/text/CompositeView.java
29189 (getViewIndex): Handle bias correctly.
29190 * javax/swing/text/DefaultCaret.java
29191 (paint): Align caret position to document bounds to avoid trouble
29192 when removing large portions of content.
29193 * javax/swing/text/DefaultStyledDocument.java
29194 (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
29195 (ElementBuffer.createFracture): Copy old childs attribute. The
29196 ElementSpec usually doesn't carry attribute information.
29197 Use pos instead of offset.
29198 (ElementBuffer.insertFracture): Use pos instead of offset.
29199 (createDefaultRootElement): Don't use create* and instead directly
29200 instantiate the elements.
29201 (handleInsertAfterNewline): Compare the paragraphs startOffset
29202 rather than previous paragraphs endOffset.
29203 * javax/swing/text/JTextComponent.java
29204 (getScrollableTracksViewportWidth): Remove unnecessary cast to
29206 (getScrollableTracksViewportHeight): Remove unnecessary cast to
29208 * javax/swing/text/PlainView.java
29209 (damageLineRange): Avoid creating new Rectangle by using
29211 * javax/swing/text/View.java
29212 (forwardUpdate): Correct the use of bias.
29213 (modelToView): Avoid new Rectangles by using SwingUtilities.
29214 (dump): Made (temprorarily) protected for use in BasicTextUI.
29215 (dump(int)): Dump out the element of the view.
29217 2006-03-01 Lillian Angel <langel@redhat.com>
29219 * NEWS: javax.imageio.plugins.bmp implementation.
29221 2006-03-01 Lillian Angel <langel@redhat.com>
29223 * javax/imageio/ImageWriteParam.java:
29224 Added documentation for fields.
29225 * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
29226 New class implemented.
29228 2006-03-01 Tom Tromey <tromey@redhat.com>
29230 * NEWS: Mention java.util.prefs update.
29232 2006-03-01 Tom Tromey <tromey@redhat.com>
29234 * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
29235 * java/nio/charset/UnmappableCharacterException.java:
29236 (serialVersionUID): New field.
29237 * java/nio/charset/MalformedInputException.java:
29238 (serialVersionUID): New field.
29239 * java/nio/charset/CoderMalfunctionError.java:
29240 (serialVersionUID): New field.
29241 * java/nio/charset/CharacterCodingException.java:
29242 (serialVersionUID): New field.
29243 * java/nio/channels/UnsupportedAddressTypeException.java:
29244 (serialVersionUID): New field.
29245 * java/nio/channels/UnresolvedAddressException.java:
29246 (serialVersionUID): New field.
29247 * java/nio/channels/OverlappingFileLockException.java:
29248 (serialVersionUID): New field.
29249 * java/nio/channels/NotYetConnectedException.java:
29250 (serialVersionUID): New field.
29251 * java/nio/channels/NotYetBoundException.java
29252 (serialVersionUID): New field.
29253 * java/nio/channels/NonWritableChannelException.java
29254 (serialVersionUID): New field.
29255 * java/nio/channels/NonReadableChannelException.java
29256 (serialVersionUID): New field.
29257 * java/nio/channels/NoConnectionPendingException.java
29258 (serialVersionUID): New field.
29259 * java/nio/channels/IllegalSelectorException.java
29260 (serialVersionUID): New field.
29261 * java/nio/channels/IllegalBlockingModeException.java
29262 (serialVersionUID): New field.
29263 * java/nio/channels/FileLockInterruptionException.java
29264 (serialVersionUID): New field.
29265 * java/nio/channels/ConnectionPendingException.java
29266 (serialVersionUID): New field.
29267 * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
29269 * java/nio/channels/ClosedChannelException.java (serialVersionUID):
29271 * java/nio/channels/ClosedByInterruptException.java
29272 (serialVersionUID): New field.
29273 * java/nio/channels/CancelledKeyException.java (serialVersionUID):
29275 * java/nio/channels/AsynchronousCloseException.java
29276 (serialVersionUID): New field.
29277 * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
29279 * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
29280 * java/nio/InvalidMarkException.java (serialVersionUID): New field.
29281 * java/nio/BufferUnderflowException.java (serialVersionUID): New
29283 * java/nio/BufferOverflowException.java (serialVersionUID): New field.
29284 * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
29285 Javadoc fix. Added import.
29286 * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
29287 (validOps): Likewise.
29288 * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
29289 * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
29290 * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
29291 * java/nio/channels/Channels.java: Added import.
29292 * java/nio/channels/FileChannel.java (lock): Typo fix.
29293 (tryLock): Likewise.
29295 2006-03-01 Tom Tromey <tromey@redhat.com>
29297 * java/util/prefs/Preferences.java (defaultFactoryClass): Use
29299 * gnu/java/util/prefs/FileBasedPreferences.java: New file.
29300 * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
29302 (putSpi): Likewise.
29303 (newNode): Likewise.
29305 * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
29306 * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
29308 (systemRoot): Use it.
29309 (userPreferences): New field.
29310 (userRoot): Use it.
29312 2006-03-01 Jeroen Frijters <jeroen@frijters.net>
29314 * java/util/ResourceBundle.java
29315 (tryBundle): Catch and ignore all Exceptions.
29317 2006-02-28 Roman Kennke <kennke@aicas.com>
29319 * javax/swing/plaf/basic/BasicScrollBarUI.java
29320 (getPreferredSize): Fixed add a fixed space between the buttons
29321 instead of something related to min/max.
29322 (installComponents): Create and install buttons here.
29323 (installDefaults): Don't create buttons here.
29324 * javax/swing/plaf/metal/MetalScrollBarUI.java
29325 (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
29326 (getPreferredSize): New method.
29328 2006-02-28 David Gilbert <david.gilbert@object-refinery.com>
29330 * examples/gnu/classpath/examples/swing/Demo.java
29331 (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29332 connected 'Spinner' action to SpinnerDemo,
29333 (mkCheckbox): Removed,
29334 (mkRadio): Likewise,
29335 (mkSpinner): Likewise,
29336 (mkToggle): Likewise,
29337 (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29338 connected 'Spinner' action to SpinnerDemo.
29340 2006-02-28 Wolfgang Baer <WBaer@gmx.de>
29342 * javax/print/ServiceUIFactory.java: Added documentation to class.
29344 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29347 * javax/swing/DefaultListSelectionModel.java:
29348 (addSelectionInterval): Return early if either of the arguments is -1.
29349 (removeSelectionInterval): Likewise.
29350 (setSelectionInterval): Likewise.
29352 2006-02-28 Lillian Angel <langel@redhat.com>
29354 * javax/swing/text/DefaultFormatter.java
29355 (stringToValue): Added NPE check.
29357 2006-02-28 Roman Kennke <kennke@aicas.com>
29360 * javax/swing/JList.java
29361 (getPreferredScrollableViewportSize): Restored specified behaviour.
29362 * javax/swing/plaf/metal/MetalFileChooserUI.java
29363 (createList): Set filelist panel's preferredSize, so that it doesn't
29364 get size into infinity for big lists.
29366 2006-02-28 Lillian Angel <langel@redhat.com>
29368 * javax/swing/ViewportLayout.java
29369 (layoutContainer): Should not extend container to be
29370 minimum size. Mauve test shows that the preferred size
29371 and the size of the viewport can be set smaller than
29374 2006-02-28 Lillian Angel <langel@redhat.com>
29377 * javax/swing/JList.java
29378 (getPreferredScrollableViewportSize): Added a check to determine
29379 if orientation is VERTICAL_WRAP. If it is, we should only
29382 2006-02-28 Lillian Angel <langel@redhat.com>
29385 * javax/swing/ViewportLayout.java:
29386 Patch submitted by Audrius Meskauskas
29387 (addLayoutComponent): Added documentation.
29388 (removeLayoutComponent): Likewise.
29389 (preferredLayoutSize): Likewise.
29390 (minimumLayoutSize): Likewise.
29391 (layoutContainer): Fixed code, so view is set
29392 to the right position when inside a scrollpane.
29394 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29396 * java/math/BigInteger.java:
29397 Committed patch by Rafael:
29398 developer.classpath.org/pipermail/classpath-patches/
29399 2006-February/000473.html
29400 (signum): Return early 0 if words == null and ival == 0.
29401 (readObject): Handle special case of magnitude.length or signum being
29403 (writeObject): If signum is zero return a zero-sized byte[].
29405 2006-02-28 Lillian Angel <langel@redhat.com>
29407 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29408 (create): Initially set the directory to the current working directory.
29409 (setDirectory): Removed else-if. No need for this check.
29411 2006-02-28 Tom Tromey <tromey@redhat.com>
29413 * .project: Run java builder before header generation.
29415 2006-02-28 Tom Tromey <tromey@redhat.com>
29417 * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
29419 * gnu/java/util/prefs/EventDispatcher.java: New file.
29420 * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29421 (NodeWriter): Specify UTF-8.
29422 (writeHeader): Emit DOCTYPE.
29423 * java/util/prefs/Preferences.java (getFactory): Add cause to
29425 (exportNode): Documented.
29426 (exportSubtree): Likewise.
29427 (importPreferences): Likewise.
29428 * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29429 (writeObject): Likewise.
29430 * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29431 (writeObject): Likewise.
29432 * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29433 (nodeListeners): New field.
29434 (preferenceListeners): Likewise.
29435 (addNodeChangeListener): Implemented.
29436 (addPreferenceChangeListener): Likewise.
29437 (removeNodeChangeListener): Likewise.
29438 (removePreferenceChangeListener): Likewise.
29439 (fire): New methods.
29441 (remove): Likewise.
29442 (purge): Likewise. Fixed synchronization.
29443 (removeNode): Fixed synchronization.
29444 (getNode): Fire event.
29445 (flushNode): Fixed synchronization.
29447 2006-02-28 Roman Kennke <kennke@aicas.com>
29449 * javax/swing/text/BranchElement.java
29450 (startOffset): New field.
29451 (endOffset): New field.
29452 (BranchElement): Initialize new fields.
29453 (getEndOffset): Rewritten to possibly return cached values
29454 if element has no children.
29455 (getStartOffset): Rewritten to possibly return cached values
29456 if element has no children.
29457 * javax/swing/text/LeafElement.java
29458 (startDelta): New field.
29459 (endDelta): New field.
29460 (LeafElement): Handle possible delta of start/endOffset when
29461 these parameters lie outside the document range.
29462 (getStartOffset): Handle possible startDelta.
29463 (getEndOffset): Handle possible startDelta.
29465 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29467 * NEWS: Added line about Unicode 4.0.0 support.
29469 2006-02-28 Roman Kennke <kennke@aicas.com>
29471 * javax/swing/SwingUtilities.java
29472 (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29474 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29476 * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29478 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29480 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29481 Amended class documentation.
29482 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29484 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29485 a BIT STRING construct.
29486 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29488 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29490 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29491 a BIT STRING construct.
29492 * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29493 (engineVerify): Added logging.
29495 2006-02-28 Roman Kennke <kennke@aicas.com>
29497 * java/awt/Component.java
29498 (dispatchEventImpl): Let the Toolkit dispatch global events.
29499 * java/awt/Container.java
29500 (dispatchEventImpl): Let the LightweightDispatcher handle events
29502 * java/awt/EventQueue.java
29503 (dispatchEvent): Don't do the global event dispatching here. This
29504 is moved to the Component.
29505 (globalDispatchEvent): Moved this method to Toolkit.
29506 * java/awt/LightweightDispatcher.java
29507 (instances): New field.
29508 (getInstance): New method. Delivers an instance of
29509 LightweightDispatcher.
29510 (LightweightDispatcher): Made default constructor private.
29511 (dispatchEvent): New method. Replaces the eventDispatched method.
29512 This now returns true when the event was actually dispatched.
29513 (eventDispatched): Replaced by dispatchEvent.
29514 (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29515 received the last MOUSE_RELEASED.
29516 * java/awt/Toolkit.java
29517 (Toolkit): Don't register LightweightDispatcher as global event
29519 (globalDispatchEvent): Moved here from EventQueue.
29521 2006-02-27 David Daney <ddaney@avtrex.com>
29524 * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29526 (getRequestProperties): Rewrote.
29528 2006-02-27 David Daney <ddaney@avtrex.com>
29531 * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29533 (ChunkedInputStream): Extend InputStream.
29535 (headers): Moved to top of class.
29536 (constructor): Save referenct to in.
29537 (read(byte[])): Removed method.
29538 (read(byte[], int, int)): Made synchronized and throw IOException
29539 on error parsing chunk header.
29540 (available): New method.
29541 (close): New method.
29543 2006-02-27 David Daney <ddaney@avtrex.com>
29545 * gnu/java/net/protocol/http/HTTPURLConnection.java
29546 (imports): Cleaned up.
29547 (GetHTTPPropertiesAction): Removed, and moved contents to ...
29548 (constructor): ... Here, using SystemProperties instead of System.
29550 2006-02-27 Lillian Angel <langel@redhat.com>
29552 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29553 (setDirectory): GtkFileChooser requires an absolute directory
29554 name. Added a check to make the directory passed to nativeSetDirectory
29557 2006-02-27 Roman Kennke <kennke@aicas.com>
29559 * javax/swing/SwingUtilities.java
29560 (computeIntersection): Changed to store result in rect, instead of
29561 creating new Rectangle instances. Fixed API docs accordingly.
29562 (computeUnion): Changed to store result in rect, instead of
29563 creating new Rectangle instances. Fixed API docs accordingly.
29565 2006-02-27 Roman Kennke <kennke@aicas.com>
29567 * javax/swing/JViewport.java
29568 (static_init): Changed default scrollmode to BLIT.
29569 (paintSimple): Added some clipping to avoid painting problems.
29570 (paintBlit): Added some clipping to avoid painting problems.
29572 2006-02-27 Roman Kennke <kennke@aicas.com>
29574 * javax/swing/JComponent.java
29575 (rectCache): Made field static to save memory.
29576 (getVisibleRect): Don't use rectCache and create new Rectangle
29578 (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29579 (repaint(long,int,int,int,int)): Directly call
29580 RepaintManager.addDirtyRegion(). The visibleRect check is now
29581 performed in the RepaintManager.
29583 2006-02-27 Roman Kennke <kennke@aicas.com>
29585 * javax/swing/RepaintManager.java
29586 (currentRepaintManagers): Made field private.
29587 (rectCache): New field.
29588 (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29589 component. Changed Rectangle handling to avoid unnecessary new
29590 Rectangle instances.
29591 (getOffscreenBuffer): Create buffer with size of the root window.
29592 Respect the maximum buffer size here.
29593 (commitBuffer): Align the regions so that they are inside the buffer
29594 image and inside the clip. This avoids problems with a bug in GTKImage.
29595 Fixed Rectangle handling to avoid creation of new Rectangle instances.
29597 2006-02-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
29599 * native/fdlibm/e_acos.c,
29600 * native/fdlibm/e_asin.c,
29601 * native/fdlibm/e_atan2.c,
29602 * native/fdlibm/e_cosh.c,
29603 * native/fdlibm/e_exp.c,
29604 * native/fdlibm/e_fmod.c,
29605 * native/fdlibm/e_hypot.c,
29606 * native/fdlibm/e_log.c,
29607 * native/fdlibm/e_log10.c,
29608 * native/fdlibm/e_rem_pio2.c,
29609 * native/fdlibm/e_remainder.c,
29610 * native/fdlibm/e_sinh.c,
29611 * native/fdlibm/e_sqrt.c,
29612 * native/fdlibm/k_cos.c,
29613 * native/fdlibm/k_sin.c,
29614 * native/fdlibm/k_tan.c,
29615 * native/fdlibm/s_atan.c,
29616 * native/fdlibm/s_cbrt.c,
29617 * native/fdlibm/s_ceil.c,
29618 * native/fdlibm/s_copysign.c,
29619 * native/fdlibm/s_cos.c,
29620 * native/fdlibm/s_expm1.c,
29621 * native/fdlibm/s_fabs.c,
29622 * native/fdlibm/s_finite.c,
29623 * native/fdlibm/s_floor.c,
29624 * native/fdlibm/s_log1p.c,
29625 * native/fdlibm/s_rint.c,
29626 * native/fdlibm/s_scalbn.c,
29627 * native/fdlibm/s_sin.c,
29628 * native/fdlibm/s_tan.c,
29629 * native/fdlibm/s_tanh.c:
29630 Fixed to call our macros rather than __HI and __LO.
29631 * native/fdlibm/fdlibm.h:
29632 Reintroduced previous extraction code.
29633 (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29634 (GET_HIGH_WORD(i,d)): Readded.
29635 (GET_LOW_WORD(i,d)): Readded.
29636 (INSERT_WORDS(d,ix0,ix1)): Readded.
29637 (SET_HIGH_WORD(d,i)): Readded.
29638 (SET_LOW_WORD(d,i)): Readded.
29639 * native/jni/gtk-peer/gthread-jni.c:
29640 Use Glib macros to convert integers/pointers portably.
29642 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29644 * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29645 as the fallback SPI.
29646 * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29647 ones referencing GNU-CRYPTO classes.
29648 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29649 (engineValidate): Use GNU-CRYPTO class.
29650 * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29651 * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29652 * gnu/java/security/provider/DSAKeyFactory: Likewise.
29653 * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29654 * gnu/java/security/provider/DSAParameters: Likewise.
29655 * gnu/java/security/provider/DSASignature: Likewise.
29656 * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29657 * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29658 * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29659 * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29660 * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29661 * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29662 * gnu/java/security/provider/MD2withRSA: Likewise.
29663 * gnu/java/security/provider/MD4withRSA: Likewise.
29664 * gnu/java/security/provider/MD5: Likewise.
29665 * gnu/java/security/provider/MD5withRSA: Likewise.
29666 * gnu/java/security/provider/RSA: Likewise.
29667 * gnu/java/security/provider/RSAKeyFactory: Likewise.
29668 * gnu/java/security/provider/SHA: Likewise.
29669 * gnu/java/security/provider/SHA1PRNG: Likewise.
29670 * gnu/java/security/provider/SHA1withRSA: Likewise.
29671 * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29673 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29675 * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29676 (engineGeneratePublic): Added logging.
29677 (engineGeneratePrivate): Likewise.
29678 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29679 (encodePublicKey): Added logging.
29680 Clarified in method documentation that params is optional, but is
29681 always NULL if present.
29682 (decodePublicKey): Added logging.
29683 Handle optional NULL element.
29685 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29687 * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29689 2006-03-03 Tom Tromey <tromey@redhat.com>
29691 * java/awt/MenuBar.java (shortcuts): Genericized.
29693 2006-03-03 Tom Tromey <tromey@redhat.com>
29695 * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29697 (getListenerType): Likewise.
29698 * java/beans/Introspector.java (getBeanInfo): Genericized.
29699 * java/beans/DefaultPersistenceDelegate.java (initialize):
29702 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29704 * java/math/BigDecimal.java:
29705 (precision): Fixed overflow problem with large numbers.
29706 (longValueExact): New method.
29707 (intValueExact): Likewise.
29708 (byteValueExact): Likewise.
29709 (shortValueExact): Likewise.
29711 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29713 * java/math/BigDecimal.java:
29714 (remainder(BigDecimal)): New method.
29715 (divideAndRemainder(BigDecimal)): Likewise.
29716 (divideToIntegralValue(BigDecimal)): Likewise.
29717 (floor): New implementation method.
29719 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29721 * java/math/BigDecimal.java:
29722 (divide(BigDecimal, int, RoundingMode)): New method.
29723 (divide(BigDecimal, RoundingMode)): Likewise.
29724 (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29725 when the new scale is < 0.
29726 (setScale(int, RoundingMode)): New method.
29729 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29731 * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29732 with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29733 (add(BigDecimal, MathContext)): New method.
29734 (subtract(BigDecimal, MathContext)): Likewise.
29735 (precision): Fixed to correctly handle BigIntegers with more than 19
29737 (pow(int, MathContext)): New method.
29739 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29741 * java/math/BigDecimal.java: Added @throws clause to constructors.
29742 (mathContext): Removed this unneeded field.
29743 (BigDecimal(int, MathContext)): New constructor.
29744 (BigDecimal(BigInteger, int, MathContext)): Likewise.
29745 (multiply(BigDecimal, MathContext)): New method.
29746 (negate(MathContext)): Likewise.
29747 (plus(MathContext)): Likewise.
29748 (numDigitsInLong): Fixed to properly handle negatives.
29750 2006-02-25 Chris Burdess <dog@gnu.org>
29752 * gnu/java/net/CRLFInputStream.java,
29753 gnu/java/net/LineInputStream.java: Streams that use mark
29754 capabilities on the underlying stream do not expose mark
29755 functionality themselves.
29756 * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29759 2006-02-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
29761 * gnu/regexp/REMatch.java(matchFlags): New int field used as
29762 option flags passed to match methods.
29763 (MF_FIND_ALL): New flag.
29764 * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29765 do not try other possibilties once a match is found.
29766 * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29767 so that all possibilities can be found.
29768 (match): Rewritten using new methods matchMinimum and _match.
29769 (_match): New method which performs a depth-first recursive search.
29770 (matchMinimum): New method.
29771 (initVisited), (visitedContains), (addVisited): New methods for
29772 manipulating an array of icharacter positions which _match has
29775 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29777 * java/math/BigDecimal.java:
29778 (BigDecimal(long, MathContext)): New constructor.
29779 (BigDecimal(BigInteger, MathContext)): Likewise.
29780 (BigDecimal(String, MathContext)): Likewise.
29781 (BigDecimal(double, MathContext)): Likewise.
29782 (round): Fixed a typo where the precision field was used instead of a
29783 call to the precision method, and also store the new precision in the
29784 returned BigDecimal.
29785 (abs(MathContext)): New method.
29787 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29789 * java/math/BigDecimal.java
29790 (toBigInteger): Fixed problem where this method couldn't handle
29791 negative values for scale.
29792 (toBigIntegerExact): New method.
29793 (stripTrailingZeros): Likewise.
29795 2006-02-24 David Daney <ddaney@avtrex.com>
29798 * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
29800 (Pool): New inner class.
29801 (timeLastUsed): New field.
29802 (setPool): Changed parameter type to Pool.
29803 (release): Moved pool management logic to new class Pool.
29804 * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
29806 (maxConnections) : Removed.
29807 (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
29808 (getConnection): Moved pool management logic to HTTPConnection.Pool.
29810 2006-02-24 Lillian Angel <langel@redhat.com>
29812 * java/awt/Container.java:
29813 Added new field. True if Container has been cleared and
29814 heavyweights need to be repainted.
29815 (paint): Fixed comment. Fixed to use backCleared and
29817 (update): Set backCleared to true after the background
29818 of the container has been cleared.
29820 2006-02-24 Lillian Angel <langel@redhat.com>
29822 * java/awt/TextField.java
29823 (addNotify): Added call to super.
29825 2006-02-24 Lillian Angel <langel@redhat.com>
29827 * java/awt/Component.java
29828 (reshape): Reverted last patch. Should have check here.
29829 (addNotify): Added check. If parent is lightweight, then
29830 initialize listener on the parent.
29831 (HeavyweightInLightweightListener): New class.
29833 2006-02-24 Roman Kennke <kennke@aicas.com>
29835 * javax/swing/plaf/basic/BasicComboPopup.java
29836 (show): Register the popup with the autocloser after it has been
29837 opened completely, by putting the registration on the eventqueue.
29839 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29841 * gnu/java/security/prng/BasePRNG.java:
29842 (clone()): Added cast of buffer to byte[].
29843 * gnu/javax/crypto/mac/TMMH16.java:
29844 (clone()): Fixed casting of cloned arrays.
29845 * native/fdlibm/fdlibm.h:
29846 Added missing defines from old fdlibm.h needed by Darwin.
29847 (GET_FLOAT_WORD(i,d)): Re-added.
29848 (SET_FLOAT_WORD(d,i)): Re-added.
29850 2006-02-24 Roman Kennke <kennke@aicas.com>
29852 * java/awt/Container.java:
29853 (dispatcher): Removed field.
29854 (dispatchEventImpl): Removed lightweight dispatching.
29855 (addNotifyContainerChildren): Removed LightweightDispatcher
29857 (LightweightDispatcher): Removed class.
29858 * java/awt/LightweightDispatcher.java: New class.
29859 * java/awt/Toolkit.java
29860 (Toolkit): Install LightweightDispatcher in global listener
29863 2006-02-24 Chris Burdess <dog@gnu.org>
29866 * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
29869 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29871 * NEWS: Mentions the VMMath runtime changes.
29872 * doc/vmintegration.texinfo: Updated to include
29875 2006-02-24 Roman Kennke <kennke@aicas.com>
29877 * javax/swing/plaf/basic/BasicLookAndFeel.java
29878 (PopupHelper.autoClosePopups): New field.
29879 (PopupHelper.mousePressed): Also autoclose any registered popups.
29880 (PopupHelper.registerForAutoClose): New method.
29881 (PopupHelper.autoClosePopups): New method.
29882 (popupHelper): Changed type of field to PopupHelper.
29883 (registerForAutoClose): New method.
29884 * javax/swing/plaf/basic/BasicComboPopup.java
29885 (show): Register this popup for autoclosing.
29887 2006-02-24 Raif S. Naffah <raif@swiftdsl.com.au>
29889 * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
29890 * gnu/java/security/prng/MDGenerator.java (clone): New method.
29891 * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
29893 2006-02-24 Roman Kennke <kennke@aicas.com>
29895 Reported by Ingo Proetel <proetel@aicas.com>
29896 * java/util/logging/LogManager.java
29897 (addLogger): Search the parent loggers for log level
29898 configuration and inherit that.
29899 (readConfiguration): Provide minimal default configuration
29900 if no configuration can be found otherwise.
29902 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29904 * java/math/BigDecimal.java:
29905 (toString): Fixed a problem where the negative sign was being displayed
29906 twice in the exponent.
29907 (toEngineeringString): New method.
29908 (toPlainString): Likewise.
29911 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29913 * java/math/BigDecimal.java:
29914 (toString): Rewrote this method to behave as specified. Added API
29915 comments to explain behaviour.
29916 (scaleByPowerOfTen): New method.
29918 2006-02-23 Roman Kennke <kennke@aicas.com>
29920 * javax/swing/JRootPane.java
29921 (isOptimizedDrawingEnabled): Implemented to return true
29922 when the glassPane is not visible.
29924 2006-02-23 Roman Kennke <kennke@aicas.com>
29926 * javax/swing/plaf/basic/BasicLookAndFeel.java
29927 (PopupHelper): New inner class.
29928 (popupHelper): New field.
29929 (initialize): New method.
29930 (uninitialize): New method.
29931 * javax/swing/plaf/basic/BasicPopupMenuUI.java
29932 (mouseInputListener): Removed field.
29933 (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
29934 handling of GlassPane.
29935 (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
29936 handling of GlassPane.
29937 (MouseInputHandler): Removed class.
29939 2006-02-23 Roman Kennke <kennke@aicas.com>
29941 * java/awt/AWTEvent.java
29942 (eventIdToMask): New utility method.
29943 * java/awt/EventQueue.java
29944 (dispatchEvent): Also globally dispatch events via the toolkit.
29945 (globalDispatchEvent): New method.
29946 * java/awt/Toolkit.java
29947 (awtEventListeners): New field.
29948 (Toolkit()): Initialize new field.
29949 (createComponent): Create GLightweightPeer here.
29950 (addAWTEventListener): Implemented and documented.
29951 (removeAWTEventListener): Implemented and documented.
29952 (getAWTEventListeners): Implemented and documented both method
29954 * java/awt/event/AWTEventListenerProxy.java
29955 (eventDispatched): Don't filter events here.
29957 2006-02-23 Chris Burdess <dog@gnu.org>
29960 * gnu/xml/dom/DomDocumentBuilderFactory.java,
29961 gnu/xml/dom/JAXPFactory.java,
29962 gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
29963 javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
29964 implement DocumentBuilderFactory.get/setFeature methods.
29966 2006-02-23 Lillian Angel <langel@redhat.com>
29968 * gnu/java/awt/peer/GLightweightPeer.java
29969 (repaint): Scott's proposed fix. Send repaint to the
29970 component's parent.
29971 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
29972 (setBounds): Removed next_parent, not needed. Removed
29973 lightweightChild, we always need to compensate for the
29975 * java/awt/Component.java
29976 (setBounds): Removed check. Caused lots of problems, because some
29977 components were not being invalidated. Components should be
29978 invalidated when they are resized or moved, and in some cases,
29979 when a parent is resized/moved, the components do not know
29980 about it and do not adjust.
29981 * java/awt/Graphics.java
29982 (hitClip): Scott's proposed fix. Added check to handle a
29985 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
29987 * javax/print/attribute/standard/MediaSize.java:
29988 (media): Field renamed to mediaName for serialization.
29989 (MediaSize): Adapted to new fieldname.
29990 (getMediaSizeName): Likewise.
29991 * javax/print/attribute/HashAttributeSet.java:
29992 (interfaceName): Field renamed to myInterface for serialization.
29993 (HashAttributeSet): Adapted to the new fieldname.
29995 (addAll): Likewise.
29996 (addInternal): Likewise.
29997 (attributeMap): Made transient.
29998 (readObject): New serialization method.
29999 (writeObject): Likewise.
30000 * javax/print/attribute/AttributeSetUtilities.java:
30001 (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
30002 (SynchronizedAttributeSet.add): Adapted to the new fieldname.
30003 (SynchronizedAttributeSet.addAll): Likewise.
30004 (SynchronizedAttributeSet.clear): Likewise.
30005 (SynchronizedAttributeSet.containsKey): Likewise.
30006 (SynchronizedAttributeSet.containsValue): Likewise.
30007 (SynchronizedAttributeSet.equals): Likewise.
30008 (SynchronizedAttributeSet.get): Likewise.
30009 (SynchronizedAttributeSet.hashCode): Likewise.
30010 (SynchronizedAttributeSet.isEmpty): Likewise.
30011 (SynchronizedAttributeSet.remove): Likewise.
30012 (SynchronizedAttributeSet.size): Likewise.
30013 (SynchronizedAttributeSet.toArray): Likewise.
30014 (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
30015 (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
30016 (UnmodifiableAttributeSet.addAll): Likewise.
30017 (UnmodifiableAttributeSet.clear): Likewise.
30018 (UnmodifiableAttributeSet.containsKey): Likewise.
30019 (UnmodifiableAttributeSet.containsValue): Likewise.
30020 (UnmodifiableAttributeSet.equals): Likewise.
30021 (UnmodifiableAttributeSet.get): Likewise.
30022 (UnmodifiableAttributeSet.hashCode): Likewise.
30023 (UnmodifiableAttributeSet.isEmpty): Likewise.
30024 (UnmodifiableAttributeSet.remove): Likewise.
30025 (UnmodifiableAttributeSet.size): Likewise.
30026 (UnmodifiableAttributeSet.toArray): Likewise.
30027 * javax/print/attribute/standard/MediaPrintableArea.java:
30028 (width): Field renamed to w for serialization.
30029 (height): Field renamed to h for serialization.
30030 (MediaPrintableArea): Adapted to the new fieldnames.
30031 (MediaPrintableArea): Likewise.
30032 (equals): Likewise.
30033 (hashCode): Likewise.
30034 (getHeight): Likewise.
30035 (getWidth): Likewise.
30037 2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
30039 * include/java_lang_VMMath.h:
30040 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
30041 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
30042 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
30043 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
30044 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
30045 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
30046 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
30047 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
30048 * java/lang/Math.java:
30049 (cbrt(double)): Implemented.
30050 (cosh(double)): Implemented.
30051 (expm1(double)): Implemented.
30052 (hypot(double,double)): Implemented.
30053 (log10(double)): Implemented.
30054 (log1p(double)): Implemented.
30055 (signum(double)): Implemented.
30056 (signum(float)): Implemented.
30057 (sinh(double)): Implemented.
30058 (tanh(double)): Implemented.
30059 * native/fdlibm/Makefile.am:
30060 Added new files from fdlibm 5.3.
30061 * native/fdlibm/e_acos.c,
30062 * native/fdlibm/e_asin.c,
30063 * native/fdlibm/e_atan2.c,
30064 * native/fdlibm/e_exp.c,
30065 * native/fdlibm/e_fmod.c,
30066 * native/fdlibm/e_log.c,
30067 * native/fdlibm/e_rem_pio2.c,
30068 * native/fdlibm/e_remainder.c,
30069 * native/fdlibm/e_scalb.c,
30070 * native/fdlibm/e_sqrt.c,
30071 * native/fdlibm/k_cos.c,
30072 * native/fdlibm/k_rem_pio2.c,
30073 * native/fdlibm/k_sin.c,
30074 * native/fdlibm/k_tan.c,
30075 * native/fdlibm/s_atan.c,
30076 * native/fdlibm/s_ceil.c,
30077 * native/fdlibm/s_copysign.c,
30078 * native/fdlibm/s_cos.c,
30079 * native/fdlibm/s_fabs.c,
30080 * native/fdlibm/s_finite.c,
30081 * native/fdlibm/s_floor.c,
30082 * native/fdlibm/s_rint.c,
30083 * native/fdlibm/s_scalbn.c,
30084 * native/fdlibm/s_sin.c,
30085 * native/fdlibm/s_tan.c,
30086 * native/fdlibm/w_acos.c,
30087 * native/fdlibm/w_asin.c,
30088 * native/fdlibm/w_atan2.c,
30089 * native/fdlibm/w_acos.c,
30090 * native/fdlibm/w_exp.c,
30091 * native/fdlibm/w_fmod.c,
30092 * native/fdlibm/w_log.c,
30093 * native/fdlibm/w_pow.c,
30094 * native/fdlibm/w_remainder.c,
30095 * native/fdlibm/w_sqrt.c:
30096 Updated to fdlibm 5.3.
30097 * native/fdlibm/e_cosh.c,
30098 * native/fdlibm/e_hypot.c,
30099 * native/fdlibm/e_log10.c,
30100 * native/fdlibm/e_sinh.c,
30101 * native/fdlibm/s_cbrt.c,
30102 * native/fdlibm/s_expm1.c,
30103 * native/fdlibm/s_log1p.c,
30104 * native/fdlibm/s_tanh.c,
30105 * native/fdlibm/w_cosh.c,
30106 * native/fdlibm/w_hypot.c,
30107 * native/fdlibm/w_log10.c,
30108 * native/fdlibm/w_sinh.c:
30109 Imported from fdlibm 5.3.
30110 * native/fdlibm/fdlibm.h:
30111 Imported from fdlibm 5.3 with Classpath additions.
30112 * native/fdlibm/namespace.h:
30113 Updated from new math_symbols file.
30114 * native/jni/java-lang/java_lang_VMMath.c:
30115 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
30116 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
30117 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
30118 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
30120 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
30121 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
30122 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
30123 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
30124 * scripts/math_symbols:
30125 Added tanh, expm1, log10 and log1p.
30126 * vm/reference/java/lang/VMMath.java:
30127 (cbrt(double)): Implemented.
30128 (cosh(double)): Implemented.
30129 (expm1(double)): Implemented.
30130 (hypot(double,double)): Implemented.
30131 (log10(double)): Implemented.
30132 (log1p(double)): Implemented.
30133 (sinh(double)): Implemented.
30134 (tanh(double)): Implemented.
30136 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
30138 * javax/print/DocFlavor.java: Added documentation all over.
30139 (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
30140 (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
30141 (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
30142 (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
30143 (URL.TEXT_HTML_HOST): Likewise.
30144 (URL.TEXT_PLAIN_HOST): Likewise.
30145 (hostEncoding): Initialize with host default charset encoding.
30146 (mediaSubtype): Made transient.
30147 (mediaType): Likewise.
30148 (params): Made transient. Changed type to TreeMap.
30149 (className): Removed, changed to myClassName.
30150 (myClassName): New field as defined in serialized form.
30151 (DocFlavor): Adapted to new variable types, names.
30152 (parseMimeType): Reimplemented.
30153 (getParameter): Search with lowercase name.
30154 (getRepresentationClassName): Adapted to changed variable name.
30155 (hashCode): Likewise.
30156 (toString): Reimplemented.
30157 (readObject): New method for serialization.
30158 (writeObject): Likewise.
30160 2006-02-23 Roman Kennke <kennke@aicas.com>
30162 * javax/swing/RepaintManager.java
30163 (commitBuffer): Clip the repaint area with the current clip.
30165 2006-02-23 Raif S. Naffah <raif@swiftdsl.com.au>
30167 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
30168 (DEFAULT_PRIME_SIZE): Made public.
30169 (DEFAULT_EXPONENT_SIZE): Likewise.
30170 (setup): Handle DHParameterSpec as well.
30171 * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
30172 defaultFormat instead of Raw.
30173 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
30174 (checkIsConstructed): Removed.
30175 (checkIsBigInteger): Likewise.
30176 (decodePublicKey): Use DerUtil.
30177 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
30178 (checkIsConstructed): Removed.
30179 (checkIsBigInteger): Likewise.
30180 (decodePrivateKey): Use DerUtil.
30181 * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
30183 Added mappings for AlgorithmParameters.DH and
30184 AlgorithmParameterGenerator.DH.
30185 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
30186 * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
30187 * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
30188 * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
30190 (engineGeneratePublic): Likewise.
30191 * gnu/java/security/util/DerUtil.java: New file.
30192 * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
30193 Include only valid RSA PKCS1 (v1.5) signature names.
30194 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
30195 (RSAPKCS1V1_5SignatureX509Codec): Removed.
30196 (checkIsConstructed): Likewise.
30197 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
30198 (checkIsConstructed): Removed.
30199 (checkIsBigInteger): Likewise.
30200 (decodeSignature): Use DerUtil.
30201 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
30202 (checkIsConstructed): Removed.
30203 (checkIsBigInteger): Likewise.
30204 (decodePublicKey): Use DerUtil.
30205 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
30206 (checkIsConstructed): Removed.
30207 (checkIsBigInteger): Likewise.
30208 (decodePrivateKey): Use DerUtil.
30209 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
30210 (checkIsConstructed): Removed.
30211 (checkIsBigInteger): Likewise.
30212 (decodePublicKey): Use DerUtil.
30213 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
30214 (checkIsConstructed): Removed.
30215 (checkIsBigInteger): Likewise.
30216 (decodePrivateKey): Use DerUtil.
30217 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
30218 (DEFAULT_MODULUS_LENGTH): Made it public.
30219 * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
30220 defaultFormat instead of Raw.
30221 * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
30222 * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
30223 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
30225 (engineGeneratePublic): Likewise.
30226 * gnu/javax/crypto/DiffieHellmanImpl: Removed.
30228 2006-02-22 Anthony Balkissoon <abalkiss@redhat.com>
30230 * java/math/BigDecimal.java:
30231 (BigDecimal(char[], int, int, MathContext)): New constructor.
30232 (BigDecimal(char[], MathContext)): Likewise.
30233 (BigDecimal(char[])): Likewise.
30234 (BigDecimal(char[], int, int)): Likewise.
30235 (BigDecimal(String)): Fixed handling of exponent and scale.
30237 2006-02-22 Mark Wielaard <mark@klomp.org>
30239 * java/awt/Checkbox.java (setState): Check that state actually changed
30240 before calling peer.
30241 (dispatchEventImpl): Set new state if ItemEvent.
30242 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
30243 (create): Set currentState.
30244 (setState): Make synchronized, check and set currentState before
30245 calling gtkToggleButtonSetActive.
30246 (postItemEvent): Make synchronized, check and set currentState before
30248 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
30249 (postItemEventID): Method now takes boolean.
30250 (item_toggled_cb): Likewise.
30252 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30254 * javax/swing/text/DefaultHighlighter.java:
30255 (changeHighlight): Added code to minimize the damaged area.
30257 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30259 * javax/swing/text/PlainView.java:
30260 (getPreferredSpan): Added missing 'break'.
30261 statement which corrects an unwanted fall through.
30262 (updateDamage): Update maxLineLength correctly when text is
30263 removed, call preferenceChanged accordingly.
30264 (viewToModel): Restrict line number to be within 0 and the
30265 number of elements-1.
30267 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30269 * javax/swing/text/Utilities.java:
30270 (getPositionAbove): Prefer first value by changing comparison
30272 (getPositionBelow): Dito.
30274 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30276 * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
30277 behavior when magic caret position is null.
30279 2006-02-22 Roman Kennke <kennke@aicas.com>
30281 * javax/swing/JTextField.java
30282 (isValidateRoot): New method.
30284 2006-02-22 Roman Kennke <kennke@aicas.com>
30286 * javax/swing/JEditorPane.java
30287 (getPreferredSize): Rewritten to behave like the reference impl.
30288 (getScrollableTracksViewportWidth): Likewise.
30289 (getScrollableTracksViewportHeight): Likewise.
30291 2006-02-22 Roman Kennke <kennke@aicas.com>
30293 * javax/swing/RepaintManager.java
30294 (addInvalidComponent): Also consider the component itself.
30296 2006-02-22 Mark Wielaard <mark@klomp.org>
30298 * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
30299 qualify AbstractDocument.AttributeContext.
30300 (blockOpen): Likewise.
30302 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30304 * java/math/BigDecimal.java:
30305 (mathContext): New field.
30306 (precision): Likewise.
30307 (BigDecimal(int)): New constructor.
30308 (BigDecimal(long)): Likewise.
30309 (BigDecimal(BigInteger)): Added API docs.
30310 (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
30311 and added API docs.
30312 (plus): New method.
30314 (precision): Likewise.
30315 (valueOf): Likewise.
30316 (numDigitsInLong): New implementation method.
30318 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30320 * java/math/MathContext.java: New class.
30321 * java/math/RoundingMode: New Enum.
30323 2006-02-21 Mark Wielaard <mark@klomp.org>
30325 * java/awt/Component.java (translateEvent): Translate
30326 AdjustmentEvents to 1.0 Events.
30327 * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
30328 Call setValue() before processing event.
30329 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
30330 whether we are currently changing and being called back from the
30331 Scrollbar component.
30332 (setBarValues): New native method.
30333 (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
30334 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
30335 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
30336 Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
30337 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
30339 2006-02-21 Roman Kennke <kennke@aicas.com>
30341 * javax/swing/text/View.java
30342 (setParent): Set child parent to null when disconnecting
30343 the view from the View hierarchy.
30345 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30347 * javax/print/StreamPrintService.java: Added and enhanced documentation.
30349 2006-02-21 Roman Kennke <kennke@aicas.com>
30351 * javax/swing/text/WrappedPlainView.java
30352 (calculateBreakPosition): Changed to use the view's allocation instead
30353 of the container's preferredSize.
30355 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30357 * java/awt/CardLayout.java:
30358 (first): Updated api documentation.
30361 (previous): Likewise.
30362 (show): Clarified api docs. Return if name is null. Throw
30363 IllegalArgumentException if layout of container is not this.
30364 (gotoComponent): Updated api documentation. Throw
30365 IllegalArgumentException if layout of container is not this.
30367 2006-02-21 Roman Kennke <kennke@aicas.com>
30369 * javax/swing/text/NavigationFilter.java
30370 (getNextVisualPositionFrom): New method.
30372 2006-02-21 Roman Kennke <kennke@aicas.com>
30374 * javax/swing/plaf/basic/BasicTextUI.java
30375 (RootView.setView): Call setParent() on the view with this as
30376 argument instead of null.
30377 (setView): Don't set root view's parent here.
30379 2006-02-21 Roman Kennke <kennke@aicas.com>
30381 * javax/swing/text/AbstractDocument.java
30382 (AbstractElement.getAttribute): Use getResolveParent() to fetch
30383 the resolving parent.
30384 (AbstractElement.getResolveParent): Fixed to handle possible null
30386 * javax/swing/text/BoxView.java
30387 (childReqs): New field.
30388 (paint): Added debugging code (commented out).
30389 (getPreferredSpan): Rewritten to use new update* methods.
30390 (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
30391 for the minor axis and preferredSpan for the major axis.
30392 (getMinimumSpan): Rewritten to use new update* methods.
30393 (baselineRequirements): Rewritten to avoid creation of
30394 unnecessary SizeRequirements objects.
30395 (baselineLayout): Rewritten to use new update* methods.
30396 (calculateMajorAxisRequirements): Rewritten to avoid creation of
30397 unnecessary SizeRequirements objects.
30398 (calculateMinorAxisRequirements): Rewritten to avoid creation of
30399 unnecessary SizeRequirements objects.
30400 (layout): Some robustness fixes for the layout. Turned AssertionErrors
30402 (layoutMajorAxis): Rewritten to use new update* methods.
30403 (layoutMinorAxis): Rewritten to use new update* methods.
30404 (getChildRequirements): Replaced by the update* methods.
30405 (getAlignment): Use update* methods.
30406 (updateChildRequirements): New methods. Updates the child requirements
30408 (updateRequirements): New methods. Updates the BoxView requirements
30410 * javax/swing/text/DefaultStyledDocument.java
30411 (ElementBuffer.insert): Added warning for illegal replacement operation.
30412 * javax/swing/text/FlowView.java
30413 (layoutRow): When offset doesn't change, return -1.
30414 (LogicalView): Now subclasses BoxView.
30415 (loadChildren): Let the CompositeView.setParent() load the children
30416 of the logicalView.
30417 (calculateMinorRequirements): New overridden method.
30418 * javax/swing/text/GlyphView.java
30419 (DefaultGlyphPainter.paint): Fixed typo.
30420 (startOffset): Made field private.
30421 (endOffset): Made field private.
30422 (paint): Call getStartOffset() and getEndOffset() instead of the
30424 (isStrikeThrough): Fixed typo.
30425 (breakView): Use Utilities.getBreakLocation() to determine best
30427 (changedUpdate): Call preferencedChange on this instead of parent.
30428 (removeUpdate): Call preferencedChange on this instead of parent.
30429 * javax/swing/text/ParagraphView.java
30430 (Row.getAlignment): For Y_AXIS, call super.
30431 (getAlignment): Likewise.
30432 * javax/swing/text/Utilities.java
30433 (getBreakLocation): Set Segment object directly on the BreakIterator.
30434 * javax/swing/text/html/HTML.java
30435 (Attribute): Made class non-serializable and final as specified.
30436 (Attribute(String)): Made constructor private.
30437 (Attribute.compareTo): Removed.
30438 (Attribute.equals): Removed.
30439 (Attribute.hashCode): Removed.
30440 (Tag): Made class non-comparable and non-serializable as specified.
30441 (Tag.compareTo): Removed.
30442 (Tag.equals): Removed.
30443 (Tag.hashCode): Removed.
30444 * javax/swing/text/html/HTMLDocument.java
30445 (HTMLReader.blockOpen): Add tag as name attribute to element.
30446 * javax/swing/text/html/HTMLEditorKit.java
30447 (HTMLFactory.create): Create NullView for <head> tags, removed unused
30449 * javax/swing/text/html/InlineView.java
30450 (setPropertiesFromAttributes): Call super.
30451 * javax/swing/text/html/NullView.java: New class.
30453 2006-02-21 Roman Kennke <kennke@aicas.com>
30456 * javax/swing/text/GapContent.java
30457 (GapContentPosition): Made class private.
30458 (InsertUndo): Made class private.
30459 (UndoRemove): Made class private.
30460 (WeakPositionComparator): New inner class.
30461 (positions): Made field private.
30462 (createPosition): Clear up GC'ed positions before creating
30463 a new one. Store position as WeakReference.
30464 (getPositionsInRange): Changed to handle WeakReference
30466 (setPositionsInRange): Changed to handle WeakReference
30468 (adjustPositionsInRange): Changed to handle WeakReference
30470 (dumpPositions): Handle WeakReference positions.
30471 (clearPositionReferences): New method.
30473 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
30475 * javax/swing/plaf/basic/BasicTextUI.java:
30476 (paint): Remove unneccessary part of the if-expression.
30477 (damageRange): Added case where the range spans multiple lines.
30478 * javax/swing/text/DefaultCaret.java:
30479 (clearHighlight): New method.
30480 (handleHighlight): Removed unneccessary part of the if-expression.
30481 (setDot): Use clearHighlight method.
30482 * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30484 (paint): Prevented calling size() on every loop iteration, fixed
30485 calculation of allocation area bounds.
30486 (getHighlights): Implemented.
30487 (removeHighlight): Mark damaged area in textcomponent.
30488 (addHighlight): Mark damaged area in textcomponent.
30489 (changeHighlight): Mark damaged area in textcomponent.
30490 (DefaultHighlighter.HighlightEntry): Made it a real
30491 Highlighter.Highlight implementation.
30492 (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30495 2006-02-20 Stuart Ballard <stuart.a.ballard@gmail.com>
30497 * java/util/zip/ZipConstants.java
30498 (LOCSIG): Change type to long.
30499 (EXTSIG): Likewise.
30500 (CENSIG): Likewise.
30501 (ENDSIG): Likewise.
30502 * java/util/zip/ZipOutputStream.java
30503 (writeLeInt(long)): New method.
30505 2006-02-21 Michael Koch <konqueror@gmx.de>
30507 * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30509 2006-02-20 Mark Wielaard <mark@klomp.org>
30511 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30512 (begin_drawing_operation): Output stacktrace and return on bad cairo
30514 (end_drawing_operation): Likewise. And reset cairo_t.
30516 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30518 * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30519 in backward selection action.
30521 2006-02-20 Olivier Jolly <olivier.jolly@pcedev.com>
30523 * java/lang/reflect/Proxy.java:
30524 (ProxyData.getProxyData): Skipped overriding of core methods.
30525 (ProxyData.isCoreObjectMethod): New method.
30527 2006-02-20 Mark Wielaard <mark@klomp.org>
30529 * gnu/java/nio/charset/Provider.java (Provider): Package private.
30531 2006-02-20 Roman Kennke <kennke@aicas.com>
30533 * javax/swing/text/html/Option.java: New class.
30535 2006-02-20 Lillian Angel <langel@redhat.com>
30537 * java/swt/Window.java
30538 (show): Calling show() on the owned windows caused problems.
30539 Changed back to get the peer and call setVisible.
30541 2006-02-20 Roman Kennke <kennke@aicas.com>
30543 * javax/swing/plaf/basic/BasicTextUI.java
30544 (damageRange): Implemented this method.
30546 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30548 * javax/swing/text/GapContent.java:
30549 (shiftGapEndUp): Corrected new mark value.
30550 * javax/swing/text/AbstractDocument.java:
30551 (remove): Changed order of operations.
30553 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30555 * javax/swing/text/GapContent.java:
30556 (shiftGapEndUp): Reverted.
30557 * javax/swing/text/AbstractDocument.java:
30558 (remove): Reverted.
30560 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30562 * javax/swing/text/GapContent.java:
30563 (shiftGapEndUp): Corrected new mark value.
30564 * javax/swing/text/AbstractDocument.java:
30565 (remove): Changed order of operations.
30567 2006-02-20 Mark Wielaard <mark@klomp.org>
30569 * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30571 (insert): Likewise.
30572 (addNotify): Add the item after addNotifying it.
30573 * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30574 there is a peer. Use getParent() and setParent() to manipulate parent
30576 (add(Menu)): Use getParent() and setParent() to manipulate parent
30577 field. Call addNotify() and addMenu() when there is a peer.
30578 (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30579 (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30580 when there is a peer.
30581 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30582 (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30583 (setFont): Call setFont(Font).
30584 (setFont(Font)): Document. Only set font when not null.
30585 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30587 (connectSignals): Likewise.
30588 (GtkMenuItemPeer): Document. Don't try to add item. Always call
30590 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30592 (postMenuActionEvent): Document.
30593 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30595 (addItem): Document. Made private.
30596 (addTearOff): Made private.
30597 (connectSignals): New protected overridden method.
30598 (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30599 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30600 (create): Document.
30601 (addMenu): Made private, take GtkMenuPeer as argument and document.
30602 (GtkMenuBarPeer): Document.
30603 (nativeSetHelpMenu): Removed.
30604 (addHelpMenu): Implement.
30605 (delMenu): Document.
30606 (addMenu): Implement.
30607 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30608 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30609 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30610 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30613 2006-02-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30615 * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30616 Expect that proxy interfaces may have different class loaders.
30617 * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30618 * java/rmi/registry/Registry.java,
30619 * java/rmi/server/UnicastRemoteObject.java:
30620 Documented about proxy stubs.
30621 * gnu/java/rmi/server/CombinedClassLoader.java,
30622 java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30623 * NEWS: Added entry.
30625 2006-02-19 Mark Wielaard <mark@klomp.org>
30627 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30628 Parent and Bounds of our children if either or parent is showing, or
30629 we are a Window and are showing ourselves now.
30631 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30633 * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName):
30635 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav:
30636 Another stub name fix.
30638 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30640 * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30641 Call convertStubName. (convertStubName): New method.
30642 * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30643 * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java
30644 (convertStubName): New method.
30645 (getMethodHashCode):
30646 Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30647 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30649 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30651 * java/rmi/server/UnicastRemoteObject.java: Documenting.
30653 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30655 * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30657 2006-02-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30659 * javax/swing/JViewport.java (paintBackingStore): If the component has
30660 not been scrolled, only repaint the buffer part, indicated by
30661 the parameter graphics clip.
30663 2006-02-19 Raif S. Naffah <raif@swiftdsl.com.au>
30665 * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30667 (writePrivateKey): Likewise.
30668 (writeKey): New method.
30669 (getKeyType): Likewise.
30670 * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30672 (readPrivateKey): Likewise.
30673 (getKeyPairCodec): New method.
30674 * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30675 * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30676 * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30677 (RSA_PSS_ENCODING): Likewise..
30678 (RSA_PKCS1_V1_5_ENCODING): Likewise.
30679 (RSA_PSS_SIG): Redefined using other constants.
30680 (RSA_PKCS1_V1_5_SIG): Likewise.
30681 (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30682 * gnu/java/security/util/FormatUtil.java: New file.
30683 * gnu/java/security/sig/SignatureFactory.java (names): New field.
30684 (getInstance): Let RSASignatureFactory handle RSA signature names.
30685 (getNames): Handle new RSA signature (with format) names.
30686 * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30687 * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30689 (name): Include hash algorithm name.
30690 * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30691 * gnu/java/security/sig/rsa/RSAPSSSignature.java
30692 (RSAPSSSignature): Call constructor with IMessageDigest.
30693 (RSAPSSSignature(ImessageDigest,int)): New constructor.
30694 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30696 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30698 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30699 (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30700 (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30701 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30702 hash algorithm name to exception.
30703 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30704 * gnu/java/security/key/KeyPairCodecFactory.java
30705 (names): New class field.
30706 (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30707 (getInstance(String,String)): New method.
30708 (getInstance(String,int)): New method.
30709 (getInstance(byte[])): Removed.
30710 (getInstance(Key)): Handle new formats.
30711 (getNames): Likewise.
30712 (getEncodingName(int)): Moved to FormatUtil.
30713 (getEncodingShortName(int)): Likewise.
30714 (getRawCodec(String)): New method.
30715 (getX509Codec(String)): Likewise.
30716 (getPKCS8Codec(String)): Likewise.
30717 (getRawCodec(Key)): Likewise.
30718 (getX509Codec(Key)): Likewise.
30719 (getPKCS8Codec(Key)): Likewise.
30720 * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30721 * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30722 * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30723 * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30724 * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30725 * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30726 * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30727 * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30728 * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30730 2006-02-18 Mark Wielaard <mark@klomp.org>
30732 * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30734 (NoDragGestureRecognizer): New static class.
30735 (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30736 Toolkit doesn't support drag and drop.
30738 2006-02-18 Mark Wielaard <mark@klomp.org>
30740 * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30741 (AbstractAction(String)): Just call putValue() for NAME.
30742 (putValue): Nothing to do is old and new value are both null.
30744 2006-02-18 Mark Wielaard <mark@klomp.org>
30746 * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30747 through getContentPane().
30748 (preferredLayoutSize): Likewise.
30750 2006-02-18 Mark Wielaard <mark@klomp.org>
30752 * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30753 actually set before painting.
30755 2006-02-18 Mark Wielaard <mark@klomp.org>
30757 * javax/swing/text/html/HTMLDocument.java (addContent):
30758 Fully qualify AbstractDocument.AttributeContext and
30759 DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30761 2006-02-18 Mark Wielaard <mark@klomp.org>
30763 * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30764 (getRepresentationClassFromMime): Add exception cause to
30765 IllegalArgumentException.
30767 2006-02-17 Lillian Angel <langel@redhat.com>
30769 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30770 Removed unneeded import.
30771 * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30772 Removed unneeded imports.
30773 * java/awt/BorderLayout.java:
30774 Fixed comment, this is not yet handled in the JDK 1.5.
30775 * java/awt/Container.java:
30776 Removed unneeded import.
30778 2006-02-17 Lillian Angel <langel@redhat.com>
30780 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30781 (setBounds): Removed check. Coordinates should always be changed
30782 to incorporate the parent's coordinates.
30783 * gnu/java/awt/peer/gtk/GtkFramePeer.java
30784 (setMenuBar): Added checks. Don't validate component if it has
30785 not been validated yet, it will be validated later. Only validate
30786 if it has already been validated, in that case it needs to be
30788 * java/awt/Window.java
30789 (show): Added check. If the window is visible, then bring it to the
30790 front. Otherwise, iterate through all its children windows and show them.
30791 No need to do both.
30793 2006-02-17 Roman Kennke <kennke@aicas.com>
30795 * javax/swing/text/html/ParagraphView.java: New file.
30797 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30799 * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
30800 is included. (moveToCellBeingEdited): Adjusted to start editing at the
30801 same location where was the initial text.
30802 * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
30804 2006-02-17 Chris Burdess <dog@gnu.org>
30806 Fixes PRs 26319, 26320, 26321, 26322, 26325
30807 * gnu/xml/stream/SAXParser.java: On error, reset parser before
30808 rethrowing exception.
30809 * gnu/xml/stream/XMLParser.java: Only report "illegal use of
30810 1.1-style prefix unbinding in 1.0 document" error for xmlns
30811 prefixes, not xmlns attributes. Fix a problem with empty namespace
30812 stack at the end of a document. Permit parameter entity references
30813 in element and attribute-list definition name area. Corrected
30814 normalisation of whitespace character entity references in CDATA
30815 attribute values. Fixed number of characters read following a
30816 reset when detecting end of character data with characters after a
30817 Unicode surrogate pair.
30819 2006-02-17 Roman Kennke <kennke@aicas.com>
30821 * javax/swing/text/html/HTMLEditorKit.java
30822 (HTMLFactory.create): Create InlineView for content tags.
30823 * javax/swing/text/html/HTMLDocument.java
30824 (HTMLReader.flush): Call create() on first flush and insert
30825 on subsequent flushes.
30827 2006-02-17 Roman Kennke <kennke@aicas.com>
30829 * javax/swing/text/AbstractDocument.java
30830 (BranchElement.getStartOffset): Implemented workaround for wrong
30832 (BranchElement.getEndOffset): Implemented workaround for wrong
30834 (ElementBuffer.split): Use createBranchElement() instead of
30835 new BranchElement().
30836 (ElementBuffer.insertFracture): Use createBranchElement() instead of
30837 new BranchElement().
30838 (ElementBuffer.recreateAfterFracture): Use createBranchElement()
30839 instead of new BranchElement().
30840 (createDefaultRoot): Use createBranchElement() and createLeafElement
30841 instead of the constructors.
30842 (create): Rewritten.
30844 2006-02-17 Keith Seitz <keiths@redhat.com>
30846 * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
30847 (SIZE): New constant.
30848 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30849 (executeIDsizes): Use SIZE constant.
30850 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
30851 (SIZE): New constant.
30853 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30855 * javax/swing/JTable.java (IconCellRenderer): Set the component
30856 text to empty string. (createDefaultRenderers): Register
30857 IconCellRenderer also for ImageIcon.
30858 (getCellEditor(int, int), getCellRenderer(int, int)):
30859 Use model index for data model and column index for column model.
30860 (getColumnClass): Convert to model index before requesting class
30863 2006-02-17 Roman Kennke <kennke@aicas.com>
30865 * javax/swing/text/html/HTMLDocument.java
30866 (createDefaultRoot): Implemented.
30867 (createLeafElement): Implemented.
30868 (createBranchElement): Implemented.
30869 (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
30870 (RunElement.getName): Fixed to handle HTML.Tag objects as name.
30871 (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
30872 (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
30873 (HTMLReader.blockOpen): Add name attribute with the current tag.
30874 (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
30876 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30878 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30880 * javax/swing/table/JTableHeader.java: Documenting related methods.
30882 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30885 * gnu/java/net/protocol/ftp/FTPURLConnection.java
30886 (connect): Changed to use SystemProperties.
30887 (getInputStream): Try changeWorkingDirectory to figure out if
30888 url is a directory, if not use retrieve.
30889 (getOutputStream): Don't worry about directories, simply always
30892 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30894 * gnu/java/net/protocol/ftp/ActiveModeDTP.java
30895 (ActiveModeDTP): Mark accept thread as daemon.
30897 2006-02-17 Michael Koch <konqueror@gmx.de>
30899 * tools/.cvsignore: Ignore tools.zip.
30901 2006-02-16 Keith Seitz <keiths@redhat.com>
30903 * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
30904 Set the ID's reference.
30905 (<clinit>): Remove comments for field, method, and frame ID types,
30906 which will not be handled by VMIdManager.
30908 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30910 * javax/swing/JTable.java (getCellEditor, getCellRenderer):
30911 Use model index, not the column number.
30912 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30913 Rewritten. (draggingHeaderRect): New field. (paint): Animate column
30914 movement by painting draggingHeaderRect.
30915 * NEWS: Added entry about JTable columns.
30917 2006-02-16 Keith Seitz <keiths@redhat.com>
30919 * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
30920 default size of eight bytes.
30921 * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
30922 * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
30923 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30924 (executeIDsizes): Use new static methods.
30925 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
30928 2006-02-16 David Daney <ddaney@avtrex.com>
30931 * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
30932 return value with 0xff.
30934 2006-02-16 Keith Seitz <keiths@redhat.com>
30936 * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
30937 (matches): Use Iterator instead of ListIterator.
30939 2006-02-16 Keith Seitz <keiths@redhat.com>
30941 * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
30942 processor thread for easier debugging.
30943 (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
30946 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30948 * javax/swing/JTable.java
30949 (TableColumnPropertyChangeHandler.propertyChange): Return without
30950 action if table header resizing column in not null. (doLayout):
30951 Only repaint the header if it is not null.
30952 * javax/swing/plaf/basic/BasicTableHeaderUI.java
30953 (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
30954 Rewritten. (MouseInputHandler.endResizing): New method.
30956 2006-02-16 Roman Kennke <kennke@aicas.com>
30958 * javax/swing/text/html/InlineView.java: New file.
30960 2006-02-16 Roman Kennke <kennke@aicas.com>
30962 * javax/swing/JTabbedPane.java
30963 (AccessibleJTable.getAccessibleChild): Implemented to return
30964 the Page instance for the specified index.
30965 (Page): Changed to implement Accessible and extend
30967 (Page.getAccessibleContext): New method.
30968 (Page.getAccessibleRole): New method.
30969 (Page.getAccessibleStateSet): New method.
30970 (Page.getAccessibleIndexInParent): New method.
30971 (Page.getAccessibleChildrenCount): New method.
30972 (Page.getAccessibleChild): New methdod.
30973 (Page.getLocale): New method.
30975 2006-02-16 Roman Kennke <kennke@aicas.com>
30977 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
30978 (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
30979 tabCount gets greater than tabRuns.length.
30980 (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
30981 when tabCount gets greater than tabRuns.length.
30982 (paintTabArea): Don't set tabCount == runCount.
30984 2006-02-16 Roman Kennke <kennke@aicas.com>
30986 * javax/swing/plaf/basic/BasicTextUI.java
30987 (installUI): Moved installation of PropertyChangeListener
30988 to installListeners(). Call modelChanged() after everything is
30990 (installListeners): Install PropertyChangeListener here.
30991 (uninstallUI): Moved uninstallation of PropertyChangeListener
30992 to uninstallListeners.
30993 (uninstallListeners): Uninstall PropertyChangeListener here.
30995 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30997 * javax/swing/JTable.java (doLayout):
30998 case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
31000 javax/swing/plaf/basic/BasicTableHeaderUI.java
31001 (MouseInputHandler.mouseDragged): Do not repaint the header.
31003 2006-02-16 Roman Kennke <kennke@aicas.com>
31005 * javax/swing/JViewport.java
31006 (static_initializer): Set default scrollMode to backingstore.
31008 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31010 * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
31011 returned by getCellRect. To not translate the component.
31013 2006-02-16 Roman Kennke <kennke@aicas.com>
31015 * javax/swing/JComponent.java
31016 (rectCache): Made field non-static to avoid nasty interferences.
31017 (computeVisibleRect): Avoid creation of new Rectangles and double
31018 calculations on ints by using Swing.computeIntersection() instead
31019 of Rectangle2D.intersect().
31020 (repaint): Interect the dirty region with the visible rectangle
31021 of this component to avoid unnecessary painting.
31023 2006-02-16 Gary Benson <gbenson@redhat.com>
31025 * java/lang/Thread.java (stop): Add a missing access check.
31027 2006-02-16 Robert Schuster <robertschuster@fsfe.org>
31029 * javax/swing/text/JTextComponent.java:
31030 (replaceSelection): Added code to update the magic caret position.
31031 * javax/swing/text/DefaultEditorKit.java: Added code to update
31032 the magic caret position of the text component in all relevant
31033 movement actions, make use of the magic caret position in up
31034 and down movements and selections, simplified some actions
31037 2006-02-15 Anthony Balkissoon <abalkiss@redhat.com>
31039 * gnu/java/lang/CharData.java: Regenerated from
31040 doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
31041 and scripts/unicode-muncher.pl.
31042 * java/lang/Character.java:
31043 (PrivateUseCharacters): New private static class.
31044 (UnassignedCharacters): Likewise.
31045 (blocks): Changed from char[] to char[][] to reflect the changes in
31046 gnu/java/lang/CharData. There is now one char[] per Unicode code
31049 (numValue): Likewise.
31052 (direction): Likewise.
31053 (readChar): Replaced this method with new method readCodePoint.
31054 (readCodePoint): New method.
31055 (isLowerCase(char)): Redirected to new isLowerCase(int).
31056 (isLowerCase(int)): New method.
31057 (isUpperCase(char)): Redirected to new isUpperCase(int).
31058 (isUpperCase(int)): New method.
31059 (isTitleCase(char)): Redirected to new isTitleCase(int).
31060 (isTitleCase(int)): New method.
31061 (isDigit(char)): Redirected to new isDigit(int).
31062 (isDigit(int)): New method.
31063 (isDefined(char)): Redirected to new isDefined(int).
31064 (isDefined(int)): New method.
31065 (isLetter(char)): Redirected to new isLetter(int).
31066 (isLetter(int)): New method.
31067 (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
31068 (isLetterOrDigit(int)): New method.
31069 (isJavaIdentifierStart(char)): Redirected to new
31070 isJavaIdentifierStart(int).
31071 (isJavaIdentifierStart(int)): New method.
31072 (isJavaIdentifierPart(char)): Redirected to new
31073 isJavaIdentifierPart(int).
31074 (isJavaIdentifierPart(int)): New method.
31075 (isUnicodeIdentifierStart(char)): Redirected to new
31076 isUnicodeIdentifierStart(int).
31077 (isUnicodeIdentifierStart(int)): New method.
31078 (isUnicodeIdentifierPart(char)): Redirected to new
31079 isUnicodeIdentifierPart(int).
31080 (isUnicodeIdentifierPart(int)): New method.
31081 (isIdentifierIgnorable(char)): Redirected to new
31082 isIdentifierIgnorable(int).
31083 (isIdentifierIgnorable(int)): New method.
31084 (toLowerCase(char)): Changed access to lower to correspond with new
31085 char[][] type of lower.
31086 (toLowerCase(int)) New method.
31087 (toUpperCase(char)): Changed access to upper to correspond with new
31088 char[][] type of upper.
31089 (toUpperCase(int)): New method.
31090 (toTitleCase(int)): New method.
31091 (digit(char, int)): Replaced call to readChar with call to
31092 readCodePoint and changed access to numValue to reflect new char[][]
31094 (digit(int, int)): New method.
31095 (getNumericValue(char)): Changed access to numValue to reflect new
31096 char[][] type of numValue.
31097 (getNumericValue(int)): New method.
31098 (isSpaceChar(char)): Redirected to new isSpaceChar(int).
31099 (isSpaceChar(int)): New method.
31100 (isWhitespace(char)): Redirected to new isWhitespace(int).
31101 (isWhitespace(int)): New method.
31102 (isISOControl(char)): Redirected to new isISOControl(int).
31103 (isISOControl(int)): New method.
31104 (getType(char)): Redirected to new getType(int).
31105 (getType(int)): New method.
31106 (getDirectionality(char)): Redirected to new getDirectionality(int).
31107 (getDirectionality(int)): New method.
31108 (isMirrored(char)): Changed call to readChar to readCodePoint.
31109 (isMirrored(int)): New method.
31110 * java/lang/String.java:
31111 (upperCaseExpansion): Changed access to Character.direction to reflect
31112 new char[][] type of direction.
31113 (offsetByCodePoints): New method.
31114 * scripts/unicode-muncher.pl: Adapted this script to handle Unicode
31115 4.0.0 which introduced supplementary character assignments.
31117 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31119 * javax/swing/JTable.java,
31120 javax/swing/plaf/basic/BasicTableHeaderUI.java,
31121 javax/swing/table/DefaultTableModel.java: Documented.
31123 2006-02-15 Lillian Angel <langel@redhat.com>
31125 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
31126 Removed duplicate methods.
31128 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31130 * javax/swing/JTable.java (distributeSpillResizing): New method.
31131 (doLayout): Use distributeSpillResizing when resizing.
31132 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31133 Rewritten. (installListeners): Add mouse motion listener.
31134 (uninstallListeners): Remove mouse motion listener.
31136 2006-02-15 Lillian Angel <langel@redhat.com>
31138 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31139 (setVisible): Removed method.
31140 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31141 (setLocation): New method.
31142 (setLocationUnlocked): New method.
31143 (show): Changed to use setLocation instead of setBounds.
31144 * java/awt/Component.java
31145 (show): Should call peer.show(), not peer.setVisible(), so the
31146 location of the component is correctly set.
31147 (preferredSize): Added curly braces so else statements are
31148 properly associated with if's.
31149 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31150 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation):
31152 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
31153 LocationUnlocked): New function.
31154 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
31155 Added declarations for Java_gnu_java_awt_peer_gtk_
31156 GtkWindowPeer_nativeSetLocation and
31157 Java_gnu_java_awt_peer_gtk_GtkWindowPeer
31158 _nativeSetLocationUnlocked.
31160 2006-02-15 Mark Wielaard <mark@klomp.org>
31162 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31163 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31164 Downcast gtk_plug_new result when used.
31166 2006-02-15 Olivier Jolly <olivier.jolly@pcedev.com>
31168 * java/io/ObjectOutputStream.java (writeClassDescriptor):
31169 Call assignNewHandle() after writing Proxy class.
31171 2006-02-15 Olivier jolly <olivier.jolly@pcedev.com>
31174 * java/io/ObjectInputStream.java (readClassDescriptor):
31175 Class doesn't have to be abstract for first_nonserial.
31177 2006-02-15 Roman Kennke <kennke@aicas.com>
31179 * javax/swing/JInternalFrame.java
31180 (setClosed): Call dispose to actually make the frame invisible
31183 2006-02-15 Roman Kennke <kennke@aicas.com>
31185 * javax/swing/JInternalFrame.java
31186 (dispose): Call setVisible(false) instead of hide.
31187 (doDefaultCloseOperation): Likewise.
31189 2006-02-15 Roman Kennke <kennke@aicas.com>
31191 * javax/swing/JComponent.java
31192 (paintChildren): Also check for the visibility of a child component
31193 to avoid artifacts.
31194 (repaint): Simply add this component to the RepaintManager rather than
31195 trying to do useless optimization here.
31197 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
31199 * javax/swing/JSpinner.java
31200 (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a
31201 PropertyChangeListener,
31202 (DefaultEditor.getSpinner): Updated API docs,
31203 (DefaultEditor.dismiss): Likewise,
31204 (DefaultEditor.getTextField): Likewise,
31205 (DefaultEditor.layoutContainer): Likewise,
31206 (DefaultEditor.minimumLayoutSize): Likewise,
31207 (DefaultEditor.preferredLayoutSize): Likewise,
31208 (DefaultEditor.propertyChange): Implemented,
31209 (DefaultEditor.stateChanged): Implemented,
31210 (DefaultEditor.removeLayoutComponent): Updated API docs,
31211 (DefaultEditor.addLayoutComponent): Likewise,
31212 (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
31213 (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
31214 (NumberEditor.getFormat): Implemented,
31215 (NumberEditor.getModel): Updated API docs,
31216 (NumberEditorFormatter): New static inner class,
31217 (ListEditor.getModel): Updated API docs,
31218 (DateEditor.dateFormat): Removed,
31219 (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
31220 (DateEditor.DateEditor(JSpinner, String)): Likewise,
31221 (DateEditor.init): Removed,
31222 (DateEditor.getFormat): Reimplemented,
31223 (DateEditorFormatter): New static inner class,
31224 (ModelListener): New inner class,
31225 (model): Updated API docs,
31226 (editor): Likewise,
31227 (listener): Removed,
31228 (JSpinner()): Updated API docs,
31229 (JSpinner(SpinnerModel)): Set up ModelListener,
31230 (setEditor): Fire property change,
31231 (getModel): Updated API docs,
31232 (setModel): Removed check for null editor,
31233 (setValue): Updated API docs,
31234 (getUIClassID): Updated API docs,
31235 (createEditor): Handle SpinnerListModel case,
31236 * javax/swing/plaf/basic/BasicSpinnerUI.java
31237 (createUI): Updated API docs,
31238 (createPropertyChangeListener): Added FIXME,
31239 (installDefaults): Set text field border to null,
31240 (DefaultLayoutManager): Updated API docs,
31241 (DefaultLayoutManager.layoutContainer): Modified layout,
31242 (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
31243 (DefaultLayoutManager.preferredLayoutSize): Likewise,
31244 (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
31245 (DefaultLayoutManager.addLayoutComponent): Likewise,
31246 (DefaultLayoutManager.minSize): Renamed prefSize,
31247 (DefaultLayoutManager.setBounds): Reformatted,
31248 (DefaultLayoutManager.editor): Added API docs,
31249 (DefaultLayoutManager.next): Likewise,
31250 (DefaultLayoutManager.previous): Likewise,
31251 * javax/swing/plaf/metal/MetalLookAndFeel.java
31252 (initComponentDefaults): Added entry for 'Spinner.border',
31253 * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
31255 2006-02-15 Chris Burdess <dog@gnu.org>
31257 * gnu/xml/validation/datatype/BooleanType.java,
31258 gnu/xml/validation/datatype/ByteType.java,
31259 gnu/xml/validation/datatype/DateTimeType.java,
31260 gnu/xml/validation/datatype/DateType.java,
31261 gnu/xml/validation/datatype/DecimalType.java,
31262 gnu/xml/validation/datatype/DoubleType.java,
31263 gnu/xml/validation/datatype/DurationType.java,
31264 gnu/xml/validation/datatype/FloatType.java,
31265 gnu/xml/validation/datatype/GDayType.java,
31266 gnu/xml/validation/datatype/GMonthDayType.java,
31267 gnu/xml/validation/datatype/GMonthType.java,
31268 gnu/xml/validation/datatype/GYearMonthType.java,
31269 gnu/xml/validation/datatype/GYearType.java,
31270 gnu/xml/validation/datatype/IntType.java,
31271 gnu/xml/validation/datatype/IntegerType.java,
31272 gnu/xml/validation/datatype/LongType.java,
31273 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31274 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31275 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31276 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31277 gnu/xml/validation/datatype/NegativeIntegerType.java,
31278 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31279 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31280 gnu/xml/validation/datatype/PositiveIntegerType.java,
31281 gnu/xml/validation/datatype/ShortType.java,
31282 gnu/xml/validation/datatype/SimpleType.java,
31283 gnu/xml/validation/datatype/TimeType.java,
31284 gnu/xml/validation/datatype/TypeBuilder.java,
31285 gnu/xml/validation/datatype/UnsignedByteType.java,
31286 gnu/xml/validation/datatype/UnsignedIntType.java,
31287 gnu/xml/validation/datatype/UnsignedLongType.java,
31288 gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
31289 objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
31290 minInclusive facets use the value space of the base type, and
31293 2006-02-15 Mark Wielaard <mark@klomp.org>
31295 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31296 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31297 gtk_plug_new() returns a GtkWindow.
31299 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
31301 * javax/swing/SpinnerNumberModel.java
31302 (getNextValue): Check for null maximum,
31303 (getPreviousValue): Check for null minimum.
31305 2006-02-15 Roman Kennke <kennke@aicas.com>
31307 * javax/swing/plaf/basic/BasicTableUI.java
31308 (paint): Paint vertical and horizontal lines one pixel shifted
31311 2006-02-15 Jeroen Frijters <jeroen@frijters.net>
31313 * java/util/zip/ZipFile.java
31314 (checkZipFile): Inlined readLeInt and rewritten for robustness.
31315 (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
31316 readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
31317 (readEntries): Rewritten to use PartialInputStream.
31318 (locBuf, checkLocalHeader): Removed.
31319 (getInputStream): Rewritten to use new PartialInputStream.
31320 (PartialInputStream): Rewritten to do buffering.
31322 2006-02-15 Michael Koch <konqueror@gmx.de>
31324 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31325 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31326 Make sure the embedded window gets no decorations.
31327 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31328 (window_get_frame_extents): Return early of the window has no
31331 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31333 * examples/gnu/classpath/examples/swing/TableDemo.java
31334 (TModel, createContent): Explain which value appears in the header.
31335 * javax/swing/JTable.java (setColumnModel): Only set the
31336 column header value if the getHeaderValue() returns null.
31338 2006-02-14 Mark Wielaard <mark@klomp.org>
31341 * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
31342 (getErrorImage): New static method.
31343 * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
31344 (bufferedImageOrError): Renamed to ...
31345 (imageOrError): Renamed from bufferedImageOrError, takes Image.
31346 Returns GtkImage.getErrorImage() when argument null.
31347 (createImage(String)): Always use imageOrError.
31348 (createImage(URL)): Likewise.
31349 (createImage(ImageProducer)): Likewise.
31350 (createImage(byte[],int,int)): Likewise.
31352 2006-02-14 Roman Kennke <kennke@aicas.com>
31354 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
31356 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
31357 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
31358 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
31359 * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
31360 * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
31362 2006-02-14 Roman Kennke <kennke@aicas.com>
31364 * javax/swing/text/AsyncBoxView.java
31365 (ChildState.locator): Removed wrong field.
31366 (ChildState): Removed initialization of removed field.
31367 (locator): Changed access modifier to be protected as specified.
31369 2006-02-14 Roman Kennke <kennke@aicas.com>
31371 * javax/swing/ToolTipManager.java: Removed unneeded imports.
31372 * javax/swing/Timer.java: Some small reindention.
31373 (task): Made package private to avoid synthetic accessor method.
31375 2006-02-14 Roman Kennke <kennke@aicas.com>
31377 * javax/swing/SwingUtilities.java
31378 (layoutCompoundLabel): Dont set textIconGap to 0 when there is
31381 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31383 * examples/gnu/classpath/examples/swing/TableDemo.java:
31384 Making the columns variable width.
31385 * javax/swing/JTable.java (distributeSpill, doLayout):
31386 Call getPreferredSize and not getSize().
31388 2006-02-14 Roman Kennke <kennke@aicas.com>
31390 * javax/swing/DefaultCellEditor.java
31391 (DefaultCellEditor): API doc fixlet.
31393 2006-02-14 Roman Kennke <kennke@aicas.com>
31395 * javax/swing/JViewport.java
31396 (isPaintRoot): New field.
31397 (repaint): Only call super here. Also added a comment regarding
31398 the diversion from the JDK.
31399 (paintBlit): Implemented real blitting.
31400 (paintImmediately2): New method. Overrides the same package private
31401 method in JComponent.
31403 2006-02-14 Roman Kennke <kennke@aicas.com>
31405 * javax/swing/plaf/basic/BasicTableUI.java
31406 (paint): Check for boundary cases when determining the painting
31409 2006-02-14 Mark Wielaard <mark@klomp.org>
31411 * java/awt/Menu.java (add): Always set parent of item to this. Call
31412 addNotify() on item when we have a MenuPeer already.
31413 (insert): Always adjust parent for item. Call addNotify() on item if
31414 we already have a peer.
31415 (remove(int)): Always clear item parent. Call removeNotify() on item
31418 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31420 * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed
31421 row == getRowCount().
31423 2006-02-14 Lillian Angel <langel@redhat.com>
31425 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31426 (setVisible): New method to override super. Need to set the
31427 native bounds of the component, so it appears at the
31430 2006-02-14 Mark Wielaard <mark@klomp.org>
31432 * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31433 (remove): If menu component is the current MenuBar remove it,
31434 otherwise call super.remove().
31435 * java/awt/MenuBar.java (frame): Remove field.
31436 * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31438 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31440 * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31441 to NameServicePersistent.
31442 * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31443 * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31445 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31447 * NEWS: Updated tool status.
31448 * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31449 (constructor, bind, rebind): Rewritten.
31450 * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31451 * tools/gnu/classpath/tools/giop/README: Updated.
31452 * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31453 tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31454 tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31455 tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31456 tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:
31459 2006-02-14 David Gilbert <david.gilbert@object-refinery.com>
31461 * javax/swing/JComponent.java
31462 (getListeners): Check for PropertyChangeListener.class and delegate to
31463 getPropertyChangeListeners() for that case.
31465 2006-02-13 Roman Kennke <kennke@aicas.com>
31467 * javax/swing/plaf/basic/BasicTableUI.java
31468 (paint): Determine the cells that need painting based on the
31469 current clip. Use getCellRect() for calculating the cell
31472 2006-02-13 Roman Kennke <kennke@aicas.com>
31474 * javax/swing/JTable.java
31475 (rectCache): New field.
31476 (getCellRect): Returns cached Rectangle instance.
31478 2006-02-13 Roman Kennke <kennke@aicas.com>
31480 * javax/swing/JLayeredPane.java
31481 (removeAll): New method. Avoid potential memory leak.
31482 (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31485 2006-02-14 Stuart Ballard <stuart.a.ballard@gmail.com>
31487 * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31488 * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31490 2006-02-13 Tom Tromey <tromey@redhat.com>
31492 * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31493 * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31495 2006-02-13 Roman Kennke <kennke@aicas.com>
31497 * javax/swing/RepaintManager.java
31498 (offscreenBuffers): New field.
31499 (doubleBuffer): Removed field.
31500 (repaintUnderway): New field.
31501 (commitRequests): New field.
31502 (RepaintManager): Initialize new fields.
31503 (paintDirtyRegions): Handle repaintUnderway flag. Commit
31505 (getOffscreenBuffer): Returns the offscreen buffer for the
31506 corresponding root component.
31507 (commitBuffer): New method.
31508 (commitRemainingBuffers): New method.
31509 * javax/swing/JComponent.java
31510 (paint): Call paintDoubleBuffered with the current clip.
31511 (paintImmediately2): Don't paint on screen here.
31512 (paintDoubleBuffered): Rewritten for real double buffering.
31513 (paintSimple): Draw to screen in this method.
31515 2006-02-13 Roman Kennke <kennke@aicas.com>
31517 * javax/swing/JRootPane.java
31518 (JRootPane): Set opaque property to true.
31520 2006-02-13 Tom Tromey <tromey@redhat.com>
31522 * .classpath: Updated for external/relaxngDatatype.
31524 2006-02-13 Chris Burdess <dog@gnu.org>
31526 * gnu/xml/stream/UnicodeReader.java,
31527 gnu/xml/validation/datatype/Annotation.java,
31528 gnu/xml/validation/datatype/AnySimpleType.java,
31529 gnu/xml/validation/datatype/AnyType.java,
31530 gnu/xml/validation/datatype/AnyURIType.java,
31531 gnu/xml/validation/datatype/AtomicSimpleType.java,
31532 gnu/xml/validation/datatype/Base64BinaryType.java,
31533 gnu/xml/validation/datatype/BooleanType.java,
31534 gnu/xml/validation/datatype/ByteType.java,
31535 gnu/xml/validation/datatype/DateTimeType.java,
31536 gnu/xml/validation/datatype/DateType.java,
31537 gnu/xml/validation/datatype/DecimalType.java,
31538 gnu/xml/validation/datatype/DoubleType.java,
31539 gnu/xml/validation/datatype/DurationType.java,
31540 gnu/xml/validation/datatype/EntitiesType.java,
31541 gnu/xml/validation/datatype/EntityType.java,
31542 gnu/xml/validation/datatype/EnumerationFacet.java,
31543 gnu/xml/validation/datatype/Facet.java,
31544 gnu/xml/validation/datatype/FloatType.java,
31545 gnu/xml/validation/datatype/FractionDigitsFacet.java,
31546 gnu/xml/validation/datatype/GDayType.java,
31547 gnu/xml/validation/datatype/GMonthDayType.java,
31548 gnu/xml/validation/datatype/GMonthType.java,
31549 gnu/xml/validation/datatype/GYearMonthType.java,
31550 gnu/xml/validation/datatype/GYearType.java,
31551 gnu/xml/validation/datatype/HexBinaryType.java,
31552 gnu/xml/validation/datatype/IDRefType.java,
31553 gnu/xml/validation/datatype/IDRefsType.java,
31554 gnu/xml/validation/datatype/IDType.java,
31555 gnu/xml/validation/datatype/IntType.java,
31556 gnu/xml/validation/datatype/IntegerType.java,
31557 gnu/xml/validation/datatype/LanguageType.java,
31558 gnu/xml/validation/datatype/LengthFacet.java,
31559 gnu/xml/validation/datatype/ListSimpleType.java,
31560 gnu/xml/validation/datatype/LongType.java,
31561 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31562 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31563 gnu/xml/validation/datatype/MaxLengthFacet.java,
31564 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31565 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31566 gnu/xml/validation/datatype/MinLengthFacet.java,
31567 gnu/xml/validation/datatype/NCNameType.java,
31568 gnu/xml/validation/datatype/NMTokenType.java,
31569 gnu/xml/validation/datatype/NMTokensType.java,
31570 gnu/xml/validation/datatype/NameType.java,
31571 gnu/xml/validation/datatype/NegativeIntegerType.java,
31572 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31573 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31574 gnu/xml/validation/datatype/NormalizedStringType.java,
31575 gnu/xml/validation/datatype/NotationType.java,
31576 gnu/xml/validation/datatype/PatternFacet.java,
31577 gnu/xml/validation/datatype/PositiveIntegerType.java,
31578 gnu/xml/validation/datatype/QNameType.java,
31579 gnu/xml/validation/datatype/ShortType.java,
31580 gnu/xml/validation/datatype/SimpleType.java,
31581 gnu/xml/validation/datatype/StringType.java,
31582 gnu/xml/validation/datatype/TimeType.java,
31583 gnu/xml/validation/datatype/TokenType.java,
31584 gnu/xml/validation/datatype/TotalDigitsFacet.java,
31585 gnu/xml/validation/datatype/Type.java,
31586 gnu/xml/validation/datatype/TypeBuilder.java,
31587 gnu/xml/validation/datatype/TypeLibrary.java,
31588 gnu/xml/validation/datatype/TypeLibraryFactory.java,
31589 gnu/xml/validation/datatype/UnionSimpleType.java,
31590 gnu/xml/validation/datatype/UnsignedByteType.java,
31591 gnu/xml/validation/datatype/UnsignedIntType.java,
31592 gnu/xml/validation/datatype/UnsignedLongType.java,
31593 gnu/xml/validation/datatype/UnsignedShortType.java,
31594 gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31595 resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31596 RELAX NG datatype library implementation for XML Schema Datatypes.
31598 2006-02-13 Chris Burdess <dog@gnu.org>
31604 external/Makefile.am,
31605 external/relaxngDatatype/.cvsignore,
31606 external/relaxngDatatype/Makefile.am,
31607 external/relaxngDatatype/README.txt,
31608 external/relaxngDatatype/copying.txt,
31609 external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31610 external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31611 external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31612 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31613 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31614 external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31615 external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31616 external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31617 external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31618 external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31620 lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31621 datatypes library API.
31623 2006-02-13 Mark Wielaard <mark@klomp.org>
31625 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31627 (gtkWidgetModifyFont(Font)): New protected helper method.
31628 (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31629 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31630 protected and document.
31631 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31633 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31635 * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31637 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31638 (setFont): Removed method. Done in GtkMenuComponent.
31639 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31640 abstract and protected.
31641 (setFont): Made private, add implementation.
31642 (setFont(Font)): Implemented.
31643 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31644 Made protected and document.
31645 (create): Made protected.
31646 (setFont): Removed method. Done in GtkMenuComponent.
31647 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31648 (gtkWidgetModifyFont): Made protected and document.
31649 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31650 Removed, similar to GtkGenericPeer super class implementation.
31651 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31652 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31653 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31656 2006-02-13 Mark Wielaard <mark@klomp.org>
31658 * java/lang/Math.java (static): Explicitly call
31659 System.loadLibrary("javalang").
31661 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31663 * javax/print/StreamPrintServiceFactory.java: New file.
31665 2006-02-13 Tom Tromey <tromey@redhat.com>
31667 * tools/.cvsignore: Added Makefile.
31669 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31671 * java/awt/print/PrinterGraphics.java: Reformatted.
31672 * java/awt/print/Paper.java: Likewise.
31673 * java/awt/print/PageFormat.java: Likewise.
31674 * java/awt/print/Pageable.java: Likewise.
31676 2006-02-13 Lillian Angel <langel@redhat.com>
31678 * java/awt/BorderLayout.java
31679 (layoutContainer): Rewrote part of this function to
31680 properly set the bounds of the components.
31681 (setBounds): Removed method, not needed.
31683 2006-02-13 Roman Kennke <kennke@aicas.com>
31685 * javax/swing/text/DefaultStyledDocument.java
31686 (ElementBuffer.clone): Fixed replace call.
31687 (clone): Removed method.
31689 2006-02-13 Roman Kennke <kennke@aicas.com>
31691 * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31693 2006-02-13 Roman Kennke <kennke@aicas.com>
31695 * java/rmi/server/UnicastRemoteObject.java
31696 (exportObject(Remote)): Forward method call to export(Remote,int).
31698 2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
31700 * include/Makefile.am:
31701 Swapped Math.h for VMMath.h
31702 * include/java_lang_Math.h:
31704 * include/java_lang_VMMath.h:
31705 New autogenerated header for the new class.
31706 * java/lang/Math.java:
31707 (sin(double)): Changed to link to VMMath.
31708 (cos(double)): Changed to link to VMMath.
31709 (tan(double)): Changed to link to VMMath.
31710 (asin(double)): Changed to link to VMMath.
31711 (acos(double)): Changed to link to VMMath.
31712 (atan(double)): Changed to link to VMMath.
31713 (atan2(double)): Changed to link to VMMath.
31714 (exp(double)): Changed to link to VMMath.
31715 (log(double)): Changed to link to VMMath.
31716 (sqrt(double)): Changed to link to VMMath.
31717 (pow(double,double)): Changed to link to VMMath.
31718 (IEEEremainder(double,double)): Changed to link to VMMath.
31719 (ceil(double)): Changed to link to VMMath.
31720 (floor(double)): Changed to link to VMMath.
31721 (rint(double)): Changed to link to VMMath.
31722 * native/jni/java-lang/Makefile.am:
31723 Replaced java_lang_Math.c with java_lang_VMMath.c
31724 * native/jni/java-lang/java_lang_Math.c:
31726 * native/jni/java-lang/java_lang_VMMath.c:
31727 Renamed from java_lang_Math.c.
31728 * vm/reference/java/lang/VMMath.java:
31730 (sin(double)): New native method.
31731 (cos(double)): New native method.
31732 (tan(double)): New native method.
31733 (asin(double)): New native method.
31734 (acos(double)): New native method.
31735 (atan(double)): New native method.
31736 (atan2(double)): New native method.
31737 (exp(double)): New native method.
31738 (log(double)): New native method.
31739 (sqrt(double)): New native method.
31740 (pow(double,double)): New native method.
31741 (IEEEremainder(double,double)): New native method.
31742 (ceil(double)): New native method.
31743 (floor(double)): New native method.
31744 (rint(double)): New native method.
31746 2006-02-13 Lillian Angel <langel@redhat.com>
31748 * java/awt/Component.java
31749 (repaint): No need to call isShowing, it is done in the other repaint call.
31750 (repaint): Likewise.
31751 (repaint): Likewise.
31753 2006-02-13 Lillian Angel <langel@redhat.com>
31755 * java/awt/Component.java
31756 (repaint): Reverted last change.
31757 (repaint): Likewise.
31758 (repaint): Likewise.
31760 2006-02-13 Lillian Angel <langel@redhat.com>
31762 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31763 (handleEvent): Made more efficent by handling paint event and
31764 setting the clip for the graphics.
31765 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31766 (handleEvent): Likewise.
31767 * java/awt/Component.java
31768 (repaint): No need to call isShowing, it is done in the other repaint call.
31769 (repaint): Likewise.
31770 (repaint): Likewise.
31772 2006-02-13 Roman Kennke <kennke@aicas.com>
31774 * javax/swing/text/AbstractDocument.java
31775 (setParent): Added API docs. Call setParent(null) on children before
31776 disconnecting this view from the View hierarchy.
31778 2006-02-13 Roman Kennke <kennke@aicas.com>
31780 * javax/swing/text/AbstractDocument.java
31781 (readUnlock): Don't attempt to unlock when the current threads also
31782 holds a write lock.
31784 2006-02-13 David Gilbert <david.gilbert@object-refinery.com>
31786 * javax/swing/plaf/metal/MetalBorders.java
31787 (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31788 (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31790 (Flush3DBorder.borderInsets): New field,
31791 (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
31792 (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for
31793 null insets argument, and populate result from borderInsets,
31794 (PaletteBorder.borderInsets): New field,
31795 (PaletteBorder.getBorderInsets(Component)): Return insets directly,
31796 (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for
31797 null insets argument, and populate result from borderInsets,
31798 (InternalFrameBorder.borderInsets): New field,
31799 (InternalFrameBorder.getBorderInsets(Component)): Return insets
31801 (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check
31802 for null insets argument, and populate result from borderInsets,
31803 (MenuItemBorder.borderInsets): Initialise to correct value.
31805 2006-02-13 Roman Kennke <kennke@aicas.com>
31807 * javax/swing/text/AsyncBoxView.java: New file.
31809 2006-02-13 Ito Kazumitsu <kaz@maczuka.gcd.org>
31812 * gnu/regexp/RE.java(initialize): Parsing of character class expression
31813 was moved to a new method parseCharClass.
31814 (parseCharClass): New method originally in initialize. Added parsing
31815 of nested character classes.
31816 (ParseCharClassResult): New inner class used as a return value of
31818 (getCharExpression),(getNamedProperty): Made static.
31819 * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
31820 * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
31821 nested character classes.
31822 (RETokenOneOf): New constructor accepting the Vector addition.
31823 (getMinimumLength), (getMaximumLength): Returns 1 if the token
31824 stands for only one character.
31825 (match): Added the processing of the Vector addition.
31826 (matchN), (matchP): Do not check next token if addition is used.
31828 2006-02-12 Olivier Jolly <olivier.jolly@pcedev.com>
31830 * AUTHORS: add self.
31832 2006-02-12 Tom Tromey <tromey@redhat.com>
31834 * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
31835 * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
31836 (securityContext): Likewise.
31839 2006-02-12 Dalibor Topic <robilad@kaffe.org>
31843 * gnu/java/net/protocol/file/Connection.java (unquote):
31844 Convert Unicode characters outside basic plane to UTF-8,
31845 rather than throwing an exception.
31847 2006-02-12 Tom Tromey <tromey@redhat.com>
31849 * javax/sound/sampled/LineEvent.java (readObject): New method.
31850 (writeObject): Likewise.
31851 (serialVersionUID): New field.
31853 2006-02-12 Mark Wielaard <mark@klomp.org>
31855 * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
31856 Silently ignores null listener.
31857 (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
31858 (getPropertyChangeListeners): Returns empty PropertyChangeListener
31859 array for null propertyName.
31861 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31863 * java/rmi/MarshalledObject.java: Added api docs to the class.
31864 * java/rmi/Remote.java: Added interface api docs.
31865 * java/rmi/package.html: Added package description.
31866 * java/rmi/AccessException.java: Minor api doc fixes.
31867 * java/rmi/NoSuchObjectException.java: Likewise.
31868 * java/rmi/AlreadyBoundException.java: Likewise.
31869 * java/rmi/RemoteException.java: Likewise.
31870 * java/rmi/NotBoundException.java: Likewise.
31871 * java/rmi/RMISecurityException.java: Likewise.
31872 * java/rmi/StubNotFoundException.java: Likewise.
31874 2006-02-12 Mark Wielaard <mark@klomp.org>
31876 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
31877 q() to get EventQueue.
31878 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
31879 (enableQueue): Remove static method.
31880 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
31881 Don't call GtkGenericPeer.enableQueue().
31883 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31885 * java/rmi/MarshalledObject.java: Reformatted.
31886 * java/rmi/Naming.java: Likewise.
31888 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31890 * java/io/InputStream.java
31891 (read(byte[],int,int)): Changed argument validation to prevent
31892 integer overflow. Remove redundant check.
31894 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31897 * java/io/InputStreamReader.java
31898 (InputStreamReader(InputStream)): Use SystemProperties.
31899 (InputStreamReader(InputStream,Charset)): Corrected @since tag.
31900 Throw NullPointerException if in is null.
31901 Added maxBytesPerChar initialisation.
31902 (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
31903 Throw NullPointerException if in is null.
31905 2006-02-12 Raif S. Naffah <raif@swiftdsl.com.au>
31907 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
31908 (GnuDHPublicKey(4)): Call constructor with 5 arguments.
31909 (GnuDHPublicKey): New constructor.
31910 (getEncoded): Removed.
31911 (valueOf): Added support for ASN.1 encoding.
31912 (getEncoded(int)): Likewise.
31913 (equals): New method.
31914 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
31915 (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
31916 (GnuDHPrivateKey(5)): New constructor.
31917 (getEncoded): Removed.
31918 (valueOf): Added support for ASN.1 encoding.
31919 (getEncoded(int)): Likewise.
31920 (equals): New method.
31921 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
31922 (PREFERRED_ENCODING_FORMAT): New constant.
31923 (DEFAULT_ENCODING_FORMAT): Likewise.
31924 (preferredFormat): New field.
31925 (setup): Handle preferred encoding format identifier.
31926 (generate): Call constructors with format identifier.
31927 * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
31928 (GnuDHKey): Added an int argument.
31929 (getEncoded): New method.
31930 (getFormat): New implementation.
31931 (getEncoded(int)): New abstract method.
31932 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
31933 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
31934 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
31935 key-pair generator and key-factory.
31936 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
31937 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
31938 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
31939 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31940 (invokeConstructor): New method.
31941 (getConcreteClass): Likewise.
31942 (getConcreteCtor): Likewise.
31943 (invokeValueOf): Likewise.
31944 (getValueOfMethod): Likewise.
31945 (engineGeneratePublic): Add support for DH keys.
31946 (engineGeneratePrivate): Likewise.
31947 (decodeDHPublicKey(DHPublicKeySpec)): New method.
31948 (decodeDHPublicKey(byte[])): Likewise.
31949 (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
31950 (decodeDHPrivateKey(byte[])): Likewise.
31952 2006-02-11 Mark Wielaard <mark@klomp.org>
31954 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
31956 (repaint): Immediately post to queue when tm <= 0, otherwise call
31957 RepaintTimerTask.schedule().
31958 (RepaintTimerTask): Make static.
31959 (RepaintTimerTask.repaintTimer): New static final field.
31960 (RepaintTimerTask.awtComponent): New field.
31961 (schedule): New static method.
31963 2006-02-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31965 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
31966 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
31967 * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
31968 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
31969 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
31971 * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
31973 2006-02-11 Raif S. Naffah <raif@swiftdsl.com.au>
31975 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31976 (engineGeneratePublic): Added support for raw key-specifications.
31977 (engineGeneratePrivate): Likewise.
31978 (decodeDSSPublicKey): New method.
31979 (decodeRSAPublicKey): Likewise.
31980 (decodeDSSPrivateKey): Likewise.
31981 (decodeRSAPrivateKey): Likewise.
31982 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
31983 (encodePrivateKey): Throw InvalidParameterException.
31984 (decodePublicKey): Likewise.
31985 (decodePrivateKey): Likewise.
31986 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
31987 (encodePublicKey): Likewise.
31988 (encodePrivateKey): Likewise.
31989 (decodePublicKey): Likewise.
31990 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
31991 (encodePrivateKey): Likewise.
31992 (decodePublicKey): Likewise.
31993 (decodePrivateKey): Likewise.
31994 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
31995 (encodePublicKey): Likewise.
31996 (encodePrivateKey): Likewise.
31997 (decodePublicKey): Likewise.
31999 2006-02-10 Roman Kennke <kennke@aicas.com>
32001 * javax/swing/text/StyleContext.java
32002 (registerStaticAttributeKey): New static method.
32004 2006-02-10 Roman Kennke <kennke@aicas.com>
32006 * javax/swing/text/DefaultStyledDocument.java
32007 (ElementBuffer.clone): New method.
32009 2006-02-10 Roman Kennke <kennke@aicas.com>
32011 * javax/swing/text/ParagraphView.java
32012 (findOffsetToCharactersInString): New method.
32013 (getClosestPositionTo): New method.
32014 (getPartialSize): New method.
32015 (getTabBase): New method.
32016 (adjustRow): New method.
32017 (breakView): New method.
32018 (getBreakWeight): New method.
32020 2006-02-10 Roman Kennke <kennke@aicas.com>
32022 * javax/swing/text/GapContent.java
32023 (updateUndoPositions): New method.
32024 * javax/swing/text/StringContent.java
32025 (updateUndoPositions): New method.
32027 2006-02-10 Raif S. Naffah <raif@swiftdsl.com.au>
32029 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
32031 * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
32032 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
32033 Added support for encoded key specifications.
32034 (engineGeneratePrivate): Likewise.
32035 (engineGetKeySpec): Likewise.
32036 (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
32038 2006-02-10 Robert Schuster <robertschuster@fsfe.org>
32040 * javax/swing/text/Utilities.java:
32041 (getTabbedTextOffset): Fixed usage of variable p0.
32042 (getPositionAbove): Rewritten.
32043 (getPositionBelow): Rewritten.
32045 2006-02-09 Roman Kennke <kennke@aicas.com>
32047 * javax/swing/text/BoxView.java
32048 (getAxis): Added @since tag.
32049 (setAxis): Added @since tag.
32050 (layoutChanged): Added @since tag.
32051 (isLayoutValid): Added @since tag.
32052 (paint): Don't call setSize here. This is done in RootView already.
32053 (getMaximumSpan): Reimplemented to return the requirements'
32054 maximum size. Added API docs.
32055 (getMinimumSpan): New method.
32056 (layout): Fixed layout order.
32057 (modelToView): Call layout instead of setSize here.
32058 (getResizeWeight): New method.
32059 (getChildAllocation): New method.
32060 (forwardUpdate): New method.
32061 (viewToModel): New method.
32062 (flipEastEndWestEnds): New method.
32063 * javax/swing/text/CompositeView.java
32064 (modelToView): Made this method more robust by returning a default
32065 location if it's not possible to calculate one via the children.
32066 This default location returns the left or right edge of this
32068 (createDefaultLocation): New helper method.
32069 * javax/swing/text/IconView.java
32070 (modelToView): Don't throw BadLocationException. This should
32071 really only be thrown if the position is outside the document
32072 model, not if it's outside the view's boundary.
32074 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32076 * tools/Makefile.am: Handle rmi and giop folders separately.
32078 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
32080 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
32081 * javax/swing/SpinnerNumberModel.java: Likewise.
32083 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
32085 * javax/swing/SpinnerDateModel.java: Removed tabs,
32086 * javax/swing/SpinnerNumberModel.java: Likewise.
32088 2006-02-09 Anthony Balkissoon <abalkiss@redhat.com>
32090 * doc/unicode/SpecialCasing-4.0.0.txt: New file.
32091 * doc/unicode/UnicodeData-4.0.0.txt: New file.
32093 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32096 * gnu/java/net/protocol/http/HTTPURLConnection.java:
32097 (isRedirect): Removed, moved to Response.java.
32098 (connect): If error condition redirect responseSink to errorSink.
32099 (getInputStream): If error condition throw IOException, for the error
32100 codes 404 and 410 throw a FileNotFoundException.
32101 * gnu/java/net/protocol/http/Response.java (isError): New method.
32102 (isRedirect): New method, moved from HTTPURLConnection.java.
32104 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32106 * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
32107 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
32108 * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource):
32110 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
32112 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
32113 AbstractMethodGenerator.
32114 * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
32115 tools/gnu/classpath/tools/rmi/RMIC.java,
32116 tools/gnu/classpath/tools/rmi/RMIC.txt,
32117 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
32118 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
32119 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
32120 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
32121 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
32122 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
32124 * NEWS: Corrected entry about the tools.
32126 2006-02-09 Lillian Angel <langel@redhat.com>
32128 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32129 (handleEvent): Added more to check to prevent assertion errors.
32130 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32131 (handleEvent): Likewise.
32132 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32133 (handleEvent): Likewise.
32135 2006-02-09 Mark Wielaard <mark@klomp.org>
32137 * javax/swing/JTable.java (tableChanged): Interpret null event as
32138 "everything changed".
32140 2006-02-09 Roman Kennke <kennke@aicas.com>
32142 * javax/swing/text/DefaultCaret.java
32143 (DocumentHandler.removeUpdate): When update policy is
32144 'on eventqueue', and the update doesn't come from the
32145 event queue, check if the current dot location is still
32147 (moveDot): Make sure the new dot location is valid.
32148 (setDot): Set the mark the same as the dot.
32150 2006-02-09 Roman Kennke <kennke@aicas.com>
32152 * javax/swing/text/AbstractDocument.java
32153 (remove): Perform all operations within a write lock and in the
32156 2006-02-09 Mark Wielaard <mark@klomp.org>
32158 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
32159 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
32160 creater than min, adjusting page_size if necessary.
32161 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
32163 2006-02-09 Lillian Angel <langel@redhat.com>
32165 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32166 (handleEvent): Added code to handle PaintEvent.UPDATE.
32167 Sun does not call update(Graphics g) on Panels.
32168 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32169 (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
32170 Sun does not call update(Graphics g) on Panels.
32172 2006-02-09 Roman Kennke <kennke@aicas.com>
32174 * javax/swing/text/BoxView.java
32175 (myAxis): Made field private.
32176 (xLayoutValid): Replaced by layoutValid array.
32177 (yLayoutValid): Replaced by layoutValid array.
32178 (layoutValid): New field.
32179 (spansX): Replaced by spans array.
32180 (spansY): Replaced by spans array.
32181 (spans): New field.
32182 (offsetsX): Replaced by offsets array.
32183 (offsetsY): Replaced by offsets array.
32184 (offsets): New field.
32185 (requirements): New field.
32186 (BoxView): Initialize new fields.
32187 (layoutChanged): Rewritten to use the layoutValid array.
32188 (isLayoutValid): Rewritten to use the layoutValid array.
32189 (replace): Use the new arrays.
32190 (getPreferredSpan): Rewritten to call calculateXXXRequirements
32191 instead of baselineRequirements.
32192 (baselineRequirements): Rewritten to calculate baseline requirements.
32193 (baselineLayout): Rewritten to calculate baseline layout.
32194 (childAllocation): Use new arrays.
32195 (layout): Rewritten. Only update the layout if necessary.
32196 (layoutMajorAxis): Directly set layoutValid.
32197 (layoutMinorAxis): Directly set layoutValid. Use cached size
32199 (getWidth): Use new span array.
32200 (getHeight): Likewise.
32201 (setSize): Rewritten to simply call layout().
32202 (validateLayout): Removed unneeded method.
32203 (getSpan): Use new arrays.
32204 (getOffset): Use new arrays.
32205 (getAlignment): Use cached requirements if possible.
32206 (preferenceChanged): Use new arrays.
32207 * javax/swing/text/FlowView.java
32208 (FlowStrategy.insertUpdate): Do nothing here.
32209 (FlowStrategy.removeUpdate): Do nothing here.
32210 (FlowStrategy.changedUpdate): Do nothing here.
32211 (FlowStrategy.layoutRow): Rewritten.
32212 (FlowStrategy.createView): Rewritten.
32213 (FlowStrategy.adjustRow): New method.
32214 (LogicalView.getViewIndex): Fixed condition for finding child
32216 (layoutDirty): New field indicating the state of the layout.
32217 (FlowView): Initialize new field.
32218 (loadChildren): Set parent on logical view so that preferenceChanges
32219 get propagated upwards.
32220 (layout): Rewritten to match the specs.
32221 (insertUpdate): Set layout to dirty.
32222 (removeUpdate): Set layout to dirty.
32223 (changedUpdate): Set layout to dirty.
32224 * javax/swing/text/GlyphView.java
32225 (getBreakWeight): Rewritten to use the Utilities class. Commented
32226 out though because that is broken.
32227 (insertUpdate): Call preferenceChanged on this object instead of
32229 * javax/swing/text/ParagraphView.java
32230 (Row.loadChildren): Overridden to be a noop to prevent initial
32231 creation of child views. This is carried out by the flow layout.
32232 * javax/swing/text/View.java
32233 (getPreferredSpan): Added API docs.
32234 (getResizeWeight): Added API docs.
32235 (getMaximumSpan): Added API docs. Rewritten to only have one exit
32237 (getMinimumSpan): Added API docs. Rewritten to return 0 when
32238 resizable instead of Integer.MAX_VALUE.
32239 (getAlignment): Added API docs.
32240 (replace): Added API docs.
32241 (forwardUpdate): Rewritten to only notify child views that need to
32244 2006-02-09 Roman Kennke <kennke@aicas.com>
32246 * javax/swing/plaf/basic/BasicTextUI.java
32247 (RootView.paint): Call setSize() before painting the view.
32249 2006-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
32252 * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
32253 flag which enables backslash escape in a replacement.
32254 (getReplacement): New public static method.
32255 (substituteImpl),(substituteAllImpl): Use getReplacement.
32256 * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
32257 * java/util/regex/Matcher.java(appendReplacement)
32258 Use RE#getReplacement.
32259 (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
32261 2006-02-09 Raif S. Naffah <raif@swiftdsl.com.au>
32263 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
32264 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
32265 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
32266 (PREFERRED_ENCODING_FORMAT): New constant.
32267 (DEFAULT_ENCODING_FORMAT): Likewise.
32268 (preferredFormat): New field.
32269 (setup): Add support for preferred encoding format.
32270 (generate): Call key constructors with explicit format identifier.
32271 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)):
32272 Call constructor with 3 arguments..
32273 (GnuRSAPublicKey(3)): New constructor.
32274 (valueOf): Added support for ASN.1 format.
32275 (getEncoded): Likewise.
32276 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
32277 Call constructor with 5 arguments.
32278 (GnuRSAPrivateKey(5)): New constructor.
32279 (GnuRSAPrivateKey(9)): New constructor.
32280 (valueOf): Added support for ASN.1 format.
32281 (getEncoded): Likewise.
32282 * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
32283 (GnuRSAKey): Modified constructor.
32284 (getFormat): Return preferred format identifier.
32285 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32286 (decodePrivateKey): Fixed documentation.
32287 Check Version field.
32288 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
32289 (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
32291 (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
32292 * gnu/java/security/jce/sig/EncodedKeyFactory.java
32293 (engineGeneratePublic): Added support for RSA.
32294 (engineGeneratePrivate): Likewise.
32296 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32298 * java/net/URLConnection.java:
32299 (setAllowUserInteraction): Throw IllegalStateException if connected.
32300 (getRequestProperty): Document return value if key is null.
32301 * gnu/java/net/protocol/http/HTTPURLConnection.java:
32302 (getRequestProperty): Return null if key is null.
32303 (getRequestProperties): Throw IllegalStateException if connected.
32304 (setRequestProperty): Call super method for exception tests.
32305 (addRequestProperty): Likewise.
32307 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32309 * gnu/java/net/protocol/http/Request.java:
32310 (Request): Remove initialization of removed field.
32311 (requestBodyNegotiationThreshold): Removed now unused field.
32312 (setRequestBodyNegotiationThreshold): Remove now unused method.
32313 (dispatch): Do not use 'Expect 100-continue' header if content-length
32314 is over a treshold. If user specified 'Expect 100-continue' still
32315 initialize the expectingContinue variable.
32317 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32319 * javax/swing/SpinnerNumberModel.java
32320 (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow
32321 maximum and minimum to take null values,
32322 (setValue): Only fire ChangeEvent if new value is different to old
32324 (setMinimum): Fixed test for updating value,
32325 (setMaximum): Likewise,
32326 (setStepSize): Likewise.
32328 2006-02-08 Tom Tromey <tromey@redhat.com>
32330 * tools/.cvsignore: Added Makefile.in.
32332 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32334 * java/rmi/server/RemoteRef.java,
32335 java/rmi/server/RemoteStub.java: Commented.
32337 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32339 * javax/swing/SpinnerDateModel.java
32340 (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
32342 (getPreviousValue): Check result against start, not end,
32343 (setValue): Check that value actually changes before firing
32346 2006-02-08 Lillian Angel <langel@redhat.com>
32348 * java/awt/Choice.java
32349 (select): Fixed up code, added some checks to prevent errors.
32350 (dispatchEventImpl): Removed. This function is not needed. It
32351 causes several assertion errors.
32353 2006-02-08 Roman Kennke <kennke@aicas.com>
32355 * javax/swing/text/PlainView.java
32356 (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
32357 drawing unnecessary characters.
32359 2006-02-08 Lillian Angel <langel@redhat.com>
32361 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32362 (handleEvent): Fixed check to determine if height or
32363 width is less than 1.
32365 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32367 *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
32369 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32371 * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
32372 examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
32373 Documenting the code generator.
32374 * gnu/CORBA/IOR.java (toStringFormatted,
32375 CodeSet_component.toStringFormatted): New methods.
32376 * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
32377 * tools/gnu/classpath/tools/giop/README: Rewritten.
32378 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten.
32379 (printHelpAndExit): Removed.
32380 *tools/gnu/classpath/tools/giop/IorParser.java,
32381 tools/gnu/classpath/tools/giop/IorParser.txt,
32382 tools/gnu/classpath/tools/giop/NameService.java,
32383 tools/gnu/classpath/tools/giop/NamingService.txt,
32384 tools/gnu/classpath/tools/HelpPrinter.java: New files.
32385 NEWS: Added note about GIOP tools.
32387 2006-02-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32389 * .classpath: New source patch (tools).
32390 * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
32391 * configure.ac (AC_CONFIG_FILES): added tools/Makefile
32392 * tools/gnu/classpath/tools/Makefile.am,
32393 tools/gnu/classpath/tools/giop/GRMIC.java
32394 tools/gnu/classpath/tools/giop/GRMIC.txt,
32395 tools/gnu/classpath/tools/giop/README,
32396 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
32397 tools/gnu/classpath/tools/giop/grmic/Generator.java,
32398 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
32399 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
32400 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
32401 tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
32402 tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
32403 tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
32404 tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
32405 tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32406 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32407 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
32409 2006-02-07 David Gilbert <david.gilbert@object-refinery.com>
32411 * java/awt/BasicStroke.java: Updated API docs all over,
32412 * java/awt/doc-files/capjoin.png: New file.
32414 2006-02-07 Lillian Angel <langel@redhat.com>
32416 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32417 (handleEvent): Added check. Should not paint or update the
32418 component if it's width and height are both 0.
32420 2006-02-07 Roman Kennke <kennke@aicas.com>
32422 * javax/swing/text/AbstractDocument.java
32423 (insertString): Enclose locking/unlocking in try-finally block
32424 and also keep locked while notifying the listeners.
32426 2006-02-07 Roman Kennke <kennke@aicas.com>
32428 * javax/swing/text/GlyphView.java
32429 (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32431 (getStartOffset): Return element boundary if startOffset < 0.
32432 (getEndOffset): Return element boundary if endOffset < 0.
32433 (createFragment): Set startOffset and endOffset fields of fragment
32434 if one of p0 or p1 is not at the element boundary.
32436 2006-02-07 Roman Kennke <kennke@aicas.com>
32438 * javax/swing/CellRendererPane.java
32439 (paintComponent): Enclosed painting in try finally to properly
32440 clean up even when throwing an exception.
32442 2006-02-07 Roman Kennke <kennke@aicas.com>
32444 * javax/swing/UIManager.java
32445 (listeners): Made this an instance of
32446 java.beans.PropertyChangeSupport instead of the obsoleted
32447 SwingPropertyChangeSupport.
32449 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32451 * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32452 of actions "delete-next" and "delete-previous", added new TextAction
32453 implementations for "selection-begin", "selection-begin-line",
32454 "selection-end" and "selection-end-line".
32456 2006-02-07 Roman Kennke <kennke@aicas.com>
32458 * javax/swing/plaf/basic/BasicTextUI.java
32459 (paint): Acquire read lock on the document before calling
32461 (paintSafely): Added comment about what this method does.
32462 (paintBackground): Implemented to actually paint the background.
32463 (update): Overridden to _not_ paint the background. This is done
32464 in paintBackground in this UI.
32466 2006-02-07 Roman Kennke <kennke@aicas.com>
32468 * javax/swing/text/View.java
32469 (forwardUpdate): Don't notify newly added child views as specified.
32471 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32473 * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32475 2006-02-07 Roman Kennke <kennke@aicas.com>
32477 * javax/swing/text/DefaultStyledDocument.java
32478 (ElementBuffer.insert): Only register change when the element
32481 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32483 * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32485 (getEncodingShortName): Likewise.
32486 * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32487 (PKCS8_FORMAT): Likewise.
32488 (ASN1_FORMAT): Likewise.
32489 * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32490 constructor with 5 arguments.
32491 (DSSPublicKey(5)): New constructor.
32492 (valueOf): Handle ASN.1 encoding.
32493 (getEncoded): Likewise.
32494 * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32495 constructor with 5 arguments.
32496 (DSSPrivateKey(5)): New constructor.
32497 (valueOf): Handle ASN.1 encoding.
32498 (getEncoded): Likewise.
32499 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32500 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32501 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32502 (PREFERRED_ENCODING_FORMAT): New constant.
32503 (DEFAULT_ENCODING_FORMAT): Likewise.
32504 (preferredFormat): New field.
32505 (setup): Handle preferred format ID.
32506 (generate): Use new ctors with 5 arguments.
32507 * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32508 ID as an additional argument.
32509 (defaultFormat): new field.
32510 (getFormat): Returns the preferred format as a short string.
32511 * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32512 * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32514 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32515 (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32517 (initialize(int,boolean,SecureRandom)): Likewise.
32518 * gnu/java/security/der/DERWriter.java (writeBitString): Use
32519 writeLength() instead of write().
32520 return buf.length + 1 instead of buf.length.
32522 2006-02-07 Roman Kennke <kennke@aicas.com>
32524 * javax/swing/plaf/basic/BasicTextUI.java
32525 (RootView.preferenceChange): Changed view parameter to view so
32526 that it doesn't hide a field of that class.
32527 (RootView.getViewCount): Rewritten to clean up ECJ warning.
32528 (RootView.modelToView): Removed unnecessary cast from View to View.
32529 (PropertyChangeHandler): Made inner class private.
32530 (updateHandler): Made field private.
32531 (getVisibleEditorRect): Removed unneeded local variable that
32532 shadowed a field with the same name and purpose.
32534 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32536 * javax/swing/text/JTextComponent.java:
32537 (getSelectedText): Calculate offset and use that as
32540 2006-02-07 Roman Kennke <kennke@aicas.com>
32542 * javax/swing/JTextPane.java
32543 (setCharacterAttributes): Replace input attributes when
32546 2006-02-07 Roman Kennke <kennke@aicas.com>
32548 * java/awt/Component.java
32549 (firePropertyChange(String,byte,byte)): Made method public.
32550 (firePropertyChange(String,char,char)): Made method public.
32551 (firePropertyChange(String,short,short)): Made method public.
32552 (firePropertyChange(String,long,long)): Made method public.
32553 (firePropertyChange(String,float,float)): Made method public.
32554 (firePropertyChange(String,double,double)): Made method public.
32556 2006-02-06 Tom Tromey <tromey@redhat.com>
32558 * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32560 * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32562 2006-02-06 Anthony Green <green@redhat.com>
32564 * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32566 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32568 * .settings/org.eclipse.jdt.core.prefs:
32569 Force a line split on extends and implements.
32570 Force a white-space after unary operators.
32571 Don't force a new-line after @params.
32572 Add new-line at end-of-file.
32573 * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32575 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32577 * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32579 * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32581 * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32583 * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32585 * gnu/java/security/provider/EncodedKeyFactory.java
32586 (ID_DSA): Redefined in terms of Registry constant.
32587 (ID_DSA): Redefined in terms of Registry constant.
32588 (ID_DH): Redefined in terms of Registry constant.
32589 * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32590 (PKCS8_ENCODING): Likewise.
32591 (ASN1_ENCODING): Likewise.
32592 (RAW_ENCODING_SHORT_NAME): Likewise.
32593 (X509_ENCODING_SORT_NAME): Likewise.
32594 (PKCS8_ENCODING_SHORT_NAME): Likewise.
32595 (ASN1_ENCODING_SHORT_NAME): Likewise.
32596 (X509_ENCODING_ID): Likewise.
32597 (PKCS8_ENCODING_ID): Likewise.
32598 (ASN1_ENCODING_ID): Likewise.
32599 (DSA_OID_STRING): Likewise.
32600 (RSA_OID_STRING): Likewise.
32601 (DH_OID_STRING): Likewise.
32603 2006-02-06 Roman Kennke <kennke@aicas.com>
32605 * javax/swing/text/GlyphView.java:
32606 (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32607 Only fill background if there is a background set on the view.
32608 Call Utilities.drawTabbedText with the baseline height, rather than
32609 the upper left corner of the view rectangle.
32610 (getBackground): Return null if no background is set.
32611 * javax/swing/text/GlyphView.java:
32612 (setPropertiesFromAttributes): Use null for background when no
32613 background is set. StyleConstants.getBackground() doesn't work
32614 for this, because it returns Color.BLACK in that case.
32616 2006-02-06 Roman Kennke <kennke@aicas.com>
32618 * java/awt/Container.java
32619 (changeSupport): Removed duplicate (from Component) field.
32620 (addPropertyChangeListener): Call super.
32622 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32624 * java/util/regex/Matcher.java(matches):
32625 set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32627 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32630 * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32631 * gnu/regexp/CharIndexedCharArray.java
32632 (lookBehind),(length): Implemented.
32633 * gnu/regexp/CharIndexedInputStream.java: Likewise.
32634 * gnu/regexp/CharIndexedString.java: Likewise.
32635 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32636 * gnu/regexp/REToken.java(getMaximumLength): New method.
32637 * gnu/regexp/RE.java(internal constructor RE): Added new argument
32639 (initialize): Parse (?<=X), (?<!X), (?>X).
32640 (getMaximumLength): Implemented.
32641 * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32642 * gnu/regexp/RETokenChar.java: Likewise.
32643 * gnu/regexp/RETokenEnd.java: Likewise.
32644 * gnu/regexp/RETokenEndSub.java: Likewise.
32645 * gnu/regexp/RETokenLookAhead.java: Likewise.
32646 * gnu/regexp/RETokenNamedProperty.java: Likewise.
32647 * gnu/regexp/RETokenOneOf.java: Likewise.
32648 * gnu/regexp/RETokenPOSIX.java: Likewise.
32649 * gnu/regexp/RETokenRange.java: Likewise.
32650 * gnu/regexp/RETokenRepeated.java: Likewise.
32651 * gnu/regexp/RETokenStart.java: Likewise.
32652 * gnu/regexp/RETokenWordBoundary.java: Likewise.
32653 * gnu/regexp/RETokenIndependent.java: New file.
32654 * gnu/regexp/RETokenLookBehind.java: New file.
32656 2006-02-06 Roman Kennke <kennke@aicas.com>
32658 * java/awt/Component.java
32659 (firePropertyChange(String,byte,byte)): New method.
32660 (firePropertyChange(String,char,char)): New method.
32661 (firePropertyChange(String,short,short)): New method.
32662 (firePropertyChange(String,long,long)): New method.
32663 (firePropertyChange(String,float,float)): New method.
32664 (firePropertyChange(String,double,double)): New method.
32666 2006-02-06 Roman Kennke <kennke@aicas.com>
32668 * javax/swing/JComponent.java
32669 (AccessibleJComponent.changeSupport): Changed to be a
32670 java.beans.PropertyChangeSupport rather than
32671 SwingPropertyChangeSupport.
32672 (AccessibleJComponent.AccessibleJComponent()): Change initialization
32674 (changeSupport): Removed unneeded field.
32675 (removePropertyChangeListener): Removed unneeded methods.
32676 (addPropertyChangeListener): Removed unneeded methods.
32677 (getPropertyChangeListeners): Removed unneeded methods.
32678 (firePropertyChange(String,boolean,boolean)): Changed to simply
32679 call super. Added specnote.
32680 (firePropertyChange(String,char,char)): Changed to simply
32681 call super. Added specnote.
32682 (firePropertyChange(String,int,int)): Changed to simply
32683 call super. Added specnote.
32684 (firePropertyChange(String,byte,byte)): Removed.
32685 (firePropertyChange(String,Object,Object)): Removed.
32686 (firePropertyChange(String,double,double)): Removed.
32687 (firePropertyChange(String,float,float)): Removed.
32688 (firePropertyChange(String,long,long)): Removed.
32689 (firePropertyChange(String,short,short)): Removed.
32691 2006-02-06 Roman Kennke <kennke@aicas.com>
32693 * javax/swing/event/SwingPropertyChangeSupport.java
32694 (listeners): Removed field.
32695 (propertyListeners): Removed field.
32696 (source): Removed field.
32697 (SwingPropertyChangeSupport()): Removed initialization of removed
32699 (addPropertyChangeListener): Removed methods.
32700 (removePropertyChangeListener): Removed methods.
32701 (getPropertyChangeListeners): Removed methods.
32702 (firePropertyChange): Removed methods.
32703 (hasListeners): Removed methods.
32705 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32708 * java/net/InetAddress.java
32709 (readResolve): Implemented.
32711 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32714 * java/io/ObjectInputStream.java
32715 (readNextBlock()): Handle TC_RESET.
32717 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32719 * javax/print/attribute/standard/Compression.java,
32720 * javax/print/attribute/standard/Finishings.java,
32721 * javax/print/attribute/standard/JobMediaSheets.java,
32722 * javax/print/attribute/standard/JobSheets.java,
32723 * javax/print/attribute/standard/JobState.java,
32724 * javax/print/attribute/standard/JobStateReason.java,
32725 * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32726 * javax/print/attribute/standard/PrintQuality.java,
32727 * javax/print/attribute/standard/Media.java,
32728 * javax/print/attribute/standard/MultipleDocumentHandling.java,
32729 * javax/print/attribute/standard/PrinterStateReason.java,
32730 * javax/print/attribute/standard/PDLOverrideSupported.java:
32731 (getName): Make method final.
32732 (getCategory): Likewise.
32733 * javax/print/attribute/standard/MediaSize.java:
32734 (getName): Make method final.
32735 (getCategory): Likewise.
32736 (ISO): Added private default constructor.
32740 (Engineering): Likewise.
32742 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32744 * native/jni/java-net/javanet.c (_javanet_connect):
32745 Throw ConnectException instead of IOException if connection failed.
32746 * native/jni/java-net/javanet.h:
32747 Add a define for java.net.ConnectException
32749 2006-02-05 Mark Wielaard <mark@klomp.org>
32752 reported by Egon Willighagen <egon.willighagen@gmail.com>
32753 * javax/swing/DefaultListCellRenderer.java
32754 (getListCellRendererComponent): Turn null value into empty string.
32756 2006-02-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
32758 * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32759 a Unicode block if the name starts with "In".
32760 (UnicodeBlockHandler): New inner class.
32762 2006-02-04 Roman Kennke <kennke@aicas.com>
32764 * java/awt/Container.java
32765 (getComponentZOrder): New method.
32766 (setComponentZOrder): New method.
32767 * javax/swing/JLayeredPane.java
32768 (setPosition): Reimplemented to use setComponentZOrder().
32769 (getIndexOf): Reimplemented to use getComponentZOrder().
32770 (addImpl): Pass layerContraint to super call. Important for possibly
32771 installed layout managers.
32772 (swapComponents): Remove unneeded method.
32774 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32776 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32777 DSAKeyPairGenerator.
32778 (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32779 (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32781 Surround call to adaptee in a try/catch.
32782 (initialize((DSAParams,SecureRandom)): New method.
32783 (initialize(int,boolean,SecureRandom)): New method.
32784 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32785 KeyPairGenerator rather than KeyPairGeneratorSpi.
32786 (KeyPairGeneratorAdapter): Call super with algorithm name.
32788 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32790 * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
32791 (getDefaultPRNG): New method.
32792 (parseO): Use method above.
32793 * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
32794 (getDefaultPRNG): New method.
32795 (createO): Use method above.
32796 * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
32797 (nextByte): Use above field.
32798 * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
32799 * gnu/java/security/sig/rsa/RSA.java: New class field.
32800 (newR): Use above field
32801 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
32802 (encode): Use field.above.
32803 * gnu/java/security/key/dss/FIPS186.java (prng): New field.
32804 (getDefaultPRNG): new method.
32805 (nextRandomBytes): Use above method.
32806 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
32807 * gnu/java/security/sig/BaseSignature.java: Likewise.
32808 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
32809 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
32810 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
32811 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
32812 * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
32813 (getDefaultPRNG): new method.
32814 (nextRandomBytes): Use above method.
32815 (STRICT_DEFAULTS): new class field.
32816 (USE_DEFAULTS): more documentation to clarify behavior.
32817 (setup): amended to handle new attribute.
32818 * gnu/java/security/util/PRNG.java: New file.
32820 2006-02-03 Lillian Angel <langel@redhat.com>
32822 * javax/swing/plaf/basic/BasicColorChooserUI.java:
32823 chooser field should be protected, not package-private.
32825 2006-02-03 Lillian Angel <langel@redhat.com>
32827 * javax/swing/text/DefaultStyledDocument.java
32828 (changeUpdate): Cleaned up code.
32830 (insertUpdate): Set offset to be equal to pos after
32831 insertContentTag call.
32832 (insertContentTag): If paragraph has no children, should use
32833 replace instead of Edit.
32834 (insertFracture): Moved around code to prevent any exception. Also,
32835 left side of tree should not be recreated if it has already been
32836 edited. In that case, we should only be creating a new right branch
32838 (getEditForParagraphAndIndex): No need to check index. We should
32839 use the same edit for each paragraph.
32841 2006-02-03 Mark Wielaard <mark@klomp.org>
32843 * javax/swing/event/SwingPropertyChangeSupport.java
32844 (propertyListeners): Change type to HashMap.
32845 (SwingPropertyChangeSupport): Allocate HashMap.
32847 2006-02-03 Raif S. Naffah <raif@swiftdsl.com.au>
32849 * java/security/KeyPairGenerator.java (getInstance): Test for
32850 instanceof KeyPairGenerator before KeyPairGeneratorSpi.
32852 2006-02-02 Roman Kennke <kennke@aicas.com>
32854 * javax/swing/RepaintManager.java
32855 Made fields private.
32856 (RepaintWorker.run): Enclosed work stuff in try finally block in
32857 order to clean up correctly if invalidation or painting fails,
32858 otherwise we would get no more RepaintWorkers onto the EventQueue.
32859 Also, now the RepaintWorker is marked 'dead' only after it has
32860 finished its work, avoid more than one RepaintWorker on the queue.
32861 (ComponentComparator.compareTo): Compare dirty rectangle sizes
32862 instead of hierarchy depths.
32863 (workDirtyComponents): Removed unused field.
32864 (repaintOrder): Removed unused field.
32865 (workRepaintOrder): Removed unused field.
32866 (workInvalidComponents): Removed unused field.
32867 (RepaintManager()): Removed initialization of removed fields.
32868 (addInvalidComponent): Fine tuned synchronization.
32869 (removeInvalidComponent): Fine tune synchronization.
32870 (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
32871 synchronization. Don't manager repaintOrder here.
32872 (insertRepaintOrder): Removed method.
32873 (markCompletelyClean): Fine tuned synchronization.
32874 (validateInvalidComponents): Dont use a working copy of the
32875 invalidComponents list, instead fine tuned synchronization on this
32876 list. Also, don't search validateRoot, this is already done in
32877 addInvalidComponent().
32878 (paintDirtyRegions): Compute repaint order here, based on size of
32879 damaged regions. Fine tuned synchronization. Avoid use of working
32880 copies of dirtyComponent.
32882 2006-02-02 Lillian Angel <langel@redhat.com>
32884 * javax/swing/text/DefaultStyledDocument.java
32885 (insertUpdate): JoinNextDirection should push the
32886 'next' paragraph on the stack.
32888 2006-02-02 Lillian Angel <langel@redhat.com>
32890 * javax/swing/text/DefaultStyledDocument.java
32891 (insertUpdate): Rewrote code for Originate. This prevents
32892 leaves being created multiple times. If it is on the last
32893 ElementSpec, the leaves need to be created right then;
32894 otherwise, only a branch is created.
32895 (insertContentTag): Rewrote to add new leaf directly if
32896 this is a branch with no children. Otherwise, it
32897 recreates the remainder of the tree as before.
32899 2006-02-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
32901 * gnu/regexp/REMatch.java(REMatchList): New inner utility class
32902 for making a list of REMatch instances.
32903 * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
32904 * gnu/regexp/RETokenRepeated.java(findDoables): New method.
32905 (match): Rewritten using REMatchList.
32906 (matchRest): Rewritten using REMatchList.
32908 2006-02-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32910 * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
32911 (friendsMove): Call repaint() only after endOfGame is assigned.
32913 2006-02-02 Mark Wielaard <mark@klomp.org>
32915 Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
32916 * java/util/AbstractCollection.java (toString): Only use Iterator,
32917 check whether collection contains itself.
32919 2006-02-01 Casey Marshall <csm@gnu.org>
32921 Partial fix for PR classpath/25143.
32922 * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
32923 (<init>): fill in `algName,' derive `algOid' from `algName.'
32924 (getOid): new method.
32925 (encode): embed NULL value for parameters if `params' is `null.'
32927 2006-02-01 Casey Marshall <csm@gnu.org>
32929 Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
32930 <monoman@gmail.com>.
32931 * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
32932 check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
32934 2006-02-01 Casey Marshall <csm@gnu.org>
32936 toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
32937 * gnu/java/security/der/DERValue.java
32938 (getLength, getEncoded, getEncodedLength): throw an exception,
32939 don't initialize `encoded' to a bogus value.
32940 (toString): return a more helpful string.
32942 Partial fix for PR classpath/25144.
32943 * gnu/java/security/der/DERWriter.java (write): if the value is
32944 the pseudo-value used for CONSTRUCTED, write the encoded value
32947 2006-02-01 Tom Tromey <tromey@redhat.com>
32949 * java/security/Security.java (loadProviders): Use system class
32952 2006-02-01 Mark Wielaard <mark@klomp.org>
32954 * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
32955 * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
32956 SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
32957 (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
32958 (UnicodeCategoriesHandler): New private static class.
32960 2006-02-01 Lillian Angel <langel@redhat.com>
32962 * javax/swing/text/DefaultStyledDocument.java:
32963 Removed unneeded fields.
32964 (insertUpdate): Removed field initialization.
32965 (insertContentTag): Rewrote part of function. Still
32968 2006-02-01 Lillian Angel <langel@redhat.com>
32970 * javax/swing/text/DefaultStyledDocument.java
32971 (insertParagraph): Cleaned up code.
32972 (insertFirstContentTag): Fixed call to recreateLeaves.
32973 (insertContentTag): Added check to code to determine where
32974 content should be inserted with respect to next element.
32975 (createFracture): Removed check, recreateLeaves is called in
32976 other places when needed.
32977 (recreateLeaves): Added new parameter for paragraph instead
32978 of checking the stack. Removed editing for newBranch, replaced
32979 with a replace call.
32981 2006-02-01 Anthony Balkissoon <abalkiss@redhat.com>
32983 * doc/unicode/Blocks-4.0.0.txt: New file.
32984 * java/lang/Character.java: Regenerated inner class UnicodeBlock from
32985 scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
32986 * scripts/unicode-blocks.pl: Copied this over from the generics branch
32987 but replaced some 1.5-only features (such as enum).
32989 2006-01-31 Roman Kennke <kennke@aicas.com>
32991 * javax/swing/text/PasswordView.java
32992 (drawSelectedText): Use drawEchoCharacter() method to draw echo
32994 (drawUnselectedText): Use drawEchoCharacter() method to draw echo
32997 2006-01-31 Roman Kennke <kennke@aicas.com>
32999 * javax/swing/JTextField.java
33000 (getPreferredSize): Also include textfield's insets in width
33003 2006-01-31 Roman Kennke <kennke@aicas.com>
33005 * javax/swing/plaf/basic/BasicTextUI.java
33006 (getPreferredSize): Include the textcomponent's insets in
33009 2006-01-31 Roman Kennke <kennke@aicas.com>
33011 * javax/swing/table/DefaultTableCellRenderer.java
33012 (getTableCellRendererComponent): Moved setting of the value into
33013 setValue(). Removed (bogus) special handling of JTextField values.
33014 (setValue): Made ?: statement more clear by rewriting it
33017 2006-01-31 Roman Kennke <kennke@aicas.com>
33019 * javax/swing/JLayeredPane.java
33020 (insertIndexForLayer): Fixed algorithm to correctly determine
33021 inser index for positions >= 0.
33022 (addImpl): Fixed API docs for the index parameter.
33024 2006-01-31 Mark Wielaard <mark@klomp.org>
33026 * java/net/URI.java (getURIGroup): Check for null to see whether
33027 group actually exists.
33029 2006-01-31 Lillian Angel <langel@redhat.com>
33031 * javax/swing/text/DefaultStyledDocument.java
33032 (changeUpdate): Fixed calls to split to incorporate
33034 (insertParagraph): Likewise. Uses 0 as editIndex
33035 because inserting into a new paragraph.
33036 (insertContentTag): Fixed check to use
33037 recreateLeaves. Added a FIXME comment.
33038 (split): Added a new parameter for edits.
33040 2006-01-31 Roman Kennke <kennke@aicas.com>
33042 * javax/swing/plaf/basic/BasicRootPaneUI.java
33043 (installDefaults): Don't install a background color here.
33045 2006-01-31 Lillian Angel <langel@redhat.com>
33047 * javax/swing/text/DefaultStyledDocument.java
33048 (insert): Removed comment.
33049 (insertUpdate): Added comment.
33050 (recreateLeaves): Removed call to push newBranch onto the
33051 stack. This does not need to be done here.
33053 2006-01-31 Chris Burdess <dog@gnu.org>
33055 * gnu/xml/stream/SAXParser.java,
33056 gnu/xml/stream/UnicodeReader.java,
33057 gnu/xml/stream/XIncludeFilter.java,
33058 gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
33059 only resolved the system ID not the stream. Make some utility methods
33060 public and static for use by other private XML APIs.
33061 * java/lang/ClassNotFoundException.java: Ensure that initCause can be
33062 called without throwing IllegalStateException.
33063 * java/util/logging/SimpleFormatter.java: Write thrown exception if
33066 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
33069 * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
33070 for an invalid index and return null for a skipped group.
33072 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
33075 * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
33076 (NamedProperty): New inner class.
33077 (getNamedProperty): New method.
33078 (getRETokenNamedProperty): New Method.
33079 * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
33080 * gnu/regexp/RETokenNamedProperty.java: New file.
33082 2006-01-31 Roman Kennke <kennke@aicas.com>
33084 * javax/swing/plaf/PlainView.java
33085 (paint): Call drawLine with baseline coordinates.
33086 (drawLine): Documented and indented this method.
33087 (drawUnselecetedText): Documented and indented this method.
33088 * javax/swing/plaf/text/Utilites.java
33089 (drawTabbedText): The coordinates denote the baseline of the text
33090 not the upper left corner.
33092 2006-01-31 Roman Kennke <kennke@aicas.com>
33094 * javax/swing/plaf/basic/BasicTextUI.java
33095 (createKeymap): Don't store KeyBindings[] as focusInputMap in
33096 UIManager. Added FIXME regarding the implementation of this method.
33098 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
33100 * examples/gnu/classpath/examples/swing/ButtonDemo.java
33101 (ButtonDemo): Move content initialisation to new method,
33102 (initFrameContent): New method,
33103 (main): Call initFrameContent(),
33104 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
33105 * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
33106 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
33107 * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
33108 * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
33110 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
33112 * examples/gnu/classpath/examples/swing/Demo.java
33113 (Demo): Set frame size,
33114 (mkButtonBar): Removed stacked sub-panels.
33116 2006-01-30 Lillian Angel <langel@redhat.com>
33118 * javax/swing/text/DefaultStyledDocument.java:
33120 (insert): Initialized fields. Removed call to addEdit,
33121 and created ElementEdit instead.
33122 (insertUpdate): Added check for fracturing. If the
33123 fracturing was not successful, we should push the
33124 last element back on the stack.
33125 (insertParagraph): Fixed call to getEditForParagraphAndIndex.
33126 Also, changed replace calls to use Edit.
33127 (insertFirstContentTag): Removed unneeded check and fixed call
33129 (insertContent): Fixed check to use new fields. Added code in
33130 to check if leaves overlap.
33131 (createFracture): Fixed call to recreateLeaves.
33132 (recreateLeaves): Fixed code and cleaned it up a bit.
33133 (insertFracture): Set fracNotCreated field.
33134 (addEdit): Removed, this method is not needed.
33136 2006-01-30 Roman Kennke <kennke@aicas.com>
33138 * javax/swing/JRootPane.java
33139 (RootLayout.prefSize): Removed caching for preferredSize.
33140 (RootLayout.invalidateLayout): Likewise.
33141 (RootLayout.preferredLayoutSize): Likewise.
33143 2006-01-30 Roman Kennke <kennke@aicas.com>
33146 * javax/swing/JFrame.java
33147 (frameInit): Handle the defaultLookAndFeelDecorated flag.
33148 * javax/swing/plaf/metal/MetalRootPaneUI.java
33149 (MetalFrameBorder): New inner class, provides the border for
33150 top level containers with L&F decorations.
33151 (MetalTitlePane): New inner class, provides the title pane for
33152 top level containers with L&F decorations.
33153 (MetalRootLayout): New inner class. Used to layout the root pane
33154 when L&F window decorations are enabled.
33155 (installUI): New method. Handles window decorations.
33156 (uninstallUI): New method. Handles window decorations.
33157 (propertyChange): Handles window decorations.
33158 (installWindowDecorations): New method. Handles window
33160 (uninstallWindowDecorations): New method. Handles window
33162 * javax/swing/plaf/metal/MetalLookAndFeel.java
33163 (getSupportsWindowDecorations): Overridden to return true.
33165 2006-01-30 Mark Wielaard <mark@klomp.org>
33167 * javax/swing/JProgressBar.java (JProgressBar(int)): Document
33168 IllegalArgumentException when orientation is illegal.
33169 (JProgressBar(int, int, int)): Likewise and throw exception.
33170 (setOrientation): Likewise.
33172 2006-01-30 Roman Kennke <kennke@aicas.com>
33174 * javax/swing/ViewportLayout.java
33175 (minimumLayoutSize): Rewritten to unconditionally return (4,4).
33177 2006-01-30 Mark Wielaard <mark@klomp.org>
33179 * javax/swing/JProgressBar.java (orientation): Always set by
33181 (JProgressBar(int)): Document default on 'illegal' value.
33182 (JProgressBar(int, int, int)): Likewise and set orientation to
33183 HORIZONTAL when 'illegal'.
33184 (setOrientation): Likewise.
33186 2006-01-30 Roman Kennke <kennke@aicas.com>
33188 * javax/swing/plaf/basic/BasicListUI.java
33189 (ListDataHandler.contentsChanged): Update the
33190 updateLayoutStateNeeded flag.
33191 (ListDataHandler.intervalAdded): Update the
33192 updateLayoutStateNeeded flag.
33193 (ListDataHandler.intervalRemoved): Update the
33194 updateLayoutStateNeeded flag.
33195 (PropertyChangeHandler.propertyChange): Correctly update the
33196 listeners on new list model.
33197 (maybeUpdateLayoutState): Don't consider the validation state
33200 2006-01-30 Mark Wielaard <mark@klomp.org>
33202 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
33205 2006-01-30 Roman Kennke <kennke@aicas.com>
33207 * javax/swing/JLayeredPane.java
33208 (insertIndexForLayer): Fixed algorithm to correctly insert
33209 components within different layers and -1 position.
33211 2006-01-30 Mark Wielaard <mark@klomp.org>
33213 * doc/api/Makefile.am (create_html): Add -validhtml.
33215 2006-01-30 Roman Kennke <kennke@aicas.com>
33217 * javax/swing/JLayeredPane.java
33218 (insertIndexForLayer): Fixed algorithm to correctly insert
33219 components within same layer and -1 position.
33221 2006-01-30 Ito Kazumitsu <kaz@maczuka.gcd.org>
33224 * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
33225 New execution flag.
33226 (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
33227 implicit RETokenEnd at the end of the regexp chain.
33228 Do not select the longest match, but select the first match.
33229 (match): Do not take care of REMatch.empty.
33230 * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
33231 * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
33232 * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
33233 * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
33234 Do not take care of REMatch.empty. Set and check REMatch.empty
33235 when trying to match the single token.
33237 2006-01-30 Mark Wielaard <mark@klomp.org>
33239 * java/awt/Cursor.java (toString): Include name and type.
33241 2006-01-30 Raif S. Naffah <raif@swiftdsl.com.au>
33243 * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
33245 * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
33247 2006-01-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33250 * javax/swing/plaf/basic/BasicListUI.java (maybeUpdateLayoutState):
33251 Consider the validation state of the list.
33253 2006-01-29 Robert Schuster <robertschuster@fsfe.org>
33255 * gnu/java/beans/DefaultExceptionListener.java: Constant public field
33257 * java/beans/XMLDecoder.java:
33258 (setExceptionListener): Use shared DefaultExceptionListener
33260 * java/beans/Encoder.java:
33261 (setExceptionListener): Use shared DefaultExceptionListener
33264 2006-01-29 Roman Kennke <kennke@aicas.com>
33266 * javax/swing/ScrollPaneLayout.java
33267 (minimumLayoutSize): Rewritten to match JDKs behaviour.
33269 2006-01-29 Mark Wielaard <mark@klomp.org>
33271 * java/net/SocketPermission.java (setActions): Trim and lower case
33274 2006-01-29 Raif S. Naffah <raif@swiftdsl.com.au>
33276 * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
33277 incorrectly failing primality test for some known primes. Fixed.
33278 (passFermatLittleTheorem): Removed.
33279 (passMillerRabin): Removed.
33280 (isProbablePrime): Cache primes that pass the primality tests.
33281 Use BigInteger.isProbablePrime(int) for primality tests.
33282 (debugBI): New static debugging method.
33284 2006-01-28 Roman Kennke <kennke@aicas.com>
33286 * javax/swing/plaf/basic/BasicListUI.java
33287 (updateLayoutState): Removed unneeded special case for VERTICAL.
33289 2006-01-28 Roman Kennke <kennke@aicas.com>
33291 * javax/swing/plaf/basic/BasicListUI.java
33292 (getCellBounds): Determine correct list width when having a
33293 layoutOrientation of VERTICAL.
33294 (maybeUpdateLayoutState): Don't consider the validation state of
33297 2006-01-28 Mark Wielaard <mark@klomp.org>
33299 Reported by Dimitri Fontaine <dimitri@dalibo.com>
33300 * java/awt/print/NoPrinterJob.java: New (fake) class.
33301 * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
33303 2006-01-28 Mark Wielaard <mark@klomp.org>
33305 * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
33307 2006-01-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33309 * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
33310 (addChildren): New method.
33312 2006-01-28 Raif S. Naffah <raif@swiftdsl.com.au>
33314 * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
33315 constructor for cloning purposes.
33316 (clone): New implementation that ensures cloning.
33317 * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
33318 * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
33321 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33323 * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
33324 Call updateCurrentVisiblePath.
33326 2006-01-27 Roman Kennke <kennke@aicas.com>
33328 * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
33330 2006-01-27 Roman Kennke <kennke@aicas.com>
33332 * examples/gnu/classpath/examples/swing/ButtonDemo.java
33333 (createContent): Only create new content if we don't have one
33335 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
33336 (createContent): Only create new content if we don't have one
33338 * examples/gnu/classpath/examples/swing/FileChooserDemo.java
33339 (createContent): Only create new content if we don't have one
33341 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
33342 (createContent): Only create new content if we don't have one
33344 * examples/gnu/classpath/examples/swing/SliderDemo.java
33345 (createContent): Only create new content if we don't have one
33347 * examples/gnu/classpath/examples/swing/TableDemo.java
33348 (createContent): Only create new content if we don't have one
33350 * examples/gnu/classpath/examples/swing/TextFieldDemo.java
33351 (createContent): Only create new content if we don't have one
33354 2006-01-27 Lillian Angel <langel@redhat.com>
33356 * javax/swing/text/DefaultStyledDocument.java
33357 (insertFirstContentTag): Removed check, not needed. This
33358 still needs to be fixed for some cases. Added call to
33360 (createFracture): Added call to recreateLeaves.
33361 (recreateLeaves): New method used to recreate all the
33362 leaves after the initial insertion. This still needs
33364 (handleInsertAfterNewline): Removed else, not needed.
33366 2006-01-27 Roman Kennke <kennke@aicas.com>
33368 * javax/swing/JLayeredPane.java
33369 (inserIndexForLayer): Fixed direction of search.
33371 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33373 * javax/swing/JTree.java (constructor): Put EXPANDED for the root
33374 node into nodeStates.
33376 2006-01-27 Roman Kennke <kennke@aicas.com>
33378 * javax/swing/JLayeredPane.java
33379 (FRAME_CONTENT_LAYER): Made field final.
33380 (componentToLayer): Made field private.
33381 (rectCache): Removed field.
33382 (layers): Removed field.
33383 (JLayeredPane()): Removed initialization of removed fields.
33384 (getLayer): Rewritten to make use of client properties in
33385 JComponents and to be more straighforward.
33386 (static getLayer): Rewritten to make use of client properties in
33388 (layerToRange): Removed method.
33389 (incrLayer): Removed method.
33390 (decrLayer): Removed method.
33391 (highestLayer): Rewritten to be more straightforward.
33392 (lowestLayer): Rewritten to be more straightforward.
33393 (getPosition): Rewritten to be more straightforward.
33394 (getComponentsInLayer): Rewritten to be more straightforward.
33395 (getComponentCountInLayer): Rewritten to be more straightforward.
33396 (getIndexOf): Rewritten to be more straightforward.
33397 (inserIndexForLayer): Rewritten to be more straightforward.
33398 (remove): Rewritten to be more straightforward.
33399 (setLayer): Rewritten to be more straightforward.
33400 (addImpl): Rewritten to be more straightforward.
33401 (putLayer): Rewritten to be more straightforward.
33403 2006-01-27 Anthony Balkissoon <abalkiss@redhat.com>
33405 * java/lang/Character.java:
33406 (offsetByCodePoints(CharSequence, int, int)): New API method.
33407 (offsetByCodePoints(char[], int, int, int, int)): Likewise.
33408 (toChars): Throw the Exception that the docs say we throw.
33409 (codePointAt): Fixed an off-by-one error in the bounds of the if
33411 * java/lang/String.java:
33412 (String(int[], int, int)): New API constructor.
33414 2006-01-27 Lillian Angel <langel@redhat.com>
33416 * javax/swing/text/DefaultStyledDocument.java
33417 (insert): Moved this loop to insertUpdate.
33418 (insertUpdate): Likewise. Fixed variable
33419 names. Incremented pos if new paragraph
33421 (split): Changed edits to use replace instead. Prevents
33423 (insertFirstContentTag): Removed else.
33424 (insertContentTag): Implemented else for JoinNextDirection.
33425 (createFracture): Fixed up code, still not fully complete.
33426 (insertFracture): Fixed to use return value from
33427 recreateAfterFracture.
33428 (recreateAfterFracture): Changed to return an array of the
33429 elements to be added. This prevents an assertion error.
33430 (contains): New function checks if an element is already in
33431 the Vector. Vector's contain function was not enough to use.
33432 (addAddedElement): Changed to use new contains function.
33433 (addAddedElements): Likewise.
33434 (addRemovedElement): Likewise.
33435 (addRemovedElements): Likewise.
33437 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33440 * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33441 If no user class loaders found on the stack, return the thread
33442 context class loader. (currentClassLoader): Explained.
33444 2006-01-27 Roman Kennke <kennke@aicas.com>
33446 * java/awt/Container.java
33447 (swapComponents): Removed unspecified method.
33448 * javax/swing/JLayeredPane.java
33449 (setPosition): Reimplemented correctly.
33450 (swapComponents): New helper method.
33452 2006-01-27 Mark Wielaard <mark@klomp.org>
33454 * configure.ac: Set version to 0.21-pre.
33456 2006-01-27 Roman Kennke <kennke@aicas.com>
33459 * javax/swing/JComponent.java
33460 (findOverlapFreeParent): Improved the algorithm to make better use
33461 of the optimizedDrawingEnabled flag.
33462 * javax/swing/JLayeredPane.java
33463 (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33464 * javax/swing/JViewport.java
33465 (computeBlit): Fixed check to decide if blitting is possible or not,
33466 so that it doesn't blit if nothing was scrolled (in order to
33467 update the buffer when the view updates itself).
33469 2006-01-27 Roman Kennke <kennke@aicas.com>
33471 * javax/swing/plaf/metal/MetalFileChooserUI.java
33472 (createList): Don't set scrollbar policy.
33474 2006-01-27 Roman Kennke <kennke@aicas.com>
33476 * javax/swing/plaf/basic/BasicPopupMenuUI.java
33477 (PopupMenuHandler.popupMenuWillBecomeInvisible):
33478 Fixed to also handle non-Swing toplevel containers.
33479 (PopupMenuHandler.popupMenuWillBecomeVisible):
33480 Fixed to also handle non-Swing toplevel containers.
33481 * javax/swing/Popup.java
33482 (JWindowPopup.JWindowPopup()): Correctly set parent window on
33485 2006-01-27 Roman Kennke <kennke@aicas.com>
33487 * javax/swing/plaf/basic/BasicInternalFrameUI.java
33488 (InternalFramePropertyChangeListener): Don't implement
33489 VetoableChangeListener.
33490 (InternalFramePropertyChangeListener.vetoableChange): Removed.
33491 (internalFrameVetoableChangeListener): Removed unneeded field.
33492 (installListeners): Don't install vetoableChangeListener.
33493 * javax/swing/event/DocumentEvent.java
33494 (EventType): Made class final.
33496 2006-01-27 Roman Kennke <kennke@aicas.com>
33498 * javax/swing/SwingUtilities.java
33499 (calculateInsetArea): Removed unneeded method. The method
33500 calculateInnerArea has the same purpose and is actually specified.
33501 (calculateInnerArea): Rewritten to not use calculateInsetArea.
33502 * javax/swing/plaf/basic/BasicMenuItemUI.java
33503 (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33504 of SwingUtilities.calculateInsetArea().
33506 2006-01-27 Roman Kennke <kennke@aicas.com>
33508 * javax/swing/plaf/basic/BasicTreeUI.java
33509 (installDefaults): Removed requestFocusInWindow() call.
33510 * javax/swing/JComponent.java
33511 (requestFocusInWindow(boolean)): Made method protected.
33512 (printComponent): Made method protected.
33513 (printChildren): Made method protected.
33514 (printComponent): Made method protected.
33515 (printBorder): Made method protected.
33517 2006-01-27 Roman Kennke <kennke@aicas.com>
33519 * javax/swing/AbstractButton.java
33520 (ButtonChangeListener.ButtonChangeListener()): Made constructor
33522 * javax/swing/ImageIcon.java
33523 (component): Made field final.
33524 (tracker): Made field final.
33525 * javax/swing/JApplet.java
33526 (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33527 * javax/swing/JCheckBox.java
33528 (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33530 * javax/swing/JDialog.java
33531 (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33532 * javax/swing/JFrame.java
33533 (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33534 * javax/swing/JLayeredPane.java
33535 (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33537 (DEFAULT_LAYER): Made field final.
33538 (PALETTE_LAYER): Made field final.
33539 (MODAL_LAYER): Made field final.
33540 (POPUP_LAYER): Made field final.
33541 (DRAG_LAYER): Made field final.
33542 * javax/swing/JMenu.java
33543 (ActionChangeListener): Made class private.
33544 * javax/swing/JOptionPane.java
33545 (UNITITIALIZED_VALUE): Made field final.
33546 * javax/swing/JPanel.java
33547 (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33548 * javax/swing/JPopupMenu.java
33549 (ActionChangeListener): Made class private.
33550 * javax/swing/JTree.java
33551 (paramString): Made method protected.
33552 * javax/swing/JViewport.java
33553 (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33554 * javax/swing/JWindow.java
33555 (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33556 * javax/swing/RepaintManager.java
33557 (RepaintWorker): Made class private.
33559 2006-01-27 Roman Kennke <kennke@aicas.com>
33561 * gnu/java/awt/peer/swing/SwingComponentPeer.java
33562 (handleEvent): Removed debug statement.
33564 2006-01-27 Roman Kennke <kennke@aicas.com>
33566 * java/awt/Component.java
33567 (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33568 more than it helps.
33570 2006-01-26 Lillian Angel <langel@redhat.com>
33572 * javax/swing/text/DefaultStyledDocument.java
33573 (createFracture): Commented out a known problem,
33576 2006-01-26 Lillian Angel <langel@redhat.com>
33578 * javax/swing/text/DefaultStyledDocument.java
33579 (ElementBuffer): Added fields.
33580 (remove): Initialized pos.
33581 (change): Likewise.
33582 (insert): Likewise.
33583 (insertUpdate): Incremented pos. Fixed check, createFracture should
33584 be called on first tag if it is not ContentType.
33585 (insertFirstContentTag): Reworked to use proper offsets and
33586 set offset accordingly. This might need more work in the future.
33587 (insertContentTag): Likewise. Fixed to use pos, instead of
33589 (createFracture): Fixed to recreate other leaves. Still needs
33591 (insertFracture): Reimplemented.
33592 (recreateAfterFracture): New method.
33593 (getParagraphElement): Reimplemented, more efficent.
33595 2006-01-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
33597 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33598 (doubleToRawLongBits, longBitsToDouble): Swap the byte
33599 ordering for little-endian arms without VFP.
33601 2006-01-26 Raif S. Naffah <raif@swiftdsl.com.au>
33604 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33606 2006-01-26 Mark Wielaard <mark@klomp.org>
33608 Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33609 * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33610 Add trailing zeros to the fraction of the decimal with the smallest
33613 2006-01-26 Roman Kennke <kennke@aicas.com>
33615 * javax/swing/text/html/ObjectView.java: New file.
33617 2006-01-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33619 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
33620 Call startEditing when appropriate.
33621 (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33622 (startEditing): Always edit if directly ordered from
33623 MouseHandler.mousePressed.
33624 * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START):
33625 New field. (createTreeCellEditor): Set click count to start.
33626 (getTreeCellEditorComponent): Assing realEditor directly.
33628 2006-01-25 Casey Marshall <csm@gnu.org>
33630 Merging GNU Crypto and Jessie.
33632 * NEWS: mention the merge in the 0.21 notes.
33633 * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33634 (SSL_RECORD_LAYER): new constants.
33635 * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33637 * resource/java/security/classpath.security: add new providers.
33638 * gnu/javax/crypto/assembly/Assembly.java,
33639 gnu/javax/crypto/assembly/Cascade.java,
33640 gnu/javax/crypto/assembly/CascadeStage.java,
33641 gnu/javax/crypto/assembly/CascadeTransformer.java,
33642 gnu/javax/crypto/assembly/DeflateTransformer.java,
33643 gnu/javax/crypto/assembly/Direction.java,
33644 gnu/javax/crypto/assembly/LoopbackTransformer.java,
33645 gnu/javax/crypto/assembly/ModeStage.java,
33646 gnu/javax/crypto/assembly/Operation.java,
33647 gnu/javax/crypto/assembly/PaddingTransformer.java,
33648 gnu/javax/crypto/assembly/Stage.java,
33649 gnu/javax/crypto/assembly/Transformer.java,
33650 gnu/javax/crypto/assembly/TransformerException.java,
33651 gnu/javax/crypto/cipher/Anubis.java,
33652 gnu/javax/crypto/cipher/BaseCipher.java,
33653 gnu/javax/crypto/cipher/Blowfish.java,
33654 gnu/javax/crypto/cipher/Cast5.java,
33655 gnu/javax/crypto/cipher/CipherFactory.java,
33656 gnu/javax/crypto/cipher/DES.java,
33657 gnu/javax/crypto/cipher/IBlockCipher.java,
33658 gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33659 gnu/javax/crypto/cipher/Khazad.java,
33660 gnu/javax/crypto/cipher/NullCipher.java,
33661 gnu/javax/crypto/cipher/Rijndael.java,
33662 gnu/javax/crypto/cipher/Serpent.java,
33663 gnu/javax/crypto/cipher/Square.java,
33664 gnu/javax/crypto/cipher/TripleDES.java,
33665 gnu/javax/crypto/cipher/Twofish.java,
33666 gnu/javax/crypto/cipher/WeakKeyException.java,
33667 gnu/javax/crypto/jce/GnuCrypto.java,
33668 gnu/javax/crypto/jce/GnuSasl.java,
33669 gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33670 gnu/javax/crypto/jce/cipher/AESSpi.java,
33671 gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33672 gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33673 gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33674 gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33675 gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33676 gnu/javax/crypto/jce/cipher/DESSpi.java,
33677 gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33678 gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33679 gnu/javax/crypto/jce/cipher/PBES2.java,
33680 gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33681 gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33682 gnu/javax/crypto/jce/cipher/SquareSpi.java,
33683 gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33684 gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33685 gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33686 gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33687 gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33688 gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33689 gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33690 gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33691 gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33692 gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33693 gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33694 gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33695 gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33696 gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33697 gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33698 gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33699 gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33700 gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33701 gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33702 gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33703 gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33704 gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33705 gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33706 gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33707 gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33708 gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33709 gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33710 gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33711 gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33712 gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33713 gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33714 gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33715 gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33716 gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33717 gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33718 gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33719 gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33720 gnu/javax/crypto/jce/mac/MacAdapter.java,
33721 gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33722 gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33723 gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33724 gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33725 gnu/javax/crypto/jce/mac/OMacImpl.java,
33726 gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33727 gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33728 gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33729 gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33730 gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33731 gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33732 gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33733 gnu/javax/crypto/jce/mac/UHash32Spi.java,
33734 gnu/javax/crypto/jce/mac/UMac32Spi.java,
33735 gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33736 gnu/javax/crypto/jce/params/DEREncodingException.java,
33737 gnu/javax/crypto/jce/params/DERReader.java,
33738 gnu/javax/crypto/jce/params/DERWriter.java,
33739 gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33740 gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33741 gnu/javax/crypto/jce/prng/FortunaImpl.java,
33742 gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33743 gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33744 gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33745 gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33746 gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33747 gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33748 gnu/javax/crypto/key/GnuSecretKey.java,
33749 gnu/javax/crypto/key/IKeyAgreementParty.java,
33750 gnu/javax/crypto/key/IncomingMessage.java,
33751 gnu/javax/crypto/key/KeyAgreementException.java,
33752 gnu/javax/crypto/key/KeyAgreementFactory.java,
33753 gnu/javax/crypto/key/OutgoingMessage.java,
33754 gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33755 gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33756 gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33757 gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33758 gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33759 gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33760 gnu/javax/crypto/key/dh/ElGamalSender.java,
33761 gnu/javax/crypto/key/dh/GnuDHKey.java,
33762 gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33763 gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33764 gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33765 gnu/javax/crypto/key/dh/RFC2631.java,
33766 gnu/javax/crypto/key/srp6/SRP6Host.java,
33767 gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33768 gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33769 gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33770 gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33771 gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33772 gnu/javax/crypto/key/srp6/SRP6User.java,
33773 gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33774 gnu/javax/crypto/key/srp6/SRPKey.java,
33775 gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33776 gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33777 gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33778 gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33779 gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33780 gnu/javax/crypto/keyring/BaseKeyring.java,
33781 gnu/javax/crypto/keyring/BinaryDataEntry.java,
33782 gnu/javax/crypto/keyring/CertPathEntry.java,
33783 gnu/javax/crypto/keyring/CertificateEntry.java,
33784 gnu/javax/crypto/keyring/CompressedEntry.java,
33785 gnu/javax/crypto/keyring/EncryptedEntry.java,
33786 gnu/javax/crypto/keyring/Entry.java,
33787 gnu/javax/crypto/keyring/EnvelopeEntry.java,
33788 gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33789 gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33790 gnu/javax/crypto/keyring/IKeyring.java,
33791 gnu/javax/crypto/keyring/IPrivateKeyring.java,
33792 gnu/javax/crypto/keyring/IPublicKeyring.java,
33793 gnu/javax/crypto/keyring/MalformedKeyringException.java,
33794 gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
33795 gnu/javax/crypto/keyring/MeteredInputStream.java,
33796 gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
33797 gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
33798 gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
33799 gnu/javax/crypto/keyring/PrimitiveEntry.java,
33800 gnu/javax/crypto/keyring/PrivateKeyEntry.java,
33801 gnu/javax/crypto/keyring/Properties.java,
33802 gnu/javax/crypto/keyring/PublicKeyEntry.java,
33803 gnu/javax/crypto/mac/BaseMac.java,
33804 gnu/javax/crypto/mac/HMac.java,
33805 gnu/javax/crypto/mac/HMacFactory.java,
33806 gnu/javax/crypto/mac/IMac.java,
33807 gnu/javax/crypto/mac/MacFactory.java,
33808 gnu/javax/crypto/mac/MacInputStream.java,
33809 gnu/javax/crypto/mac/MacOutputStream.java,
33810 gnu/javax/crypto/mac/OMAC.java,
33811 gnu/javax/crypto/mac/TMMH16.java,
33812 gnu/javax/crypto/mac/UHash32.java,
33813 gnu/javax/crypto/mac/UMac32.java,
33814 gnu/javax/crypto/mode/BaseMode.java,
33815 gnu/javax/crypto/mode/CBC.java,
33816 gnu/javax/crypto/mode/CFB.java,
33817 gnu/javax/crypto/mode/CTR.java,
33818 gnu/javax/crypto/mode/EAX.java,
33819 gnu/javax/crypto/mode/ECB.java,
33820 gnu/javax/crypto/mode/IAuthenticatedMode.java,
33821 gnu/javax/crypto/mode/ICM.java,
33822 gnu/javax/crypto/mode/IMode.java,
33823 gnu/javax/crypto/mode/ModeFactory.java,
33824 gnu/javax/crypto/mode/OFB.java,
33825 gnu/javax/crypto/pad/BasePad.java,
33826 gnu/javax/crypto/pad/IPad.java,
33827 gnu/javax/crypto/pad/PKCS1_V1_5.java,
33828 gnu/javax/crypto/pad/PKCS7.java,
33829 gnu/javax/crypto/pad/PadFactory.java,
33830 gnu/javax/crypto/pad/SSL3.java,
33831 gnu/javax/crypto/pad/TBC.java,
33832 gnu/javax/crypto/pad/TLS1.java,
33833 gnu/javax/crypto/pad/WrongPaddingException.java,
33834 gnu/javax/crypto/prng/ARCFour.java,
33835 gnu/javax/crypto/prng/CSPRNG.java,
33836 gnu/javax/crypto/prng/Fortuna.java,
33837 gnu/javax/crypto/prng/ICMGenerator.java,
33838 gnu/javax/crypto/prng/IPBE.java,
33839 gnu/javax/crypto/prng/PBKDF2.java,
33840 gnu/javax/crypto/prng/PRNGFactory.java,
33841 gnu/javax/crypto/prng/UMacGenerator.java,
33842 gnu/javax/crypto/sasl/AuthInfo.java,
33843 gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
33844 gnu/javax/crypto/sasl/ClientFactory.java,
33845 gnu/javax/crypto/sasl/ClientMechanism.java,
33846 gnu/javax/crypto/sasl/ConfidentialityException.java,
33847 gnu/javax/crypto/sasl/IAuthInfoProvider.java,
33848 gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
33849 gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
33850 gnu/javax/crypto/sasl/InputBuffer.java,
33851 gnu/javax/crypto/sasl/IntegrityException.java,
33852 gnu/javax/crypto/sasl/NoSuchMechanismException.java,
33853 gnu/javax/crypto/sasl/NoSuchUserException.java,
33854 gnu/javax/crypto/sasl/OutputBuffer.java,
33855 gnu/javax/crypto/sasl/SaslEncodingException.java,
33856 gnu/javax/crypto/sasl/SaslInputStream.java,
33857 gnu/javax/crypto/sasl/SaslOutputStream.java,
33858 gnu/javax/crypto/sasl/SaslUtil.java,
33859 gnu/javax/crypto/sasl/ServerFactory.java,
33860 gnu/javax/crypto/sasl/ServerMechanism.java,
33861 gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
33862 gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
33863 gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
33864 gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
33865 gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
33866 gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
33867 gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
33868 gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
33869 gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
33870 gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
33871 gnu/javax/crypto/sasl/plain/PasswordFile.java,
33872 gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
33873 gnu/javax/crypto/sasl/plain/PlainClient.java,
33874 gnu/javax/crypto/sasl/plain/PlainRegistry.java,
33875 gnu/javax/crypto/sasl/plain/PlainServer.java,
33876 gnu/javax/crypto/sasl/srp/CALG.java,
33877 gnu/javax/crypto/sasl/srp/ClientStore.java,
33878 gnu/javax/crypto/sasl/srp/IALG.java,
33879 gnu/javax/crypto/sasl/srp/KDF.java,
33880 gnu/javax/crypto/sasl/srp/PasswordFile.java,
33881 gnu/javax/crypto/sasl/srp/SRP.java,
33882 gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
33883 gnu/javax/crypto/sasl/srp/SRPClient.java,
33884 gnu/javax/crypto/sasl/srp/SRPRegistry.java,
33885 gnu/javax/crypto/sasl/srp/SRPServer.java,
33886 gnu/javax/crypto/sasl/srp/SecurityContext.java,
33887 gnu/javax/crypto/sasl/srp/ServerStore.java,
33888 gnu/javax/crypto/sasl/srp/StoreEntry.java,
33889 gnu/javax/net/ssl/Base64.java,
33890 gnu/javax/net/ssl/EntropySource.java,
33891 gnu/javax/net/ssl/NullManagerParameters.java,
33892 gnu/javax/net/ssl/PrivateCredentials.java,
33893 gnu/javax/net/ssl/SRPManagerParameters.java,
33894 gnu/javax/net/ssl/SRPTrustManager.java,
33895 gnu/javax/net/ssl/StaticTrustAnchors.java,
33896 gnu/javax/net/ssl/provider/Alert.java,
33897 gnu/javax/net/ssl/provider/AlertException.java,
33898 gnu/javax/net/ssl/provider/Certificate.java,
33899 gnu/javax/net/ssl/provider/CertificateRequest.java,
33900 gnu/javax/net/ssl/provider/CertificateType.java,
33901 gnu/javax/net/ssl/provider/CertificateVerify.java,
33902 gnu/javax/net/ssl/provider/CipherSuite.java,
33903 gnu/javax/net/ssl/provider/ClientHello.java,
33904 gnu/javax/net/ssl/provider/ClientKeyExchange.java,
33905 gnu/javax/net/ssl/provider/CompressionMethod.java,
33906 gnu/javax/net/ssl/provider/Constructed.java,
33907 gnu/javax/net/ssl/provider/ContentType.java,
33908 gnu/javax/net/ssl/provider/Context.java,
33909 gnu/javax/net/ssl/provider/DiffieHellman.java,
33910 gnu/javax/net/ssl/provider/DigestInputStream.java,
33911 gnu/javax/net/ssl/provider/DigestOutputStream.java,
33912 gnu/javax/net/ssl/provider/Enumerated.java,
33913 gnu/javax/net/ssl/provider/Extension.java,
33914 gnu/javax/net/ssl/provider/Extensions.java,
33915 gnu/javax/net/ssl/provider/Finished.java,
33916 gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
33917 gnu/javax/net/ssl/provider/Handshake.java,
33918 gnu/javax/net/ssl/provider/JCESecurityParameters.java,
33919 gnu/javax/net/ssl/provider/JDBCSessionContext.java,
33920 gnu/javax/net/ssl/provider/Jessie.java,
33921 gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
33922 gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
33923 gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
33924 gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
33925 gnu/javax/net/ssl/provider/KeyPool.java,
33926 gnu/javax/net/ssl/provider/MacException.java,
33927 gnu/javax/net/ssl/provider/OverflowException.java,
33928 gnu/javax/net/ssl/provider/PRNG.java,
33929 gnu/javax/net/ssl/provider/ProtocolVersion.java,
33930 gnu/javax/net/ssl/provider/Random.java,
33931 gnu/javax/net/ssl/provider/RecordInput.java,
33932 gnu/javax/net/ssl/provider/RecordInputStream.java,
33933 gnu/javax/net/ssl/provider/RecordOutputStream.java,
33934 gnu/javax/net/ssl/provider/RecordingInputStream.java,
33935 gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
33936 gnu/javax/net/ssl/provider/SSLHMac.java,
33937 gnu/javax/net/ssl/provider/SSLRSASignature.java,
33938 gnu/javax/net/ssl/provider/SSLRandom.java,
33939 gnu/javax/net/ssl/provider/SSLServerSocket.java,
33940 gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
33941 gnu/javax/net/ssl/provider/SSLSocket.java,
33942 gnu/javax/net/ssl/provider/SSLSocketFactory.java,
33943 gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
33944 gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
33945 gnu/javax/net/ssl/provider/SecurityParameters.java,
33946 gnu/javax/net/ssl/provider/ServerHello.java,
33947 gnu/javax/net/ssl/provider/ServerKeyExchange.java,
33948 gnu/javax/net/ssl/provider/Session.java,
33949 gnu/javax/net/ssl/provider/SessionContext.java,
33950 gnu/javax/net/ssl/provider/Signature.java,
33951 gnu/javax/net/ssl/provider/SynchronizedRandom.java,
33952 gnu/javax/net/ssl/provider/TLSHMac.java,
33953 gnu/javax/net/ssl/provider/TLSRandom.java,
33954 gnu/javax/net/ssl/provider/Util.java,
33955 gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
33956 gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
33957 gnu/javax/net/ssl/provider/XMLSessionContext.java,
33958 gnu/javax/security/auth/Password.java,
33959 gnu/javax/security/auth/callback/AWTCallbackHandler.java,
33960 gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
33961 gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
33962 gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
33963 gnu/javax/security/auth/callback/GnuCallbacks.java,
33964 gnu/javax/security/auth/callback/SwingCallbackHandler.java,
33965 gnu/java/security/Registry.java,
33966 gnu/java/security/Properties.java,
33967 gnu/java/security/hash/BaseHash.java,
33968 gnu/java/security/hash/HashFactory.java,
33969 gnu/java/security/hash/Haval.java,
33970 gnu/java/security/hash/IMessageDigest.java,
33971 gnu/java/security/hash/MD2.java,
33972 gnu/java/security/hash/MD4.java,
33973 gnu/java/security/hash/MD5.java,
33974 gnu/java/security/hash/RipeMD128.java,
33975 gnu/java/security/hash/RipeMD160.java,
33976 gnu/java/security/hash/Sha160.java,
33977 gnu/java/security/hash/Sha256.java,
33978 gnu/java/security/hash/Sha384.java,
33979 gnu/java/security/hash/Sha512.java,
33980 gnu/java/security/hash/Tiger.java,
33981 gnu/java/security/hash/Whirlpool.java,
33982 gnu/java/security/jce/hash/HavalSpi.java,
33983 gnu/java/security/jce/hash/MD2Spi.java,
33984 gnu/java/security/jce/hash/MD4Spi.java,
33985 gnu/java/security/jce/hash/MD5Spi.java,
33986 gnu/java/security/jce/hash/MessageDigestAdapter.java,
33987 gnu/java/security/jce/hash/RipeMD128Spi.java,
33988 gnu/java/security/jce/hash/RipeMD160Spi.java,
33989 gnu/java/security/jce/hash/Sha160Spi.java,
33990 gnu/java/security/jce/hash/Sha256Spi.java,
33991 gnu/java/security/jce/hash/Sha384Spi.java,
33992 gnu/java/security/jce/hash/Sha512Spi.java,
33993 gnu/java/security/jce/hash/TigerSpi.java,
33994 gnu/java/security/jce/hash/WhirlpoolSpi.java,
33995 gnu/java/security/jce/prng/HavalRandomSpi.java,
33996 gnu/java/security/jce/prng/MD2RandomSpi.java,
33997 gnu/java/security/jce/prng/MD4RandomSpi.java,
33998 gnu/java/security/jce/prng/MD5RandomSpi.java,
33999 gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
34000 gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
34001 gnu/java/security/jce/prng/SecureRandomAdapter.java,
34002 gnu/java/security/jce/prng/Sha160RandomSpi.java,
34003 gnu/java/security/jce/prng/Sha256RandomSpi.java,
34004 gnu/java/security/jce/prng/Sha384RandomSpi.java,
34005 gnu/java/security/jce/prng/Sha512RandomSpi.java,
34006 gnu/java/security/jce/prng/TigerRandomSpi.java,
34007 gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
34008 gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
34009 gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
34010 gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
34011 gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
34012 gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
34013 gnu/java/security/jce/sig/SignatureAdapter.java,
34014 gnu/java/security/key/IKeyPairCodec.java,
34015 gnu/java/security/key/IKeyPairGenerator.java,
34016 gnu/java/security/key/KeyPairCodecFactory.java,
34017 gnu/java/security/key/KeyPairGeneratorFactory.java,
34018 gnu/java/security/key/dss/DSSKey.java,
34019 gnu/java/security/key/dss/DSSKeyPairGenerator.java,
34020 gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
34021 gnu/java/security/key/dss/DSSPrivateKey.java,
34022 gnu/java/security/key/dss/DSSPublicKey.java,
34023 gnu/java/security/key/dss/FIPS186.java,
34024 gnu/java/security/key/rsa/GnuRSAKey.java,
34025 gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
34026 gnu/java/security/key/rsa/GnuRSAPublicKey.java,
34027 gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
34028 gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
34029 gnu/java/security/prng/BasePRNG.java,
34030 gnu/java/security/prng/EntropySource.java,
34031 gnu/java/security/prng/IRandom.java,
34032 gnu/java/security/prng/LimitReachedException.java,
34033 gnu/java/security/prng/MDGenerator.java,
34034 gnu/java/security/prng/PRNGFactory.java,
34035 gnu/java/security/prng/RandomEvent.java,
34036 gnu/java/security/prng/RandomEventListener.java,
34037 gnu/java/security/sig/BaseSignature.java,
34038 gnu/java/security/sig/ISignature.java,
34039 gnu/java/security/sig/ISignatureCodec.java,
34040 gnu/java/security/sig/SignatureFactory.java,
34041 gnu/java/security/sig/dss/DSSSignature.java,
34042 gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
34043 gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
34044 gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
34045 gnu/java/security/sig/rsa/EMSA_PSS.java,
34046 gnu/java/security/sig/rsa/RSA.java,
34047 gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
34048 gnu/java/security/sig/rsa/RSAPSSSignature.java,
34049 gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
34050 gnu/java/security/util/Base64.java,
34051 gnu/java/security/util/ExpirableObject.java,
34052 gnu/java/security/util/Prime2.java,
34053 gnu/java/security/util/Sequence.java,
34054 gnu/java/security/util/SimpleList.java,
34055 gnu/java/security/util/Util.java,
34056 resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
34057 new files imported from GNU Crypto and Jessie.
34059 2006-01-25 Tom Tromey <tromey@redhat.com>
34061 * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
34062 Fixed calculation of number of bytes to read.
34063 (size, count, meta, eof): Document.
34065 2006-01-25 Anthony Balkissoon <abalkiss@redhat.com>
34067 * java/lang/Character.java:
34068 (codePointCount(char[], int, int)): New API method.
34069 (codePointCount(CharSequence, int, int)): Likewise.
34071 2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34074 * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent):
34076 * javax/swing/JTree.java (stopEditing, cancelEditing): Return without
34077 action if not editing.
34078 * javax/swing/plaf/basic/BasicTreeUI.java
34079 (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
34080 (CellEditorHandler.editingStopped): Delegate to stopEditing.
34081 (EditorUpdateTimer): Removed.
34082 (TreeAction.actionPerformed): Stop and not cancel the current editing
34083 when starting editing another node.
34084 (editorTimer, newVal): Removed.
34085 (cancelEditing): Do not send the cancel message.
34086 (completeEditing): Obtain the edited value from the editor.
34087 (finish): New method.
34088 (paintRow): Do not paint the editing component here.
34089 (startEditing, stopEditing): Rewritten.
34090 * javax/swing/tree/DefaultTreeCellEditor.java
34091 (DefaultTextField): Added SVUID.
34092 (EditorContainer): Rewritten.
34093 (RealEditorListener): New inner class.
34094 (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
34095 (constructor): Add cell editor listener. Do not instantiate timer.
34096 (actionPerformed): Return without action.
34097 (cancelCellEditing): Rewritten.
34098 (createTreeCellEditor): Add cell editor listener to the editor.
34099 (getCellEditorValue): Request the value from the realEditor.
34100 (isCellEditable): Removed timer management.
34101 (prepareForEditing): Remove all components befor adding the
34103 (startEditingTimer): Start only if it is not null.
34104 (stopCellEditing): Rewritten.
34105 (stopEditingTimer): New method.
34106 (valueChanged): Do not configure editing component here.
34108 2006-01-25 Roman Kennke <kennke@aicas.com>
34110 * javax/swing/text/html/FormView.java: New file.
34112 2006-01-25 Roman Kennke <kennke@aicas.com>
34114 * javax/swing/JSplitPane.java
34115 (addImpl): Call resetToPreferredSizes() when no dividerLocation
34116 has been set in order to set an initial layout.
34117 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34118 (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
34119 layout of the right component.
34120 (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
34121 dividerLocation to the size of the left component.
34122 (createDefaultNonContinuousLayoutDivider): Fetch the color from
34124 (setDividerLocation): Don't validate the location here. Sometimes
34125 the divider needs to be set to an invalid location.
34126 (startDragging): Don't revalidate and repaint here.
34127 (finishDraggingTo): Don't repaint here. Also, don't call
34128 dragDividerTo() here.
34129 * javax/swing/plaf/basic/BasicLookAndFeel.java
34130 (initComponentDefaults): Added SplitPaneDivider.draggingColor
34133 2006-01-25 Roman Kennke <kennke@aicas.com>
34135 * javax/swing/JSplitPane.java
34136 (addImpl): Removed invalidate() and layout() call.
34137 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34138 (PropertyHandler.propertyChange): Remove layoutContainer() and
34141 2006-01-25 Roman Kennke <kennke@aicas.com>
34144 * native/Makefile.am
34145 * native/jni/classpath/Makefile.am
34146 * native/jni/classpath/jcl.c
34147 * native/jni/classpath/jcl.h
34148 * native/jni/classpath/native_state.c
34149 * native/jni/gtk-peer/Makefile.am
34150 * native/jni/java-io/Makefile.am
34151 * native/jni/java-io/java_io_VMFile.c
34152 * native/jni/java-io/java_io_VMObjectStreamClass.c
34153 * native/jni/java-lang/Makefile.am
34154 * native/jni/java-net/Makefile.am
34155 * native/jni/java-net/java_net_VMInetAddress.c
34156 * native/jni/java-net/javanet.c
34157 * native/jni/java-net/javanet.h
34158 * native/jni/java-nio/Makefile.am
34159 * native/jni/java-nio/gnu_java_nio_VMPipe.c
34160 * native/jni/java-nio/gnu_java_nio_VMSelector.c
34161 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
34162 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
34163 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
34164 * native/jni/java-util/Makefile.am
34165 * native/jni/java-util/java_util_VMTimeZone.c
34166 * native/jni/midi-dssi/Makefile.am
34167 * native/jni/xmlj/Makefile.am
34168 * native/target/Makefile.am
34169 * native/target/Linux/target_native_math.h
34170 * native/target/Linux/target_native_memory.h
34171 * native/target/Linux/Makefile.am
34172 * native/target/Linux/target_native_io.h
34173 * native/target/Linux/target_native_math_float.h
34174 * native/target/Linux/target_native_math_int.h
34175 * native/target/generic/target_generic.c
34176 * native/target/generic/target_generic_io.c
34177 * native/target/generic/target_generic_math.h
34178 * native/target/generic/target_generic_memory.h
34179 * native/target/generic/target_generic_misc.c
34180 * native/target/generic/target_generic_network.c
34181 * native/target/generic/Makefile.am
34182 * native/target/generic/target_generic.h
34183 * native/target/generic/target_generic_file.h
34184 * native/target/generic/target_generic_io.h
34185 * native/target/generic/target_generic_math_float.h
34186 * native/target/generic/target_generic_math_int.h
34187 * native/target/generic/target_generic_misc.h
34188 * native/target/generic/target_generic_network.h:
34189 Reverted target native related changes back to the state of the
34191 * native/target/MinGW/.cvsignore
34192 * native/target/MinGW/Makefile.am
34193 * native/target/MinGW/target_native.h
34194 * native/target/MinGW/target_native_file.h
34195 * native/target/MinGW/target_native_io.h
34196 * native/target/MinGW/target_native_math.h
34197 * native/target/MinGW/target_native_memory.h
34198 * native/target/MinGW/target_native_misc.h
34199 * native/target/MinGW/target_native_network.h
34200 * native/target/RTEMS/.cvsignore
34201 * native/target/RTEMS/Makefile.am
34202 * native/target/RTEMS/target_native.h
34203 * native/target/RTEMS/target_native_file.h
34204 * native/target/RTEMS/target_native_io.h
34205 * native/target/RTEMS/target_native_math.h
34206 * native/target/RTEMS/target_native_memory.h
34207 * native/target/RTEMS/target_native_misc.h
34208 * native/target/RTEMS/target_native_network.h
34209 * native/target/SunOS/.cvsignore
34210 * native/target/SunOS/Makefile.am
34211 * native/target/SunOS/target_native.h
34212 * native/target/SunOS/target_native_file.h
34213 * native/target/SunOS/target_native_io.h
34214 * native/target/SunOS/target_native_math.h
34215 * native/target/SunOS/target_native_memory.h
34216 * native/target/SunOS/target_native_misc.h
34217 * native/target/SunOS/target_native_network.h
34218 * native/target/embOS/.cvsignore
34219 * native/target/embOS/Makefile.am
34220 * native/target/embOS/target_native.h
34221 * native/target/embOS/target_native_file.h
34222 * native/target/embOS/target_native_io.c
34223 * native/target/embOS/target_native_io.h
34224 * native/target/embOS/target_native_math.h
34225 * native/target/embOS/target_native_memory.h
34226 * native/target/embOS/target_native_misc.h
34227 * native/target/embOS/target_native_network.h
34228 * native/target/posix/.cvsignore
34229 * native/target/posix/Makefile.am
34230 * native/target/posix/target_posix.c
34231 * native/target/posix/target_posix.h
34232 * native/target/posix/target_posix_file.c
34233 * native/target/posix/target_posix_file.h
34234 * native/target/posix/target_posix_io.c
34235 * native/target/posix/target_posix_io.h
34236 * native/target/posix/target_posix_math.c
34237 * native/target/posix/target_posix_math.h
34238 * native/target/posix/target_posix_memory.c
34239 * native/target/posix/target_posix_memory.h
34240 * native/target/posix/target_posix_misc.c
34241 * native/target/posix/target_posix_misc.h
34242 * native/target/posix/target_posix_network.c
34243 * native/target/posix/target_posix_network.h:
34246 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
34248 * javax/print/PrintService.java,
34249 * javax/print/DocPrintJob.java,
34250 * javax/print/CancelablePrintJob.java:
34251 Added and enhanced api documentation for class and methods.
34253 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
34255 * javax/print/SimpleDoc.java: Make class final.
34256 * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
34257 * javax/print/attribute/DateTimeSyntax.java:
34258 (toString): New overridden method.
34259 * javax/print/attribute/standard/JobStateReasons.java:
34260 (add): Use the super.add method to avoid recursion.
34261 * javax/print/attribute/standard/PrinterStateReasons.java:
34262 (put): Use the super.put method to avoid recursion.
34264 2006-01-24 Robert Schuster <robertschuster@fsfe.org>
34266 * java/beans/XMLEncoder.java:
34267 (writeExpression): Added early return (fixes PR #25941).
34268 (setExceptionListener, anonymous Class): Removed printStackTrace
34270 * java/beans/Encoder: Removed unused imports.
34271 (setupDefaultPersistenceDelegates): Removed unneccessary
34272 PersistenceDelegates for subclasses.
34273 * java/beans/PersistenceDelegate:
34274 (initialize): Use local variable as first argument as it was
34276 * java/beans/DefaultPersistenceDelegate:
34277 (initialize): Added call to superclass' implementation, added
34280 2006-01-24 Tom Tromey <tromey@redhat.com>
34282 * java/util/regex/PatternSyntaxException.java: Added @since.
34283 * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
34284 * java/util/regex/MatchResult.java: New file.
34286 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34288 * javax/swing/text/StringContent.java: Added API docs all over, plus
34289 minor reformatting.
34291 2006-01-24 Gary Benson <gbenson@redhat.com>
34293 * java/net/SocketPermission.java: Implemented serialization.
34295 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34297 * javax/swing/text/StringContent.java
34298 (remove): Modified argument check to prevent removal of last character,
34299 (getChars): Removed null argument check to allow NullPointerException,
34301 (checkLocation): Added API docs and white space.
34303 2006-01-23 Lillian Angel <langel@redhat.com>
34305 * javax/swing/text/DefaultStyledDocument.java
34306 (insertUpdate): Should only call createFracture with
34307 StartTagType. Added check.
34308 (insertContentTag): Should use the tags length for splitting.
34309 Also, added a check to determine if current's start and end offset are
34310 equal to the offset and endOffset. If so, only one leaf element
34312 (createFracture): Removed FIXME. This function is complete.
34313 (split): Added calls to replace. Changed so the child is
34314 added immediately to the paragraph. Prevents NPEs.
34316 2006-01-23 Mark Wielaard <mark@klomp.org>
34318 * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
34320 2006-01-23 Tom Tromey <tromey@redhat.com>
34322 * gnu/java/security/x509/X509Certificate.java (parse):
34323 Unconditionally read value; for version==1 case when reading
34326 2006-01-23 Roman Kennke <kennke@aicas.com>
34328 * javax/swing/plaf/synth/ColorType.java,
34329 * javax/swing/plaf/synth/Region.java,
34330 * javax/swing/plaf/synth/SynthConstants.java,
34331 * javax/swing/plaf/synth/SynthContext.java
34332 * javax/swing/plaf/synth/SynthGraphicsUtils.java,
34333 * javax/swing/plaf/synth/SynthLookAndFeel.java,
34334 * javax/swing/plaf/synth/SynthPainter.java,
34335 * javax/swing/plaf/synth/SynthStyle.java,
34336 * javax/swing/plaf/synth/SynthStyleFactory.java,
34337 * javax/swing/plaf/synth/package.html:
34338 New files. Added the public API and framework classes for the
34339 Synth look and feel.
34341 2006-01-23 David Gilbert <david.gilbert@object-refinery.com>
34343 * javax/swing/text/Segment.java: API docs all over.
34345 2006-01-23 Lillian Angel <langel@redhat.com>
34347 * javax/swing/text/DefaultStyledDocument.java
34348 (split): Should not use createLeafElement and createBranchElement here.
34349 We should just instaniate the LeafElements and BranchElements instead
34350 to avoid the case where create*Element is overridden.
34352 2006-01-23 Lillian Angel <langel@redhat.com>
34354 * javax/swing/text/DefaultStyledDocument.java
34355 (insertFirstContentTag): Moved check outside of if-statement.
34356 This should be checked before creating the new leaf element.
34357 (insertFracture): Fixed check to prevent an NPE. The previous
34358 leaf should only be recreated if it has been created by
34359 insertFirstContentTag. Also, fixed up code: if the endOffset is
34360 greater than the offset, then we need to create a temp leaf
34361 as a place holder. Otherwise, the leaf elements should be
34364 2006-01-23 Gary Benson <gbenson@redhat.com>
34366 * java/net/SocketPermission.java: Almost completely rewritten.
34368 2006-01-23 Lillian Angel <langel@redhat.com>
34370 * javax/swing/text/DefaultStyledDocument.java
34371 (insertFracture): Set temp leaf's attributes to prevent an NPE.
34373 2006-01-23 Lillian Angel <langel@redhat.com>
34375 * javax/swing/text/DefaultStyledDocument.java:
34376 Formatted ElementBuffer and added new fields.
34377 (remove): Added check to determine if length is 0.
34378 (insertFirstContentTag): Initialized firstCreated to the element that is created
34379 by the first tag encountered. Removed check in JoinPreviousDirection case, no
34380 longer needed. In OriginateDirection case, added a loop to remove all old leafs
34381 that have been recreated.
34382 (insertContentTag): Cleaned up code. Removed checks that did not do anything.
34383 (insertFracture): Fixed up code, removed unneeded objects and checks. Added
34384 FIXME tags to the lines that need to be rewritten.
34386 2006-01-23 Mark Wielaard <mark@klomp.org>
34388 * examples/Makefile.am: Add support for fastjar.
34390 2006-01-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
34392 * gnu/regexp/REToken.java(empty): Made Cloneable.
34393 * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
34394 Use separate methods matchN and matchP depending on the
34396 (matchN): New method used when negative. Done as before.
34397 (matchP): New method used when not negative. Each token is
34398 tried not by itself but by a clone of it.
34400 2006-01-23 Chris Burdess <dog@gnu.org>
34403 * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
34404 class to avoid getLength method contention.
34405 * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
34407 2006-01-23 Chris Burdess <dog@gnu.org>
34409 * native/jni/java-util/Makefile.am: Include library required
34410 explicitly by BSD systems.
34411 * native/target/generic/target_generic_misc.h: Remove old commented
34413 * native/target/generic/target_generic_network.h: Fallbacks (to
34414 SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
34416 2006-01-22 Tom Tromey <tromey@redhat.com>
34418 * native/target/posix/.cvsignore: Added .deps.
34420 2006-01-22 Mark Wielaard <mark@klomp.org>
34423 reported by James Damour <James.Damour@corp.request.com>
34424 * java/awt/Container.java (addImpl): Use empty string as name when
34425 null constraints for LayoutManager.addLayoutComponent().
34427 2006-01-22 Chris Burdess <dog@gnu.org>
34430 * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34431 representing current directory as base for relative URLs.
34433 2006-01-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
34436 * gnu/regexp/REMatch.java(empty): New boolean indicating
34437 an empty string matched.
34438 * gnu/regexp/RE.java(match): Sets empty flag when an empty
34440 (initialize): Support back reference \10, \11, and so on.
34441 (parseInt): renamed from getEscapedChar and returns int.
34442 * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34443 when an empty string matched. Fixed a bug of the case where
34444 an empty string matched. Added special handling of {0}.
34445 * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34446 when an empty string matched. Fixed the case insensitive matching.
34448 2006-01-21 Roman Kennke <kennke@aicas.com>
34450 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34451 (paint): Added painting of border if one is installed.
34453 2006-01-21 Roman Kennke <kennke@aicas.com>
34455 PR classpath/25843:
34456 * javax/swing/plaf/basic/BasicBorders.java
34457 (getSplitPaneDividerBorder): Use new border constructor
34459 (SplitPaneDividerBorder.highlight): Removed unneeded field.
34460 (SplitPaneDividerBorder.shadow): Removed unneeded field.
34461 (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34462 colors are fetched dynamically in the paintBorder method.
34463 (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34465 (SplitPaneDividerBorder.isBorderOpaque): Returns true
34467 * javax/swing/plaf/basic/BasicLookAndFeel.java
34468 (initComponentDefaults): Added default for SplitPaneDivider.border.
34469 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34470 (tmpBorder): Removed unneeded inner class.
34471 (BasicSplitPaneDivider): Removed setting of border.
34472 (setSplitPaneUI): Don't add the mouse handler to the splitpane
34474 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34475 (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34476 to get behaviour right.
34477 (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34478 implementation. This must be rewritten since the layout now works
34479 slightly different (basically, it shouldn't modify the sizes[]
34480 here but instead the dividerLocation.
34481 (dividerLocation): New field.
34482 (installDefaults): Initialize border on divider.
34483 (uninstallDefaults): Only remove background color and border from
34484 splitPane if they are instances of UIDefaults (== not set by
34486 (setDividerLocation): Set the dividerLocation field instead of
34487 doing stunt acts here.
34488 (getDividerLocation): Return dividerLocation field.
34489 (getMinimumDividerLocation): Fixed calculation of minimum location.
34491 2006-01-21 Guilhem Lavaux <guilhem@kaffe.org>
34494 (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34496 * lib/Makefile.am: Likewise.
34498 2006-01-21 Roman Kennke <kennke@aicas.com>
34500 * javax/swing/PopupFactory.java
34501 (getPopup): If there is no Swing root found in any way, use a
34502 heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34503 for the Swing AWT peers.
34505 2006-01-20 Tom Tromey <tromey@redhat.com>
34507 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34508 Read response body for redirect.
34510 2006-01-20 Chris Burdess <dog@gnu.org>
34512 * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34515 2006-01-20 Lillian Angel <langel@redhat.com>
34517 * javax/swing/text/DefaultStyledDocument.java
34518 (pad): Removed, not needed.
34519 (printElements): Likewise.
34520 (printEdit): Likewise.
34522 2006-01-20 Roman Kennke <kennke@aicas.com>
34524 * javax/swing/text/DefaultFormatter.java
34525 (DefaultFormatter): Don't set a value class.
34527 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34529 * javax/swing/DefaultCellEditor.java: Commented.
34531 2006-01-19 Roman Kennke <kennke@aicas.com>
34533 * javax/swing/JOptionPane.java
34534 Added cast to Frame for JDialog constructor.
34536 2006-01-19 Roman Kennke <kennke@aicas.com>
34538 * javax/swing/JWindow.java
34539 (JWindow(Window)): Fixed to accept null owner argument.
34540 (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34542 * javax/swing/SwingUtilities.java
34543 (getOwnerFrame): Owner parameter and return value are fixed to
34544 be of type Window for compatibity with the above JWindow
34546 * javax/swing/JDialog.java
34547 (JDialog): Added cast to Frame to make sure the correct constructor
34549 * javax/swing/JFileChooser.java
34550 (createDialog): Added cast to Frame for JDialog constructor.
34552 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34554 * javax/swing/JTable.java (rowAtPoint): Rewritten.
34556 2006-01-19 Roman Kennke <kennke@aicas.com>
34558 * javax/swing/JWindow.java: Added API docs to the constructors.
34560 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34562 * javax/swing/JTable.java: Commenting method headers.
34563 (EditorUpdateTimer): Removed.
34565 2006-01-19 Roman Kennke <kennke@aicas.com>
34567 * javax/swing/JDialog.java
34568 (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34569 (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34570 SwingUtilities.getOwnerFrame() with the owner argument.
34571 * javax/swing/JFileChooser.java
34572 (showOpenDialog(Component)): Call pack() on the dialog instead of
34573 setting a fixed height.
34574 (showSaveDialog()): Likewise.
34575 (showDialog()): Likewise.
34576 (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34577 * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34579 * javax/swing/JWindow.java
34580 (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34581 (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34583 * javax/swing/SwingUtilities.java
34584 (getOwnerFrame): Changed to take a owner parameter that is returned
34585 as owner frame when not null.
34587 2006-01-19 Roman Kennke <kennke@aicas.com>
34589 * gnu/java/awt/peer/swing/SwingFramePeer.java
34590 (handleMouseEvent): Fixed handling of mouse events.
34591 (handleMouseMotionEvent): Fixed handling of mouse events.
34593 2006-01-19 Roman Kennke <kennke@aicas.com>
34595 * native/target/generic/target_generic_misc.c:
34596 (targetGenericMisc_formatString): Added missing method.
34598 2006-01-19 Wolfgang Baer <WBaer@gmx.de>
34600 * m4/acinclude.m4: Test also for ecj found before exiting configure
34601 with no javac found error message.
34603 2006-01-19 Ito Kazumitsu <kaz@maczuka.gcd.org>
34606 * gnu/regexp/RE.java(initialize): Support escaped characters such as
34607 \0123, \x1B, \u1234.
34608 (getEscapedChar): New method.
34609 (CharExpression): New inner class.
34610 (getCharExpression): New Method.
34611 * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34612 RE_UNICODE_CHAR): New syntax bits.
34614 2006-01-19 Roman Kennke <kennke@aicas.com>
34616 * native/target/Makefile.am: Fixed so that posix stuff is really
34617 only built when requested.
34619 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34621 * javax/swing/JTable.java (editingStopped, editingCancelled):
34622 Repaint the edited cell.
34623 (setValueAt): Do not add the value object to this container.
34624 (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34625 (editingStopped): Use editingRow, editingColumn and not
34626 rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34627 (doLayout): Move the editor component, if present, into the new
34628 location and call repaint(). (moveToCellBeingEdited): new method.
34629 (TableTextField): new inner class.
34630 (getDefaultEditor): Instantiante TableTextField, not JTextField.
34631 (setValueAt): Repaint the changed segment.
34632 (createDefaultEditors): Implemented.
34633 (BooleanCellRenderer): Center the checkbox and use the default foreground
34634 and background colors.
34635 * javax/swing/plaf/basic/BasicTableUI.java
34636 (paintCell): Do not paint the caret here. Do not accept unused parameters.
34637 (paint): No need to allocate rectangle for each cell.
34638 * javax/swing/DefaultCellEditor.java: Rewritten.
34639 * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34640 Use TableDemo.java table example.
34641 * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34643 2006-01-19 Roman Kennke <kennke@aicas.com>
34645 * configure.ac: Added/fixed --enable-posix-layer option to enable
34646 build of posix layer.
34647 * native/target/Makefile.am: Added build for posix layer.
34649 2006-01-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
34651 * configure.ac: Set TARGET to Linux per default.
34652 * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34654 * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34655 * native/target/generic/Makefile.am (INCLUDES): Renamed to
34658 2006-01-19 Raif S. Naffah <raif@swiftdsl.com.au>
34660 * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34661 what looked like proprietary documentation with original or new one.
34662 * java/security/spec/PSSParameterSpec.java: Likewise.
34663 * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34664 * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34665 * java/security/AlgorithmParameterGenerator.java: Likewise.
34666 * java/security/AlgorithmParameters.java: Likewise.
34667 * java/security/Identity.java: Likewise.
34668 * java/security/IdentityScope.java: Likewise.
34669 * java/security/KeyFactory.java: Likewise.
34670 * java/security/KeyPairGenerator.java: Likewise.
34671 * java/security/MessageDigest.java: Likewise.
34672 * java/security/Policy.java: Likewise.
34673 * java/security/ProtectionDomain.java: Likewise.
34674 * java/security/Security.java: Likewise.
34675 * java/security/Signature.java: Likewise.
34676 * java/security/SignatureSpi.java: Likewise.
34677 * java/security/SignedObject.java: Likewise.
34678 * java/security/Signer.java: Likewise.
34680 2006-01-18 Roman Kennke <kennke@aicas.com>
34682 * configure.ac: Added --enable-posix-layer option to enable
34683 build of the posix target layer.
34685 2006-01-18 Roman Kennke <kennke@aicas.com>
34687 * native/jni/java-net/java_net_VMInetAddress.c
34688 (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34691 2006-01-18 Roman Kennke <kennke@aicas.com>
34693 * native/jni/java-util/java_util_VMTimeZone.c:
34694 (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34695 to use target native layer.
34696 (jint_to_charbuf): Removed unneeded helper function.
34698 2006-01-18 Roman Kennke <kennke@aicas.com>
34700 * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34701 Removed unnecessary include.
34702 * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34703 Reorganized includes to only include sys/* headers when available.
34704 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34705 (get_pagesize): Return 0 when nothing else works.
34706 (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34707 Replaced munmap() and strerror() with corresponding target macros.
34708 (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34709 Replaced strerror() with corresponding target macro.
34710 (Java_java_nio_MappedByteBufferImpl_forceImpl):
34711 Replaced strerror() with corresponding target macro.
34712 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34713 (Java_java_nio_VMDirectByteBuffer_allocate):
34714 Replaced malloc() with the corresponding target macro.
34715 (Java_java_nio_VMDirectByteBuffer_free):
34716 Replaced free() with the corresponding target macro.
34717 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34718 Add index to pointer when assigning the value.
34719 (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34720 Replaced memcpy with corresponding target macro. Add index when
34721 doing the memcpy, not when fetching the pointer.
34722 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34723 Replaced memcpy with corresponding target macro.
34724 (Java_java_nio_VMDirectByteBuffer_shiftDown):
34725 Replaced memmove with the corresponding target macro.
34727 2006-01-17 Tom Tromey <tromey@redhat.com>
34729 PR classpath/20198:
34730 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34731 (JarURLLoader): Likewise.
34732 (addURLImpl): Canonicalize file URLs.
34734 2006-01-17 Christian Thalinger <twisti@complang.tuwien.ac.at>
34736 * configure.ac: Set TARGET.
34737 * native/Makefile.am, native/jni/classpath/Makefile.am,
34738 native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34739 native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34740 native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34741 native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34742 native/target/Linux/Makefile.am,
34743 native/target/generic/Makefile.am,
34744 native/target/posix/Makefile.am: Build libclasspath.so with jcl
34745 and target stuff linked in and link it against lib*.so libraries.
34747 2006-01-17 Roman Kennke <kennke@aicas.com>
34749 * native/jni/java-net/javanet.c:
34750 (_javanet_connect): Changed type of some local variables to jint.
34751 Fixed error handling to throw a SocketTimeoutException if the
34752 connection attempt times out.
34753 (_javanet_bind): Changed type of some local variables to jint.
34754 (_javanet_accept): Likewise.
34755 (_javanet_recvfrom): Likewise.
34756 (_javanet_sendto): Fixed error handling to throw a
34757 PortUnreachableException when connection is refused.
34758 (_javanet_get_option): Changed type of some local variables to jint.
34759 Implemented SOCKOPT_SO_BROADCAST.
34760 (_javanet_shutdownInput): Replaced shutdown call with corresponding
34761 target native macro.
34762 (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34763 target native macro.
34764 * native/jni/java-net/javanet.h:
34765 Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34766 SOCKOPT_SO_BROADCAST.
34768 2006-01-17 Lillian Angel <langel@redhat.com>
34770 * javax/swing/text/DefaultStyledDocument.java
34771 (insert): Cleaned up loop. No need to make so many calls
34772 to getAddedElements and getRemovedElements.
34773 (insertFracture): Removed unneeded array.
34775 2006-01-17 Lillian Angel <langel@redhat.com>
34777 * javax/swing/text/JTextComponent.java
34778 (AccessibleJTextComponent): Implemented.
34779 (getCaretPosition): Implemented.
34780 (getSelectedText): Implemented.
34781 (getSelectionStart): Implemented.
34782 (getSelectionEnd): Implemented.
34783 (getSelectionEnd): Implemented.
34784 (getCharCount): Implemented.
34785 (insertTextAtIndex): Implemented.
34786 (getTextRange): Implemented.
34787 (delete): Implemented.
34788 (cut): Implemented.
34789 (paste): Implemented.
34790 (replaceText): Implemented.
34791 (selectText): Implemented.
34793 2006-01-17 Anthony Balkissoon <abalkiss@redhat.com>
34795 * javax/swing/text/DefaultStyledDocument.java:
34796 (pad): New debugging method.
34797 (printElements): Likewise.
34798 (printPendingEdits): Likewise.
34799 (printElement): Likewise.
34800 (Edit): Improved docs, moved this class to be an inner class of
34801 ElementBuffer since it only applies within that scope. Changed added
34802 and removed to be Vectors instead of arrays because we need to be able
34803 to add to them after construction.
34804 (ElementBuffer): Updated docs with link to article that helped in this
34805 classes implementation.
34806 (ElementBuffer.Edit.getRemovedElements): New method.
34807 (ElementBuffer.Edit.getAddedElements): Likewise.
34808 (ElementBuffer.Edit.addRemovedElement): Likewise.
34809 (ElementBuffer.Edit.addRemovedElements): Likewise.
34810 (ElementBuffer.Edit.addAddedElement): Likewise.
34811 (ElementBuffer.Edit.addAddedElements): Likewise.
34812 (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and
34814 (ElementBuffer.getEditForParagraphAndIndex): New method.
34815 (ElementBuffer.removeUpdate): Changed type of paragraph to
34816 BranchElement. Corrected style of adding the edit to use the new Edit
34818 (ElementBuffer.changeUpdate): Changed style of adding the edit to use
34819 the new Edit facilities.
34820 (ElementBuffer.split): Likewise.
34821 (ElementBuffer.insertParagraph): Likewise.
34822 (ElementBuffer.insertContentTag): Likewise.
34823 (ElementBuffer.insert): Push all BranchElements until the deepest one,
34824 not just the root and the first one. Apply the structural changes to
34825 the tree at the same time as updating the DocumentEvent.
34826 (ElementBuffer.insertUpdate): Fixed docs. Removed the special case
34827 handling of EndTags as the first ElementSpec. Instead have to handle
34828 ContentTags as a special case if they are the first ElementSpec and if
34829 not have to fracture the tree.
34830 (ElementBuffer.createFracture): New method. May not be complete yet.
34831 Added FIXME indicating what may remain to be done.
34832 (ElementBuffer.insertFirstContentTag): New method.
34833 (ElementBuffer.insertFracture): Added FIXME explaining what remains to
34834 be done. Changed the adding of edits to use the new Edit facilities.
34835 Removed the adding of edits for Elements that weren't in the tree prior
34837 (insertUpdate): Removed incorrect condition for setting a StartTag's
34838 direction to JoinNextDirection.
34839 * javax/swing/text/StyleContent.java:
34840 (SmallAttributeSet.toString): Fixed an off-by-one error in the loop
34841 that was causing an ArrayOutOfBoundsException.
34843 2006-01-17 Roman Kennke <kennke@aicas.com>
34845 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34846 (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
34847 exception messages a little.
34848 (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
34849 alternative implementation for systems without filesystems.
34850 Replaced snprintf with the corresponding target native macro.
34851 (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
34852 Only do something when we have a filesystem.
34853 (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
34854 alternative implementation for systems without filesystems.
34855 (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
34856 alternative implementation for systems without filesystems.
34857 (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
34858 alternative implementation for systems without filesystems.
34859 (Java_gnu_java_nio_channels_FileChannelImpl_seek):
34860 Only do something when we have a filesystem.
34861 (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
34862 Only do something when we have a filesystem.
34863 (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
34864 alternative implementation for systems without filesystems.
34865 (Java_gnu_java_nio_channels_FileChannelImpl_read__):
34866 Replaced ssize_t variables with jint. Provided
34867 alternative implementation for systems without filesystems.
34868 (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
34869 Replaced ssize_t variables with jint. Provided
34870 alternative implementation for systems without filesystems.
34871 (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
34872 Replaced ssize_t variables with jint. Provided
34873 alternative implementation for systems without filesystems.
34874 (Java_gnu_java_nio_channels_FileChannelImpl_force):
34875 Only do something when we have a filesystem.
34876 (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
34877 Replaced ssize_t variables with jint. Provided
34878 alternative implementation for systems without filesystems.
34879 (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
34880 to use the corresponding target native macro.
34881 (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
34882 to use the corresponding target native macro.
34884 2006-01-17 Lillian Angel <langel@redhat.com>
34886 * javax/swing/text/DefaultTextUI.java:
34887 Added deprecated tag.
34888 * javax/swing/text/JTextComponent.java
34889 (AccessibleJTextComponent): Fixed API doc and
34890 partiall9 implemented.
34891 (getCaretPosition): Fixed API doc and implemented.
34892 (getSelectedText): Fixed API doc.
34893 (getSelectionStart): Likewise.
34894 (getSelectionEnd): Likewise.
34895 (caretUpdate): Fixed API doc and
34896 partially implemented.
34897 (getAccessibleStateSet): Likewise.
34898 (getAccessibleRole): Fixed API doc and implemented.
34899 (getAccessibleEditableText): Implemented.
34900 (getAccessibleText): Fixed API doc and implemented.
34901 (insertUpdate): Fixed API doc.
34902 (changedUpdate): Likewise.
34903 (getIndexAtPoint): Likewise.
34904 (getRootEditorRect): Removed.
34905 (getCharacterBounds): Fixed API doc.
34906 (getCharCount): Likewise.
34907 (getCharacterAttribute): Likewise.
34908 (getAtIndex): Likewise.
34909 (getAfterIndex): Likewise.
34910 (getBeforeIndex): Likewise.
34911 (getAccessibleActionCount): Added function stub.
34912 (getAccessibleActionDescription): Added function,
34913 partially implemented.
34914 (doAccessibleAction): Added function stub.
34915 (setTextContents): Likewise.
34916 (insertTextAtIndex): Likewise.
34917 (delete): Likewise.
34920 (replaceText): Likewise.
34921 (selectText): Likewise.
34922 (setAttributes): Likewise.
34923 (getAccessibleContext): Implemented.
34925 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34928 * gnu/regexp/RETokenRange.java(constructor):
34929 Keep lo and hi as they are.
34930 (match): Changed the case insensitive comparison.
34932 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34934 * gnu/regexp/RETokenChar.java(chain):
34935 Do not concatenate tokens whose insens flags are diffent.
34937 2006-01-17 Roman Kennke <kennke@aicas.com>
34939 * native/target/generic/target_generic_network.c:
34940 (targetGenericNetwork_receive): Fixed signature to match the
34941 corresponding .h file.
34942 (targetGenericNetwork_receiveWithAddressPort): Fixed signature
34943 to match the corresponding .h file.
34945 2006-01-17 Roman Kennke <kennke@aicas.com>
34947 * native/jni/classpath/jcl.c:
34948 (JCL_malloc): Replaced calls to malloc with the corresponding
34949 target layer macro.
34950 (JCL_free): Replaced calls to free with the corresponding
34951 target layer macro.
34952 * native/jni/classpath/native_state.c:
34953 (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
34954 calloc with the corresponding target layer macro.
34955 (remove_node): Replaced calls to free with the corresponding
34956 target layer macro.
34957 (add_node): Replaced calls to malloc with the corresponding
34958 target layer macro.
34960 2006-01-17 Roman Kennke <kennke@aicas.com>
34962 * native/jni/java-io/java_io_VMObjectStreamClass.c:
34963 (getFieldReference): Use MALLOC/FREE macros for portability instead
34964 of direct call to malloc() and free().
34966 2006-01-17 Roman Kennke <kennke@aicas.com>
34968 * native/jni/classpath/jcl.c: Added missing imports.
34969 (JCL_realloc): Fixed signature to include oldsize. This is needed
34970 for some targets. Make this function use the MEMORY_REALLOC macro
34972 * native/jni/classpath/jcl.h
34973 (JCL_realloc): Adjusted signature.
34974 * native/jni/java-io/java_io_VMFile.c:
34975 (Java_java_io_VMFile_create): Use target layer macro for handling
34976 errno, for portability.
34977 (Java_java_io_VMFile_length): Release filename string in error cases
34979 (Java_java_io_VMFile_list): Initialize filename variable. Use new
34980 version of JCL_realloc.
34981 * native/jni/java-net/java_net_VMInetAddress.c:
34982 (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
34983 TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
34984 * native/jni/java-net/javanet.c:
34985 (_javanet_bind): Make errorstr variable const to avoid compiler
34987 (_javanet_set_option): Fixed typo.
34988 (_javanet_get_option): Fixed typo.
34989 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34990 (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
34991 error_string variable const to avoid compiler warning.
34992 * native/target/generic/target_generic_file.h:
34993 Replaced // comments with /* */ comments to avoid compiler warnings.
34994 Added some spaces to make code better readable.
34995 * native/target/generic/target_generic_memory.h:
34996 Replaced // comments with /* */ comments to avoid compiler warnings.
34997 * native/target/generic/target_generic_misc.c:
34998 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34999 compiler warnings due to use of varargs.
35000 * native/target/generic/target_generic_misc.h:
35001 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35002 compiler warnings due to use of varargs.
35003 * native/target/generic/target_generic_network.h:
35004 Replaced // comments with /* */ comments to avoid compiler warnings.
35005 (targetGenericNetwork_receive): Fixed signature to use signed chars
35006 for buffer parameter to avoid warning when passing a jbyte to the
35009 2006-01-17 David Gilbert <david.gilbert@object-refinery.com>
35011 * javax/swing/text/StyleConstants.java
35012 (getAlignment): Removed isDefined() check, so that resolving parent is
35014 (getBackground): Likewise, plus changed default value to Color.BLACK,
35015 (getBidiLevel): Removed isDefined() check,
35016 (getComponent): Likewise,
35017 (getFirstLineIndent): Likewise,
35018 (getFontFamily): Likewise,
35019 (getFontSize): Likewise,
35020 (getForeground): Likewise,
35021 (getIcon): Likewise,
35022 (getLeftIndent): Likewise,
35023 (getLineSpacing): Likewise,
35024 (getRightIndent): Likewise,
35025 (getSpaceAbove): Likewise,
35026 (getSpaceBelow): Likewise,
35027 (getTabSet): Likewise,
35028 (isBold): Likewise,
35029 (isItalic): Likewise,
35030 (isStrikeThrough): Likewise,
35031 (isSubscript): Likewise,
35032 (isSuperscript): Likewise,
35033 (isUnderline): Likewise.
35035 2006-01-17 Gary Benson <gbenson@redhat.com>
35037 * java/lang/System.java (setSecurityManager): Catch
35038 ClassNotFoundException not Throwable.
35040 2006-01-16 Anthony Green <green@redhat.com>
35043 * gnu/java/net/protocol/http/Request.java
35044 (createResponseBodyStream): Remove Content-Encoding for
35045 compressed streams.
35047 2006-01-16 Chris Burdess <dog@gnu.org>
35049 * gnu/xml/stream/XMLParser.java,
35050 gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
35051 XMLStreamWriter arguments for conformance to the XML specifications.
35052 * gnu/xml/transform/Stylesheet.java,
35053 gnu/xml/transform/Template.java,
35054 gnu/xml/transform/TransformerImpl.java,
35055 gnu/xml/xpath/LangFunction.java,
35056 gnu/xml/xpath/Selector.java: better handling of template priorities;
35057 fix indents when pretty-printing; recursive tests for xml:lang.
35058 * gnu/xml/util/XHTMLWriter.java,
35059 gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
35061 2006-01-16 Roman Kennke <kennke@aicas.com>
35063 * native/target/MinGW/.cvsignore: New file.
35064 * native/target/RTEMS/.cvsignore: New file.
35065 * native/target/SunOS/.cvsignore: New file.
35066 * native/target/embOS/.cvsignore: New file.
35067 * native/target/posix/.cvsignore: New file.
35069 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35071 * javax/swing/text/StyleConstants.java: Updated API docs all over.
35073 2006-01-16 Roman Kennke <kennke@aicas.com>
35075 * configure.ac: Include new target native directories in build.
35077 2006-01-16 Roman Kennke <kennke@aicas.com>
35079 * native/target/generic/target_generic_file.h: Added missing
35081 * native/target/generic/target_generic_network.c: Fixed several
35082 typos and includes.
35083 * native/target/generic/target_generic_network.h: Likewise.
35085 2006-01-16 Roman Kennke <kennke@aicas.com>
35087 * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
35088 to include the new targets.
35089 * native/target/posix/Makefile.am: Fixed filenames.
35091 2006-01-16 Roman Kennke <kennke@aicas.com>
35093 * native/target/Makefile.am: Include new targets.
35094 * native/target/Linux/Makefile.am: Include new memory layer.
35095 * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
35096 * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
35097 * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
35098 * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
35099 * native/target/generic/Makefile.am: Include new memory and math
35101 * native/target/posix/Makefile.am: New file. Includes posix in dist.
35103 2006-01-16 Ito Kazumitsu <kaz@maczuka.gcd.org>
35106 * gnu/regexp/RE.java(initialize): Parse embedded flags.
35107 * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
35109 2006-01-16 Roman Kennke <kennke@aicas.com>
35111 * native/target/generic/target_generic_network.c: Fixed typo.
35112 * native/target/generic/target_generic_network.h: Fixed typo.
35114 2006-01-16 Nicolas Geoffray <nicolas.geoffray@menlina.com>
35116 * doc/vmintegration.texinfo: Updated subsection of the
35117 java.lang.InstrumentationImpl documentation.
35119 2006-01-16 Roman Kennke <kennke@aicas.com>
35121 * native/target/RTEMS/target_native.h,
35122 * native/target/RTEMS/target_native_file.h,
35123 * native/target/RTEMS/target_native_io.h,
35124 * native/target/RTEMS/target_native_math.h,
35125 * native/target/RTEMS/target_native_memory.h,
35126 * native/target/RTEMS/target_native_misc.h,
35127 * native/target/RTEMS/target_native_network.h:
35128 New files. Implement the target native layer for the RTEMS platform.
35130 2006-01-16 Roman Kennke <kennke@aicas.com>
35132 * native/target/SunOS/target_native.h,
35133 * native/target/SunOS/target_native_file.h,
35134 * native/target/SunOS/target_native_io.h,
35135 * native/target/SunOS/target_native_math.h,
35136 * native/target/SunOS/target_native_memory.h,
35137 * native/target/SunOS/target_native_misc.h,
35138 * native/target/SunOS/target_native_network.h:
35139 New files. Implement the target native layer for the SunOS platform.
35141 2006-01-16 Roman Kennke <kennke@aicas.com>
35143 * native/target/MinGW/target_native.h,
35144 * native/target/MinGW/target_native_file.h,
35145 * native/target/MinGW/target_native_io.h,
35146 * native/target/MinGW/target_native_math.h,
35147 * native/target/MinGW/target_native_memory.h,
35148 * native/target/MinGW/target_native_misc.h,
35149 * native/target/MinGW/target_native_network.h:
35150 New files. Implement the target native layer for the MinGW
35153 2006-01-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35156 * javax/swing/DefaultCellEditor.java
35157 (delegate): Assign new instance immediately.
35158 (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
35159 (getTableCellEditorComponent): Rewritten.
35160 (prepareAsJTextField):New method (add listener only once).
35161 * javax/swing/JTable.java
35162 (editingCanceled): Rewritten.
35163 (editingStopped ): Rewritten.
35164 (rowAtPoint): Mind row margin.
35165 (getCellRect): Mind row margin.
35166 (getDefaultEditor): Removing JTextComponent border.
35167 (editCellAt): Rewritten.
35168 * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
35169 Activate editing mode by the mouse clicks.
35170 (getMaximumSize): Mind row margin.
35171 (getPreferredSize): Mind row margin.
35172 (TableAction): Added 'stop editing' command.
35174 2006-01-16 Roman Kennke <kennke@aicas.com>
35176 * jni/java-io/java_io_VMFile.c
35177 (Java_java_io_VMFile_list): Use new 4 argument version of
35178 TARGET_NATIVE_FILE_READ_DIR macro.
35179 * target/Linux/target_native_io.h: Fixed comment at #endif.
35180 * target/Linux/target_native_memory.h: New file. Contains
35181 portability macros for memory operations.
35182 * target/generic/target_generic.c: New file. Contains some functions
35184 * target/generic/target_generic.h: Use posix target and shorter macro
35185 names if CP_NEW is set.
35186 * target/generic/target_generic_file.h: Use posix target and shorter
35187 macro names if CP_NEW is set.
35188 (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
35189 * target/generic/target_generic_io.c: New file. Contains some
35190 functions for IO portability.
35191 * target/generic/target_generic_io.h: Use posix target and shorter
35192 macro names if CP_NEW is set.
35193 * target/generic/target_generic_misc.c: New file. Contains some
35194 functions for miscallaneaous portability issues.
35195 * target/generic/target_generic_misc.h: Use posix target and shorter
35196 macro names if CP_NEW is set.
35197 * target/generic/target_generic_network.c: New file. Contains some
35198 functions for networking portability.
35199 * target/generic/target_generic_network.h: Use posix target and
35200 shorter macro names if CP_NEW is set.
35201 * target/posix/Makefile.am,
35202 * target/posix/target_posix.c,
35203 * target/posix/target_posix.h,
35204 * target/posix/target_posix_file.c,
35205 * target/posix/target_posix_file.h,
35206 * target/posix/target_posix_io.c,
35207 * target/posix/target_posix_io.h,
35208 * target/posix/target_posix_math.c,
35209 * target/posix/target_posix_math.h,
35210 * target/posix/target_posix_memory.c,
35211 * target/posix/target_posix_memory.h,
35212 * target/posix/target_posix_misc.c,
35213 * target/posix/target_posix_misc.h,
35214 * target/posix/target_posix_network.c,
35215 * target/posix/target_posix_network.h:
35216 New files. This implements the target native layer macros for
35217 Posix-like systems.
35219 2006-01-16 Gary Benson <gbenson@redhat.com>
35221 * java/net/SocketPermission.java (implies): Fix action checks.
35223 2006-01-16 Roman Kennke <kennke@aicas.com>
35225 * native/target/generic/target_generic_math_float.h: Removed. This
35226 file has been replaced by target_generic_math.h.
35227 * native/target/generic/target_generic_math_int.h: Removed. This
35228 file has been replaced by target_generic_math.h.
35229 * native/target/generic/target_generic_math.h: New file. Replaces
35230 the old _int and _float versions.
35231 * native/target/Linux/target_native_math_float.h: Removed. This
35232 file has been replaced by target_native_math.h.
35233 * native/target/Linux/target_native_math_int.h: Removed. This
35234 file has been replaced by target_native_math.h.
35235 * native/target/Linux/target_native_math.h: New file. Replaces
35236 the old _int and _float versions.
35237 * native/target/Linux/Makefile.am: Adjusted for the changed
35239 * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
35240 instead of target_native_math_int.h.
35241 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35243 * native/target/generic/target_generic_file.h: Likewise.
35245 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35247 * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
35249 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35251 * javax/swing/text/SimpleAttributeSet.java
35252 (SimpleAttributeSet()): Initialise storage directly,
35253 (SimpleAttributeSet(AttributeSet)): Removed null check and documented
35254 NullPointerException,
35255 (containsAttribute): If key is found locally, don't check resolving
35256 parent if the value doesn't match,
35257 (getAttribute): Removed redundant instanceof and cast.
35259 2006-01-16 Gary Benson <gbenson@redhat.com>
35261 * java/lang/System.java (setSecurityManager): Ensure policy
35262 files are loaded before a security manager is put in place.
35264 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35266 * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
35268 2006-01-16 Wolfgang Baer <WBaer@gmx.de>
35270 * javax/print/attribute/standard/MediaSize.java:
35271 (static_initializer): Added comment.
35272 (MediaSize): Added javadoc to mention cache registration.
35273 (MediaSize): Likewise.
35274 (MediaSize): Likewise.
35275 (MediaSize): Likewise.
35277 2006-01-16 Raif S. Naffah <raif@swiftdsl.com.au>
35280 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
35281 * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
35282 * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
35283 * javax/security/auth/login/AppConfigurationEntry.java: Updated
35285 (toString): Added method implementation.
35286 (LoginModuleControlFlag.toString): Removed class name from result.
35287 * javax/security/auth/login/Configuration.java: Updated copyright year.
35288 (getConfig(): replaced calls to NullConfiguration with
35291 2006-01-15 Tom Tromey <tromey@redhat.com>
35293 * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
35294 * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
35295 * java/beans/PersistenceDelegate.java (initialize): Genericized.
35296 * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
35297 (setPersistenceDelegate): Likewise.
35299 2006-01-15 Wolfgang Baer <WBaer@gmx.de>
35301 * javax/print/attribute/standard/PrinterStateReasons.java:
35302 (printerStateReasonSet): Genericize the return type.
35304 2006-01-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35306 * javax/swing/table/DefaultTableCellRenderer.java
35307 (getTableCellRendererComponent): Render null as the empty cell.
35309 2006-01-14 Anthony Green <green@redhat.com>
35311 * java/net/ServerSocket.java (accept): Remove bogus
35313 (implAccept): Add FIXME comment.
35315 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35318 * javax/print/Doc.java: Added and enhanced documentation.
35319 * javax/print/SimpleDoc.java: New file.
35321 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35323 * javax/print/attribute/standard/MediaSize.java:
35324 (Other.TABLOID): New MediaSize added in 1.5
35326 2006-01-14 Chris Burdess <dog@gnu.org>
35328 * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
35329 correctly when I/O and runtime exceptions occur during parsing.
35331 2006-01-13 Roman Kennke <kennke@aicas.com>
35333 * gnu/java/awt/peer/swing/SwingButtonPeer.java,
35334 * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
35335 * gnu/java/awt/peer/swing/SwingComponent.java,
35336 * gnu/java/awt/peer/swing/SwingComponentPeer.java,
35337 * gnu/java/awt/peer/swing/SwingContainerPeer.java,
35338 * gnu/java/awt/peer/swing/SwingFramePeer.java,
35339 * gnu/java/awt/peer/swing/SwingLabelPeer.java,
35340 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
35341 * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
35342 * gnu/java/awt/peer/swing/SwingMenuPeer.java,
35343 * gnu/java/awt/peer/swing/SwingPanelPeer.java,
35344 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
35345 * gnu/java/awt/peer/swing/SwingToolkit.java,
35346 * gnu/java/awt/peer/swing/SwingWindowPeer.java,
35347 * gnu/java/awt/peer/swing/package.html:
35348 New files. Implemented some basic AWT peers based on Swing.
35350 2006-01-13 Roman Kennke <kennke@aicas.com>
35352 * java/awt/peer/ComponentPeer.java: Added API docs all over.
35354 2006-01-13 Roman Kennke <kennke@aicas.com>
35356 * java/awt/MenuComponent.java: Reformatted to better match our
35359 2006-01-13 Roman Kennke <kennke@aicas.com>
35361 * java/awt/Frame.java: Reformatted to better match our
35364 2006-01-13 Roman Kennke <kennke@aicas.com>
35366 * java/awt/MenuBar.java
35367 (accessibleContext): Removed unnecessary field. This is already
35368 defined in MenuComponent.
35369 (setHelpMenu): Renamed the peer variable to myPeer because it was
35370 hiding a field of MenuComponent.
35371 (addNotify): Removed unnecessary cast.
35373 2006-01-13 Roman Kennke <kennke@aicas.com>
35375 * java/awt/MenuBar.java: Reformatted to better match our
35378 2006-01-13 Roman Kennke <kennke@aicas.com>
35380 * java/awt/MenuBar.java
35381 (frame): New field.
35382 (removeNotify): Clear frame field when beeing removed from the
35384 * java/awt/Frame.java
35385 (setMenuBar): Store a reference of the frame in the MenuBar.
35386 * java/awt/MenuComponent.java
35387 (postEvent): Implemented to forward the call to the parent until
35388 a parent can handle the event.
35389 (dispatchEvent): Moved handling of old style events from
35390 dispatchEventImpl() to here.
35391 (dispatchEventImpl): Moved handling of old style events to
35394 2006-01-13 Roman Kennke <kennke@aicas.com>
35396 * java/awt/Component.java
35397 (dispatchEvent): Moved handling of old style events from
35398 dispatchEventImpl() to this method.
35399 (translateEvent): Removed unnecessary cast.
35400 (dispatchEventImpl): Moved handling of old style events to
35403 2006-01-13 Lillian Angel <langel@redhat.com>
35405 * javax/swing/text/DefaultStyledDocument.java
35406 (createDefaultRoot): Removed FIXME.
35407 (setLogicalStyle): Added fireUndoableEditUpdate call and
35410 2006-01-13 Lillian Angel <langel@redhat.com>
35412 * javax/swing/text/DefaultStyledDocument.java
35413 (Edit): New inner class.
35414 (changeUpdate): Changed addEdit call to add a new
35415 instance of Edit to the edits Vector, so addEdits can
35418 (insertParagraph): Likewise.
35419 (insertFracture): Likewise.
35420 (insertContentTag): Likewise.
35421 (insert): Added loop to go through edits Vector and perform
35422 addEdit on each object.
35424 2006-01-13 Chris Burdess <dog@gnu.org>
35426 * gnu/xml/transform/AbstractNumberNode.java,
35427 gnu/xml/transform/ApplyImportsNode.java,
35428 gnu/xml/transform/ApplyTemplatesNode.java,
35429 gnu/xml/transform/AttributeNode.java,
35430 gnu/xml/transform/CallTemplateNode.java,
35431 gnu/xml/transform/ChooseNode.java,
35432 gnu/xml/transform/CommentNode.java,
35433 gnu/xml/transform/CopyNode.java,
35434 gnu/xml/transform/CopyOfNode.java,
35435 gnu/xml/transform/DocumentFunction.java,
35436 gnu/xml/transform/ElementNode.java,
35437 gnu/xml/transform/ForEachNode.java,
35438 gnu/xml/transform/IfNode.java,
35439 gnu/xml/transform/LiteralNode.java,
35440 gnu/xml/transform/MessageNode.java,
35441 gnu/xml/transform/OtherwiseNode.java,
35442 gnu/xml/transform/ParameterNode.java,
35443 gnu/xml/transform/ProcessingInstructionNode.java,
35444 gnu/xml/transform/Stylesheet.java,
35445 gnu/xml/transform/Template.java,
35446 gnu/xml/transform/TemplateNode.java,
35447 gnu/xml/transform/TextNode.java,
35448 gnu/xml/transform/TransformerImpl.java,
35449 gnu/xml/transform/ValueOfNode.java,
35450 gnu/xml/transform/WhenNode.java,
35451 gnu/xml/xpath/NodeTypeTest.java,
35452 gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35453 with-param parameters when template does not define parameters; apply
35454 conflict resolution for templates; strip whitespace on documents
35455 retrieved via document() function; allow node() to match document
35458 2006-01-13 Mark Wielaard <mark@klomp.org>
35460 * doc/www.gnu.org/announce/20060113.wml: New file.
35461 * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35462 * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35464 2006-01-13 Lillian Angel <langel@redhat.com>
35466 * javax/swing/text/DefaultStyledDocument.java:
35467 Removed unused fields.
35468 (insert): Removed unused fields.
35469 (endEdit): Removed, not needed.
35470 (insertUpdate): Removed call to endEdit.
35471 (prepareContentInsertion): Removed, not needed.
35472 (insertContentTag): Removed call to prepareContentInsertion.
35473 (printElements): Removed, not needed.
35474 (attributeSetsAreSame): Removed, not needed.
35476 2005-01-13 Mark Wielaard <mark@klomp.org>
35478 * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35479 Duplicate of toString(int, StringBuilder).
35481 2005-01-13 Mark Wielaard <mark@klomp.org>
35483 * configure.ac: Set version to 0.20.
35484 * NEWS: Add entries for all the new work done.
35486 2005-01-13 Mark Wielaard <mark@klomp.org>
35488 * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35490 2005-01-13 Mark Wielaard <mark@klomp.org>
35492 * java/util/regex/Pattern.java (Pattern): Chain REException.
35494 2006-01-13 Chris Burdess <dog@gnu.org>
35496 * gnu/xml/xpath/NameTest.java: Removed debugging output.
35498 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35500 * java/security/Security.java
35501 (getProperty): Added hack to skip security check when trusted
35502 code is direct caller.
35504 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35506 * java/io/PrintStream.java
35507 (line_separator, PrintStream(OutputStream,boolean)): Use
35510 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35512 * gnu/java/nio/charset/Provider.java: Added comment about its
35513 special relation with CharsetProvider.
35515 * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35516 its special relation with CharsetProvider.
35518 * java/nio/charset/spi/CharsetProvider.java
35519 (CharsetProvider): Add special case to skip security check for
35520 built in providers.
35522 2005-01-13 Mark Wielaard <mark@klomp.org>
35524 * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35525 name, accel, mnemonic and command are defined before setting.
35527 2005-01-12 Mark Wielaard <mark@klomp.org>
35529 * javax/swing/plaf/metal/MetalFileChooserUI.java
35530 (FileRenderer.getListCellRendererComponent): Set empty name and null
35531 icon when File is null.
35533 2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35535 * gnu/java/rmi/server/UnicastRef.java (newCall):
35536 Throw ConnectException after catching IOException.
35538 2006-01-12 Lillian Angel <langel@redhat.com>
35540 * javax/swing/text/DefaultStyledDocument.java
35541 (insertUpdate): Removed unneeded check.
35543 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35545 * javax/swing/text/DefaultStyledDocument.java:
35546 (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35547 and we haven't come immediately after a fracture, adjust the Element
35548 offsets. Added comment explaining the situation.
35549 (insert): Return early if no ElementSpecs passed in. Removed redundant
35550 call to insertUpdate. Fired the UndoableEditUpdate.
35552 2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
35555 * gnu/regexp/RE.java(initialize): Fixed the parsing of
35556 character classes within a subexpression.
35558 2006-12-12 Lillian Angel <langel@redhat.com>
35560 * javax/swing/text/DefaultStyledDocument.java
35561 (insertUpdate): Added check to check if attribute set is
35563 (insertUpdate): Added check to determine if last character
35564 is a newline. If it is, we should not be fracturing.
35565 (insert): Added check to determine if attribute set is empty.
35566 If it is, insertUpdate should not be called.
35568 2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
35570 * configure.ac: Check for isnan.
35572 * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35575 2006-01-12 Chris Burdess <dog@gnu.org>
35577 * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35578 1.1 character ranges.
35580 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35582 * javax/swing/TransferHandler.java:
35583 (TransferAction<init>): Call super constructor. Fixes Mauve regression
35584 gnu/testlet/javax/swing/JTextField/CopyPaste.
35586 2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
35588 * resource/Makefile.am: Install
35589 logging.properties into $(prefix)/lib.
35590 * resource/Makefile.am (securitydir): Changed to
35591 $(prefix)/lib/security.
35593 2006-01-12 Roman Kennke <kennke@aicas.com>
35595 * javax/swing/JTextField.java
35596 (createDefaultModel): Moved installation of the filterNewlines
35597 property to setDocument().
35598 (setDocument): New method. Installs the filterNewlines property
35601 2006-01-12 Chris Burdess <dog@gnu.org>
35603 * gnu/xml/dom/DomNode.java,
35604 gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35606 * gnu/xml/xpath/NameTest.java,
35607 gnu/xml/xpath/NamespaceTest.java,
35608 gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35610 * gnu/xml/transform/MessageNode.java: Use standard logging system
35611 for outputting messages.
35613 2006-01-12 Tom Tromey <tromey@redhat.com>
35615 * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35616 (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35617 (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35618 (static initializer): Removed cache code.
35619 (checkCacheFor, addToCache): Removed.
35620 (getAllByName): Removed cache code.
35621 (lookup_time): Removed.
35622 (InetAddress): Updated.
35624 2006-01-12 Chris Burdess <dog@gnu.org>
35626 * gnu/xml/dom/DomDocument.java,
35627 gnu/xml/dom/DomElement.java,
35628 gnu/xml/dom/DomNode.java,
35629 gnu/xml/stream/XMLParser.java,
35630 gnu/xml/transform/Bindings.java,
35631 gnu/xml/transform/ElementAvailableFunction.java,
35632 gnu/xml/transform/ElementNode.java,
35633 gnu/xml/transform/FunctionAvailableFunction.java,
35634 gnu/xml/transform/NamespaceProxy.java,
35635 gnu/xml/transform/StreamSerializer.java,
35636 gnu/xml/transform/Stylesheet.java,
35637 gnu/xml/transform/TransformerImpl.java,
35638 gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35639 document and element nodes; correct coalescing semantics when parsing;
35640 attribute-sets can only refer to top-level variables and parameters;
35641 fix namespace retrieval during element-available and
35642 function-available functions; implement xsl:fallback for extension
35643 elements; tokenize whitespace correctly during whitespace stripping;
35644 correct following and previous node axes selectors.
35646 2006-01-12 Roman Kennke <kennke@aicas.com>
35648 * java/util/Hashtable.java
35649 (KeyEnumerator.nextElement): Added null check to avoid NPE.
35650 (ValueEnumerator.nextElement): Added null check to avoid NPE.
35652 2006-01-12 Lillian Angel <langel@redhat.com>
35654 * javax/swing/text/GapContent.java
35655 (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35657 2006-01-12 Mark Wielaard <mark@klomp.org>
35659 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35660 Throw UnknowHostException when name could not be resolved.
35662 2006-01-12 Jeroen Frijters <jeroen@frijters.net>
35664 * java/net/URL.java
35665 (static, getURLStreamHandler): Use SystemProperties.
35667 2006-01-12 Mark Wielaard <mark@klomp.org>
35669 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35670 Use packet.getLength().
35671 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35672 (nativeReceive): Check whether the receiver wants zero bytes.
35674 2006-01-12 Mark Wielaard <mark@klomp.org>
35676 * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35677 other side orderly closed connection.
35678 * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35679 (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35680 when end of stream reached.
35682 2006-01-12 Mark Wielaard <mark@klomp.org>
35684 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35686 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35687 * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35688 * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35689 * native/jni/java-net/javanet.c: Likewise.
35691 2006-01-12 Mark Wielaard <mark@klomp.org>
35693 * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35694 PR classpath/23863.
35696 2006-01-11 Chris Burdess <dog@gnu.org>
35698 * gnu/xml/transform/AttributeNode.java,
35699 gnu/xml/transform/ElementNode.java,
35700 gnu/xml/transform/LiteralNode.java,
35701 gnu/xml/transform/StreamSerializer.java,
35702 gnu/xml/transform/StrippingInstruction.java,
35703 gnu/xml/transform/Stylesheet.java,
35704 gnu/xml/transform/TransformerImpl.java,
35705 gnu/xml/transform/ValueOfNode.java,
35706 gnu/xml/xpath/Expr.java,
35707 gnu/xml/xpath/LocalNameFunction.java,
35708 gnu/xml/xpath/NameFunction.java,
35709 gnu/xml/xpath/NameTest.java,
35710 gnu/xml/xpath/NamespaceUriFunction.java,
35711 gnu/xml/xpath/NodeTypeTest.java,
35712 gnu/xml/xpath/SubstringFunction.java,
35713 javax/xml/namespace/QName.java: don't determine element namespace
35714 from namespace aliases when specified; better namespace handling
35715 when serializing elements; don't create HTML meta element unless
35716 head element exists; correct encoding of CDATA sections containing
35717 ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35718 default encoding for HTML output; rewrite of XSLT
35719 strip-space/preserve-space handling; correct doctype-public and
35720 doctype-system output attributes; insert generated doctype before
35721 document element; fixed result tree whitespace stripping
35722 algorithm; fixed semantics of XPath name, local-name, and
35723 namespace-uri functions; name tests handle XML/XMLNS namespaces
35724 correctly; fixed semantics of processing-instruction node test.
35725 * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35728 2006-01-11 Lillian Angel <langel@redhat.com>
35730 * javax/swing/text/DefaultStyledDocument.java
35731 (insertFracture): Added calls to addEdit for each time a structure
35732 is changed. addEdit is called on the newBranch, previous, and parent
35735 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35737 * javax/swing/text/DefaultStyledDocument.java:
35738 (ElementBuffer.insertContentTag): Don't adjust the structure here.
35739 This will have been taken care of in insertFracture. Added a comment
35740 explaining that we need to add edits to the DocumentEvent and that
35741 this may be the place to do it.
35743 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35745 * javax/swing/text/DefaultStyledDocument.java:
35746 (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35747 tag is an end tag. Avoid NPE by pushing the proper Element on to the
35748 elementStack when there is a start tag with JoinNextDirection.
35750 2006-01-11 Roman Kennke <kennke@aicas.com>
35752 Reported by: Fridjof Siebert <siebert@aicas.com>
35753 * java/util/Hashtable.java
35754 (KEYS): Removed unneeded field.
35755 (VALUES): Removed unneeded field.
35756 (ENTRIES): Removed unneeded field.
35757 (keys): Return a KeyEnumerator instance.
35758 (elements): Returns a ValueEnumerator instance.
35759 (toString): Use an EntryIterator instance.
35760 (keySet): Return a KeyIterator instance.
35761 (values): Return a ValueIterator instance.
35762 (entrySet): Return an EntryIterator instance.
35763 (hashCode): Use EntryIterator instance.
35764 (rehash): Changed this loop to avoid redundant reads and make
35765 it obvious that null checking is not needed.
35766 (writeObject): Use EntryIterator instance.
35767 (HashIterator): Removed class.
35768 (Enumerator): Removed class.
35769 (EntryIterator): New class.
35770 (KeyIterator): New class.
35771 (ValueIterator): New class.
35772 (EntryEnumerator): New class.
35773 (KeyEnumerator): New class.
35774 (ValueEnumerator): New class.
35776 2006-01-11 Lillian Angel <langel@redhat.com>
35778 * javax/swing/text/DefaultStyledDocument.java
35779 (toString): Shouldn't append the '>' character here.
35780 (createDefaultRoot): Should not set the resolve parent. This
35781 causes problems when comparing attribute sets.
35783 2006-01-10 Anthony Balkissoon <abalkiss@redhat.com>
35785 * javax/swing/text/DefaultStyledDocument.java:
35786 (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35788 (ElementBuffer.insertFracture): New method.
35789 (ElementBuffer.insertContentTag): Removed unnecessary case for
35790 JoinFractureDirection - this only applies to start tags, not content
35792 (insertUpdate): Corrected conditions for setting direction to
35795 2006-01-10 Roman Kennke <kennke@aicas.com>
35797 * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
35798 * ChangeLog-2005: New File.
35800 2006-01-10 Roman Kennke <kennke@aicas.com>
35802 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
35803 (get): Release the array with the correct pointer.
35804 (put): Release the array with the correct pointer. Copy the array
35805 around _before_ releasing it.
35807 2006-01-10 Roman Kennke <kennke@aicas.com>
35809 * javax/swing/ViewportLayout.java
35810 (layoutContainer): Fixed condition, to avoid ClasscastException.
35812 2006-01-10 Roman Kennke <kennke@aicas.com>
35814 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35815 (MouseHandler.mousePressed): Fixed indendation.
35816 (MouseHandler.mouseDragged): Fixed indendation.
35818 2006-01-10 Roman Kennke <kennke@aicas.com>
35820 * javax/swing/plaf/basic/BasicLookAndFeel.java
35821 (playSound): Added @since 1.4 to the API docs.
35823 2006-01-10 Roman Kennke <kennke@aicas.com>
35825 * javax/swing/plaf/basic/BasicListUI.java
35826 (maybeUpdateLayoutState): Also update the layout state, if the
35827 list has been invalidated since the last update.
35829 2006-01-10 Roman Kennke <kennke@aicas.com>
35831 * javax/swing/plaf/ComponentUI.java
35832 (update): Fixed indendation.
35834 2006-01-10 Roman Kennke <kennke@aicas.com>
35836 * javax/swing/ViewportLayout.java
35837 (layoutContainer): Fixed condition, so that Scrollable components
35838 are always forced to have to Viewport size, when they
35839 return true for getScrollableTracksViewportHeight() and ..Width().
35841 2006-01-10 Roman Kennke <kennke@aicas.com>
35843 * javax/swing/RepaintManager.java
35844 (validateInvalidComponents): Fixed condition to avoid NPE.
35846 2006-01-10 Roman Kennke <kennke@aicas.com>
35848 * javax/swing/JViewport.java:
35849 (static_initializer): Removed unused variable myScrollMode.
35851 2006-01-10 Roman Kennke <kennke@aicas.com>
35853 * javax/swing/JTabbedPane.java:
35854 Cleared API docs a little.
35856 2006-01-10 Roman Kennke <kennke@aicas.com>
35858 * java/util/StringTokenizer.java
35859 (StringTokenizer(String, String, boolean)):
35860 Don't trigger NPE here for conformance with the spec.
35862 2006-01-10 Roman Kennke <kennke@aicas.com>
35864 * java/util/ArrayList.java
35865 (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
35867 2006-01-10 Roman Kennke <kennke@aicas.com>
35869 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
35870 (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
35871 field to avoid NPE.
35873 2006-01-10 Roman Kennke <kennke@aicas.com>
35875 * native/jni/java-net/javanet.c
35876 (_javanet_shutdownOutput): Replaced strerror() with
35877 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35878 (_javanet_shutdownInput): Replaced strerror() with
35879 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35881 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35883 * java/beans/EventSetDescriptor.java: Reformatted and
35886 2006-01-10 Roman Kennke <kennke@aicas.com>
35888 * java/lang/SecurityManager.java
35889 Fully qualified AWT class references in API docs.
35891 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35893 * java/beans/EventSetDescriptor.java:
35894 (getGetListenerMethod): New method.
35896 2006-01-10 Mark Wielaard <mark@klomp.org>
35898 * lib/Makefile.am (GCJX): Add -g to get linenumber info.
35900 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35903 * java/util/Hashtable.java
35904 (contains): Call equals on existing value.
35905 (containsKey, get, put, remove): Call equals on existing key.
35906 (getEntry): Call equals on existing entry.
35908 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35911 * java/util/AbstractMap.java
35912 (equals(Object,Object)): Test for identity first.
35913 * java/util/WeakHashMap.java
35914 (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
35915 (WeakBucket.WeakEntry.toString): Fixed string representation of
35917 (internalGet): Use helper method to determine equality.
35919 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35921 * java/beans/EventSetDescriptor.java: Implemented the two 1.4
35924 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35926 * javax/swing/text/PlainDocument.java:
35927 (insertUpdate): Handle special case of an insertion immediately
35928 following a newline character.
35930 2006-01-09 Roman Kennke <kennke@aicas.com>
35932 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
35933 (connect): Added stream parameter to _connect() call.
35934 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35935 (connect): Added stream parameter to _connect() call.
35936 * native/jni/java-net/javanet.c
35937 (_javanet_create_localfd): Added stream parameter. Look up
35938 fd field based on the stream parameter either in SocketImpl or
35939 in DatagramSocketImpl.
35940 (_javanet_connect): Added stream parameter. Call create_localfd
35941 using this stream parameter. Set localPort field either in
35942 SocketImpl or in DatagramSocketImpl, depending on the stream
35944 * native/jni/java-net/javanet.c
35945 (_javanet_connect): Added stream parameter.
35947 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35949 * javax.management.Attribute.java: Grammar and
35952 2006-01-09 Mark Wielaard <mark@klomp.org>
35954 * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
35955 exception when channel is not readable or writable.
35956 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
35957 (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
35958 there is enough space to mmap().
35960 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35962 * java/beans/Introspector.java:
35963 (getBeanInfo(Class, int)): New method.
35964 (getBeanInfo(Class, Class): Moved common code in a new method.
35965 (merge): New method.
35967 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35969 * java/beans/XMLEncoder.java: Fix spelling mistakes.
35971 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35973 * javax/swing/text/DefaultStyledDocument.java:
35974 (insertUpdate): Removed call to checkForInsertAfterNewline and instead
35975 inlined this method because it needs to change the value of the
35976 finalStartTag and finalStartDirection variables.
35977 (checkForInsertAfterNewline): Removed this method.
35978 (handleInsertAfterNewline): Added case for making the start tag's
35979 direction JoinNextDirection.
35981 2006-01-09 Lillian Angel <langel@redhat.com>
35983 * javax/swing/plaf/basic/BasicTreeUI.java:
35985 (setRowHeight): Row height is set to the max height of
35986 all the nodes, or 20 as a default value.
35987 (getPathBounds): Cleaned up code.
35988 (getMaxHeight): New helper function that gets the max
35989 height of all the rows.
35990 (getClosestPathForLocation): Fixed to use getMaxHeight.
35991 (updateCachedPreferredSize): Likewise.
35992 (installUI): Shouldn't expand tree on startup.
35993 (getNodeDimensions): Fixed to use getMaxHeight.
35995 2006-01-09 Mark Wielaard <mark@klomp.org>
35997 * javax/swing/JList.java (setSelectedIndex): Clear selection when
35998 argument is negative.
36000 2006-01-08 Mark Wielaard <mark@klomp.org>
36002 * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
36004 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36006 * javax.management.Attribute.java: New file.
36008 2006-01-09 Roman Kennke <kennke@aicas.com>
36010 * java/net/DatagramSocketImpl.java
36011 (localPort): Renamed to localport for correct access from native
36014 2006-01-09 Roman Kennke <kennke@aicas.com>
36016 * javax/swing/Popup.java
36017 (LightweightPopup.hide): Repaint the layered pane when popup is
36020 2006-01-09 Roman Kennke <kennke@aicas.com>
36022 * java/awt/Container.java
36023 (remove): Don't repaint the container here.
36025 2006-01-08 Tom Tromey <tromey@redhat.com>
36027 * java/lang/InheritableThreadLocal.java: Organized imports.
36029 2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org>
36032 * gnu/regexp/RETokenRepeated.java(match): Optimized the case
36033 when an empty string matched an empty token.
36035 2006-01-08 Chris Burdess <dog@gnu.org>
36037 * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
36038 content models from external entities.
36039 * gnu/xml/stream/UnicodeReader.java: Report error instead of
36040 attempting to continue with unpaired surrogates.
36041 * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
36042 resolving entities with character entity references; better
36043 checking of valid character ranges; don't report an error for URI
36044 fragments in notation declarations; check unbound namespace
36045 prefixes for elements and attributes, including XML 1.1 unbinding
36046 syntax; namespace-aware checking of attribute duplicates.
36048 2006-01-08 Robert Schuster <robertschuster@fsfe.org>
36050 * java/beans/Statement.java: Doc fixes.
36051 (doExecute): Workaround for Class.forName call.
36052 (toString): Made output look more like on the JDK.
36053 * java/beans/Expression.java: Doc fixes.
36054 (toString): Made output look more like on the JDK.
36055 * java/beans/PersistenceDelegate.java,
36056 java/beans/DefaultPersistenceDelegate.java,
36057 java/beans/Encoder.java,
36058 java/beans/XMLEncoder.java: New file.
36059 * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
36060 gnu/java/beans/encoder/ClassPersistenceDelegate.java,
36061 gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
36062 gnu/java/beans/encoder/Context.java,
36063 gnu/java/beans/encoder/GenericScannerState.java,
36064 gnu/java/beans/encoder/IgnoringScannerState.java,
36065 gnu/java/beans/encoder/MapPersistenceDelegate.java,
36066 gnu/java/beans/encoder/ObjectId.java,
36067 gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
36068 gnu/java/beans/encoder/ReportingScannerState.java,
36069 gnu/java/beans/encoder/Root.java,
36070 gnu/java/beans/encoder/ScanEngine.java,
36071 gnu/java/beans/encoder/ScannerState.java,
36072 gnu/java/beans/encoder/StAXWriter.java,
36073 gnu/java/beans/encoder/Writer.java: New file.
36074 * gnu/java/beans/encoder/elements/Array_Get.java,
36075 gnu/java/beans/encoder/elements/Element.java,
36076 gnu/java/beans/encoder/elements/List_Set.java,
36077 gnu/java/beans/encoder/elements/Array_Set.java,
36078 gnu/java/beans/encoder/elements/NullObject.java,
36079 gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
36080 gnu/java/beans/encoder/elements/StaticFieldAccess.java,
36081 gnu/java/beans/encoder/elements/StringReference.java,
36082 gnu/java/beans/encoder/elements/ClassResolution.java,
36083 gnu/java/beans/encoder/elements/ArrayInstantiation.java,
36084 gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
36085 gnu/java/beans/encoder/elements/ObjectReference.java,
36086 gnu/java/beans/encoder/elements/ObjectInstantiation.java,
36087 gnu/java/beans/encoder/elements/List_Get.java,
36088 gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
36090 2006-01-08 Chris Burdess <dog@gnu.org>
36092 * java/lang/Character.java (toChars,toCodePoint): Correct these
36093 methods to use algorithms from Unicode specification.
36095 2006-01-08 Mark Wielaard <mark@klomp.org>
36097 * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
36099 2006-01-07 Paul Jenner <psj@harker.dyndns.org>
36102 * examples/Makefile.am: Corrected DESTDIR install paths.
36104 2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36106 * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non -
36107 ASCII character (line 46).
36109 2006-01-07 Roman Kennke <kennke@aicas.com>
36111 * javax/swing/text/TableView.java: New file.
36113 2006-01-07 Chris Burdess <dog@gnu.org>
36115 * gnu/xml/stream/BufferedReader.java: Removed commented out code.
36116 * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
36117 * gnu/xml/stream/XMLParser.java: Make additional StAX properties
36118 available; correct handling of unparsed entity references;
36119 absolutize all base URIs; remove commented out code.
36121 2006-01-07 Chris Burdess <dog@gnu.org>
36123 * gnu/xml/stream/SAXParser.java,
36124 gnu/xml/stream/XMLParser.java: Add SAX property to return base
36125 URI of the current event.
36127 2006-01-07 Chris Burdess <dog@gnu.org>
36129 * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
36132 2006-01-07 Chris Burdess <dog@gnu.org>
36134 * gnu/xml/stream/SAXParser.java,
36135 gnu/xml/stream/XIncludeFilter.java,
36136 gnu/xml/stream/XMLParser.java: Updated documentation.
36138 2006-01-07 Chris Burdess <dog@gnu.org>
36140 * AUTHORS: add self.
36142 2006-01-06 Casey Marshall <csm@gnu.org>
36144 * AUTHORS: add myself.
36146 2006-01-06 Casey Marshall <csm@gnu.org>
36149 * javax/crypto/CipherInputStream.java (logger): new constant.
36150 (cipher): make final.
36151 (outLength, inBuffer, inLength): removed.
36152 (isStream): make final.
36153 (VIRGIN, LIVING, DYING, DEAD, state): removed.
36155 (<init>): call `super,' not `this;' remove `inBuffer' and
36156 `outBuffer' initialization; init `eof;' add debug logging.
36157 (<init>): call `this' with a new null cipher.
36158 (available): fix javadoc to reflect the real semantics; if we
36159 don't have a buffer, call `nextBlock.'
36160 (close): synchronize.
36161 (read): synchronize; fix testing for buffered data.
36162 (read): synchronize; add `skip' semantics if first argument is
36163 `null;' decrypt stream cipher data only if there is any; fix tests
36165 (skip): stop using `available' to see how many data are buffered.
36166 (nextBlock): simplify to use cipher-allocated output buffers
36167 instead of internally allocated ones.
36169 2006-01-06 Tom Tromey <tromey@redhat.com>
36171 * java/lang/String.java (codePointCount): Fixed javadoc.
36173 2006-01-06 Tom Tromey <tromey@redhat.com>
36175 * java/lang/String.java (contains): Added @since.
36177 2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
36180 * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
36181 * gnu/regexp/RETokenRepeated.java(match): Break the loop
36182 when an empty string matched an empty token.
36184 2006-01-06 Jeroen Frijters <jeroen@frijters.net>
36187 * gnu/java/util/WeakIdentityHashMap.java: New file.
36188 * java/lang/InheritableThreadLocal.java
36189 (newChildThread): Modified to remove key indirection.
36190 * java/lang/Thread.java
36191 (locals): Changed type to WeakIdentityHashMap.
36192 (getThreadLocals): Instantiate WeakIdentityHashMap instead of
36194 * java/lang/ThreadLocal.java
36195 (key, Key): Removed.
36196 (get, set): Changed to use "this" instead of "key".
36198 2006-01-06 Dalibor Topic <robilad@kaffe.org>
36200 * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
36202 * native/fdlibm/java-assert.h: Removed file.
36204 * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
36205 Replaced use of JvAssert by assert.
36207 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
36209 * javax/swing/text/DefaultCaret.java:
36210 (setDot): Fixed paramater to Math.max to be this.dot and not the
36213 2006-01-05 Roman Kennke <kennke@aicas.com>
36215 * javax/swing/plaf/basic/BasicListUI.java
36216 (getCellHeight): New helper method.
36217 (getCellBounds): Use new helper method for determining the cell
36219 (paint): Don't call list.indexToLocation() but instead call
36220 directly into the same UI method.
36221 (locationToIndex): Fixed calculation of # visible rows and handling
36223 (indexToLocation): Fixed calculation of # visible rows and handling
36226 2006-01-05 Roman Kennke <kennke@aicas.com>
36228 * javax/swing/plaf/metal/MetalFileChooserUI.java
36229 (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
36230 in the file chooser.
36232 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
36234 * javax/swing/JTextPane.java:
36235 (replaceSelection): If the document is an AbstractDocument, use replace
36236 rather than remove and insert.
36237 * javax/swing/event/EventListenerList.java:
36238 (getListeners): Reversed the order of the listeners to match the
36239 reference implementation.
36240 * javax/swing/text/AbstractDocument.java:
36241 (insertString): Add the UndoableEdit from the content.insertString call
36242 to the DocumentEvent.
36243 (DefaultDocumentEvent.toString): Implemented.
36244 * javax/swing/text/DefaultCaret.java:
36245 (setDot): Make sure dot is > 0 and less than the length of the
36247 * javax/swing/text/DefaultStyledDocument.java:
36248 (ElementBuffer.insertUpdate): Set the modified tag of the document
36249 event when we get start and end tags. This ensures that we create the
36250 proper BranchElements in endEdit().
36251 (ElementBuffer.insertUpdate): Added FIXME to handle
36252 JoinFractureDirection case.
36253 (insertUpdate): Added code to check if we're inserting immediately
36254 after a newline and to handle this case (create start and end tags).
36255 Only change the direction of the first and last tags if they are of
36257 (checkForInsertAfterNewline): New helper method.
36258 (handleInsertAfterNewline): Likewise.
36259 * javax/swing/text/View.java:
36260 (updateLayout): Avoid NPE by checking if shape is null. Repaint
36263 2006-01-05 Mark Wielaard <mark@klomp.org>
36265 * newsitems.txt: Add fosdem meeting.
36266 * events/events.wml: Likewise.
36267 * events/fosdem06.wml: New file.
36269 2006-01-05 Lillian Angel <langel@redhat.com>
36271 * javax/swing/text/GapContent.java
36272 (createPosition): No positions should be created inside the
36273 gap. Fixed check to ensure this does not happen.
36275 2006-01-05 Roman Kennke <kennke@aicas.com>
36277 * javax/swing/RepaintManager.java
36278 (validateInvalidComponents): Search for the validate root
36279 and start validating there.
36281 2006-01-05 Roman Kennke <kennke@aicas.com>
36283 * javax/swing/plaf/basic/BasicListUI.java
36284 (ComponentHandler): Removed unneeded class.
36285 (ListDataHandler.contentsChanged): Revalidate instead of calling
36287 (ListDataHandler.intervalAdded): Revalidate instead of calling
36289 (ListDataHandler.intervalRemoved): Revalidate instead of calling
36291 (PropertyChangeHandler.propertyChange): Or flags together instead
36292 of adding them. Don't call damageLayout().
36293 (componentListener): Removed unnecessary field.
36294 (damageLayout): Removed unnecessary method.
36295 (installListeners): Don't install unnecessary listeners.
36296 (uninstallListeners): Dito.
36297 (getPreferredSize): Don't ask for the real list height and
36298 calculate with the previously calculated list height.
36299 (locationToIndex): Renamed list parameter to l so that it doesn't
36300 shadow the field with the same name.
36301 (indexToLocation): Renamed list parameter to l so that it doesn't
36302 shadow the field with the same name.
36304 2006-01-04 Tom Tromey <tromey@redhat.com>
36306 * include/.cvsignore: Ignore config-int.h.
36308 2006-01-04 Roman Kennke <kennke@aicas.com>
36310 * javax/swing/plaf/basic/BasicListUI.java
36311 (getPreferredSize): Rewritten to match the specs.
36313 2006-01-04 Roman Kennke <kennke@aicas.com>
36315 * javax/swing/JFileChooser.java
36316 (showOpenDialog): Set fixed width on the dialog.
36317 (showSaveDialog): Set fixed width on the dialog.
36318 (showDialog): Set fixed width on the dialog.
36320 2006-01-04 Roman Kennke <kennke@aicas.com>
36322 * javax/swing/plaf/basic/BasicListUI.java
36323 (locationToIndex): Added FIXME about getVisibleRowCount() usage.
36324 Adjusted iteration to not use visibleRowCount and instead iterate
36325 over the real number of elements in cellHeights.
36326 (indexToLocation): Added FIXME about getVisibleRowCount() usage.
36327 Adjusted iteration to not use visibleRowCount and instead iterate
36328 over the real number of elements in cellHeights.
36330 2006-01-04 Roman Kennke <kennke@aicas.com>
36332 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
36333 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36334 Added __attribute__((__unused__)) macros to avoid gcc warnings.
36336 2006-01-04 Roman Kennke <kennke@aicas.com>
36338 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
36339 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
36341 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
36342 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36344 * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
36346 * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
36347 * native/jni/java-net/Makefile.am: Adjusted for new source files.
36348 * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
36349 * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
36350 * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
36351 * include/gnu_java_net_PlainSocketImpl.h: Removed.
36352 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
36353 * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
36355 2006-01-04 Lillian Angel <langel@redhat.com>
36357 * javax/swing/plaf/metal/MetalFileChooserUI.java
36358 (propertyChange): Fixed to change the combo box label
36359 appropriately. Also, fixed to set the textfield's text
36361 (editFile): Fixed size of editing field.
36362 (installComponents): Correctly aligned all panels.
36363 (installStrings): Fixed to set the label's text
36364 appropriately depending on the dialog type.
36366 2006-01-04 Lillian Angel <langel@redhat.com>
36370 * javax/swing/JTree.java
36371 (JTree): Because some L&F defaults have been updated,
36372 the selectionMode for the tree needed to be set to SINGLE.
36373 * javax/swing/plaf/basic/BasicFileChooserUI.java:
36374 Initialized accessoryPanel.
36375 * javax/swing/plaf/metal/MetalFileChooserUI.java
36376 (installComponents): Added accessoryPanel to the filechooser.
36378 2006-01-04 Dalibor Topic <robilad@kaffe.org>
36380 * configure.ac: Added AX_CREATE_STDINT_H
36382 * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
36384 * m4/ax_create_stdint_h.m4: New file.
36386 * native/fdlibm/mprec.h: Include config-int.h. Removed C99
36387 typedefs. Removed stdint.h and inttypes.h includes.
36389 2006-01-03 Mark Wielaard <mark@klomp.org>
36391 * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
36392 register keyboard action when accelerator is not null.
36393 * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
36394 re-register accelerator if not null.
36395 (installKeyboardActions): Only put accelerator in map when not null.
36397 2006-01-04 Lillian Angel <langel@redhat.com>
36399 * javax/swing/plaf/basic/BasicLookAndFeel.java
36400 (initComponentDefaults): Removed unneeded default.
36401 * javax/swing/plaf/metal/MetalLookAndFeel.java
36402 (initComponentDefaults): Added and fixed several defaults.
36404 2006-01-04 Roman Kennke <kennke@aicas.com>
36406 * javax/swing/plaf/basic/BasicHTML.java: New class.
36408 2006-01-03 Tom Tromey <tromey@redhat.com>
36410 * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
36411 * java/io/InputStreamReader.java (InputStreamReader): Added @since.
36413 2006-01-03 Mark Wielaard <mark@klomp.org>
36415 * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
36417 2006-01-03 Mark Wielaard <mark@klomp.org>
36419 * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36420 Always call createDefaultTheme().
36421 (createDefaultTheme): Check whether theme is still null.
36423 2006-01-03 Mark Wielaard <mark@klomp.org>
36425 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36426 Color.WHITE if null.
36428 2006-01-03 Lillian Angel <langel@redhat.com>
36430 * javax/swing/plaf/metal/MetalLookAndFeel.java
36431 (getDescription): Fixed to return the correct string.
36433 (getName): Likewise.
36434 (getDefaults): Added check to avoid NPE.
36435 (getAcceleratorForeground): Likewise.
36436 (getAcceleratorSelectedForeground): Likewise.
36437 (getBlack): Likewise.
36438 (getControl): Likewise.
36439 (getControlDarkShadow): Likewise.
36440 (getControlDisabled): Likewise.
36441 (getControlHighlight): Likewise.
36442 (getControlInfo): Likewise.
36443 (getControlShadow): Likewise.
36444 (getControlTextColor): Likewise.
36445 (getControlTextFont): Likewise.
36446 (getDesktopColor): Likewise.
36447 (getFocusColor): Likewise.
36448 (getHighlightedTextColor): Likewise.
36449 (getInactiveControlTextColor): Likewise.
36450 (getInactiveSystemTextColor): Likewise.
36451 (getMenuBackground): Likewise.
36452 (getMenuDisabledForeground): Likewise.
36453 (getMenuForeground): Likewise.
36454 (getMenuSelectedBackground): Likewise.
36455 (getMenuSelectedForeground): Likewise.
36456 (getMenuTextFont): Likewise.
36457 (getPrimaryControl): Likewise.
36458 (getPrimaryControlDarkShadow): Likewise.
36459 (getPrimaryControlHighlight): Likewise.
36460 (getPrimaryControlInfo): Likewise.
36461 (getPrimaryControlShadow): Likewise.
36462 (getSeparatorBackground): Likewise.
36463 (getSeparatorForeground): Likewise.
36464 (getSubTextFont): Likewise.
36465 (getSystemTextColor): Likewise.
36466 (getSystemTextFont): Likewise.
36467 (getTextHighlightColor): Likewise.
36468 (getUserTextColor): Likewise.
36469 (getUserTextFont): Likewise.
36470 (getWhite): Likewise.
36471 (getWindowBackground): Likewise.
36472 (getWindowTitleBackground): Likewise.
36473 (getWindowTitleFont): Likewise.
36474 (getWindowTitleForeground): Likewise.
36475 (getWindowTitleInactiveBackground): Likewise.
36476 (getWindowTitleInactiveForeground): Likewise.
36478 2006-01-03 Mark Wielaard <mark@klomp.org>
36480 * javax/swing/JTextArea.java
36481 (JTextArea(Document,text,int,int)): Only call setText() when text is
36484 2006-01-03 Lillian Angel <langel@redhat.com>
36486 * javax/swing/plaf/basic/BasicFileChooserUI.java
36487 (installStrings): Fixed installation of defaults that
36488 were changed in BasicLookAndFeel.
36489 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36490 (installDefaults): Fixed installation of defaults that
36491 were changed in BasicLookAndFeel.
36493 2006-01-03 Lillian Angel <langel@redhat.com>
36495 * javax/swing/plaf/basic/BasicLookAndFeel.java
36496 (initComponentDefaults): Fixed several defaults that differed
36499 2006-01-03 Lillian Angel <langel@redhat.com>
36501 * javax/swing/tree/DefaultTreeSelectionModel.java
36502 (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36504 2006-01-03 Lillian Angel <langel@redhat.com>
36506 * javax/swing/AbstractAction.java
36507 (AbstractAction): Fixed to pass in null. Should not be
36508 an empty string. Removed TODO comment.
36509 (AbstractAction): Removed TODO comment.
36510 * javax/swing/JList.java
36511 (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36512 * javax/swing/JMenuItem.java
36513 (JMenuItem): Set all defaults if the action passed in is not null.
36514 * javax/swing/JProgressBar.java
36515 (JProgressBar): Added check to prevent NPE.
36517 2006-01-03 Lillian Angel <langel@redhat.com>
36519 * javax/swing/plaf/basic/BasicListUI.java
36520 (getPreferredSize): The JDK adds some extra space to
36521 the list, so we should as well.
36522 * javax/swing/plaf/metal/MetalFileChooserUI.java
36523 (getPreferredSize): Should only take the fileListPanel's
36524 width into account when getting the size. Also, the buttonPanel's
36525 size should not be checked, since it is in the bottomPanel already.
36526 (getMinimumSize): Likewise.
36528 2006-01-03 Lillian Angel <langel@redhat.com>
36530 * javax/swing/JList.java
36531 (init): visibleRowCount should be 7, like the JDK.
36532 * javax/swing/plaf/metal/MetalFileChooserUI.java
36533 (installComponents): No need to add the fileFilterCombo
36534 to a panel. It can be added to the row directly.
36536 2006-01-03 Lillian Angel <langel@redhat.com>
36538 PR classpath/25480 PR classpath/25478
36539 * javax/swing/plaf/basic/BasicScrollPaneUI.java
36540 (updateViewport): Made changes suggested by
36542 * javax/swing/plaf/metal/MetalFileChooserUI.java:
36543 Removed unneeded import.
36544 (createList): Removed comment, JList wrapping
36546 (getPreferredSize): Made changes suggested by
36547 Chris Lansdown. Uses fileListPanel, instead
36549 (getMinimumSize): Uses fileListPanel, instead
36551 * javax/swing/plaf/metal/MetalRadioButtonUI.java
36552 (paintFocus): Fixed height.
36554 2006-01-03 Roman Kennke <kennke@aicas.com>
36556 * javax/swing/plaf/basic/BasicListUI.java
36557 (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36559 2006-01-03 Roman Kennke <kennke@aicas.com>
36561 * javax/swing/plaf/basic/BasicListUI.java
36562 (locationToIndex): Special case for when variable cell heights
36563 are possible. (cellHeights is used instead of cellHeight).
36564 (indexToLocation): Special case for when variable cell heights
36565 are possible. (cellHeights is used instead of cellHeight).
36567 2006-01-03 Roman Kennke <kennke@aicas.com>
36569 * javax/swing/text/DefaultStyledDocument.java
36570 (ElementBuffer.remove): New method.
36571 (ElementBuffer.removeUpdate): New method.
36572 (removeUpdate): New method.
36574 2006-01-03 Roman Kennke <kennke@aicas.com>
36577 (dist-hook): Preserve attributes of Java sources when copying to
36580 2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au>
36582 * AUTHORS: Added self.
36583 * java/security/Security.java (getProvider): Ensures provider's name is
36584 not null, not an empty string, and is trimmed before usage.
36586 2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36588 * gnu/CORBA/Poa/AOM.java (add):
36589 Changed parameter Object into gnuServantObject.
36590 (Obj.object): Changed type to gnuServantObject.
36591 (findObject): Rewritten.
36593 2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
36595 * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36596 buffering. Ability has gone in Qt-4.1.x.
36598 * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36599 to have the right include flags.
36601 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36603 * java/security/MessageDigest.java (getInstance(String,String)):
36604 Use trimmed copy of provider name.
36605 * gnu/java/security/Engine.java
36606 (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36607 service and algorithm names.
36609 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36611 * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36612 localhost is null or is an empty string. Trim hostname before