1 2007-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
3 * javax/management/ObjectName.java:
4 (parse(String)): Catch multiple wildcards,
5 initialise with an empty string (so null isn't
6 appended), and emit comma even when wildcard
8 (checkComponents()): Catch newlines.
9 (quote(String)): Handle newlines and quotes
12 2007-04-16 Andrew Haley <aph@redhat.com>
14 * org/omg/IOP/TaggedComponentHelper.java (read): Use
15 read_octet_array(), not read().
16 (write): Use write_octet_array(), not write().
18 * org/omg/PortableServer/Servant.java (_get_delegate): Throw if no
19 delegate has been set.
21 * javax/management/ObjectName.java serialVersionUID: Declare.
22 Make all fields transient.
23 (parse): Break out from constructor.
24 (writeObject, readObject): New methods.
26 2007-04-02 Keith Seitz <keiths@redhat.com>
28 * gnu/classpath/jdwp/event/ThreadStartEvent.java (Event):
29 Event type is "THREAD_START" not "THREAD_END".
31 * gnu/classpath/jdwp/transport/SocketTransport.java (ITransport):
32 Handle configure strings ":port" and "port".
34 2007-03-30 Andrew Haley <aph@redhat.com>
36 * javax/management/ObjectName.java: Handle 0-length names.
38 2007-03-27 Andrew Haley <aph@redhat.com>
40 * javax/management/MBeanServerFactory.java: Use the domain that
41 we've been passed, not the fixed string "DefaultDomain".
43 2007-03-29 Tom Tromey <tromey@redhat.com>
46 * gnu/java/util/jar/JarUtils.java (log): Commented out.
47 (readSFManifest): Don't log.
49 2007-03-28 Casey Marshall <csm@gnu.org>
51 * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
52 check keyEncipherment bit of the certificate, and just pass the public
55 2007-03-27 Casey Marshall <csm@gnu.org>
58 * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl):
59 Always make a new socket.
60 (bind, connect, getInetAddress, getLocalAddress, getPort,
61 getLocalPort, getRemoteSocketAddress, getLocalSocketAddress,
62 setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger,
63 setOOBInline, getOOBInline, setSoTimeout, getSoTimeout,
64 setSendBufferSize, getSendBufferSize, setReceiveBufferSize,
65 getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass,
66 getTrafficClass, setReuseAddress, getReuseAddress, close,
67 shutdownInput, shutdownOutput, isConnected, isBound, isClosed,
68 isInputShutdown, isOutputShutdown): Always use
71 2007-03-27 Tom Tromey <tromey@redhat.com>
74 * external/sax/org/xml/sax/helpers/XMLReaderFactory.java
75 (createXMLReader): Code in Classpath default.
77 2007-03-27 Keith Seitz <keiths@redhat.com>
80 2007-03-09 Kyle Galloway <kgallowa@redhat.com>
81 * gnu/classpath/jdwp/exception/InvalidTagException.java: New file.
82 * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java
83 (executeGetValues): Use Value type.
84 (exectureSetValues): Ditto.
85 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
86 (executeGetValues): Use Value type.
87 (executeSetValues): Ditto.
88 (invokeMethod): Record method return type.
89 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
90 (executeGetValues): Use Value type.
91 (executeSetValues): Ditto.
92 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
93 (executeGetValues): Use Value type.
94 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
95 (executeGetValues): Use Value type.
96 (executeSetValues): Ditto.
97 * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store
99 (getResultType): New Method.
100 (setResultType): Ditto.
101 * gnu/classpath/jdwp/util/Value.java: Remove.
102 * gnu/classpath/jdwp/value: New Package.
103 * gnu/classpath/jdwp/value/Value.java: New file.
104 * gnu/classpath/jdwp/value/BooleanValue.java: New file.
105 * gnu/classpath/jdwp/value/ByteValue.java: New file.
106 * gnu/classpath/jdwp/value/CharValue.java: New file.
107 * gnu/classpath/jdwp/value/DoubleValue.java: New file.
108 * gnu/classpath/jdwp/value/FloatValue.java: New file.
109 * gnu/classpath/jdwp/value/IntValue.java: New file.
110 * gnu/classpath/jdwp/value/LongValue.java: New file.
111 * gnu/classpath/jdwp/value/ObjectValue.java: New file.
112 * gnu/classpath/jdwp/value/ShortValue.java: New file.
113 * gnu/classpath/jdwp/value/StringValue.java: New file.
114 * gnu/classpath/jdwp/value/ValueFactory.java: New file.
115 * gnu/classpath/jdwp/value/VoidValue.java: New file.
117 2007-02-28 Keith Seitz <keiths@redhat.com>
118 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
119 (executeSet): Check if VM has capability for field access
120 or modification events.
121 * gnu/classpath/jdwp/processor/MethodCommandSet.java
122 (executeByteCodes): Check if VM has capability and
124 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
125 (executeMonitorInfo): Likewise.
126 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
127 (executeSourceDebugExtension): Likewise.
128 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
129 (executePopFrames): Likewise.
130 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
131 (executeOwnedMonitors): Likewise.
132 (executeCurrentContendedMonitor): Likewise.
133 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
134 (executeCapabilities): Rewrite using new VMVirtualMachine
136 (executeRedefineClasses): Check if VM has capability and
138 (executeSetDefaultStratum): Likewise.
139 * gnu/classpath/jdwp/util/MonitorInfo.java; New file.
140 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
141 (canWatchFieldModification): New class constant.
142 (canWatchFieldAccess): Likewise.
143 (canGetBytecodes): Likewise.
144 (canGetSyntheticAttribute): Likewise.
145 (canGetOwnedMonitorInfo): Likewise.
146 (canGetCurrentContendedMonitor): Likewise.
147 (canGetMonitorInfo): Likewise.
148 (canRedefineClasses): Likewise.
149 (canAddMethod): Likewise.
150 (canUnrestrictedlyRedefineClasses): Likewise.
151 (canPopFrames): Likewise.
152 (canUseInstanceFilters): Likewise.
153 (canGetSourceDebugExtension): Likewise.
154 (canRequestVMDeathEvent): Likewise.
155 (canSetDefaultStratum): Likewise.
156 (redefineClasses): New method.
157 (setDefaultStratum): Likewise.
158 (getSourceDebugExtension): Likewise.
159 (getBytecodes): Likewise.
160 (getMonitorInfo): Likewise.
161 (getOwnedMonitors): Likewise.
162 (getCurrentContendedMonitor): Likewise.
163 (popFrames): Likewise.
165 2007-02-28 Keith Seitz <keiths@redhat.com>
166 * gnu/classpath/jdwp/processor/MethodCommandSet.java
167 (executeLineTable): Use ReferenceTypeId instead of
168 ClassReferenceTypeId.
169 (executeVariableTable): Likewise.
170 (executeVariableTableWithGeneric): Fix error message.
171 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
172 (executeSignatureWithGeneric): Fix error message.
173 (executeFieldWithGeneric): Likewise.
174 (executeMethodsWithGeneric): Likewise.
175 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
176 (executeGetValues): Use ThreadId instead of ObjectId.
177 (executeSetValues): Likewise.
178 (executeThisObject): Likewise.
180 2007-02-28 Kyle Galloway <kgallowa@redhat.com>
181 * gnu/classpath/jdwp/id/NullObjectId.java: New class.
182 * gnu/classpath/jdwp/util/NullObject.java: New class.
183 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
184 (getObjectId): Handle null object.
185 (get): Handle objectId of 0.
187 2007-02-22 Keith Seitz <keiths@redhat.ecom>
188 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
189 (getAllLoadedClassesCount): Remove.
190 (getAllLoadedClasses): Return a Collection.
191 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
192 (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses
193 now returns Collection.
194 (executeAllClasses): Likewise.
195 Get size of return from Colleciton instead of calling
196 getAllLoadedClassesCount.
198 2007-02-22 Kyle Galloway <kgallowa@redhat.com>
199 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
200 (executeGetValues): Pass a signature byte to VMFrame.getValue.
201 * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add
204 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
205 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
206 (executeGetValues): Changed getFrame to use a jlong to pass frameID.
207 (executeSetValues): Ditto.
208 (executeThisObject): Ditto.
209 * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field
210 and a constructor used to create VMFrames.
211 (getThread): New method.
212 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame):
213 Changed to take a long instead of a ByteBuffer to pass the frameID.
215 2007-01-15 Kyle Galloway <kgallowa@redhat.com>
216 * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
218 2007-03-26 Tom Tromey <tromey@redhat.com>
220 * doc/cp-tools.texinfo (gcjh Tool): Added more text.
221 (rmid Tool): Likewise.
223 2007-03-25 Dalibor Topic <robilad@kaffe.org>
225 * doc/cp-tools.texinfo: Fix node ordering.
227 2007-03-19 Matthias Klose <doko@ubuntu.com>
229 * doc/Makefile.am: Build a gcjh(1) man page.
230 * doc/cp-tools.texinfo: Add documentation for gcjh.
232 2007-03-26 Stepan Kasal <skasal@redhat.com>
234 * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
236 (getParser): Use new field.
238 2007-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
240 * resource/com/sun/tools/javac/messages.properties
241 (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
242 messages for when --with-ecj-jar is not specified.
243 * configure.ac (FOUND_ECJ_JAR): Remove conditional.
244 * tools/Makefile.am: Build com.sun.tools.javac package
246 * configure, doc/api/Makefile.in, doc/Makefile.in,
247 examples/Makefile.in, external/jsr166/Makefile.in,
248 external/Makefile.in, external/relaxngDatatype/Makefile.in,
249 external/sax/Makefile.in, external/w3c_dom/Makefile.in,
250 include/Makefile.in, lib/Makefile.in, Makefile.in,
251 native/fdlibm/Makefile.in, native/jawt/Makefile.in,
252 native/jni/classpath/Makefile.in,
253 native/jni/gconf-peer/Makefile.in,
254 native/jni/gtk-peer/Makefile.in, native/jni/java-io/Makefile.in,
255 native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in,
256 native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in,
257 native/jni/Makefile.in, native/jni/midi-alsa/Makefile.in,
258 native/jni/midi-dssi/Makefile.in,
259 native/jni/native-lib/Makefile.in, native/jni/qt-peer/Makefile.in,
260 native/jni/xmlj/Makefile.in, native/Makefile.in,
261 native/plugin/Makefile.in, resource/Makefile.in,
262 scripts/Makefile.in, tools/Makefile.in: Regenerate.
263 * tools/classes/com/sun/tools/javac: New directory.
264 * tools/classes/com/sun/tools/javac/Main.class,
265 tools/classes/com/sun/tools/javac/Messages.class: New files.
267 2007-03-16 Tom Tromey <tromey@redhat.com>
269 * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
272 2007-03-16 Tom Tromey <tromey@redhat.com>
274 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
275 (printClass): Added filename argument.
276 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
277 (printClass): Added filename argument.
278 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
279 (printClass): Use user's file name.
280 * tools/gnu/classpath/tools/javah/CniStubPrinter.java
281 (printClass): Use user's file name.
282 * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
284 * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
286 (writeHeaders): Use a HashMap.
287 (run): Put class name into HashMap for writeHeaders.
289 2007-03-02 Mario Torre <neugens@limasoftware.net>
292 committed for Petteri Räty <betelgeuse@gentoo.org>
293 * configure.ac: fix broken build for gcj browser plugin
295 2007-02-20 Jakub Jelinek <jakub@redhat.com>
297 * java/util/Date.java (parse): Properly parse 09:01:02 as
298 hours/minutes/seconds, not as hours/minutes/year.
299 * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
300 {start,end}TimeMode constructor by calling shorter constructor,
301 set {start,end}TimeMode fields after it returns.
302 (setStartRule): Don't adjust startTime into WALL_TIME. Set
303 startTimeMode to WALL_TIME.
304 (endStartRule): Similarly.
305 (getOffset): Handle properly millis + dstOffset overflowing into the
306 next day. Adjust startTime resp. endTime based on startTimeMode
308 * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
310 (timezones): Remove synchronized keyword. Set zoneinfo_dir.
311 If non-null, set up aliases0 and don't put anything into
313 (defaultZone): Call getTimeZone instead of timezones().get.
314 (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6. Use
315 getTimeZoneInternal instead of timezones().get.
316 (parseTime): Parse correctly hour:minute.
317 (getTimeZoneInternal): New private method.
318 (getTimeZone): Do the custom ID checking first, canonicalize
319 ID for custom IDs as required by documentation. Call
320 getTimeZoneInternal to handle the rest.
321 (getAvailableIDs(int)): Add locking. Handle zoneinfo_dir != null.
322 (getAvailableIDs(File,String,ArrayList)): New private method.
323 (getAvailableIDs()): Add locking. Handle zoneinfo_dir != null.
324 * gnu/java/util/ZoneInfo.java: New file.
326 2007-02-20 Matthias Klose <doko@ubuntu.com>
328 * doc/Makefile.am: Add rules to build and install man pages
330 * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
331 Rename, prefix files with "cp-".
332 * doc/cp-tools.texinfo: Add markup for man page generation,
333 add documentation for command line options for gjar, gjavah,
334 gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
335 doc/texi2pod.pl: New, taken from the GCC sources.
337 2006-10-14 Edwin Steiner <edwin.steiner@gmx.net>
340 * javax/management/MBeanInfo.java (MBeanInfo):
341 Use clone to duplicate the arrays in order to
342 preserve the array type.
344 2007-02-16 Andrew Haley <aph@redhat.com>
346 * gnu/java/lang/management/MemoryMXBeanImpl.java,
347 javax/management/MBeanServerDelegate.java: Use
348 gnu.javax.management.ListenerData rather than
349 gnu.classpath.ListenerData.
350 * gnu/javax/management/ListenerData.java: Move here from
351 gnu/classpath/ListenerData.java.
353 2007-02-14 Jakub Jelinek <jakub@redhat.com>
354 Andrew Haley <aph@redhat.com>
356 * java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
358 2007-02-09 Tom Tromey <tromey@redhat.com>
361 * configure: Rebuilt.
362 * configure.ac: Also check for jack/jack.h.
364 2007-02-09 Jakub Jelinek <jakub@redhat.com>
366 * java/util/TimeZone.java: Handle default (one hour) daylight
369 2007-02-09 Jakub Jelinek <jakub@redhat.com>
372 * scripts/timezones.pl: Parse each file in 2 passes, in one parse
373 just Rule lines, in the other everything else. Pass 0 instead of
374 $savings as second argument to parseRule when parsing the start
376 * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
378 2007-02-07 Chris Burdess <dog@gnu.org>
381 * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
382 * gnu/xml/transform/XSLURIResolver.java: Add support for custom
383 SAXSources without a backing URL or stream.
386 * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
387 LSParser if implementation does not support asynchronous.
388 * gnu/xml/stream/XMLParser.java,
389 gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
390 java.net.URL to resolve to an an absolute URI, to avoid nonexistent
391 protocol handler problems.
393 2007-02-06 Tom Tromey <tromey@redhat.com>
396 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
397 (printClass): Always print a header.
399 2007-02-05 Andrew Haley <aph@redhat.com>
402 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
403 (printClass): Replace '/' in filenames with '_'.
404 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
405 (printClass): Likewise.
407 2007-02-05 Tom Tromey <tromey@redhat.com>
409 * java/net/Proxy.java (equals): Handle case where address==null.
410 (hashCode): Likewise.
411 (toString): Likewise.
413 2007-01-31 Tom Tromey <tromey@redhat.com>
415 * resource/gnu/classpath/tools/jar/messages.properties
416 (Main.Stdin): New message.
417 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
419 (readNames): New method.
422 2007-01-26 Andrew Haley <aph@redhat.com>
424 * java/lang/SecurityManager.java: Load and initialize
425 java.security.Security.
427 2007-01-26 Tom Tromey <tromey@redhat.com>
429 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
430 'volatile' after field type.
432 2007-01-23 Marco Trudel <mtrudel@gmx.ch>
434 * java/util/Arrays.java (binarySearch): Change comparison order.
436 2007-01-17 Tom Tromey <tromey@redhat.com>
438 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
439 (PathOptionGroup): Set default boot class path.
441 2006-12-14 Andrew Haley <aph@redhat.com>
443 * tools/gnu/classpath/tools/jar/Creator.java: Close the
446 2006-10-12 Andrew Haley <aph@redhat.com>
448 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
449 * java/lang/ThreadLocal.java: Likewise.
451 2006-09-13 Andrew Haley <aph@redhat.com>
453 * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
454 Revert previous gcj-specific disabling of checks.
455 * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
457 * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
460 2006-09-13 Andrew Haley <aph@redhat.com>
462 * java/util/PriorityQueue.java: Throw IllegalArgumentException for
464 (Iterator.remove()): Decrement index after removing element.
466 2006-12-11 Jeroen Frijters <jeroen@frijters.net>
468 * javax/net/ssl/SSLSocketFactory.java (getDefault):
469 Chain exception cause.
471 2006-12-11 Roman Kennke <kennke@aicas.com>
473 * .classpath: Include ASM in Eclipse classpath.
475 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
477 * gnu/java/lang/management/BeanImpl.java:
478 (translate(String)): Trim strings of whitespace.
479 * javax/management/MBeanAttributeInfo.java:
480 (MBeanAttributeInfo(String,String,Method,Method)):
481 Use Class.getName() for normal (non-parameterized) cases.
482 * javax/management/MBeanConstructorInfo.java:
483 (MBeanConstructorInfo(String, Constructor)):
485 * javax/management/MBeanOperationInfo.java:
486 (MBeanOperationInfo(String, Method)):
489 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
491 * java/lang/Class.java:
492 (getClasses()): Return Class<?>[].
493 (internalGetClasses()): Likewise.
494 (getConstructor(Class<?>...)): Add type parameter
496 (getDeclaredConstructor(Class<?>...)): Likewise.
497 (getDeclaredClasses()): Return Class<?>[].
498 (getDeclaredClasses(boolean)): Likewise.
499 (getDeclaredConstructors()): Return Constructor<?>[].
500 (getDeclaredConstructors(boolean)): Likewise.
501 (getDeclaredMethod(String,Class<?>...)): Add type
502 parameter to parameters.
503 (getInterfaces()): Return Class<?>[].
504 (getMethods(String,Class<?>...)): Add type
505 parameter to parameters.
506 * java/text/CollationKey.java:
508 * java/text/DecimalFormatSymbols.java:
511 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
513 * gnu/java/lang/management/BeanImpl.java:
514 (translate(String)): Handle Map and List as
515 Strings of the form "java.util.Map<K,V>" and
517 * javax/management/MBeanAttributeInfo.java:
518 (MBeanAttributeInfo(String,String,Method,Method)):
519 Use generic parameter and return types.
520 * javax/management/MBeanConstructorInfo.java:
521 (MBeanConstructorInfo(String, Constructor)):
522 Use generic parameter types.
523 * javax/management/MBeanOperationInfo.java:
524 (MBeanOperationInfo(String, Method)):
525 Use generic parameter and return types.
527 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
529 * gnu/java/lang/management/BeanImpl.java:
530 (translate(String)): Comment out code for using type
531 variables for Map and List.
532 * java/lang/Thread.java:
533 (Thread(ThreadGroup,Runnable,String,long)): Fix
534 incrementation of totalThreadsCreated to be prior to use.
536 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
538 * javax/management/MBeanServerFactory.java:
539 (createMBeanServer(String)): Added security check.
540 (findMBeanServer(String)): Likewise.
541 (newMBeanServer(String)): Likewise.
542 (releaseMBeanServer(String)): Likewise.
543 * javax/management/MBeanServerPermission.java:
546 2006-12-08 David Daney <ddaney@avtrex.com>
548 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
551 2006-12-08 David Daney <ddaney@avtrex.com>
553 * NEWS: Mention URLConnection.[get|set]ReadTimeout.
555 2006-12-08 David Daney <ddaney@avtrex.com>
557 * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
559 (HTTPConnection): Handle NumberFormatException in properties parsing.
560 (Pool.get): Set timeout on reused sockets.
561 * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
563 (HTTPURLConnection): Cleanup properties handling.
564 (getConnection): Use both connection and read timeouts.
565 (setConnectTimeout): Removed.
566 (setReadTimeout): New method.
567 * java/net/URLConnection.java (timeout): Renamed to...
568 (connectTimeout): ... connectTimeout throughout.
569 (readTimeout): New field.
570 (getReadTimeout): New method.
571 (setReadTimeout): New method.
573 2006-12-08 Tania Bento <tbento@redhat.com>
575 * java/awt/ScrollPane.java
576 (doLayout): Change the location of the scrollpane's child
579 2006-12-08 David Daney <ddaney@avtrex.com>
581 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
583 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
584 SocketTimeoutException if a blocking socket timesout.
585 (Java_gnu_java_nio_VMChannel_readScattering): Same.
586 (Java_gnu_java_nio_VMChannel_read__I): Same.
587 (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
588 (Java_gnu_java_nio_VMChannel_connect6): Same.
590 2006-12-08 Mark Wielaard <mark@klomp.org>
592 * configure.ac (VERSION): Set to 0.93-generics.
593 * NEWS: Add release date.
595 2006-12-08 Tania Bento <tbento@redhat.com>
597 * java/awt/ScrollPane.java
598 (getScrollPosition): Throw NullPointerException if scrollpane
600 (setScrollPosition(int, int)): Throw NullPointerException if
601 scrollpane does have a child. Check that both ints are within
602 the allowed bounds; If they are not, scroll to the closest allowed
605 2006-12-07 Roman Kennke <kennke@aicas.com>
607 * javax/swing/JEditorPane.java
608 (EditorKitMapping): New inner helper class.
609 (editorKits): New static field for caching editor kit instances.
610 (static_initiazer): Initialize static mappings here.
611 (createEditorKitForContentType): Try to use cached instance.
612 Use correct classloader for loading.
613 (getEditorKitClassNameForContentType): Make use of EditorKitMapping
615 (getEditorKitForContentType): Store the fetched editor kit.
616 Fallback to createDefaultEditorKit().
617 (init): Don't clean the static registry here.
618 (registerEditorKitForContentType(String,String,ClassLoader)):
620 (registerEditorKitForContentType(String,String)): Delegate to
621 the other version of this method with the thread's context
624 2006-12-07 Mark Wielaard <mark@klomp.org>
626 * examples/gnu/classpath/examples/swing/HtmlDemo.java
627 (setPage): Don't convert URL to String for setPage().
629 2006-12-07 Mark Wielaard <mark@klomp.org>
631 * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
633 2006-12-07 Mark Wielaard <mark@klomp.org>
635 * tools/Makefile.am: Explicitly define and use bootclasspath as
638 2006-12-07 Mark Wielaard <mark@klomp.org>
640 * javax/swing/JEditorPane.java (createEditorKitForContentType):
641 Always load from system class loader.
643 2006-12-07 Mark Wielaard <mark@klomp.org>
645 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
647 (URL(URL,String,URLStreamHandler)): Call new constructor.
648 (URL(URL,String)): Likewise.
649 (URL(String)): Likewise.
651 2006-12-07 Tom Tromey <tromey@redhat.com>
654 * INSTALL: Don't mention --with-asm.
655 * tools/external/README: New file.
656 * tools/toolwrapper.c (main): Don't use ASM_JAR.
657 * tools/gjavah.in: Don't use PATH_TO_ASM.
658 * tools/grmic.in: Likewise.
659 * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
661 (javah, rmic): Removed variables.
662 (bin_PROGRAMS): Updated.
663 (gappletviewer_CFLAGS): Don't define ASM_JAR.
664 (gjarsigner_CFLAGS): Likewise.
665 (gkeytool_CFLAGS): Likewise.
666 (gjar_CFLAGS): Likewise.
667 (gnative2ascii_CFLAGS): Likewise.
668 (gserialver_CFLAGS): Likewise.
669 (grmiregistry_CFLAGS): Likewise.
670 (gtnameserv_CFLAGS): Likewise.
671 (gorbd_CFLAGS): Likewise.
672 (grmid_CFLAGS): Likewise.
673 (gjavah_CFLAGS): Likewise.
674 (grmic_CFLAGS): Likewise.
675 (bin_SCRIPTS): Updated.
676 (TOOLS_JAVA_FILES): Updated.
677 ($(TOOLS_ZIP)): Compile ASM sources. Copy resource files.
678 * configure.ac: Removed --with-asm. Always build gjavah.
680 2006-12-06 Roman Kennke <kennke@aicas.com>
682 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
684 * examples/gnu/classpath/examples/swing/HtmlDemo.java
685 (LoadActionListener): Call setPage() helper method.
686 (createContent): Register tweaked editor kit. For FormSubmitEvents
687 call submitForm(), otherwise setPage().
688 (postData): Helper method for posting form data.
689 (setPage): Helper method for navigating to a new URL.
690 (submitForm): Helper method for submitting a form.
691 * examples/gnu/classpath/examples/swing/forms.html:
692 Added text/password fields and select boxes.
693 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
695 2006-12-06 Roman Kennke <kennke@aicas.com>
697 * javax/swing/text/html/FormView.java
698 (SubmitThread.postData): Implemented.
699 (SubmitThread.run): Pass data to postData().
700 (actionPerformed): Reset form when reset button is activated.
701 (createComponent): Add support for select lists and comboboxes.
702 Don't set value of text and password fields here, this is done
703 now in HTMLDocument for consistency.
704 (getElementFormData): Add support for fetching form data from
705 select lists and comboboxes as well as textareas.
706 (getSelectData): New helper method. Fetches form data from
708 (getTextAreaData): New helper method. Fetches form data from
710 (resetForm): New helper method. Resets the entire form.
711 * javax/swing/text/html/HTMLDocument.java
712 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
713 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
714 (HTMLReader.FormAction.setModel): Initialize text and password
715 values here. Also, use the resetable special models.
716 Group radio buttons into ButtonGroup for exclusive selection.
717 (HTMLReader.FormTagAction): New class. Handles FORM tags.
718 (HTMLReader.buttonGroups): New field.
719 (HTMLReader.numOptions): New field.
720 (HTMLReader.option): New field.
721 (HTMLReader.selectModel): New field.
722 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
723 (HTMLReader.handleText): Handle OPTION text.
724 (HTMLReader.initTags): Map FORM tags to FormTagAction.
725 (HTMLReader.textAreaContent): Set initial content.
726 * javax/swing/text/html/Option.java
727 (Option): Make copy of attribute set. Initialize selected state.
728 (getValue): Fetch value from attribute set.
729 * javax/swing/text/html/ResetableModel.java: New interface.
730 * javax/swing/text/html/ResetablePlainDocument.java: New class.
731 Supports resetting the state.
732 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
733 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
734 * javax/swing/text/html/SelectListModel.java: Likewise.
736 2006-12-06 Roman Kennke <kennke@aicas.com>
738 * javax/swing/text/DefaultCaret.java
739 (appear): Adjust visibility here.
740 (setDotImpl): Don't adjust visibility here.
741 (moveDotImpl): Don't adjust visibility here.
743 2006-12-06 Roman Kennke <kennke@aicas.com>
745 * gnu/java/awt/peer/gtk/AsyncImage.java
746 (Loader.run): Synchronize on the AsyncImage to avoid threading
748 (addObservers): Check for obs==null outside and synchronize on
749 this inside to avoid locking issues.
750 (checkImage): New helper method.
751 (notifyObservers): Check that the correct lock is held and
752 remove actual locking.
753 * gnu/java/awt/peer/gtk/GtkToolkit.java
754 (checkImage): Added special handling for AsyncImages.
756 2006-12-06 Roman Kennke <kennke@aicas.com>
758 * examples/gnu/classpath/examples/swing/Demo.java
759 (getIcon): Made package private.
760 * examples/gnu/classpath/examples/swing/HtmlDemo.java
761 (hyperlinkUpdate): Convert URL to string.
763 2006-12-06 Mark Wielaard <mark@klomp.org>
765 * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
768 2006-12-06 Roman Kennke <kennke@aicas.com>
770 * examples/gnu/classpath/examples/icons/back.png,
771 * examples/gnu/classpath/examples/icons/reload.png:
772 New icons for the HTML browser.
773 * examples/gnu/classpath/examples/swing/HtmlDemo.java
774 (history): New field. Manages the browsing history.
775 (HtmlDemo): Initialize history.
776 (createContent): Set location and add history. Add toolbar.
777 (createToolBar): New helper method.
778 (main): Make default size bigger.
779 * examples/gnu/classpath/examples/swing/frame1.html,
780 * examples/gnu/classpath/examples/swing/frame2.html,
781 * examples/gnu/classpath/examples/swing/frame3.html,
782 * examples/gnu/classpath/examples/swing/frame4.html,
783 * examples/gnu/classpath/examples/swing/frames.html,
784 * examples/gnu/classpath/examples/swing/tables.html:
786 * examples/gnu/classpath/examples/swing/welcome.html
787 Add a couple of links and new test pages.
789 2006-12-06 Roman Kennke <kennke@aicas.com>
791 * javax/swing/JEditorPane.java
792 (getStream): Buffer the stream for efficiency.
793 (setPage): Don't scroll the view at this point.
794 * javax/swing/plaf/basic/BasicTextUI.java
795 (RootView.paint): Call RootView's setSize to get synchronization.
796 (RootView.setSize): Synchronize to prevent race in layout code.
797 * javax/swing/text/AbstractDocument.java
798 (notifyListeners): New field.
799 (fireChangedUpdate): Track notifyListener field.
800 (fireRemoveUpdate): Track notifyListener field.
801 (fireIndertUpdate): Track notifyListener field.
802 (writeLock): Check notifyListener and throw IllegalStateException.
803 * javax/swing/text/View.java
804 (preferenceChanged): Create local var for better thread safety and
807 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
809 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
810 lightweight component, not just for non-Panel components.
811 (addImpl): Do not call doLayout.
812 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
813 (setNativeBounds): Ensure widget parent is a GtkFixed before
814 calling gtk_fixed_move.
815 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
816 (setNativeBounds): Likewise.
817 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
818 (setNativeBounds): Likewise.
820 2006-12-06 Roman Kennke <kennke@aicas.com>
822 * javax/swing/text/html/TableView.java
823 (RowView.layoutMajorAxis): Check column index for invalid value.
824 (updateGrid): Check column index for invalid value.
826 2006-12-06 Roman Kennke <kennke@aicas.com>
828 * javax/swing/text/html/BlockView.java
829 (getAlignment): Align blocks horizontally by the superclass.
830 * javax/swing/text/html/HTMLEditorKit.java
831 (HTMLFactory.create): Replace equals comparison by == for efficiency.
832 Add mapping for misplaced tr, td and th tags. Include object mapping.
833 * javax/swing/text/html/TableView.java
834 (RowView.replace): Invalidate grid early.
835 (gridValid): Initialize with false.
836 (create): Only create RowView and CellView for correctly placed
837 tags. Avoid unnecessary casts.
838 (getAlignment): Removed.
839 (replace): Invalidate grid early.
841 2006-12-06 Francis Kung <fkung@redhat.com>
843 * java/awt/geom/RectangularShape.java
844 (getBounds): Remove empty rectangle check.
846 2006-12-06 Ben Konrath <bkonrath@redhat.com>
849 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
850 newValue are the same.
851 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
853 2006-12-06 Tania Bento <tbento@redhat.com>
855 * javax/swing/border/CompoundBorder.java:
856 (isBorderOpaque): If inside border is null, return true if outside
857 border is opaque, false otherwise; if outside border is null, return
858 true if inside border is opaque, false otherwise; if inside or
859 outside border are both not null, then return true only if both the
860 inside and outside border are opaque, false otherwise.
862 2006-12-06 Tania Bento <tbento@redhat.com>
864 * javax/swing/border/CompoundBorder.java:
865 (isBorderOpaque): If inside and outside border both have a null
868 2006-12-06 Chris Burdess <dog@gnu.org>
871 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
872 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
874 2006-12-06 Chris Burdess <dog@gnu.org>
877 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
880 2006-12-06 Chris Burdess <dog@gnu.org>
883 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
884 discover schema factory implementation class.
886 2006-12-05 Francis Kung <fkung@redhat.com>
888 * java/awt/BasicStroke.java
889 (capEnd): Prevent division by zero.
890 * java/awt/geom/Arc2D.java
891 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
892 (ArcIterator.currentSegment): Handle a negative extent.
894 2006-12-05 Francis Kung <fkung@redhat.com>
896 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
897 (constructor): Handle translated subimages properly, ie, if the image's
898 0,0 position is not the data buffer's first element.
900 2006-12-05 Roman Kennke <kennke@aicas.com>
902 * gnu/java/awt/peer/gtk/AsyncImage.java
903 (Loader.run): Nullify observers after loading.
904 (observers): Made package private.
905 (addObserver): Check for null observers field. Create local
906 variable for thread safety.
907 (getHeight): Use addObserver() for checking state of field
908 and notifying observer when necessary.
909 (getWidth): Use addObserver() for checking state of field
910 and notifying observer when necessary.
911 (getProperty): Use addObserver() for checking state of field
912 and notifying observer when necessary.
913 (notifyObservers): Check for null observers field. Create local
914 variable for thread safety.
916 2006-12-05 Roman Kennke <kennke@aicas.com>
918 * javax/swing/text/html/HTMLEditorKit.java
919 (HTMLFactory.create): Removed debug output.
920 * javax/swing/text/html/InlineView.java
921 (getBreakWeight): Likewise.
922 * javax/swing/text/html/StyleSheet.java
924 (ListPainter.paint): Removed debug output.
926 2006-12-05 Roman Kennke <kennke@aicas.com>
928 * javax/swing/text/html/BlockView.java
929 (painter): Made package visible.
930 * javax/swing/text/html/StyleSheet.java
931 (translateBorder): New helper method.
932 (translateHTMLToCSS): Add mappings for border attributes.
933 * javax/swing/text/html/TableView.java
934 Made class subclass of BlockView to get CSS goodness.
935 (CellView.rowSpan): New field.
936 (CellView.setPropertiesFromAttributes): Fetch rowspan.
937 (RowView.overlap): New field.
938 (RowView.rowIndex): New field.
939 (RowView.layoutMajorAxis): Skip overlapping cells.
940 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
941 (numColumns): New field.
942 (tmpRect): New field.
943 (TableView): Initialize tmpRect.
944 (calculateColumnRequirements): Adjusted and fixed for multirows.
945 (getAlignment): Overridden to center tables.
946 (paint): Overridden to fix clipping.
947 (getStyleSheet): Made protected.
948 (layoutMajorAxis): Invalidate rows.
949 (setPropertiesFromAttributes): Made protected and call super.
950 (updateGrid): Update the overlapping information for multirows.
952 2006-12-05 Roman Kennke <kennke@aicas.com>
954 * gnu/java/awt/peer/gtk/AsyncImage.java
955 (addObserver): Check for null and ignore null observers.
956 (getWidth): Check for null and ignore null observers.
957 (getHeight): Check for null and ignore null observers.
958 (getProperty): Check for null and ignore null observers.
960 2006-12-05 Francis Kung <fkung@redhat.com>
962 * java/awt/BasicStroke.java
963 (capEnd): Prevent division by zero.
964 * java/awt/geom/Arc2D.java
965 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
966 (ArcIterator.currentSegment): Handle a negative extent.
968 2006-12-05 Francis Kung <fkung@redhat.com>
970 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
971 (constructor): Handle translated subimages properly, ie, if the image's
972 0,0 position is not the data buffer's first element.
974 2006-12-05 Roman Kennke <kennke@aicas.com>
976 * javax/swing/text/html/ImageView.java
977 (imageUpdate): Use spans field to determine if the CSS width/height
978 are set. Call safePreferenceChanged to protect view structure
979 from threading issues.
980 (spans): Made package private.
981 (ImageView): Initialize loadOnDemand with false.
982 (loadImage): Call Toolkit.prepareImage() to make sure we have
983 our Observer registered.
984 (safePreferenceChanged): New helper method. Calls preferenceChanged
985 in a thread safe environment.
987 2006-12-05 Roman Kennke <kennke@aicas.com>
989 * NEWS: Add entry about improved HTML support.
991 2006-12-05 Roman Kennke <kennke@aicas.com>
993 * javax/swing/text/html/ImageView.java
994 (ImageView): Initialize spans array here.
995 (setPropertiesFromAttributes): Moved init of spans array to
998 2006-12-05 Roman Kennke <kennke@aicas.com>
1000 * javax/swing/text/html/BlockView.java
1001 (painter): Made package visible.
1002 * javax/swing/text/html/StyleSheet.java
1003 (translateBorder): New helper method.
1004 (translateHTMLToCSS): Add mappings for border attributes.
1005 * javax/swing/text/html/TableView.java
1006 Made class subclass of BlockView to get CSS goodness.
1007 (CellView.rowSpan): New field.
1008 (CellView.setPropertiesFromAttributes): Fetch rowspan.
1009 (RowView.overlap): New field.
1010 (RowView.rowIndex): New field.
1011 (RowView.layoutMajorAxis): Skip overlapping cells.
1012 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
1013 (numColumns): New field.
1014 (tmpRect): New field.
1015 (TableView): Initialize tmpRect.
1016 (calculateColumnRequirements): Adjusted and fixed for multirows.
1017 (getAlignment): Overridden to center tables.
1018 (paint): Overridden to fix clipping.
1019 (getStyleSheet): Made protected.
1020 (layoutMajorAxis): Invalidate rows.
1021 (setPropertiesFromAttributes): Made protected and call super.
1022 (updateGrid): Update the overlapping information for multirows.
1024 2006-12-05 Roman Kennke <kennke@aicas.com>
1026 * javax/swing/text/html/HTMLEditorKit.java
1027 (HTMLFactory.create): Removed debug output.
1028 * javax/swing/text/html/InlineView.java
1029 (getBreakWeight): Likewise.
1030 * javax/swing/text/html/StyleSheet.java
1031 (addRule): Likewise.
1032 (ListPainter.paint): Removed debug output.
1034 2006-12-06 Roman Kennke <kennke@aicas.com>
1036 * javax/swing/text/html/BlockView.java
1037 (getAlignment): Align blocks horizontally by the superclass.
1038 * javax/swing/text/html/HTMLEditorKit.java
1039 (HTMLFactory.create): Replace equals comparison by == for efficiency.
1040 Add mapping for misplaced tr, td and th tags. Include object mapping.
1041 * javax/swing/text/html/TableView.java
1042 (RowView.replace): Invalidate grid early.
1043 (gridValid): Initialize with false.
1044 (create): Only create RowView and CellView for correctly placed
1045 tags. Avoid unnecessary casts.
1046 (getAlignment): Removed.
1047 (replace): Invalidate grid early.
1050 2006-12-06 Roman Kennke <kennke@aicas.com>
1052 * javax/swing/text/html/TableView.java
1053 (RowView.layoutMajorAxis): Check column index for invalid value.
1054 (updateGrid): Check column index for invalid value.
1056 2006-12-06 Roman Kennke <kennke@aicas.com>
1058 * javax/swing/JEditorPane.java
1059 (getStream): Buffer the stream for efficiency.
1060 (setPage): Don't scroll the view at this point.
1061 * javax/swing/plaf/basic/BasicTextUI.java
1062 (RootView.paint): Call RootView's setSize to get synchronization.
1063 (RootView.setSize): Synchronize to prevent race in layout code.
1064 * javax/swing/text/AbstractDocument.java
1065 (notifyListeners): New field.
1066 (fireChangedUpdate): Track notifyListener field.
1067 (fireRemoveUpdate): Track notifyListener field.
1068 (fireIndertUpdate): Track notifyListener field.
1069 (writeLock): Check notifyListener and throw IllegalStateException.
1070 * javax/swing/text/View.java
1071 (preferenceChanged): Create local var for better thread safety and
1074 2006-12-06 Roman Kennke <kennke@aicas.com>
1076 * examples/gnu/classpath/examples/icons/back.png,
1077 * examples/gnu/classpath/examples/icons/reload.png:
1078 New icons for the HTML browser.
1079 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1080 (history): New field. Manages the browsing history.
1081 (HtmlDemo): Initialize history.
1082 (createContent): Set location and add history. Add toolbar.
1083 (createToolBar): New helper method.
1084 (main): Make default size bigger.
1085 * examples/gnu/classpath/examples/swing/frame1.html,
1086 * examples/gnu/classpath/examples/swing/frame2.html,
1087 * examples/gnu/classpath/examples/swing/frame3.html,
1088 * examples/gnu/classpath/examples/swing/frame4.html,
1089 * examples/gnu/classpath/examples/swing/frames.html,
1090 * examples/gnu/classpath/examples/swing/tables.html:
1092 * examples/gnu/classpath/examples/swing/welcome.html
1093 Add a couple of links and new test pages.
1095 2006-12-06 Roman Kennke <kennke@aicas.com>
1097 * examples/gnu/classpath/examples/swing/Demo.java
1098 (getIcon): Made package private.
1099 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1100 (hyperlinkUpdate): Convert URL to string.
1102 2006-12-06 Roman Kennke <kennke@aicas.com>
1104 * javax/swing/text/DefaultCaret.java
1105 (appear): Adjust visibility here.
1106 (setDotImpl): Don't adjust visibility here.
1107 (moveDotImpl): Don't adjust visibility here.
1109 2006-12-06 Roman Kennke <kennke@aicas.com>
1111 * javax/swing/text/html/FormView.java
1112 (SubmitThread.postData): Implemented.
1113 (SubmitThread.run): Pass data to postData().
1114 (actionPerformed): Reset form when reset button is activated.
1115 (createComponent): Add support for select lists and comboboxes.
1116 Don't set value of text and password fields here, this is done
1117 now in HTMLDocument for consistency.
1118 (getElementFormData): Add support for fetching form data from
1119 select lists and comboboxes as well as textareas.
1120 (getSelectData): New helper method. Fetches form data from
1122 (getTextAreaData): New helper method. Fetches form data from
1124 (resetForm): New helper method. Resets the entire form.
1125 * javax/swing/text/html/HTMLDocument.java
1126 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
1127 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
1128 (HTMLReader.FormAction.setModel): Initialize text and password
1129 values here. Also, use the resetable special models.
1130 Group radio buttons into ButtonGroup for exclusive selection.
1131 (HTMLReader.FormTagAction): New class. Handles FORM tags.
1132 (HTMLReader.buttonGroups): New field.
1133 (HTMLReader.numOptions): New field.
1134 (HTMLReader.option): New field.
1135 (HTMLReader.selectModel): New field.
1136 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
1137 (HTMLReader.handleText): Handle OPTION text.
1138 (HTMLReader.initTags): Map FORM tags to FormTagAction.
1139 (HTMLReader.textAreaContent): Set initial content.
1140 * javax/swing/text/html/Option.java
1141 (Option): Make copy of attribute set. Initialize selected state.
1142 (getValue): Fetch value from attribute set.
1143 * javax/swing/text/html/ResetableModel.java: New interface.
1144 * javax/swing/text/html/ResetablePlainDocument.java: New class.
1145 Supports resetting the state.
1146 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
1147 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
1148 * javax/swing/text/html/SelectListModel.java: Likewise.
1150 2006-12-06 Roman Kennke <kennke@aicas.com>
1152 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
1154 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1155 (LoadActionListener): Call setPage() helper method.
1156 (createContent): Register tweaked editor kit. For FormSubmitEvents
1157 call submitForm(), otherwise setPage().
1158 (postData): Helper method for posting form data.
1159 (setPage): Helper method for navigating to a new URL.
1160 (submitForm): Helper method for submitting a form.
1161 * examples/gnu/classpath/examples/swing/forms.html:
1162 Added text/password fields and select boxes.
1163 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
1165 2006-12-07 Mark Wielaard <mark@klomp.org>
1167 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
1168 private constructor.
1169 (URL(URL,String,URLStreamHandler)): Call new constructor.
1170 (URL(URL,String)): Likewise.
1171 (URL(String)): Likewise.
1173 2006-12-07 Mark Wielaard <mark@klomp.org>
1175 * javax/swing/JEditorPane.java (createEditorKitForContentType):
1176 Always load from system class loader.
1178 2006-12-06 Ben Konrath <bkonrath@redhat.com>
1181 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
1182 newValue are the same.
1183 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
1185 2006-12-06 Chris Burdess <dog@gnu.org>
1188 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1189 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1191 2006-12-06 Chris Burdess <dog@gnu.org>
1194 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1197 2006-12-056 Chris Burdess <dog@gnu.org>
1200 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1201 discover schema factory implementation class.
1203 2006-12-05 Roman Kennke <kennke@aicas.com>
1205 * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
1206 asynchronous loading of images.
1207 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1208 (drawImage): Fetch real image from possibly AsyncImage.
1209 * gnu/java/awt/peer/gtk/ComponentGraphics.java
1210 (drawImage): Fetch real image from possibly AsyncImage.
1211 * gnu/java/awt/peer/gtk/GtkToolkit.java
1212 (createImage(URL)): Create async image.
1213 (imageOrError): Made method static for easy access from AsyncImage.
1214 (prepareImage): For async images, register the observer to the
1217 2006-12-05 Roman Kennke <kennke@aicas.com>
1219 (paintComponent): Include paint area from event.
1220 (updateComponent): Include paint area from event.
1222 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
1224 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
1225 lightweight component, not just for non-Panel components.
1226 (addImpl): Do not call doLayout.
1227 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1228 (setNativeBounds): Ensure widget parent is a GtkFixed before
1229 calling gtk_fixed_move.
1230 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1231 (setNativeBounds): Likewise.
1232 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1233 (setNativeBounds): Likewise.
1235 2006-12-04 Thomas Fitzsimmons <fitzsim@redhat.com>
1237 * java/awt/Component.java (getFontImpl): Return a default font if
1238 topmost parent's font is null.
1240 2006-12-04 Mark Wielaard <mark@klomp.org>
1242 * javax/swing/text/html/CSS.java (parseMarginShorthand):
1243 Remove debug output.
1245 2006-12-04 Roman Kennke <kennke@aicas.com>
1247 * java/awt/font/TextLayout.java
1248 (hitTestChar): Fixed conditions for inclusion of range.
1249 Use layout information in the run for more efficiency.
1251 2006-12-04 Roman Kennke <kennke@aicas.com>
1253 * javax/swing/text/GlyphView.java
1254 (J2DGlyphPainter): New inner class.
1255 (checkPainter): For Java2D capable environments create
1258 2006-12-04 Roman Kennke <kennke@aicas.com>
1260 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1261 (FreeTypeGlyphVector): Don't filter control chars here.
1262 (getGlyphs): Filter control chars and replace them by
1265 2006-12-04 Roman Kennke <kennke@aicas.com>
1267 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1268 (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
1270 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1272 * gnu/java/lang/management/BeanImpl.java:
1273 (translate(String)): Don't assume the list uses "E",
1274 just use the first and only type variable.
1275 * java/lang/management/ManagementFactory.java:
1276 (getPlatformMBeanServer()): Register logging bean.
1277 * javax/management/openmbean/OpenType.java:
1278 (OpenType(String,String,String)): Actually use
1279 the string created to handle arrays.
1281 2006-12-04 Mark Wielaard <mark@klomp.org>
1283 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1284 (JCL_thread_interrupted): Use CallStaticBooleanMethod.
1286 2006-12-04 Mark Wielaard <mark@klomp.org>
1288 * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
1290 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1291 (JCL_thread_interrupted): Only take JNIEnv.
1292 (vm_channel_class): New static variable.
1293 (initID): Set vm_channel_class.
1294 Wrap all reads() and writes() in do-while blocks that check
1297 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1299 * gnu/javax/management/Server.java:
1300 Make map final and initialise it.
1301 (unregisterMBean(ObjectName)): Match against
1302 delegate's object name and not the instance.
1303 * java/lang/management/ManagementFactory.java:
1304 Added constant fields.
1305 (getPlatformMBeanServer()): Implemented.
1306 * javax/management/MBeanServerFactory.java: New file.
1308 2006-12-04 Roman Kennke <kennke@aicas.com>
1310 * javax/swing/text/BoxView.java
1311 (paint): Replaced painting algorithm with more simple and more
1312 reliable painting of the box.
1313 * javax/swing/text/html/BlockView.java
1314 (PositionInfo): New inner class. Stores additional CSS
1315 positioning information.
1316 (positionInfo): New field.
1317 (BlockView): Initialize positionInfo field.
1318 (fetchLayoutInfo): New helper method. Fetches additional
1319 CSS positioning information.
1320 (layoutMajorAxis): Perform additional CSS layout.
1321 (layoutMinorAxis): Perform additional CSS layout.
1322 (positionView): New helper method.
1323 (replace): Overridden to fetch additional layout information.
1324 * javax/swing/text/html/CSS.java
1325 (Attribute.POSITION): New field.
1326 (Attribute.LEFT): New field.
1327 (Attribute.RIGHT): New field.
1328 (Attribute.TOP): New field.
1329 (Attribute.BOTTOM): New field.
1330 (getValue): Create Length for left, right, top and bottom
1333 2006-12-04 Roman Kennke <kennke@aicas.com>
1335 * gnu/javax/swing/text/html/parser/support/Parser.java
1336 (Sgml): Consume any whitespace that immediately follows
1338 (parseDocument): Consume any initial whitespace.
1340 2006-12-03 Mark Wielaard <mark@klomp.org>
1342 * gnu/javax/management/Server.java (beans): Initialize.
1343 (registerMBean): Don't initialize beans.
1345 2006-12-03 Mark Wielaard <mark@klomp.org>
1347 * java/util/logging/LogManager.java (getLevelProperty): Check
1348 whether value is null before passing to Level.parse().
1350 2006-12-04 Robert Lougher <rob.lougher@gmail.com>
1352 * java/lang/management/ThreadInfo.java (ThreadInfo): Check
1353 whether given a null lock and lockOwner.
1355 2006-12-03 Mark Wielaard <mark@klomp.org>
1357 * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
1358 (PageLoader.page): Made package local.
1359 (PageLoader.run): Don't reset loader.
1360 (PageLoader.cancel): New method.
1361 (loading): Renamed to loader.
1362 (getPage): Return loader.page.
1363 (setPage): Always set loader. Never reset to null.
1365 2006-12-03 Mark Wielaard <mark@klomp.org>
1367 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
1369 (isLastChild): Return false when path is null.
1371 2006-12-03 Mark Wielaard <mark@klomp.org>
1373 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
1374 to currentPaintArea.
1375 (paintComponent): Work with local reference to currentPaintArea.
1376 (updateComponent): Likewise.
1377 (coalescePaintEvent): Set currentPaintArea.
1379 2006-12-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
1381 * javax/management/MBeanServerBuilder.java: New file.
1383 2006-12-01 Mark Wielaard <mark@klomp.org>
1385 * java/text/DecimalFormat.java (parse): Always increment parsing
1386 index and adjust pos result.
1388 2006-12-01 Roman Kennke <kennke@aicas.com>
1390 * javax/swing/text/html/HTML.java
1391 (Attribute.DYNAMIC_CLASS): New field.
1392 (Attribute.PSEUDO_CLASS): New field.
1393 * javax/swing/text/html/HTMLDocument.java
1394 (HTMLReader.CharacterAction.start): Initialize anchor with link
1396 (updateSpecialClass): New helper method. Updates the dynamic
1397 or pseudo class for anchor tags.
1398 * javax/swing/text/html/HTMLEditorKit.java
1399 (LinkController.lastAnchorElement): New field. For tracking
1400 enter/exit of anchors.
1401 (LinkController.activateLink): Set pseudo class to 'visited'.
1402 (LinkController.mouseMoved): Added support for tracking
1403 the 'hover' dynamic class.
1404 * javax/swing/text/html/InlineView.java
1405 (changedUpdate): Fetch new properties.
1406 * javax/swing/text/html/StyleSheet.java
1407 (attributeSetToMap): New helper method.
1408 (getRule): Also append dynamic and pseudo class to key.
1409 (resolveStyle): Resolve style based generally on all attributes.
1410 * javax/swing/text/html/TableView.java
1411 (RowView.layoutMajorAxis): Make sure the grid is valid.
1412 (updateGrid): Made package private.
1413 * gnu/javax/swing/text/html/css/Selector.java
1414 (calculateSpecificity): Added support for dynamic and pseudo classes.
1415 (matches): Changed to operate on general attributes.
1416 Added support for dynamic and pseudo classes.
1418 2006-12-01 Mario Torre <neugens@limasoftware.net>
1420 * java/text/DecimalFormat.java (formatInternal): move the formatting of
1421 fractional portion in a separate method.
1422 Also fixes the handling of decimal separator and its associated field.
1423 (handleFractionalPart): new method, needed to relax a bit
1426 2006-12-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
1428 * java/beans/beancontext/BeanContextServicesSupport.java:
1429 (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
1430 Class)): Implemented.
1431 (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1432 Class, Object)): Implemented.
1433 (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1434 Object, Object)): Implemented.
1435 (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1437 (initialiseBeanContextResources()): Implemented.
1438 (releaseBeanContextResoures()): Implemented.
1440 2006-12-01 Mark Wielaard <mark@klomp.org>
1442 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1444 2006-12-01 Roman Kennke <kennke@aicas.com>
1446 * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1447 handling border styles.
1448 * gnu/javax/swing/text/html/css/BorderWidth.java
1449 (isValid): New method.
1450 * gnu/javax/swing/text/html/css/Length.java
1451 (isValid): New method.
1452 * javax/swing/text/html/CSS.java
1453 (addInternal): Added shorthand parsing for border, padding and
1455 (parseBackgroundShorthand): Added API docs.
1456 (parsePaddingShorthand): New method. Handles padding shorthand
1458 (parseMarginShorthand): New method. Handles margin shorthand
1460 (parseBorderShorthand): New method. Handles border shorthand
1462 * javax/swing/text/html/StyleSheet.java
1463 (translateHTMLToCSS): Set specific padding attributes.
1464 (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1465 These shorthands are now handled in CSS.
1466 (BoxPainter.paint): Exclude the outer margin.
1468 2006-12-01 Roman Kennke <kennke@aicas.com>
1470 * gnu/javax/swing/text/html/css/Length.java
1471 (emBase): New field.
1472 (exBase): New field.
1473 (isFontEMRelative): New field.
1474 (isFontEXRelative): New field.
1475 (Length): Recognize and setup EM and EX relative values.
1476 (getValue): Handle EM and EX relative values.
1477 (isEMRelative): New method.
1478 (isEXRelative): New method.
1479 (setEMBase): New method.
1480 (setEXBase): New method.
1481 (setFontBases): New method.
1482 * gnu/javax/swing/text/html/parser/support/Parser.java
1483 (_handleEmptyTag): Use new isBlock() helper method.
1484 (_handleEndTag_remaining): Use new isBlock() helper method.
1485 (_handleStartTag): Consume whitespace after block start tag.
1486 (Comment): Consume whitespace after a comment.
1487 (isBlock): New helper method.
1488 (readAttributes): Consider all characters in unquoted attribute
1490 * javax/swing/text/html/BlockView.java
1491 (layoutMinorAxis): Use cached span value.
1492 (paint): Added debug code (commented out).
1493 (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1494 * javax/swing/text/html/CSSBorder.java
1495 (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1497 (getBorderWidth): Set the EM and EX base on the length values.
1498 * javax/swing/text/html/HTMLDocument.java
1499 (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1500 (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1501 (HTMLReader.inImpliedParagraph): Removed.
1502 (HTMLReader.inParagraph): Removed.
1503 (HTMLReader.parseStack): New field.
1504 (HTMLReader.addContent): Use new paragraph handling.
1505 (HTMLReader.addSpecialElement): Use new paragraph handling.
1506 (HTMLReader.blockClose): Use new paragraph handling.
1507 (HTMLReader.blockOpen): Use new paragraph handling.
1508 (HTMLReader.inImpliedParagraph): New helper method.
1509 (HTMLReader.inParagraph): New helper method.
1510 * javax/swing/text/html/ImageView.java
1511 (attributes): New field. Caches view attributes.
1512 (spans): New field. Caches CSS spans.
1513 (getAttributes): Correctly setup CSS view attributes.
1514 (getPreferredSpan): Use caches spans.
1515 (getStyleSheet): Use the view's getDocument() method.
1516 (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1517 (updateSize): Use cached spans.
1518 * javax/swing/text/html/ParagraphView.java
1519 (setPropertiesFromAttributes): Setup EM and EX.
1520 * javax/swing/text/html/StyleSheet.java
1521 (BoxPainter.BoxPainter): Setup EM and EX correctly.
1522 (getEMBase): New helper method.
1523 (getEXBase): New helper method.
1524 * javax/swing/text/html/TableView.java
1525 (width): New field. Caches the table width.
1526 (calculateMinorAxisRequirements): Use caches span.
1527 (setPropertiesFromAttributes): Cache span and setup EM/EX.
1528 (updateGrid): Correctly setup EM/EX.
1530 2006-11-30 Roman Kennke <kennke@aicas.com>
1532 * javax/swing/text/html/FormSubmitEvent.java: New class.
1533 * javax/swing/text/html/FormView.java
1534 (SubmitThread): New class for submitting data in a separate thread.
1535 (actionPerformed): Fetch the actual for data.
1536 (addData): New helper method.
1537 (getElementFormData): New helper method.
1538 (getFormData): New helper method.
1539 (getInputFormData): New helper method.
1540 (submitData): Implemented.
1541 * javax/swing/text/html/FrameView.java
1542 (createComponent): Add this as hyperlink listener.
1543 Set the target document as frame document.
1544 (getTopEditorPane): New helper method.
1545 (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1546 (handleHyperlinkEvent): New helper method.
1547 (handleFormSubmitEvent): New helper method.
1548 * javax/swing/text/html/HTMLDocument.java
1549 (HTMLReader.BaseAction.start): Track the base target.
1550 (HTMLReader.BaseAction.end): Removed.
1551 (baseTarget): New field.
1552 (frameDocument): New field.
1553 (getBaseTarget): New property accessor.
1554 (isFrameDocument): New property accessor.
1555 (processHTMLFrameHyperlinkEvent): Implemented.
1556 (setFrameDocument): New property accessor.
1557 (updateFrame): New helper method.
1558 (updateFrameSet): New helper method.
1559 * javax/swing/text/html/HTMLEditorKit.java
1560 (LinkController.createHyperlinkEvent): Handle frame documents.
1561 (autoFormSubmission): New field.
1562 (HTMLEditorKit): Set autoFormSubmission to true.
1563 (isAutoFormSubmission): New property accessor.
1564 (setAutoFormSubmission): New property accessor.
1566 2006-11-30 Roman Kennke <kennke@aicas.com>
1568 * javax/swing/text/ElementIterator.java
1569 (ElementRef): New inner class.
1570 (currentDepth): Removed.
1571 (currentElement): Removed.
1572 (previousItem): Removed.
1573 (stack): New field. Holds the iteration stack.
1575 (ElementIterator(Document)): Removed init of removed fields.
1576 (ElementIterator(Element)): Removed init of removed fields.
1577 (current): Changed to stack based algorithm.
1578 (deepestLeaf): New helper method.
1579 (depth): Changed to stack based algorithm.
1580 (first): Changed to stack based algorithm.
1581 (next): Changed to stack based algorithm.
1582 (previous): Changed to stack based algorithm.
1584 2006-11-30 Francis Kung <fkung@redhat.com>
1586 * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1587 * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1589 2006-11-30 Francis Kung <fkung@redhat.com>
1591 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1592 (draw): Set transform in buffered composite.
1593 (drawComposite): Do not transform bounds; round bounds.
1594 (drawGlyphVector): Set transform in buffered composite.
1595 (drawRenderedImage): Set transform in buffered composite.
1596 (fill): Set transform in buffered composite.
1597 (updateBufferedImage): Fix scanline & height calculations.
1598 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1599 (createPath): Simplify width & height calculation.
1600 (drawImage): Also transform width & height.
1602 2006-11-30 Roman Kennke <kennke@aicas.com>
1604 * javax/swing/text/html/FrameSetView.java: New class. Implements
1606 * javax/swing/text/html/FrameView.java: New class. Implements
1608 * javax/swing/text/html/HTMLDocument.java:
1609 (HTMLReader.addSpecialElement): Only add one artificial space.
1610 * javax/swing/text/html/HTMLEditorKit.java
1611 (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1612 * gnu/javax/swing/text/html/parser/support/Parser.java
1613 (_handleEmptyTag): Also consume whitespace after frame tags.
1615 2006-11-30 Gary Benson <gbenson@redhat.com>
1617 * java/lang/Thread.java: Javadoc fixes.
1619 2006-11-29 Tom Tromey <tromey@redhat.com>
1622 * java/lang/Class.java (getAnnotations): Rewrote.
1624 2006-11-29 Tania Bento <tbento@redhat.com>
1626 * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1627 (parseParams): Unescape 'val' before putting it into the Map.
1628 (unescapeString): New private method.
1630 2006-11-29 Tom Tromey <tromey@redhat.com>
1632 * tools/gnu/classpath/tools/getopt/package.html: New file.
1634 2006-11-29 David Gilbert <david.gilbert@object-refinery.com>
1636 * javax/swing/plaf/metal/MetalIconFactory.java
1637 (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1638 (VerticalSliderThumbIcon.paintIcon()): Likewise.
1640 2006-11-29 Mario Torre <neugens@limasoftware.net>
1642 * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1643 with the default international currency sign \u00A4.
1644 * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1645 table for string formatting.
1646 (formatInternal): likewise.
1647 (scanNegativePattern): likewise.
1648 (applyPattern): likewise.
1649 * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1650 Locale is immutable and does not need clone.
1652 2006-11-29 Francis Kung <fkung@redhat.com>
1654 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1655 (drawLine): Remove hard-coded pixel shifting.
1657 2006-11-29 Roman Kennke <kennke@aicas.com>
1659 * java/awt/Component.java
1660 (isShowing): Simplified condition code and avoid unnecessary
1662 (coalesceEvents): Always coalesce paint events and let the peer
1663 figure out the expanding of the repaint area.
1664 * gnu/java/awt/peer/swing/SwingComponentPeer.java
1665 (currentPaintEvents): Removed. Replaced by paintArea.
1666 (paintArea): New field. Tracks the dirty area.
1667 (SwingComponentPeer): Removed init of currentPaintEvents.
1668 (coalescePaintEvent): Simplified to only union the dirty regions.
1669 (handleEvent): Paint dirty region that was tracked in paintArea.
1670 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1671 (paintArea): New field. Tracks the dirty region.
1672 (coalescePaintEvent): Implemented to track the dirty region.
1673 (paintComponent): Use the dirty region in paintArea. Protect
1674 state by putting the paint and dispose code in a try-finally.
1675 (updateComponent): Use the dirty region in paintArea. Protect
1676 state by putting the paint and dispose code in a try-finally.
1678 2006-11-29 Roman Kennke <kennke@aicas.com>
1680 * java/awt/font/TextLayout.java
1681 (getVisualHighlightShape): Removed debug output.
1683 2006-11-28 Andrew Haley <aph@redhat.com>
1685 * vm/reference/sun/reflect/misc/ReflectUtil.java
1686 (checkPackageAccess): Implement.
1688 2006-11-28 Dalibor Topic <robilad@kaffe.org>
1690 * native/jni/java-lang/java_lang_VMDouble.c:
1691 (parseDoubleFromChars) New function. Factored out from ...
1692 (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1693 (dtoa_toString): New function. Factored out from ...
1694 (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1695 Changed conversion mode to 2, as modes 0 and 1 don't round
1696 as the API spec demands. Invoke conversion function as often
1697 as necessary with growing precision until a reversible
1698 representation of the double in form of a string is reached.
1700 2006-11-28 Roman Kennke <kennke@aicas.com>
1702 * javax/swing/JComponent.java
1703 (putClientProperty): Do not fire event when both old and new
1706 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1708 * java/lang/Enum.java:
1709 Make name and ordinal final.
1711 2006-11-27 Casey Marshall <csm@gnu.org>
1713 * java/util/jar/JarEntry.java (certs): removed.
1714 (jarfile): new field.
1715 (getCertificates): read the certificates from the containing JarFile.
1716 * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1717 fill in 'certs,' fill in 'jarfile' for the entry.
1718 (getEntry): likewise.
1720 2006-11-27 Francis Kung <fkung@redhat.com>
1722 * java/awt/image/WritableRaster.java
1723 (createChild): Implemented.
1725 2006-11-27 Roman Kennke <kennke@aicas.com>
1727 * java/awt/font/TextLayout.java
1728 (TextLayout(TextLayout,int,int)): Also layout the new runs.
1729 (getVisualHighlightShape): Implemented.
1730 (layoutRuns): Fixed boundary so that the last run is also laid out.
1731 (left): New helper method.
1732 (right): New helper method.
1734 2006-11-27 Roman Kennke <kennke@aicas.com>
1736 * java/awt/font/TextLayout.java
1737 (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1738 (getCaretShape(TextHitInfo)): Use natural bounds.
1739 (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1740 (getCaretShapes(int,Rectangle2D)): Delegate to new method
1741 above with DEFAULT_CARET_POLICY.
1742 (getCaretShapes(int)): Use natural bounds.
1744 2006-11-27 Roman Kennke <kennke@aicas.com>
1746 * java/awt/font/TextLayout.java
1747 (Run.font): New field.
1748 (Run.location): New field.
1749 (Run.Run): Initialize font.
1750 (font): Removed field. This is moved into Run as the actual font
1751 is something run-specific.
1752 (TextLayout(String,Font,FontRenderContext)): Set font on the
1753 single runs. Layout the runs here.
1754 (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1755 (findRunAtIndex): New helper method.
1756 (getCaretInfo): Implemented.
1757 (layoutRuns): New helper method.
1758 (toString): Don't put font in output string.
1760 2006-11-27 Raif S. Naffah <classpath@naffah-raif.name>
1762 * AUTHORS: Added Jeroen Fritjers.
1764 2006-11-27 neugens <neugens@nirvana.limasoftware.net>
1766 * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1767 for FieldPosition to be null.
1768 Check if the factional part is just 0 and can be omitted from the
1770 (scanNegativePattern): Fixed index out of bound exception when searching
1771 for international currency symbol in negative pattern.
1773 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1775 * java/beans/beancontext/BeanContextSupport.java:
1776 (readObject(ObjectInputStream)): Implemented.
1777 (writeObject(ObjectOutputStream)): Likewise.
1778 (BCSChild.getTargetChild()): Added.
1779 (bcsPreDeserializationHook()): Implemented.
1780 (bcsPreSerializationHook()): Likewise.
1781 (childDeserializedHook(Object,BCSChild)): Likewise.
1782 (isSerializing()): Likewise.
1783 (readChildren(ObjectInputStream)): Likewise.
1784 (writeChildren(ObjectOutputStream)): Likewise.
1786 2006-11-26 Roger Sayle <roger <at> eyesopen.com>
1787 Ian Lance Taylor <ian <at> airs.com>
1788 Paolo Bonzini <bonzini <at> gnu.org>
1792 * lib/gen-classlist.sh.in: Avoid using test's -ef operator for
1793 increased portability. Likewise, use -f instead of -e.
1795 2006-11-26 Mark Wielaard <mark@klomp.org>
1797 * lib/Makefile.am (propertydirs): Removed.
1798 (resources): Explicitly create all dirs.
1800 2006-11-26 Mark Wielaard <mark@klomp.org>
1802 * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
1804 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1806 * native/target/.cvsignore,
1807 native/target/generic/.cvsignore,
1808 native/target/Linux/.cvsignore:
1809 Removed no longer used files.
1811 * native/target: Removed no longer used directory.
1813 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1817 * libraries/clib/nio/gnu_java_nio_VMSelector.c
1818 (Java_gnu_java_nio_VMSelector_select):
1819 Use strerror if strerror_r is not available.
1821 Reported by: Michael Franz <mvfranz@gmail.com>,
1822 Riccardo Mottola <zuse@libero.it>
1824 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1828 * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed
1829 STRICT_WARNING_CFLAGS since it caused the build to fail
1832 2006-11-26 Ian Rogers <ian.rogers@manchester.ac.uk>
1834 * doc/vmintegration.texinfo: Update VM Threading Model section.
1836 2006-11-26 Tom Tromey <tromey@redhat.com>
1838 * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
1840 (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
1842 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
1843 Conditionally include ifaddrs.h.
1844 (getif_address): Updated conditional.
1845 (getif_index): Likewise.
1846 * configure.ac: Check for ifaddrs.h.
1848 2006-11-25 Mark Wielaard <mark@klomp.org>
1850 * java/io/File.java (list): Return empty list for unreadable dirs.
1852 2006-11-25 Mark Wielaard <mark@klomp.org>
1854 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
1855 Synchronize on font peer.
1856 (setFont): Likewise.
1857 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
1859 (getTextMetrics): Likewise.
1861 2006-11-25 Roman Kennke <kennke@aicas.com>
1863 * javax/swing/text/GapContent.java
1864 (getPositionsInRange): Rewritten to use the more efficient
1865 binary search searchFirst() and avoid an NPE that was caused
1868 2006-11-25 Mark Wielaard <mark@klomp.org>
1870 * javax/swing/text/CompositeView.java (modelToView): Never return
1873 2006-11-25 Mark Wielaard <mark@klomp.org>
1875 * javax/swing/text/html/TableView.java (calculateColumnRequirements):
1876 Check whether rowView instanceof RowView.
1877 (updateGrid): Likewise.
1879 2006-11-25 Mario Torre <neugens@nirvana.limasoftware.net>
1882 * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
1883 * java/text/NumberFormat.java (format): all format methods, fixed
1884 FieldPosition argument should never be null.
1885 (format(Object, StringBuffer, FieldPosition)): fixed signature,
1886 method is not final.
1887 * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
1889 * AUTHORS: added my name to the file.
1891 2006-11-25 Mark Wielaard <mark@klomp.org>
1893 * javax/swing/text/html/StyleSheet.java (paint): Guard against
1894 getChildAllocation() returning null.
1896 2006-11-25 Mark Wielaard <mark@klomp.org>
1898 * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
1899 Use clazzIndex for id substring.
1901 2006-11-25 Mark Wielaard <mark@klomp.org>
1903 * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
1904 it is still running.
1906 2006-11-25 Mark Wielaard <mark@klomp.org>
1909 * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
1912 2006-11-24 Tania Bento <tbento@redhat.com>
1914 * java/awt/font/TextHitInfo.java
1915 (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
1916 (beforeOffset): Decreased first parameter by 1.
1918 2006-11-24 Francis Kung <fkung@redhat.com>
1920 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1921 (constructor): Check sample model when setting fastCM flag.
1922 (updateBufferedImage): Check scanline and sample model offsets before
1923 copying data directly into the image data buffer.
1925 2006-11-24 Francis Kung <fkung@redhat.com>
1927 * gnu/java/awt/java2d/QuadSegment.java
1928 (offsetSubdivided): Handle special straight-line cases.
1930 2006-11-24 Roman Kennke <kennke@aicas.com>
1932 * java/awt/dnd/DropTarget.java
1933 (DropTargetAutoScroller.HYSTERESIS): New constant.
1934 (DropTargetAutoScroller.DELAY): New constant.
1935 (DropTargetAutoScroller.inner): New field. A cached
1937 (DropTargetAutoScroller.outer): New field. A cached
1939 (DropTargetAutoScroller.timer): New field. The actual timer.
1940 (DropTargetAutoScroller.DropTargetAutoScroller):
1942 (DropTargetAutoScroller.actionPerformed): Implemented.
1943 (DropTargetAutoScroller.stop): Implemented.
1944 (DropTargetAutoScroller.updateLocation): Implemented.
1945 (clearAutoscroll): Stop the autoscroller before nullifying it.
1946 (createDropTargetAutoScroller): Don't set the field here,
1947 only return a new instance.
1948 (dragEnter): Only do something when active. Initialize
1950 (dragExit): Only do something when active. Stop auto scrolling.
1951 (dragOver): Only do something when active. Update auto scrolling.
1952 (drop): Only do something when active. Update auto scrolling.
1953 (dropActionChanged): Only do something when active. Update
1955 (initializeAutoScrolling): Check if component is an instance
1956 of Autoscroll, otherwise do nothing.
1957 (setActive): Disable autoscrolling when deactivating.
1958 (setComponent): When component is set to null, disable autoscrolling.
1960 2006-11-24 David Gilbert <david.gilbert@object-refinery.com>
1962 * java/beans/beancontext/BeanContextServicesSupport.java
1963 (getChildBeanContextServicesListener): Implemented.
1965 2006-11-23 Roman Kennke <kennke@aicas.com>
1967 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1968 (createGraphics): Use constructor to create new instance of
1969 BufferedImageGraphics.
1970 * java/awt/Toolkit.java
1971 (getDefaultToolkit): Really try to get a real toolkit. Only
1972 use HeadlessToolkit if no other is available.
1973 * gnu/java/awt/peer/gtk/GtkToolkit.java
1974 (checkHeadless): New helper method. Checks for headless environment
1975 and throws HeadlessException if appropriate.
1976 (createButton): Check for headless.
1977 (createCanvas): Check for headless.
1978 (createCheckbox): Check for headless.
1979 (createCheckboxMenuItem): Check for headless.
1980 (createChoice): Check for headless.
1981 (createDialog): Check for headless.
1982 (createDragGestureRecognizer): Check for headless.
1983 (createDragSourceContextPeer): Check for headless.
1984 (createEmbeddedWindow): Check for headless.
1985 (createFileDialog): Check for headless.
1986 (createFrame): Check for headless.
1987 (createCheckbox): Check for headless.
1988 (createLabel): Check for headless.
1989 (createList): Check for headless.
1990 (createMenu): Check for headless.
1991 (createMenuBar): Check for headless.
1992 (createMenuItem): Check for headless.
1993 (createPanel): Check for headless.
1994 (createPopupMenu): Check for headless.
1995 (createScrollbar): Check for headless.
1996 (createScrollPane): Check for headless.
1997 (createTextArea): Check for headless.
1998 (createTextField): Check for headless.
1999 (createWindow): Check for headless.
2001 2006-11-23 David Gilbert <david.gilbert@object-refinery.com>
2003 * java/beans/beancontext/BeanContextSupport.java
2004 (deserialize): Implemented,
2005 (serialize): Implemented.
2007 2006-11-23 Roman Kennke <kennke@aicas.com>
2009 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
2010 (createGraphics): Try to use Cairo graphics if available.
2012 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
2014 * java/beans/beancontext/BeanContextSupport.java
2015 (toArray): Added API docs,
2016 (toArray(Object[])): Added API docs, removed NotImplementedException.
2018 2006-11-22 Tania Bento <tbento@redhat.com>
2020 * javax/swing/JRootPane.java
2021 (setLayeredPane): Added documentation; throw
2022 IllegalComponentStateException if layered pane parameter is null.
2024 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
2026 * java/beans/beancontext/BeanContextSupport.java
2027 (avoidingGui): Removed NotImplementedException.
2029 2006-11-22 Francis Kung <fkung@redhat.com>
2031 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2032 (drawGlyphVector): Clip updated area to glyph bounds.
2033 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2034 (createPath): Eliminate distortion when pixel-shifting rectangles; separate
2035 x-coordinate and y-coordinate pixel shifting.
2036 (shifted): Removed method.
2037 (shiftX): New method, recognising scaling transforms.
2038 (shiftY): New method, recognising scaling transforms.
2039 (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
2041 2006-11-22 Roman Kennke <kennke@aicas.com>
2043 * java/awt/font/TextLayout.java
2044 (hash): New field. Caches the hash code.
2045 (hashCode): Implemented.
2047 2006-11-22 Roman Kennke <kennke@aicas.com>
2049 * java/awt/image/ImageFilter.java
2050 Reformat whole class.
2051 (getFilterInstance): Don't touch the consumer field. Don't check
2053 (imageComplete): Don't check consumer.
2054 (setColorModel): Don't check consumer.
2055 (setDimensions): Don't check consumer.
2056 (setHints): Don't check consumer.
2057 (setPixels): Don't check consumer.
2058 (setProperties): Pass the original property too.
2059 * java/awt/image/IndexColorModel.java
2060 (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
2061 transparent pixel by calling the new helper method.
2062 (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
2063 transparent pixel by calling the new helper method.
2064 (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
2065 transparent pixel by calling the new helper method.
2066 (coerceData): Removed. This is not needed.
2067 (getAlpha): Simply return value from color map. The transparent
2068 pixel has to be there.
2069 (setTransparentPixel): New helper method. Inserts the transparent
2071 * java/awt/image/RGBImageFilter.java
2072 Reformat whole class.
2073 (convertColorModelToDefault): Removed. No longer needed.
2074 (filterIndexColorModel): Don't handle transparent pixels
2076 (filterRGBPixels): Set pixels on consumer already.
2077 (makeColor): Removed. No longer needed.
2078 * java/awt/image/ReplicateScaleFilter.java
2079 (replicatePixels): Removed.
2080 (setDimension): Correctly compute destination size, avoid double
2082 (setPixels): Avoid double calculations. Fixed some boundary cases.
2083 (setupSources): New helper method.
2084 * java/awt/image/SampleModel.java
2085 (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
2087 * java/awt/image/SinglePixelPackedSampleModel.java
2088 (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
2089 This is not needed as the superclass already copies line
2091 (setDataElements(int,int,Object,DataBuffer)): Simplified code,
2092 removed some checks that the RI also doesn't perform. Call
2093 DataBuffer.setElem().
2095 2006-11-22 Roman Kennke <kennke@aicas.com>
2097 * java/awt/text/TextLayout.java
2098 (getLogicalRangesForVisualSelection): Implemented.
2100 2006-11-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
2102 * sun/reflect/annotation/AnnotationParser.java,
2103 * sun/reflect/annotation/AnnotationType.java,
2104 * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
2105 * sun/reflect/annotation/ExceptionProxy.java:
2107 * sun/misc/ServiceConfigurationError.java,
2108 * sun/misc/Service.java:
2111 2006-11-21 Roman Kennke <kennke@aicas.com>
2113 * java/awt/text/TextLayout.java
2114 (Run.isLeftToRight): New helper method.
2115 (logicalToVisual): New field. Maps logical indices to visual
2117 (visualToLogical): New field. Maps visual indices to logical
2119 (TextLayout): Setup mappings.
2120 (setupMappings): New method for setting up the mappings.
2121 (getCharacterLevel): Reorganized code.
2122 (getNextLeftHit(int)): Implemented.
2123 (getNextLeftHit(int,CaretPolicy)): New method.
2124 (getNextLeftHit(TextHitInfo)): Implemented.
2125 (getNextRightHit(int)): Implemented.
2126 (getNextRightHit(int,CaretPolicy)): New method.
2127 (getNextRightHit(TextHitInfo)): New method.
2128 (getVisualOtherHit): Implemented.
2129 (checkHitInfo): New helper methods for checking parameters.
2130 (hitToCaret): New helper method. Maps hit infos to caret locations.
2131 (caretToHit): New helper method. Maps caret locations to hit infos.
2132 (isCharacterLTR): New helper method.
2133 (CaretPolicy.getStrongCaret): Implemented.
2135 2006-11-21 Francis Kung <fkung@redhat.com>
2137 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2138 (draw): Include stroke width when calculating bounds.
2139 (updateBufferedImage): Round bounds more generously, handle negative
2140 height/width values, and clip more intelligently.
2141 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2142 (createPath): Add shortcut optimization for lines.
2143 (draw): Include stroke width when calculating bounds.
2144 (drawLine): Delegate to main draw() method.
2145 (drawRect): Likewise.
2146 (fillRect): Delegate to main fill() method.
2147 (findStrokedBounds): New method.
2148 (setCustomPaint): Round bounds more generously.
2149 * gnu/java/awt/peer/gtk/ComponentGraphics.java
2150 (drawLine): Removed.
2151 (drawRect): Removed.
2152 (fillRect): Removed.
2154 2006-11-21 Francis Kung <fkung@redhat.com>
2156 * gnu/java/awt/java2d/TexturePaintContext.java
2157 (getRaster): Handle negative coordinate values.
2158 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2159 (setPaint): Moved custom paint processing to a new method.
2160 (setPaintPixels): Added x, y parameters.
2161 (getRealBounds): Added documentation.
2162 (copy): Copy clipping information.
2163 (drawLine): Process custom paints.
2164 (setCustomPaint): New method.
2165 (fill): Process custom paints.
2166 (drawGlyphVector): Process custom paints.
2167 (drawRect): Process custom paints.
2168 (draw): Process custom paints.
2169 * gnu/java/awt/peer/gtk/CairoSurface.java
2170 (cairoCM_opaque): New constant.
2171 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2172 (argb32): Removed constant.
2173 (rgb32): Removed constant.
2174 (BufferedImageGraphics(BufferedImage)): Updated constant names.
2175 (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
2176 (updateBufferedImage): Transform to device-space before updating.
2177 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
2178 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
2180 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
2181 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
2182 source at designated x, y origin.
2184 2006-11-21 Roman Kennke <kennke@aicas.com>
2186 * java/awt/text/TextLayout.java
2187 (Run): New inner helper class.
2188 (length): New field.
2189 (naturalBounds): New field.
2190 (offset): New field.
2191 (runIndices): Removed. This is now encapsulate in a Run object.
2192 (runs): Changed to Run[].
2193 (string): Changed to char[].
2194 (totalAdvance): New field. Caches advance value.
2195 (TextLayout(String,Font,FontRenderContext)): Change to store
2196 string as char[] and run layout as Run[]. Clean out empty
2198 (TextLayout(TextLayout,int,int)): Change to store
2199 string as char[] and run layout as Run[].
2200 (clone): Call private constructor for maximum efficiency.
2201 (determineWhitespace): Adapted to use char[] data.
2202 (draw): Adapted to use Run objects.
2203 (getAdvance): Cache computed total advance.
2204 (getBlackBoxBounds): Adapted to use Run objects.
2205 (getCaretInfo): Use natural layout bounds.
2206 (getCharacterCount): Return length field.
2207 (getLogicalHighlightShape): Adapted to use Run objects.
2208 (getNaturalBounds): New helper method. Calculates and returns the
2209 natural bounds of this text layout.
2210 (getOutline): Adapted to use Run objects.
2211 (getStringProperties): Adapted to use char[] data.
2212 (getVisibleAdvance): Adapted to use char[] and Run data.
2213 (handleJustify): Adapted to use char[] and Run data.
2214 (hitTestChar(float,float,Rectangle2D)): Implemented.
2215 (hitTestChar(float,float)): Use natural bounds.
2216 (setCharIndices): Adapted to use char[] and Run data.
2217 (toString): Adapted to use char[] and Run data.
2218 * java/text/Bidi.java
2219 (requiresBidi): Exclude paragraph separators from bidi-triggers.
2221 2006-11-21 Roman Kennke <kennke@aicas.com>
2223 * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
2224 Removed. This is now an inner class in GdkFontPeer.
2225 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2226 (drawString(float,float)): Use text layout cache from
2228 (getFontMetrics): Delegate to GdkFontPeer.
2229 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2230 (getGlyphCodes): Also check array size.
2231 (getGlyphPositions): Also check array size.
2232 * gnu/java/awt/peer/gtk/GdkFontPeer.java
2233 (GdkFontLineMetrics.fm): Removed.
2234 (GdkFontLineMetrics.strikeThroughOffset): Removed.
2235 (GdkFontLineMetrics.strikeThroughThickness): Removed.
2236 (GdkFontLineMetrics.underlineOffset): Removed.
2237 (GdkFontLineMetrics.underlineThickness): Removed.
2238 (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
2239 FontMetrics argument. Don't init removed fields.
2240 (GdkFontLineMetrics.getAscent): Return font peer's field.
2241 (GdkFontLineMetrics.getDescent): Return font peer's field.
2242 (GdkFontLineMetrics.getHeight): Return font peer's field.
2243 (GdkFontLineMetrics.getLeading): Return font peer's field.
2244 (GdkFontLineMetrics.getNumChars): Reformat.
2245 (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
2246 (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
2247 (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
2248 (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
2249 (GdkFontMetrics): Moved class in here as inner class.
2250 Make it use the font peer's fields and for the char(s) width
2251 and string width method, use TextLayout to measure the actual widths.
2252 (ascent): New field.
2254 (DEFAULT_CTX): New constant field.
2255 (descent): New field.
2256 (FONT_METRICS_ASCENT): New constant.
2257 (FONT_METRICS_DESCENT): New constant.
2258 (FONT_METRICS_HEIGHT): New constant.
2259 (FONT_METRICS_MAX_ADVANCE): New constant.
2260 (FONT_METRICS_MAX_ASCENT): New constant.
2261 (FONT_METRICS_MAX_DESCENT): New constant.
2262 (FONT_METRICS_UNDERLINE_OFFSET): New constant.
2263 (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
2264 (height): New field.
2265 (maxAdvance): New field.
2266 (maxAscent): New field.
2267 (maxDescent): New field.
2268 (metrics): New field. Stores a FontMetrics for this font.
2269 (textLayoutCache): New field. Caches TextLayout instances.
2270 (underlineOffset): New field.
2271 (underlineThickness): New field.
2272 (cinit): Don't initialize resource bundle.
2273 (GdkFontPeer): Setup the metrics.
2274 (getFontMetrics): Return stored metrics if possible.
2275 (getLineMetrics): Adapt to new constructor.
2276 (initFont): New helper method.
2277 (setupMetrics): New helper method.
2278 * gnu/java/awt/peer/gtk/GtkToolkit.java
2279 (LRUCache): Made class a static class.
2280 (getFontMetrics): Delegate to GdkFontPeer.
2281 * native/jni/gtk-peer/gdkfont.h
2282 Added new constant defines.
2283 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2284 (getFontMetrics): Rewritten to fetch the font metrics from
2287 2006-11-20 Tania Bento <tbento@redhat.com>
2289 * javax/swing/ButtonGroup.java:
2290 (setSelected): Select the ButtonModel if all conditions
2293 2006-11-20 Tania Bento <tbento@redhat.com>
2295 * javax/swing/JSlider.java:
2296 (updateLabelUIs): Removed casting.
2298 2006-11-20 Mark Wielaard <mark@klomp.org>
2300 * gnu/java/util/regex/RE.java (messages): Don't initialize.
2301 (bundle): New static final String field.
2302 (getLocalizedMessage): Initialize messages when still null.
2303 * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
2304 (set): Use RE.getLocalizedMessage().
2306 (setLineSeparator): Likewise.
2308 2006-11-20 Roman Kennke <kennke@aicas.com>
2310 * javax/swing/text/html/StyleSheet.java
2311 (linked): New field.
2312 (styleSheet): Replaced by linked.
2313 (addStyleSheet): Use an arraylist for simplicity.
2314 (getRule): Removed useless instantiation.
2315 (getStyleSheets): Convert array list to array.
2316 (removeStyleSheet): Use an arraylist for simplicity.
2317 (resolveStyle): Include styles from linked lists.
2319 2006-11-20 Roman Kennke <kennke@aicas.com>
2321 * javax/swing/text/BoxView.java
2322 (BoxView): Initialize with invalid req's.
2323 (forwardUpdate): Trigger repaint when children changed the
2325 (getResizeWeight): Return resizable when the pref differs from
2326 the min or the pref differs from the max size.
2327 (layoutMajorAxis): Actually sum up the preferred sizes.
2328 (paint): Made binary search more robust.
2329 (replace): Let arrays shrink when needed.
2330 (replaceLayoutArray): Let arrays shrink when needed.
2331 (setAxis): Trigger preferenceChanged.
2332 * javax/swing/text/CompositeView.java
2333 (getInsideAllocation): Call insets method to take account
2334 of overriding subclasses.
2335 * javax/swing/text/DefaultStyledDocument.java
2336 (ElementBuffer.finishEdit): Clear the stack and edits buffer.
2337 (ElementBuffer.insertUpdate): Only remove the found element, not
2339 * javax/swing/text/GlyphView.java
2340 (insertUpdate): Pass null in preferenceChanged.
2341 (removeUpdate): Pass null in preferenceChanged.
2342 (changedUpdate): Pass null in preferenceChanged.
2343 * javax/swing/text/Utilities.java
2344 (drawTabbedText): Avoid single calls to charWidth() and instead
2345 call charsWidth() on whole chunks.
2346 * javax/swing/text/html/HTMLDocument.java
2347 (BlockElement.getName): Fall back to super when necessary.
2348 (RunElement.getName): Fall back to super when necessary.
2349 (HTMLReader.MAX_THRESHOLD): New constant field.
2350 (HTMLReader.GROW_THRESHOLD): New constant field.
2351 (HTMLReader.theshold): New field.
2352 (HTMLReader.HTMLReader): Fetch threshold from document.
2353 (HTMLReader.addContent): Sucessivly grow the threshold.
2354 (createLeafElement): Don't create two elemens and don't set
2356 * javax/swing/text/html/TableView.java
2357 (RowView.replace): Invalidate grid.
2358 (gridValid): Made package private.
2359 (layoutMinorAxis): Mark all rows as invalid.
2360 (replace): Invalidate grid.
2362 2006-11-20 Roman Kennke <kennke@aicas.com>
2364 * javax/swing/text/AbstractDocument.java
2365 (DefaultDocumentEvent.changes): Changed to be a HashMap.
2366 (DefaultDocumentEvent.modified): Made private.
2367 (DefaultDocumentEvent.THRESHOLD): New constant field.
2368 (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
2370 (DefaultDocumentEvent.addEdit): Switch to hashmap only when
2371 exceeding threshold.
2372 (DefaultDocumentEvent.getChange): Use iterative approach
2373 when we have no hashmap yet.
2374 (documentCV): Removed.
2375 (numWriters): Renamed from numWritersWaiting.
2376 (createPosition): Reformat.
2377 (getCurrentWriter): Synchronized.
2378 (readLock): Implement more straightforward.
2379 (readUnlock): Implement more straightforward.
2380 (writeLock): Implement more straightforward.
2381 (writeUnlock): Implement more straightforward.
2382 (remove): Write-lock here.
2383 (removeImpl): Don't write-lock here.
2385 2006-11-20 Roman Kennke <kennke@aicas.com>
2387 * javax/swing/JEditorPane.java
2388 (setPage): Set priority on loading thread.
2390 2006-11-20 Roman Kennke <kennke@aicas.com>
2392 * javax/swing/plaf/basic/BasicTextUI.java
2393 (RootView.paint): Avoid allocation.
2394 (cachedInsets): New field. Caches an Insets instance.
2395 (getNextVisualPositionFrom): Read-lock the document to avoid
2396 thread nastiness. Push allocation.
2397 (getPreferredSize): Push fake allocation when not yet laid out.
2398 (getVisibleEditorRect): Use cached insets.
2399 (viewToModel): Read-lock the document to avoid
2400 thread nastiness. Push allocation.
2402 2006-11-20 Roman Kennke <kennke@aicas.com>
2404 * javax/swing/text/StyleContext.java
2405 (attributeSetPool): Synchronize this map.
2406 (addAttribute): Synchronize this method.
2407 (addAttributes: Synchronize this method.
2408 (readObject): Install synchronized map on target object.
2409 (removeAttribute): Synchronize this method.
2410 (removeAttributes): Synchronize this method.
2411 (removeAttributes): Synchronize this method.
2413 2006-11-20 Roman Kennke <kennke@aicas.com>
2415 * javax/swing/text/GapContent.java
2416 (GapContentPosition.GapContentPosition): Removed constructor.
2417 (Mark): Made subclass of WeakReference to refer directly to
2418 the associated position.
2419 (Mark.refCount): Removed.
2420 (Mark.Mark(int,GapContentPosition,ReferenceQueue):
2421 New constructor. Used to reference a position and register the
2423 (Mark.Mark(index)): Call super and don't adjust mark offset.
2424 (Mark.compareTo): Removed.
2425 (Mark.equals): Removed.
2426 (Mark.getOffset): Return at least null. Removed assert.
2427 (Mark.getPosition): New helper method.
2428 (garbageMarks): New field.
2429 (positions): Removed.
2430 (searchMark): New field.
2431 (GapContent): Removed init of positions map.
2432 (addImpl): New helper method.
2433 (adjustPositionsInRange): Removed.
2434 (compare): New helper method.
2435 (createPosition): Rewritten for new datastructures. This now
2436 performs a much more efficient binary search for finding
2437 a position at the requested offste.
2438 (garbageCollect): Rewritten to collect unused marks.
2439 (getPositionsInRange): Adjusted for new data structures.
2440 (removeImpl): New helper method.
2441 (replace): Use new addImpl() and removeImpl() helper method for
2442 correctly adjusting the positions and gap.
2443 (search): Rewritten. Implements a more suitable binary search.
2444 (searchFirst): New helper method.
2445 (setPositionsInRange): Removed.
2446 (shiftEnd): Update the marks here.
2447 (shiftGap): Update the marks here.
2448 (shiftGapEndUp): Update the marks here.
2449 (shiftGapStartDown): Update the marks here.
2451 2006-11-20 Marco Trudel <mtrudel@gmx.ch>
2453 * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2454 digest algorithm implementations.
2455 (readSignatures): Parse the manifest once and reuse that data.
2456 Add support for line breaks.
2457 (verifyHashes): Use the parsed manifest entry.
2458 (readManifestEntry): Removed.
2460 2006-11-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
2462 * java/beans/beancontext/BeanContextServicesSupport.java:
2463 Added more documentation.
2464 (addService(Class,BeanContextServiceProvider,boolean)):
2465 Synchronized over global hierarchy lock.
2466 (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2467 (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2468 (childJustRemovedHook(Object,BCSChild)): Implemented.
2469 (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2471 (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2472 Added revocation-only listeners.
2473 (getBeanContextServicesPeer()): Implemented.
2474 (getCurrentServiceClasses(Class)): Synchronized over global
2476 (getCurrentServiceSelectors(Class)): Synchronized over global
2477 hierarchy lock, and fixed FIXME.
2478 (getService(BeanContextChild,Object,Class,Object,
2479 BeanContextServiceRevokedListener)): Implemented.
2480 (hasService(Class)): Synchronized over global hierarchy lock.
2481 (releaseService(BeanContextChild,Object,Object)): Implemented.
2482 (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2483 * java/beans/beancontext/BeanContextSupport.java:
2484 (remove(Object, boolean)): Documentation correction.
2486 2006-11-19 Roman Kennke <kennke@aicas.com>
2488 * javax/swing/JEditorPane.java
2489 (PageStream): New inner class.
2490 (PageLoader): New inner class.
2491 (loading): New field.
2492 (setPage): Implemented asynchronous loading.
2493 * javax/swing/text/DefaultStyledDocument.java
2494 (ElementBuffer.create): New helper method.
2495 (create): Use new ElementBuffer method instead of hack.
2496 * javax/swing/text/html/HTMLDocument.java
2497 (HTMLReader.flushImpl): New helper method.
2498 (HTMLReader.addContent): Use flushImpl().
2499 (HTMLReader.blockClose): Added null check.
2500 (HTMLReader.flush): Use flushImpl().
2501 * javax/swing/text/html/HTMLEditorKit.java
2502 (createDefaultDocument): Set load priority to 4 and token threshold
2504 * javax/swing/text/html/TableView.java
2505 (insertUpdate): Overridden to provide correct view factory.
2506 (removeUpdate): Overridden to provide correct view factory.
2507 (changedUpdate): Overridden to provide correct view factory.
2509 2006-11-19 Roman Kennke <kennke@aicas.com>
2511 * javax/swing/text/BoxView.java
2512 (clipRect): New field.
2513 (tmpRect): New field.
2514 (layout): Reorganized code. Now uses layoutAxis() helper method.
2515 (layoutAxis): New helper method.
2516 (paint): Optimized by using cached Rectangle objects and
2517 a binary search for child views inside the clip.
2518 * javax/swing/text/CompositeView.java
2519 (insideAllocation): Made private and initialized in constructor.
2520 (getInsideAllocation): Removed initialization block for
2521 insideAllocation field. Avoid unnecessary allocations.
2522 * javax/swing/text/GlyphView.java
2523 (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2524 The remaining stuff (background, underline and striking) is
2525 done in the GlpyhView itself. Avoid unnecessary allocations.
2526 (cached): A cached Segment instance.
2527 (getText): Return cached segment.
2528 (paint): Paint underline, strike and background here. Avoid
2531 2006-11-19 Roman Kennke <kennke@aicas.com>
2533 * javax/swing/text/html/StyleSheet.java
2534 (getFontSize): Removed debug output.
2535 (ListPainter.tmpRect): New field.
2536 (ListPainter.paint): Align bullet vertically centered to
2537 the first line of the paragraph.
2539 2006-11-17 Roman Kennke <kennke@aicas.com>
2541 * gnu/javax/swing/text/html/css/CSSParser.java
2542 (parseDeclaration): Trim string before reporting.
2543 * gnu/javax/swing/text/html/css/FontSize.java
2545 (isRelative): New field.
2546 (sizeIndex): New field.
2547 (FontSize): Initialize new fields.
2548 (getValue): Changed to call getValue(int).
2549 (getValue(int)): New method. Implements relative font sizes.
2550 (isRelative): New method.
2551 (mapAbsolute): Store index.
2552 (mapEM): New helper method.
2553 (mapLarger): New helper method.
2554 (mapPercent): New helper method.
2555 (mapRelative): New helper method.
2556 (mapSmaller): New helper method.
2557 (mapValue): New helper method.
2558 * javax/swing/text/html/CSS.java
2559 (parseBackgroundShorthand): Create CSSColor directly.
2560 * javax/swing/text/html/StyleSheet.java
2561 (addRule): Invalidate resolved styles.
2562 (getFont): Call new getFontSize() method to resolve relative
2564 (getFontSize): New helper method. Resolves relative font sizes.
2565 (translateHTMLToCSS): Create CSS objects directly.
2567 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2569 * gnu/java/util/regex/RETokenNamedProperty.java:
2570 (getHandler(String)): Add support for 'all'.
2572 2006-11-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
2574 * gnu/javax/management/Server.java:
2575 Initial implementation of a GNU management server.
2576 * javax/management/MBeanPermission.java,
2577 * javax/management/MBeanRegistration.java,
2578 * javax/management/MBeanTrustPermission.java:
2581 2006-11-17 Mark Wielaard <mark@klomp.org>
2583 * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2585 2006-11-17 Gary Benson <gbenson@redhat.com>
2587 * java/net/DatagramSocket.java (getLocalAddress, connect,
2588 receive): Perform security check on address not hostname.
2590 2006-11-16 Roman Kennke <kennke@aicas.com>
2592 * gnu/javax/swing/text/html/parser/support/Parser.java
2593 (_handleText): Fixed condition for consuming whitespace.
2594 Removed validator check, this is superfluous now.
2596 2006-11-16 Roman Kennke <kennke@aicas.com>
2598 * gnu/javax/swing/text/html/css/CSSParser.java
2599 (parseRuleset): Support 'combined' selectors.
2600 (main): Adapt callback for combined selectors support.
2601 * gnu/javax/swing/text/html/css/CSSParserCallback.java
2602 (startStatement): Take selector array as argument, to
2603 support combined selectors.
2604 * javax/swing/text/html/BlockView.java
2605 (calculateMinorAxisRequirements): Fetch and apply alignment.
2606 * javax/swing/text/html/StyleSheet.java
2607 (CSSStyle): Inverted the constants for correct precedence.
2608 (CSSStyleSheetParserCallback.styles): New field. Stores the current
2610 (CSSStyleSheetParserCallback.style): Removed.
2611 (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2612 (CSSStyleSheetParserCallback.end): Push multiple styles.
2613 (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2615 2006-11-16 Roman Kennke <kennke@aicas.com>
2617 * javax/swing/text/FlowView.java
2618 (LogicalView.getPreferredSpan): Calculate maximum correctly.
2619 * javax/swing/text/GlyphView.java
2620 (tabExpander): New field.
2622 (breakView): Set tabX on broken view.
2623 (getPartialSpan): Let the painter fetch the span.
2624 (getTabbedSpan): Update the tab expander field. Maybe trigger
2626 (getTabExpander): Simply return the stored expander.
2627 * javax/swing/text/Utilities.java
2628 (getTabbedTextOffset): Made algoritm a little smarter and more
2630 (getTabbedTextWidth): Don't add single char widths, instead add
2631 chunks of characters.
2632 * javax/swing/text/html/ParagraphView.java
2633 (calculateMinorAxisRequirements): Adjust margin only when the
2634 CSS span is not fixed.
2636 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2638 * java/beans/beancontext/BeanContextSupport.java
2639 (getChildBeanContextMembershipListener): Implemented,
2640 (getChildPropertyChangeListener): Implemented,
2641 (getChildSerializable): Implemented,
2642 (getChildVetoableChangeListener): Implemented,
2643 (getChildVisibility): Implemented,
2644 (setDesignTime): Use same property name as Sun's implementation.
2646 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2648 * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2649 * java/beans/Statement.java
2650 (toString): Updated to match reference implementation.
2652 2006-11-15 Roman Kennke <kennke@aicas.com>
2654 * javax/swing/text/html/HTMLEditorKit.java
2655 (InsertHTMLTextAction.actionPerformed): Also try inserting
2656 the alternate tag. Adjust the selection accordingly.
2657 (InsertHTMLTextAction.adjustSelection): New helper method.
2658 Adjusts the selection after an insertion.
2659 (insertAtBoundary): Delegate to deprecated method.
2660 (insertAtBoundry): Implemented missing method.
2661 (tryInsert): New helper method.
2662 (defaultActions): Implemented to fill the array with
2663 a couple of InsertHTMLTextActions.
2665 2006-11-15 Roman Kennke <kennke@aicas.com>
2667 * javax/swing/text/html/ImageView.java
2668 (Observer): New class. Observes image loading.
2669 (haveHeight): New field.
2670 (haveWidth): New field.
2671 (height): New field.
2674 (imageIcon): New field.
2675 (loading): New field.
2676 (observer): New field.
2677 (reloadImage): New field.
2678 (reloadProperties): New field.
2679 (ImageView): Initialize observer and some flags.
2680 (getImage): Update the image state and return the image.
2681 (loadImage): New helper method. Actually starts loading.
2682 (paint): Rewritten to paint the image directly, not via Icon.
2683 (reloadImage): Rewritten. Loads the image and its properties.
2684 (renderIcon): Removed. No more necessary.
2685 (setPropertiesFromAttributes): Don't nullify image here.
2686 Added comment about missing impl.
2687 (setSize): Added comment about missing impl.
2688 (updateSize): New helper method. Updates the size attributes.
2689 (updateState): New helper method. Makes sure the image
2690 and its properties are valid.
2692 2006-11-15 Roman Kennke <kennke@aicas.com>
2694 * gnu/javax/swing/text/html/parser/support/Parser.java
2695 (_handleEndTag_remaining): Consume whitespace after a closing
2698 2006-11-15 Roman Kennke <kennke@aicas.com>
2700 * javax/swing/text/html/HTMLDocument.java
2701 (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2703 (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2705 (HTMLReader.parseStack): Removed.
2706 (HTMLReader.blockClose): Simply call addContent() with ' '
2707 instead of doing more complicated stuff. Removed parseStack
2709 (HTMLReader.blockOpen): Removed parseStack handling.
2710 (getInsertingReader): Removed parseStack init.
2711 * gnu/javax/swing/text/html/parser/htmlValidator.java
2712 (closeTag): Return true only when the tag actually should be
2714 * gnu/javax/swing/text/html/parser/support/Parser.java
2715 (_handleEndTag): Only actually close the tag when the validator
2718 2006-11-15 Roman Kennke <kennke@aicas.com>
2720 * javax/swing/text/html/CSS.java
2721 (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2723 * javax/swing/text/html/StyleSheet.java
2724 (BoxPainter.bottomPadding): New field.
2725 (BoxPainter.leftPadding): New field.
2726 (BoxPainter.rightPadding): New field.
2727 (BoxPainter.topPadding): New field.
2728 (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2730 (BoxPainter.getInset): Recognize and include the padding.
2731 (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2732 javax/swing/text/html/TableView.java
2733 (RowView.calculateMajorAxisRequirements): Adjust req's for
2735 (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2736 (cellSpacing): New field.
2737 (columnRequirements): Made package private to avoid accessor method.
2738 (calculateMinorAxisRequirements): Include cellSpacing.
2739 (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2740 (layoutMajorAxis): Likewise.
2741 (layoutColumns): Respect cellSpacing.
2742 (setParent): Overridden to fetch the CSS attributes when view gets
2744 (setPropertiesFromAttributes): New method. Fetches the cell
2745 spacing from the CSS attributes.
2747 2006-11-15 Roman Kennke <kennke@aicas.com>
2749 * gnu/javax/swing/text/html/parser/support/Parser.java
2750 (_handleText): Consume whitespace directly before a closing tag.
2751 (restOfTag): Consume whitespace directly after opening.
2752 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2753 (preprocess): Don't perform array boundary checking by
2754 catch AIOOBE, instead check the boundary in loop condition.
2755 * gnu/javax/swing/text/html/parser/support/low/Constants.java
2756 (TAG_CLOSE): New constants. Describes the token pattern for
2759 2006-11-14 Roman Kennke <kennke@aicas.com>
2761 * javax/swing/text/html/ImageView.java
2762 (getPreferredSpan): Use CSS length values.
2763 * javax/swing/text/html/TableView.java
2764 (CellView.calculateMajorAxisRequirements): Overridden to
2765 set the maximum reqs to maximum.
2766 (RowView.getMaximumSize): For the X_AXIS, set the maximum
2768 (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2769 the total column reqs.
2770 (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2771 the total column reqs.
2772 * gnu/javax/swing/text/html/css/CSSColor.java
2773 (convertValue): Catch NumberFormatExceptions for more robustness.
2774 * gnu/javax/swing/text/html/css/FontSize.java
2775 (mapPixels): Actually map px values. Catch NFE for more robustness.
2777 2006-11-14 Roman Kennke <kennke@aicas.com>
2779 * gnu/java/awt/font/autofit/AxisHints.java,
2780 * gnu/java/awt/font/autofit/Constants.java,
2781 * gnu/java/awt/font/autofit/GlyphHints.java,
2782 * nu/java/awt/font/autofit/Latin.java,
2783 * nu/java/awt/font/autofit/LatinAxis.java,
2784 * gnu/java/awt/font/autofit/LatinMetrics.java,
2785 * gnu/java/awt/font/autofit/Scaler.java,
2786 * gnu/java/awt/font/autofit/Script.java,
2787 * gnu/java/awt/font/autofit/ScriptMetrics.java,
2788 * gnu/java/awt/font/autofit/Segment.java,
2789 * gnu/java/awt/font/autofit/Width.java:
2790 New classes. This is some skeleton stuff for the FreeType-alike
2792 * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2793 * gnu/java/awt/font/opentype/OpenTypeFont.java
2794 (unitsPerEm): Made field public.
2795 (getRawGlyphOutline): New method. Fetches the raw outline.
2796 * gnu/java/awt/font/opentype/Scaler.java
2797 (getRawGlyphOutline): New method. Fetches the raw outline.
2798 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2799 (loadGlyph): New method. This is used to load raw outlines.
2800 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2801 (getRawOutline): New method. Fetches the raw outline.
2802 * gnu/java/awt/font/opentype/truetype/Zone.java:
2805 2006-11-14 Roman Kennke <kennke@aicas.com>
2807 * javax/swing/RepaintManager.java
2808 (RepaintManager): Fetch the default state for the double buffering
2809 from a system property gnu.swing.doublebuffering.
2811 2006-11-14 Roman Kennke <kennke@aicas.com>
2813 * javax/swing/plaf/basic/BasicLabelUI.java
2814 (cachedInsets): New field.
2815 (getFontMetrics): New helper method. Fetches the font metrics
2816 from the component or the toolkit.
2817 (getPreferredSize): Use getFontMetrics() helper method for
2818 fetching the font metrics.
2819 (paint): Use getFontMetrics() helper method for
2820 fetching the font metrics. Only paint if icon or text
2821 are != null. Use cached insets.
2822 (paintDisabledText): Don't store/restore color object. The
2823 JComponent painting mechanism takes care of this by calling
2825 (paintEnabledText): Don't store/restore color object. The
2826 JComponent painting mechanism takes care of this by calling
2829 2006-11-14 Roman Kennke <kennke@aicas.com>
2831 * gnu/java/awt/peer/GLightweightPeer.java
2832 (handleEvent): Try to do something reasonable and trigger painting
2833 for the lightweight component.
2834 (getFontMetrics): Fetch and return a font metrics object from
2837 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2839 * gnu/java/util/regex/RETokenNamedProperty.java:
2840 (getHandler(String)): Add support for 'all'.
2842 2006-11-13 Andreas Tobler <a.tobler@schweiz.org>
2844 * AUTHORS: Add myself.
2846 2006-11-13 Thomas Fitzsimmons <fitzsim@redhat.com>
2848 * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
2849 Dalibor Topic. Re-order 'K' section. Remove trailing space from
2850 Roman Kennke's entry.
2852 2006-11-13 Roman Kennke <kennke@aicas.com>
2854 * java/awt/image/IndexColorModel.java
2855 (createCompatibleSampleModel): Implemented missing method.
2857 2006-11-11 Andreas Tobler <a.tobler@schweiz.org>
2859 * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
2860 from big endian systems correctly.
2862 2006-11-11 Roman Kennke <kennke@aicas.com>
2864 * gnu/javax/swing/text/html/css/CSSColor.java
2865 (isValidColor): New helper method. Checks strings if they
2866 form a valid color value.
2867 * gnu/javax/swing/text/html/css/Length.java
2868 (Length): Catch number format exceptions.
2869 * javax/swing/text/html/CSS.java
2870 (addInternal): New method. Checks for shorthand CSS attributes
2872 (parseBackgroundShorthand): New method. Parses the background
2873 shorthand attribute.
2874 * javax/swing/text/html/HTMLDocument.java
2875 (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
2876 (HTMLReader.LinkAction.start): Implemented to load the linked
2878 (HTMLReader.LinkAction.end): Removed. This is not needed.
2879 * javax/swing/text/html/StyleSheet.java
2880 (CSSStyleSheetParserCallback.declaration): Push declaration
2881 through CSS.addInternal() to parse shorthand attributes.
2882 (addCSSAttribute): Push declaration through CSS.addInternal()
2883 to parse shorthand attributes.
2884 (importStyleSheet): Implemented. This adds a stylesheet from
2886 * javax/swing/text/html/TableView.java
2887 (calculateColumnRequirements): Increase column index for
2888 non CellView children to avoid endless loop.
2889 * javax/swing/text/CompositeView.java
2890 (setParent): Comparen with numChildren not with real arraylength.
2892 2006-11-11 David Gilbert <david.gilbert@object-refinery.com>
2894 * java/beans/beancontext/BeanContextSupport.java
2895 (getChildBeanContextChild): Implemented.
2897 2006-11-10 Roman Kennke <kennke@aicas.com>
2899 * javax/swing/text/View.java
2900 (updateLayout): Only repaint when needed.
2902 2006-11-10 David Gilbert <david.gilbert@object-refinery.com>
2904 * java/util/Collections.java
2905 (sort(List)): Minor API doc addition,
2906 (sort(List, Comparator)): Likewise.
2908 2006-11-10 David Fu <fchoong@netbeans.jp>
2910 * javax/swing/text/html/HTMLWriter.java
2911 (traverse): Removed Classpath specific handling of implied
2913 (traverseHtmlFragment): Removed Classpath specific handling of
2916 2006-11-10 Roman Kennke <kennke@aicas.com>
2918 * javax/swing/text/ParagraphView.java
2919 (Row.getMaximumSize): Removed. This method is not necessary.
2920 * javax/swing/text/html/TableView.java
2921 (CellView): Moved attribute init to setPropertiesFromAttributes().
2922 (setPropertiesFromAttributes): Fetch attributes here.
2923 (RowView.RowView): Documented.
2924 (RowView.getMaximumSpan): Overridden to restrict the max span
2926 (RowView.layoutMajorAxis): Correctly layout the spans.
2927 (columnWidths): New field. Stores the width attributes of
2929 (calculateColumnRequirements): Added support for relative
2930 (== percent) width attributes.
2931 (calculateMajorAxisRequirements): Removed.
2932 (calculateMinorAxisRequirements): Removed unnecessary code.
2933 (getMaximumSpan): Overridden to restrict the table's width.
2934 (layoutColumns): Documented. Implement more clever table layout,
2935 i.e. for relative columns etc.
2936 (layoutMinorAxis): Don't mark rows invalid.
2937 (updateGrid): Added docs. Initialize column widths.
2939 2006-11-09 Roman Kennke <kennke@aicas.com>
2941 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
2942 * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
2943 Implement basic headless toolkit.
2944 * java/awt/Toolkit.java
2945 (getDefaultToolkit): Check headless property and create
2946 headless toolkit when true.
2948 2006-11-09 Ingo Proetel <proetel@aicas.com>
2949 2006-11-09 Roman Kennke <kennke@aicas.com>
2951 * gnu/java/awt/peer/swing/SwingButtonPeer.java
2952 (SwingButton.button): New field.
2953 (SwingButton.SwingButton): Added constructor.
2954 (SwingButton.isShowing): Access button field instead of
2955 the surrounding class.
2956 (SwingButton.getParent): Access button field instead of
2957 the surrounding class.
2958 (SwingButtonPeer): Call new SwingButton constructor.
2959 * gnu/java/awt/peer/swing/SwingComponent.java:
2960 Several documentation updates.
2961 * gnu/java/awt/peer/swing/SwingComponentPeer.java
2962 (currentPaintEvents): New field.
2963 (peerFont): New field.
2964 (SwingComponentPeer): Initialize currentPaintEvents fields.
2965 (coalescePaintEvents): Implemented.
2966 (dispose): Unregister peer from heavyweight list of its container.
2967 (getGraphics): Fetch graphics from parent component.
2968 (handleEvent): Discard paint event if its coalesced.
2969 (init): Register component with its container for proper painting.
2970 (paint): Call peerPaint().
2971 (peerPaint): Added argument that indicates if we should update.
2972 Call paint or update on the actual AWT component.
2973 (peerPaintComponent): New method. Paints the peer (Swing) component.
2974 (setFont): Set peerFont field.
2975 * gnu/java/awt/peer/swing/SwingContainerPeer.java
2976 (backbuffer): New field.
2977 (focusOwner): New field.
2978 (heavyweightDescendents): New field.
2979 (SwingContainerPeer): Take Container as argument. Don't call init
2981 (addHeavyweightDescendent): New method.
2982 (getFocusOwner): New helper method.
2983 (getInsets): Delegate to insets().
2984 (handleKeyEvent): Dispatch event to focus owner.
2985 (handleMouseEvent): Dispatch to child component.
2986 (isDoubleBuffering): New helper method.
2987 (peerPaint): Overridden to implement container painting with
2989 (peerPaintChildren): New method. Paints the descendents of this
2991 (removeHeavyweightDescendent): New helper method.
2992 * gnu/java/awt/peer/swing/SwingFramePeer.java
2993 (peerPaint): Removed.
2994 (peerPaintComponent): Overridden to paint the menu bar.
2995 * gnu/java/awt/peer/swing/SwingLabelPeer.java
2996 (SwingLabel.label): New field.
2997 (SwingLabel.SwingLabel): Added constructor with Label argument.
2998 (SwingLabel.getGraphics): Implemented to fetch the graphics from
2999 the actual AWT component.
3000 (SwingLabel.getParent): Implemented to fetch the parent from
3002 (SwingLabel.isShowing): Access the label field.
3003 (SwingLabelPeer): Set alignment from label.
3004 * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
3005 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
3007 * gnu/java/awt/peer/swing/SwingPanelPeer.java:
3008 Don't be a lighweight peer.
3009 (SwingPanelPeer): Call init.
3010 * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
3011 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
3012 (SwingTextField.textField): New field.
3013 (SwingTextField.SwingTextField): New constructor.
3014 (SwingTextField.isShowing): Access field not enclosing class.
3015 (SwingTextField.getGraphics): New method.
3016 (SwingTextField.getParent): New method.
3017 (SwingTextFieldPeer): Call new constructor.
3018 (select): Renamed arguments.
3019 * gnu/java/awt/peer/swing/SwingWindowPeer.java
3020 (SwingWindowPeer): Call init.
3022 2006-11-09 Tania Bento <tbento@redhat.com>
3024 * javax/swing/JLabel.java
3025 (JLabel(Icon)): Changed documentation; Changed text to null.
3026 (JLabel(Icon,int)): Likewise.
3027 (JLabel(text)): Changed documenation.
3028 (JLabel(text,int)): Likewise.
3029 (JLabel(text,Icon,int)): Changed documentation; Throw
3030 IllegalArgumentException if int is not one of LEFT, RIGHT,
3031 CENTER, LEADING or TRAILING.
3033 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3035 * java/beans/beancontext/BeanContextSupport.java
3036 (BeanContextSupport): Use correct dtime default,
3037 (BeanContextSupport(BeanContext)): Likewise,
3038 (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
3040 (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
3041 (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
3043 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3045 * java/beans/beancontext/BeanContextSupport.java
3046 (getBeanContextPeer): Implemented.
3048 2006-11-09 Roman Kennke <kennke@aicas.com>
3050 * javax/swing/text/html/BlockView.java
3051 (cssHeight): Removed.
3052 (cssWidth): Removed.
3053 (cssSpans): New field. Replaces the two fields above.
3054 (BlockView): Allocate cssSpans array.
3055 (layoutMinorAxis): Fetch and use child span, not this view's span.
3056 (setCSSSpan): Adjusted to use cssSpans array.
3057 (setPropertiesFromAttributes): Adjusted to use cssSpans array.
3059 2006-11-09 Roman Kennke <kennke@aicas.com>
3061 * javax/swing/text/html/InlineView.java
3062 (nowrap): New field.
3063 (getBreakWeight): Add support for nowrap.
3064 (setPropertiesFromAttributes): Fetch the nowrap setting.
3066 2006-11-09 Roman Kennke <kennke@aicas.com>
3068 * gnu/javax/swing/text/html/css/CSSParser.java
3069 (parseRuleset): Use new Selector class.
3070 (parseValue): Parse multiple anys, not only one.
3071 (main): Allow stylesheet be specified on the command line.
3072 Use new Selector class.
3073 * gnu/javax/swing/text/html/css/CSSParserCallback.java
3074 (startStatement): Use Selector class.
3075 * gnu/javax/swing/text/html/css/CSSScanner.java
3076 (readName): Actually read a character in the loop to avoid
3078 * gnu/javax/swing/text/html/css/Length.java
3079 (getValue): Only multiply when we have a percentage value.
3080 * gnu/javax/swing/text/html/css/Selector.java:
3081 New class. Provides handling of CSS selectors.
3082 * javax/swing/text/html/StyleSheet.java
3083 (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
3084 (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
3085 (CSSStyle.PREC_NORM): New constant field.
3086 (CSSStyle.PREC_UA): New constant field.
3087 (CSSStyle.PREC_USER_IMPORTANT): New constant field.
3088 (CSSStyle.precedence): New field.
3089 (CSSStyle.priority): Removed.
3090 (CSSStyle.selector): New field.
3091 (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
3093 (CSSStyle.compareTo): Adjusted to use the precedence and
3094 specificity of the selector.
3095 (CSSStyleSheetParserCallback.precedence): New field.
3096 (CSSStyleSheetParserCallback.selector): Removed.
3097 (CSSStyleSheetParserCallback.style): New field.
3098 (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
3099 Initialize with precedence.
3100 (CSSStyleSheetParserCallback.declaration): Don't look up
3101 existing rule, simply create new one.
3102 (CSSStyleSheetParserCallback.endStatement): Append style
3104 (CSSStyleSheetParserCallback.startStatement): Use new Selector
3106 (css): Changed to be ArrayList.
3107 (addRule): Create parser with author-normal precendence.
3108 (getRule): Fixed implementation.
3109 (loadRules): Create parser with UA precendence.
3110 (resolveStyle): Use Selector class for resolving and matching
3112 (translateHTMLToCSS): Added mappings for a couple of HTML
3115 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3118 * java/beans/SimpleBeanInfo.java
3119 (loadImage): Check for nulls.
3121 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
3123 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3124 (getpeername): Added 16 byte offset to memcpy operation.
3126 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
3128 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3129 (getsockname): Added 16 byte offset to memcpy operation.
3131 2006-11-08 Mark Wielaard <mark@klomp.org>
3134 * java/io/OutputStreamWriter.java
3135 (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
3136 (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
3138 2006-11-08 Roman Kennke <kennke@aicas.com>
3140 * javax/swing/text/html/HTMLEditorKit.java
3141 (getParser): Use plain HTML_401F DTD.
3142 * javax/swing/text/html/HTMLDocument.java
3143 (HTMLReader.print): Removed method and all calls to it.
3144 (HTMLReader.printBuffer): Removed method and all calls to it.
3145 (HTMLReader.inImpliedParagraph): New field.
3146 (HTMLReader.inParagraph): New field.
3147 (HTMLReader.addContent): Create implied p-tag if necessary.
3148 (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
3149 (HTMLReader.blockClose): Close implied p-tag if necessary.
3150 (HTMLReader.blockOpen): Close implied p-tag if necessary.
3151 * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
3153 2006-11-08 Roman Kennke <kennke@aicas.com>
3155 * javax/swing/text/html/HTMLEditorKit.java
3156 (HTMLFactory.create): Removed mapping for TD tag. This
3157 is done in TableView.
3158 * javax/swing/text/html/TableView.java:
3159 Implemented from scratch.
3161 2006-11-07 Roman Kennke <kennke@aicas.com>
3163 * gnu/javax/swing/text/html/parser/support/Parser.java
3164 (_handleText): Check if text content is actually allowed before
3165 passing empty text fragments on to the parser callbacks.
3167 2006-11-07 Mark Wielaard <mark@klomp.org>
3169 * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
3173 2006-11-07 Tania Bento <tbento@redhat.com>
3175 * java/awt/FlowLayout.java
3176 (getSize): If parent does not have a component, then a
3177 different formula is used to calcuate the width.
3179 2006-11-07 Roman Kennke <kennke@aicas.com>
3181 * javax/swing/text/html/HTMLEditorKit.java
3182 (HTMLFactory.create): Include ListView.
3183 * javax/swing/text/html/ListView.java
3184 (paint): Removed comment.
3185 * javax/swing/text/html/StyleSheet.java
3186 (CSSStyle.priority): New field.
3187 (CSSStyle.CSSStyle(int)): New constructor with priority.
3188 (CSSStyle.compareTo): New method. Used for sorting the styles.
3189 (CSSStyleSheetParserCallback.declaration): Store the style
3190 with the complete selector.
3191 (ListPainter.attributes): Renamed as field.
3192 (ListPainter.styleSheet): New field.
3193 (ListPainter.type): New field.
3194 (ListPainter.ListPainter): Pass StyleSheet to constructor.
3195 (ListPainter.paint): Provide simplistic implementation.
3196 (getListPainter): Pass StyleSheet to constructor.
3197 (resolveStyle): Fixed CSS style resolving.
3199 2006-11-07 Roman Kennke <kennke@aicas.com>
3201 * gnu/javax/swing/text/html/css/BorderWidth.java:
3202 New class. Handles CSS border width values.
3203 * gnu/javax/swing/text/html/css/Length.java
3204 (floatValue): Made protected so that BorderWidth can access it.
3205 * javax/swing/text/html/CSS.java
3206 (Attribute.BORDER_BOTTOM_COLOR): New static field.
3207 (Attribute.BORDER_BOTTOM_STYLE): New static field.
3208 (Attribute.BORDER_LEFT_COLOR): New static field.
3209 (Attribute.BORDER_LEFT_STYLE): New static field.
3210 (Attribute.BORDER_RIGHT_COLOR): New static field.
3211 (Attribute.BORDER_RIGHT_STYLE): New static field.
3212 (Attribute.BORDER_TOP_COLOR): New static field.
3213 (Attribute.BORDER_TOP_STYLE): New static field.
3214 (getValue): Added some mappings for the border color and
3215 border width values.
3216 * javax/swing/text/html/CSSBorder.java: New class. Implements
3218 * javax/swing/text/html/StyleSheet.java
3219 (BoxPainter.background): New field.
3220 (BoxPainter.border): New field.
3221 (BoxPainter.bottomInset): Documented.
3222 (BoxPainter.leftInset): Documented.
3223 (BoxPainter.rightInset): Documented.
3224 (BoxPainter.topInset): Documented.
3225 (BoxPainter.BoxPainter): Added support for borders and background.
3226 (BoxPainter.getInset): Add border insets.
3227 (BoxPainter.paint): Implemented. Paints the background and the
3229 (addRule): Be less picky about parse and IO exceptions.
3230 (getBoxPainter): Adjust to new BoxPainter constructor.
3232 2006-11-07 Andreas <a.tobler@schweiz.org>
3234 * examples/Makefile.am: Add rule to install the *.html files we use
3237 2006-11-06 Francis Kung <fkung@redhat.com>
3239 * gnu/java/awt/peer/gtk/ComponentGraphics.java
3240 (fillRect): Handle custom composites.
3241 (drawRenderedImage): Handle custom composites.
3242 (drawImage): Handle custom composites.
3243 (createBuffer): New method.
3244 (drawLine): Handle custom composites.
3245 (drawComposite): New method.
3246 (fill): Handle custom composites.
3247 (getNativeCM): New method.
3248 (drawGlyphVector): Handle custom composites.
3249 (drawRect): Handle custom composites.
3250 (draw): Handle custom composites.
3251 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3252 (drawComposite): Unset composite during draw call, to prevent parent
3253 from handling composite again.
3254 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3255 (getBufferCM): Added comments.
3256 (getNativeCM): Made abstract.
3257 (setComposite): Removed comments.
3259 2006-11-06 Roman Kennke <kennke@aicas.com>
3261 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3262 Fixed initial window size and start document.
3264 2006-11-06 Roman Kennke <kennke@aicas.com>
3266 * javax/swing/text/html/HTMLDocument.java
3267 (HTMLReader.addSpecialElement): Removed comment about
3269 (HTMLReader.handleComment): Create SimpleAttributeSet instead
3270 of htmlAttributeSet.
3271 * javax/swing/text/html/parser/DocumentParser.java
3272 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3273 of htmlAttributeSet.
3274 * javax/swing/text/html/parser/ParserDelegator.java
3275 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3276 of htmlAttributeSet.
3277 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
3278 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3279 of htmlAttributeSet.
3280 * gnu/javax/swing/text/html/parser/support/Parser.java
3281 (getAttributes): Return a SimpleAttributeSet.
3282 (restOfTag): Don't set resolving parent here.
3284 2006-11-06 Tania Bento <tbento@redhat.com>
3286 * java/awt/TextComponent.java
3287 (setSelectionStart): Added check.
3289 2006-11-06 Tania Bento <tbento@redhat.com>
3291 * java/awt/TextField.java
3292 (minimumSize(int)): Check if minimum size has been previously
3293 set and changed values of Dimension returned if peer == null.
3294 (preferredSize(int)): Check if preferred size has been previously
3295 set and changed values of Dimension returned if peer == null.
3297 2006-11-06 Roman Kennke <kennke@aicas.com>
3299 * javax/swing/JTree.java
3300 (TreeModelHandler.treeNodesRemoved): Implemented.
3301 (TreeModelHandler.treeStructureChanged): Implemented.
3302 (nodeStates): Made package private.
3304 2006-11-06 Francis Kung <fkung@redhat.com>
3307 * javax/swing/JTree.java
3308 (clearSelectionPathStates): New private method to clean up nodeStates.
3309 (removeSelectionPath): Call clearSelectionPathStates().
3310 (removeSelectionPaths): Call clearSelectionPathStates().
3311 (removeSelectionRow): Call clearSelectionPathStates().
3312 (setSelectionPath): Call clearSelectionPathStates().
3313 (setSelectionPaths): Call clearSelectionPathStates().
3314 (setSelectionRow): Call clearSelectionPathStates().
3316 2006-11-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
3319 * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
3321 2006-11-06 Roman Kennke <kennke@aicas.com>
3323 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3324 Changed to implement a minimalistic browser.
3325 * examples/gnu/classpath/examples/swing/forms.html,
3326 * examples/gnu/classpath/examples/swing/textstyles.html,
3327 * examples/gnu/classpath/examples/swing/welcome.html:
3328 Some example content.
3330 2006-11-06 Roman Kennke <kennke@aicas.com>
3332 * javax/swing/text/ComponentView.java
3333 (setParent): Lock the document and repaint the hosting
3335 * javax/swing/text/FlowView.java
3336 (FlowStrategy.createView): Removed comment.
3337 (FlowView): Initialize span with Short.MAX_VALUE.
3338 (getFlowStart): Return 0 unconditionally.
3339 (layout): Moved code around to make it more readable.
3340 (loadChildren): Always set the parent.
3341 * javax/swing/text/GlyphView.java
3342 (DefaultGlyphPainter.fontMetrics): New field.
3343 (DefaultGlyphPainter.getAscent): Use new helper method to
3344 synchronize the font metrics.
3345 (DefaultGlyphPainter.getBoundedPosition): Use new helper method
3346 to synchronize the font metrics.
3347 (DefaultGlyphPainter.getDescent): Use new helper method to
3348 synchronize the font metrics.
3349 (DefaultGlyphPainter.getHeight): Use new helper method to
3350 synchronize the font metrics.
3351 (DefaultGlyphPainter.getSpan): Use new helper method to
3352 synchronize the font metrics.
3353 (DefaultGlyphPainter.modelToView): Use new helper method to
3354 synchronize the font metrics.
3355 (DefaultGlyphPainter.updateFontMetrics): New helper method for
3356 font metrics caching.
3357 (DefaultGlyphPainter.viewToModel): Use new helper method to
3358 synchronize the font metrics. Fixed view to model mapping.
3359 * javax/swing/text/View.java
3360 (removeAll): Pass null to replace().
3361 (setParent): Only reparent children that have this view as parent.
3363 2006-11-05 Mark Wielaard <mark@klomp.org>
3365 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3366 * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
3367 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3369 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
3371 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
3372 Remove gnu_java_nio_channels_FileChannelImpl.c.
3374 2006-11-03 Roman Kennke <kennke@aicas.com>
3376 * javax/swing/text/html/BlockView.java
3377 (attributes): New field.
3378 (cssHeight): New field.
3379 (cssWidth): New field.
3380 (painter): New field.
3381 (calculateMajorAxisRequirements): Overridden to account for
3383 (calculateMinorAxisRequirements): Overridden to account for
3385 (layoutMinorAxis): Overridden to account for CSS settings.
3386 (changedUpdate): Formatting fixlet.
3387 (constrainSize): New helper method.
3388 (getAlignment): Fix alignment.
3389 (getAttributes): Cache attributes for better performance.
3390 (getStyleSheet): Fetch stylesheet from document rather than creating
3392 (paint): Remove comment.
3393 (setCSSSpan): New helper method.
3394 (setPropertiesFromAttributes): Implemented to fetch the
3395 recognized properties.
3396 * javax/swing/text/html/CSS.java
3397 (getValue): Added mapping for width and height attributes.
3398 * javax/swing/text/html/InlineView.java
3399 (longestWord): New field.
3400 (getLongestWord): New helper method.
3401 (calculateLongestWord): New helper method.
3402 (getMinimumSpan): Overridden to constrain the minimum span by the
3404 * javax/swing/text/html/ParagraphView.java
3405 (cssHeight): New field.
3406 (cssWidth): New field.
3407 (calculateMinorAxisRequirements): Overridden to account for
3409 (setCSSSpan): New helper method.
3410 (setPropertiesFromAttributes): Fetch CSS width and height. Added
3412 * gnu/javax/swing/text/html/css/Length.java
3413 (percentage): New field.
3414 (Length): Determine percentage values.
3415 (getValue(float)): New method for handling percentage values.
3416 (isPercentage): New method.
3418 2006-11-03 Tania Bento <tbento@redhat.com>
3420 * java/awt/TextArea.java
3421 (getMinimumSize): Changed documentation.
3422 (getPreferredSize): Changed documentation.
3423 (getMinimumSize(int,int)): Changed documenation.
3424 (getPreferredSize(int,int)): Changed documenation.
3425 (minimumSize): Changed documentation.
3426 (preferredSize): Changed documenation.
3427 (minimumSize(int,int)): Changed documentation. Checked if
3428 minimum size had been previously set and changed values of
3429 Dimension returned if peer == null.
3430 (preferredSize(int, int)): Checked if preferred size had been
3431 previously set and changed values of Dimension returned if
3434 2006-11-03 Tania Bento <tbento@redhat.com>
3436 * java/awt/event/ComponentEvent.java
3437 (paramString): Changed format of string representation returned.
3439 2006-11-03 Roman Kennke <kennke@aicas.com>
3441 * javax/swing/text/html/HTMLDocument.java
3442 (HTMLReader.FormAction.start): Added support for textarea.
3443 (HTMLReader.FormAction.end): Added support for textarea.
3444 (HTMLReader.HeadAction.end): Call super to actually close the
3446 (HTMLReader.inTextArea): New field.
3447 (HTMLReader.textAreaDocument): New field.
3448 (HTMLReader.handleText): Call textAreaContent when inside
3450 (HTMLReader.textAreaContent): Implemented to initialize
3451 the text area's model.
3452 * javax/swing/text/html/FormView.java
3453 (createComponent): Added support for textarea tag.
3455 2006-11-03 Roman Kennke <kennke@aicas.com>
3457 * javax/swing/text/html/HTMLDocument.java
3458 (HTMLReader.IsindexAction.start): Implemented.
3460 2006-11-03 Roman Kennke <kennke@aicas.com>
3462 * javax/swing/text/html/StyleSheet.java
3463 (addRule): Implemented.
3464 * javax/swing/text/html/HTMLDocument.java
3465 (HTMLReader.inStyleTag): New field.
3466 (HTMLReader.styles): New field.
3467 (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3469 (HTMLReader.StyleAction.start): Set inStyleTag flag.
3470 (HTMLReader.StyleAction.end): Set inStyleTag flag.
3471 (HTMLReader.handleText): When inside a style tag, add
3472 content to the styles array.
3474 2006-11-02 Roman Kennke <kennke@aicas.com>
3476 * javax/swing/text/html/FormView.java
3477 (maxIsPreferred): New field.
3478 (createComponent): Initialize components correctly.
3479 (getMaximumSpan): Return the preferred span for components
3480 that need this. The maxIsPreferred flag is set accordingly
3482 * javax/swing/text/html/HTMLDocument.java
3483 (HTMLReader.FormAction.start): Implemented to set the
3484 correct model as attribute.
3485 (HTMLReader.FormAction.setModel): New helper method.
3486 (HTMLReader.FormAction.end): Call super to finish the element.
3487 Added TODO about things left to do.
3488 (HTMLReader.handleComment): Use SimpleAttributeSet rather
3489 than htmlAttributeSet.
3490 * javax/swing/text/html/HTMLEditorKit.java
3491 (HTMLFactory.create): Create BlockView for FORM tags.
3492 Create FormView for INPUT, TEXTAREA and SELECT tags.
3494 2006-11-02 David Gilbert <david.gilbert@object-refinery.com>
3496 * java/awt/geom/GeneralPath.java: API doc fixes.
3498 2006-11-02 Roman Kennke <kennke@aicas.com>
3500 * javax/swing/text/html/ImageView.java
3501 (getImageURL): Fetch attribute from element. Consider the
3502 base URL for relative image locations.
3504 2006-11-02 Roman Kennke <kennke@aicas.com>
3506 * javax/swing/JEditorPane.java
3507 (setContentType): Strip off attributes.
3508 * javax/swing/text/html/HTMLEditorKit.java
3509 (LinkController.activateLink(int,JEditorPane,int,int): New
3510 method. Implements activation of a hyperlink.
3511 (LinkController.activateLinke(int,JEditorPane)): Delegate
3512 to the other activateLink() method.
3513 (LinkController.createHyperlinkEvent): New helper method.
3514 (LinkController.mouseClicked): Implemented to activate the link.
3515 (LinkController.mouseDragged): Added comment that this
3516 method does nothing.
3517 (LinkController.mouseMoved): Update cursor for hyperlinks.
3518 (mouseHandler): Renamed field to linkController.
3519 (HTMLEditorKit): Create a link controller.
3520 (clone): Give the clone a new link controller.
3521 (deinstall): De-install link controller as mouseMotionListener too.
3522 (install): Install link controller as mouseMotionListener too.
3524 2006-11-02 Roman Kennke <kennke@aicas.com>
3527 * javax/swing/text/FlowView.java
3528 (FlowStrategy.changedUpdate): Reversed condition. This caused
3529 wrong layout and bad performance.
3530 (FlowStrategy.insertUpdate): Reversed condition. This caused
3531 wrong layout and bad performance.
3532 (FlowStrategy.removeUpdate): Reversed condition. This caused
3533 wrong layout and bad performance.
3534 (LogicalView): Changed to be a subclass of CompositeView.
3535 (LogicalView()): Only take one Element argument.
3536 (LogicalView.childAllocation): New method for implementing
3537 the abstract CompositeView method.
3538 (LogicalView.forwardUpdateToView): Overridden for correct
3540 (getMinimumSpan): Overridden to handle line breaking correctly.
3541 (getPreferredSpan): Implemented to handle line breaking correctly.
3542 (getViewAtPoint): New method for implementing
3543 the abstract CompositeView method.
3544 (getViewIndexAtPosition): Overridden to handle leaf elements
3546 (isAfter): New method for implementing
3547 the abstract CompositeView method.
3548 (isBefore): New method for implementing
3549 the abstract CompositeView method.
3550 (loadChildren): Overridden to handle leaf elements
3552 (paint): New method for implementing
3553 the abstract CompositeView method.
3554 (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3555 (loadChildren): Initialize flow layout by sending a synthetic
3556 insertUpdate() to the layout strategy.
3557 * javax/swing/text/GlyphView.java
3558 (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3559 font metrics if component is not available. Add initial offset
3561 (breakView): Be more clever when breaking the view.
3562 (getBreakLocation): New helper method to determine a good
3564 (getBreakWeight): Be more clever when breaking the view.
3565 (getTabbedSpan): Make sure we have a painter. Use view's
3566 start and end offset rather than the element's.
3567 * javax/swing/text/Utilities.java
3568 (drawTabbedText): Avoid useless add and sub with the y offset.
3570 2006-11-02 Roman Kennke <kennke@aicas.com>
3573 * gnu/java/awt/peer/ClasspathFontPeer.java
3574 (getStringBounds): Removed abstract method. This is replaced
3575 in java.awt.Font to use a TextLayout.
3576 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3577 (GtkWindowPeer): Set a font on the window object.
3578 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3579 (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3580 Changed to take char,int,int instead of String. Filter
3582 (FreetypeGlyphVector(Font,String,FontRenderContext)):
3583 Create char array out of string.
3584 (getLogicalBounds): Don't translate bounds. They already are
3586 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3587 (stringWidth): Filter out control characters.
3588 * gnu/java/awt/peer/gtk/GdkFontPeer.java
3589 (getStringBounds): Removed unneeded method.
3590 (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3592 * gnu/java/awt/peer/qt/QtFontPeer.java
3593 (getStringBounds): Removed unneeded method.
3594 * gnu/java/awt/peer/x/XFontPeer.java
3595 (getStringBounds): Removed unneeded method.
3596 * gnu/java/awt/peer/x/XFontPeer2.java
3597 (getStringBounds): Removed unneeded method.
3598 * java/awt/Font.java
3599 (getStringBounds(char[],int,int,FontRenderContext)):
3600 Use TextLayout to determine the bounds.
3601 (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3602 Delegate to the char[] version of this method.
3603 (getStringBounds(String,FontRenderContext)):
3604 Delegate to the char[] version of this method.
3605 (getStringBounds(String,int,int,FontRenderContext)):
3606 Delegate to the String version of this method.
3608 2006-11-01 Tania Bento <tbento@redhat.com>
3610 * java/awt/ScrollPaneAdjustable.java
3611 (paramString): Changed format of string representation returned.
3612 (paramStringHelper): New private method.
3614 2006-11-01 Tania Bento <tbento@redhat.com>
3616 * java/awt/GridBagLayout.java
3617 (toString): Implemented method.
3619 2006-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3621 * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3622 initialization to NP_Initialize.
3623 (NP_Initialize): Initialize GLib threading.
3625 2006-10-31 Tania Bento <tbento@redhat.com>
3627 * javax/swing/JTextField.java
3628 (fireActionPerformed): When creating the new event, if
3629 actionCommand == null, then getText() is used.
3631 2006-10-31 Francis Kung <fkung@redhat.com>
3633 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3634 (fillArc): Corrected arc type to Arc2D.PIE.
3636 2006-10-31 Roman Kennke <kennke@aicas.com>
3638 * javax/swing/text/html/HTMLDocument.java
3639 (HTMLReader.PreAction.end): Implemented.
3640 (HTMLReader.PreAction.start): Implemented.
3641 (HTMLReader.inPreTag): New field.
3642 (HTMLReader.handleTag): When inside a pre tag, call preContent().
3643 (HTMLReader.preContent): Implemented.
3645 2006-10-31 Tania Bento <tbento@redhat.com>
3647 * javax/swing/JTextField.java
3648 (fireActionPerformed): When creating the new event,
3649 actionCommand should be used as the command, not
3652 2006-10-31 Roman Kennke <kennke@aicas.com>
3654 * javax/swing/text/html/HTMLEditorKit.java
3655 (write): Use HTMLWriter or MinimalHTMLWriter for writing
3656 HTML or Styled documents.
3658 2006-10-31 David Fu <fchoong@netbeans.jp>
3660 * javax/swing/text/html/HTMLWriter.java: New class.
3662 2006-10-30 Roman Kennke <kennke@aicas.com>
3664 * java/awt/dnd/DragSourceContext.java
3665 (dragExit): Use constant fields instead of 0.
3666 (updateCurrentCursor): Completed implementation.
3668 2006-10-30 Roman Kennke <kennke@aicas.com>
3670 * java/awt/dnd/DragGestureRecognizer.java
3671 (resetRecognizer): Added API docs. Do not replace the events object
3672 but rather clear() it. Removed not implemented tag.
3674 2006-10-30 Roman Kennke <kennke@aicas.com>
3676 * java/awt/datatransfer/DataFlavor.java
3677 (writeExternal): Remove not implemented tag.
3679 2006-10-30 Roman Kennke <kennke@aicas.com>
3681 * java/awt/datatransfer/DataFlavor.java
3682 (javaFileListFlavor): Don't explicitly specify class.
3683 (plainTextFlavor): Don't explicitly specify class.
3684 (mimeType): Changed to type MimeType. Remove final.
3685 (representationClass): Remove final.
3686 (DataFlavor): Don't do anything here.
3687 (DataFlavor(Class,String,String)): Removed.
3688 (DataFlavor(Class,String)): Initialize here.
3689 (DataFlavor(String,String,ClassLoader)): Initialize in init().
3690 (DataFlavor(String,String)): Initialize in init().
3691 (DataFlavor(String)): Initialize in init().
3692 (init): New initialization method.
3693 (getMimeType): Delegate to MimeType.toString().
3694 (getParameter(String,String)): Removed. Is now done in MimeType.
3695 (getParameter(String)): Delegate to MimeType.
3696 (getPrimaryType): Delegate to MimeType.
3697 (getRepresentationClassFromMime): Removed.
3698 (getRepresentationClassFromMimeThrows): Removed.
3699 (getSubType): Delegate to MimeType.
3700 (hashCode): Take MimeType.toString() for the hashCode.
3701 (isFlavorRemoveObjectType): Return true only when representation
3702 class is remove and serializable and the mime type is remote.
3703 (isFlavorSerializedObjectType): Return true only when representation
3704 class is serializable and the mime type is serialized.
3705 (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3706 (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3707 (readExternal): Implemented stub method.
3708 (writeExternal): Implemented stub method.
3709 * java/awt/datatransfer/MimeType.java: New helper class.
3711 2006-10-28 Roman Kennke <kennke@aicas.com>
3713 * javax/swing/TransferHandler.java
3714 (importData): Implemented stub method. Added API docs.
3716 2006-10-26 Christian Elias Naur <elias@oddlabs.com>
3718 * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3720 * native/jni/classpath/classpath_jawt.h: Likewise.
3721 * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3722 initializer for surface_info_x11->depth.
3724 2006-10-26 Tania Bento <tbento@redhat.com>
3726 * java/awt/FileDialog.java:
3727 (setFile): Changed if-clause condition.
3729 2006-10-25 Francis Kung <fkung@redhat.com>
3731 * include/gnu_java_nio_VMChannel.h,
3732 * include/java_net_VMNetworkInterface.h,
3733 * include/gnu_java_nio_EpollSelectorImpl.h,
3734 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3735 * include/gnu_java_nio_FileChannelImpl.h,
3736 * include/gnu_java_nio_KqueueSelectorImpl.h,
3737 * include/gnu_java_nio_VMPipe.h,
3738 * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3740 2006-10-25 Tania Bento <tbento@redhat.com>
3742 * java/awt/Dialog.java: Created new private variable
3744 (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3745 Set cursor to default cursor.
3746 (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3748 (generateName): New method.
3749 (getUniqueLong): New private method.
3750 * java/awt/FileDialog.java: Created new private variable
3751 next_file_dialog_number.
3752 (setFile): If file == "", set it to null.
3753 (generateName): New method.
3754 (getUniqueLong): New private method.
3756 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3758 * java/net/MulticastSocket.java:
3759 (setNetworkInterface): Rewritten.
3761 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3763 * native/jni/java-net/javanet.h: Added declaration for
3764 _javanet_create_inetaddress.
3765 * native/jni/java-net/javanet.c:
3766 (_javanet_create_inetaddress): Removed static keyword.
3768 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3770 * gnu/java/net/PlainDatagramSocketImpl.java:
3771 (connect): Use VMChannel instance for connect call.
3772 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3773 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3774 (setOption): Handle multicast options.
3775 (getOption): Handle multicast options.
3776 * gnu/java/net/PlainSocketImpl.java:
3777 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3778 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3779 (setOption): Filter unappropriate options.
3780 (getOption): Filter unappropriate options.
3781 (connect): Use given SocketAddress.
3782 (close): Reset address and port.
3784 * include/Makefile.am: Removed all occurences of
3785 gnu_java_net_VMPlainDatagramSocketImpl.h.
3786 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3787 * native/jni/java-net/Makefile.am: Removed
3788 gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3789 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3791 as SocketException, declare to throw SocketException.
3792 * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3793 for SocketException and ConnectException.
3794 (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3796 (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3798 (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3799 (JCL_thread_interrupted): New function.
3800 (initIDs): Added initialisation for isThreadInterrupted method id.
3801 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
3802 CPNET_IP_TTL to java_sockopt enum.
3803 (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
3804 case, handle SO_LINGER case properly.
3805 (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
3806 case, handle SO_LINGER case properly.
3807 (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
3809 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
3811 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
3813 (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
3815 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
3816 * vm/reference/gnu/java/nio/VMChannel.java:
3817 (connect(int, byte[], int, int)): Declare to throw SocketException.
3818 (connect6): Declare to throw SocketException.
3819 (connect(InetSocketAddress, int)): Catch IOException and rethrow
3820 (isThreadInterrupted): New method.
3821 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
3823 (setTimeToLive): New method.
3824 (getTimeToLive): New method.
3825 (setMulticastInterface(int, InetAddress)): New method.
3826 (setMulticastInterface(int, int, Inet4Address): New method.
3827 (setMulticastInterface6(int, int, Inet6Address): New method.
3828 (setOptions): Handle SO_LINGER case.
3829 (getOptions): Add missing SO_REUSEADDR case.
3830 * java/net/Socket.java:
3831 (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
3832 when exception was thrown out of connect().
3833 (setSoLinger): Replaced instantiations with valueOf calls, replaced
3834 Boolean.FALSE with Integer.valueOf(-1).
3835 * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
3836 * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
3837 * NEWS: Documented VM interface changes.
3839 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3841 * java/net/Inet6Address.java:
3842 (isMulticastAddress): Fixed check.
3844 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3847 * java/net/MulticastSocket.java:
3848 (getNetworkInterface): Return a special NetworkInterface instance
3849 if the socket's multicast interface is set to any.
3851 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3854 * java/net/NetworkInterface.java:
3855 (createAnyInterface): New method.
3856 (equals): Added if-statement to handle case where netif.name is null.
3857 * vm/reference/java/net/VMNetworkInterface.java:
3858 (hashCode): Rewritten.
3859 (VMNetworkInterface): New constructor.
3861 2006-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3863 * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
3864 * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
3865 Add ASM_JAR to bootclasspath.
3867 2006-10-24 Tania Bento <tbento@redhat.com>
3869 * java/awt/Scrollbar.java:
3870 (setLineIncrement): Removed unnecessary if-clause and if
3871 lineIncrement == 0, then it should be set to 1, not 0.
3872 (setPageIncrement): Removed unnecessary if-clause and if
3873 pageIncrement == 0, then it should be set to 1, not 0.
3874 (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
3875 If maximum <= minimum, maximum should be set to mininum + 1. The
3876 actual value of maximum is maximum - visibleAmount, so I made
3877 this change to the appropriate if-check. Remove the two unneccessary
3880 2006-10-23 Francis Kung <fkung@redhat.com>
3882 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3883 (cairoSetFont): New method.
3884 (copy): Set font using setFont method.
3885 (setFont): Call cairoSetFont.
3886 (setup): Set font using setFont method.
3887 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
3888 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
3889 (install_font_peer): Removed.
3890 (cairoDrawGlyphVector): Removed call to install_font_peer.
3891 (cairoSetFont): New method.
3893 2006-10-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3895 * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
3896 * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
3897 NativeEventLoopRunningEvent after GTK main loop start and stop.
3898 * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
3899 (getNextEvent): Set dispatchThread to null.
3900 (postEventImpl): Set nativeLoopRunning.
3901 (pop): Interrupt event dispatch thread.
3902 * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
3904 2006-10-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
3906 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
3908 * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
3911 2006-10-23 Marco Trudel <mtrudel@gmx.ch>
3913 * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
3914 * javax/crypto/CipherOutputStream.java: Re-implemented.
3915 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
3916 (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
3917 decryption mode and check if it is a complete block.
3918 (engineUpdate(byte[], int, int, byte[], int)): Likewise.
3919 (engineDoFinal(byte[], int, int)): In padded decryption mode, take
3920 partially processed data into account.
3922 2006-10-21 Tom Tromey <tromey@redhat.com>
3925 * java/util/AbstractCollection.java (toArray): Removed cast.
3927 2006-10-20 Tom Tromey <tromey@redhat.com>
3929 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
3930 Don't use mangled class name for .h file.
3931 * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
3932 Don't use mangled class name for .c file.
3933 * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
3934 Handle classes from the default package.
3936 2006-10-20 Francis Kung <fkung@redhat.com>
3938 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
3940 2006-10-19 Francis Kung <fkung@redhat.com>
3943 * java/awt/image/BufferedImage.java
3944 (constructor): Updated some properties of default image types.
3945 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3946 (argb32): Updated field to match default in BufferedImage.
3948 2006-10-18 Roman Kennke <kennke@aicas.com>
3951 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3952 (copyArea): Changed size comparison to return when size == 0
3954 * javax/swing/JViewport.java
3955 (paintBackingStore): Check width and height of blitted area
3956 and only do blit if its > 0.
3957 (paintBlit): Check width and height of blitted area
3958 and only do blit if its > 0.
3960 2006-10-18 Roman Kennke <kennke@aicas.com>
3963 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3964 (maximize): New native method.
3965 (unmaximize): New native method.
3966 (iconify): New native method.
3967 (deiconify): New native method.
3968 (getState): Implemented.
3969 (setState): Implemented.
3970 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3971 (oldState): Rename to windowState and made protected, so that
3972 the FramePeer can access it.
3973 (postWindowEvent): Handle state change events more gently and
3975 * java/awt/Frame.java
3976 (getState): Fetch state from getExtendedState().
3977 (setExtendedState): Update the peer. Check if the state change
3978 is actually supported.
3979 (getExtendedState): Update the state from the peer.
3980 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3981 (maximize): New method.
3982 (unmaximize): New method.
3983 (iconify): New method.
3984 (deiconify): New method.
3985 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3986 (AWT_FRAME_NORMAL): New macro.
3987 (AWT_FRAME_ICONIFIED): New macro.
3988 (AWT_FRAME_MAXIMIZED_BOTH): New macro.
3989 (window_window_state_cb): Rewritten to handle window state changes
3990 more gently (mostly on the java side of the world).
3991 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
3993 2006-10-18 Tania Bento <tbento@redhat.com>
3995 * java/awt/CardLayout.java:
3996 (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
3997 its height and width if Container passed as argument is null.
3998 (gotoComponent): Consider the case where the component is not visible.
4000 2006-10-18 Thomas Fitzsimmons <fitzsim@redhat.com>
4002 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
4004 * resource/gnu/classpath/tools/appletviewer/messages.properties:
4006 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
4008 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
4010 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
4012 * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
4013 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
4014 Retrieve user-visible strings through Messages.getString.
4015 * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
4016 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
4018 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
4020 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
4022 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
4024 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
4026 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
4029 2006-10-18 Roman Kennke <kennke@aicas.com>
4031 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4032 (AWT_WINDOW_OPENED): Remove unnecessary macro.
4033 (window_show_cb): Removed unnecessary function.
4034 (connect_signals): Don't connect signal for show. *
4035 gnu/java/awt/peer/gtk/GtkWindowPeer.java
4036 (hasBeenShown): Removed. This is handled in java.awt.Window.
4037 (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
4038 in java.awt.Window. * java/awt/Window.java
4039 (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
4041 2006-10-18 Francis Kung <fkung@redhat.com>
4043 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
4044 (drawRenderedImage): New method.
4045 (drawImage): New method.
4046 (CairoSurfaceGraphics): Set clip.
4047 (createBuffer): New method.
4048 (getBufferCM): New method.
4049 (drawComposite): New method.
4051 (getNativeCM): New method.
4052 (drawGlyphVector): New method.
4054 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4055 (getNativeCM): Reflect renamed field.
4056 * gnu/java/awt/peer/gtk/CairoSurface.java
4057 (cairoCM_pre): Renamed from cairoColorModel.
4058 (cairoColorModel): Set premultiplication to false.
4060 2006-10-18 Roman Kennke <kennke@aicas.com>
4063 * javax/swing/JScrollPane.java
4064 (viewportBorder): Made field private.
4065 (wheelScrollingEnabled): Made field private.
4066 (JScrollPane): Enabled wheel scrolling by default.
4067 * javax/swing/JTree.java
4068 (TreeSelectionRedirector.valueChanged): Don't repaint anything
4070 (getScrollableUnitIncrement): Fixed thinko.
4071 * javax/swing/plaf/basic/BasicScrollBarUI.java
4072 (static scrollByBlock): New static method to avoid code duplication
4073 for the BasicScrollPane wheel scrolling.
4074 (static scrollByUnits): New static method to avoid code duplication
4075 for the BasicScrollPane wheel scrolling.
4076 (scrollByBlock): Delegate to static helper method.
4077 (scrollByUnit): Delegate to static helper method.
4078 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4079 (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
4080 static helper methods to avoid code duplication.
4081 (MouseWheelHandler.bounds): Removed.
4082 (MouseWheelHandler.getValue): Removed.
4083 (MouseWheelHandler.scroll): Removed.
4085 2006-10-18 Roman Kennke <kennke@aicas.com>
4088 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4089 (updateComponent): Don't override this here.
4090 * java/awt/Window.java
4091 (addWindowListener): Ignore null listener. Set newEventsOnly flag.
4092 (addWindowFocusListener): Ignore null listener. Set newEventsOnly
4094 (addWindowStateListener): Ignore null listener. Set newEventsOnly
4097 2006-10-18 Roman Kennke <kennke@aicas.com>
4099 * javax/swing/JEditorPane.java
4100 (getStream): Try to detect and set the content type of the
4103 2006-10-18 Roman Kennke <kennke@aicas.com>
4105 * javax/swing/RepaintManager.java
4106 (RepaintWorkerEvent): Pass full set of params to super.
4107 (RepaintWorker.dispatch): Overridden to allow apps to call this
4109 (addDirtyRegion): Synchronize a little more to protect the
4110 dirtyComponents field and avoid NPEs.
4111 (invokeLater): Pass full set of params to RepaintWorkerEvent
4114 2006-10-18 Roman Kennke <kennke@aicas.com>
4116 * javax/swing/JEditorPane.java
4117 (page): Removed field. The page is now stored in the correct
4119 (getPage): Fetch page URL from document property.
4120 (read): Set the document for this JEditorPane. Use a Reader
4121 for reading in the document.
4122 (setPage): Call getStream() to get the stream from which we read.
4123 Fire property change. Store page in document property.
4125 2006-10-18 Roman Kennke <kennke@aicas.com>
4127 * java/awt/datatransfer/DataFlavor.java
4128 (DataFlavor(String)): Removed check for space in mime string.
4130 2006-10-18 Roman Kennke <kennke@aicas.com>
4132 * java/awt/Container.java
4133 (validateTree): Call ContainerPeer.begin|endLayout() rather than
4134 begin|endValidate().
4135 (validate): Call ContainerPeer.begin|endValidate() here.
4136 Added some local vars to avoid NPEs.
4138 2006-10-18 Roman Kennke <kennke@aicas.com>
4140 * native/target/.cvsignore
4141 * native/target/Linux/.cvsignore
4142 * native/target/generic/.cvsignore:
4143 Added to let CVS ignore the generated Makefile and Makefile.in
4146 2006-10-18 Roman Kennke <kennke@aicas.com>
4149 * java/awt/Window.java
4150 (eventTypeEnabled): Overridden to handle WindowEvents.
4151 (processEvent): Switch between processWindowEvent(),
4152 processWindowFocusEvent() and processWindowStateEvent() here,
4153 rather than simply calling processWindowEvent().
4154 (processWindowEvent): Only dispatch event to listener, do not
4155 switch to processWindowFocusEvent() or processWindowStateEvent()
4157 * javax/swing/JFrame.java
4158 (frameInit): Explicitly enable window and key events here.
4159 (processWindowEvent): Throw out some unnecessary code.
4160 * javax/swing/JWindow.java
4161 (windowInit): Explicitly enable key events here.
4162 * javax/swing/JDialog.java
4163 (close_action): Renamed to closeAction.
4164 (dialogInit): Explicitly enable window events here.
4165 (getDefaultCloseOperation): Renamed close_action to closeAction.
4166 (processWindowEvent): Throw out some unnecessary code.
4167 Renamed close_action to closeAction.
4168 (setDefaultCloseOperation): Renamed close_action to closeAction.
4170 2006-10-17 Thomas Fitzsimmons <fitzsim@redhat.com>
4172 * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
4173 to track native GTK event loop status.
4174 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
4175 clear running flag when native GTK event loop starts and stops.
4177 2006-10-17 Roman Kennke <kennke@aicas.com>
4179 * javax/swing/TransferHandler.java
4180 (exportToClipboard): Implemented.
4182 2006-10-17 Francis Kung <fkung@redhat.com>
4184 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
4185 region to account for pixel-shifting.
4186 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
4189 2006-10-17 Francis Kung <fkung@redhat.com>
4192 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
4193 (getLogicalBounds): Translate individual glyphs before appending bounds.
4194 (getOutline): Translate individual glyphs before appending outline.
4196 2006-10-17 Cameron McCormack <cam@mcc.id.au>
4199 * java/awt/font/TextLayout.java
4201 (constructor): Store bidi in field.
4202 (getCharacterLevel): Implemented.
4204 2006-10-17 Roman Kennke <kennke@aicas.com>
4206 * javax/swing/TransferHandler.java
4207 (PropertyTransferable): New inner class. Handles transfers
4208 from component properties.
4209 (createTransferable): Implemented.
4211 2006-10-17 Francis Kung <fkung@redhat.com>
4213 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4214 (drawComposite): Ensure composite does not extend beyond buffer
4216 * java/awt/image/Raster.java
4217 (createChild): Ensure child does not extend beyond parent's
4219 * java/awt/image/WritableRaster.java
4220 (createWritableChild): Ensure child does not extend beyond
4223 2006-10-17 Jeroen Frijters <jeroen@frijters.net>
4225 * native/jni/classpath/jcl.c
4226 (JNI_OnLoad): Corrected calling convention.
4228 2006-10-16 Roman Kennke <kennke@aicas.com>
4230 * javax/swing/TransferHandler.java
4231 (propertyName): New field.
4232 (TransferHandler(String)): Store property name in field.
4233 (canImport): Implemented stub method.
4234 (exportDone): This is a no-op. Removed not-implemented mark.
4235 (getPropertyDataFlavor): New helper method.
4236 (getPropertyDescriptor): New helper method.
4238 2006-10-16 Roman Kennke <kennke@aicas.com>
4240 * javax/swing/AbstractButton.java
4241 (AccessibleJButton.getAfterIndex): Implemented.
4242 (AccessibleJButton.getAtIndex): Implemented.
4243 (AccessibleJButton.getBeforeIndex): Implemented.
4244 (AccessibleJButton.getCharacterAttribute): Completed incomplete
4245 method implementation.
4247 2006-10-16 Roman Kennke <kennke@aicas.com>
4249 * javax/swing/JLabel.java
4250 (AccessibleJLabel.getIndexAtPoint): Implemented.
4251 (AccessibleJLabel.getCharacterBounds): Implemented.
4252 (AccessibleJLabel.getTextRectangle): New helper method.
4254 2006-10-16 Roman Kennke <kennke@aicas.com>
4256 * javax/swing/filechooser/FileSystemView.java
4257 (getFileSystemView): Mark as implemented.
4259 2006-10-14 Roman Kennke <kennke@aicas.com>
4262 * javax/swing/JComponent.java
4263 (toolTipText): Removed field.
4264 (createToolTip): Don't set tooltip text here. This is done
4265 in the ToolTipManager.
4266 (setToolTipText): Set tooltip text as client property.
4267 (getToolTipText): Get tooltip text from client property.
4268 * javax/swing/ToolTipManager.java
4269 (currentComponent): Made field non-static and of type JComponent.
4270 (currentPoint): Made field non-static.
4271 (currentTip): Made field non-static.
4272 (popup): Made field non-static.
4273 (toolTipText): New field. Stores the current tooltip text.
4274 (checkTipUpdate): New helper method. Checks for updates of
4275 the tooltip text and triggers the appropriate actions.
4276 (getContentPaneDeepestComponent): Removed unneeded casts.
4277 (mouseEntered): Removed unneeded cast. Initially fetch tooltip
4278 text from component.
4279 (mouseMoved): Check for tooltip text updates.
4280 (showTip): Set tooltip text from current setting.
4282 2006-10-14 Roman Kennke <kennke@aicas.com>
4285 * javax/swing/JSlider.java
4286 (setPaintLabels): Call setLabelTable() instead of setting
4287 the field directly. This also updates the label's size.
4289 2006-10-13 Tom Tromey <tromey@redhat.com>
4291 * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
4294 2006-10-13 Tania Bento <tbento@redhat.com>
4296 * java/awt/ScrollPane.java
4297 (setLayout): Should throw AWTError whenever called.
4299 2006-10-13 Roman Kennke <kennke@aicas.com>
4302 * java/awt/Component.java
4303 (dispatchEventImpl): Special handle ComponentReshapeEvents to
4304 update the AWT's knowledge about a component's size.
4305 * gnu/java/awt/ComponentReshapeEvent.java: New class.
4306 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4307 (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
4308 to update the AWT's knowledge about the component bounds.
4310 2006-10-13 Tania Bento <tbento@redhat.com>
4312 * java/awt/ScrollPaneAdjustable.java
4313 (setMaximum): Should throw AWTError whenever called.
4315 (setVisibleAmount): Same.
4317 2006-10-13 Tania Bento <tbento@redhat.com>
4319 * java/awt/ScrollPane.java
4320 (addImpl): When calling super, index should be value passed,
4322 (getIsValidString): New helper method for paramString().
4323 (getScrollbarDisplayString): New helper method for paramString().
4324 (paramString): Changed format of outputted string.
4326 2006-10-13 David Gilbert <david.gilbert@object-refinery.com>
4328 * javax/swing/tree/DefaultTreeSelectionModel.java
4329 (clone): Added cast to TreePath[].
4331 2006-10-13 Roman Kennke <kennke@aicas.com>
4334 * javax/swing/JMenuItem.java
4335 (isDragging): New field. Indicates if we are inside a mouse
4337 (createMenuDragMouseEvent): Removed unneeded method.
4338 (processMenuDragMouseEvent): Track if we are dragging.
4339 (processMouseEvent): Simply forward to processMenuDragMouseEvent().
4340 * javax/swing/plaf/basic/BasicMenuItemUI.java
4341 (MenuDragMouseHandler.menuDragMouseDragged): Fetch
4342 MenuSelectionManager from event.
4343 (MenuDragMouseHandler.menuDragMouseEntered): Fetch
4344 MenuSelectionManager from event.
4345 (MenuDragMouseHandler.menuDragMouseExited): Fetch
4346 MenuSelectionManager from event.
4347 (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
4348 release inside menu item, otherwise clear selection.
4349 (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
4350 and getY(). Call doClick() rather than the doClick() of JMenuItem.
4351 (doClick): Perform an immediate click.
4353 2006-10-13 Thomas Fitzsimmons <fitzsim@redhat.com>
4355 * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
4356 return if object is not in the list.
4358 2006-10-12 Andrew Haley <aph@redhat.com>
4360 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
4361 * java/lang/ThreadLocal.java: Likewise.
4363 2006-10-12 Roman Kennke <kennke@aicas.com>
4366 * javax/swing/JSlider.java
4367 (LabelUIResource): New inner class. A JLabel as UIResource.
4368 (createStandardLabels): Don't set label bounds here.
4369 Create LabelUIResource instances.
4370 (setInverted): Repaint.
4371 (setLabelTable): Update the label UIs. Revalidate and repaint.
4372 (setMajorTickSpacing): Update the label table. Repaint if
4374 (setMinorTickSpacing): Repaint if necessary.
4375 (setOrientation): Revalidate.
4376 (setPaintLabels): Revalidate and repaint.
4377 (setPaintTicks): Revalidate and repaint.
4378 (setPaintTrack): Repaint.
4379 (updateLabelUIs): Set the label sizes here.
4380 (updateUI): Also update the label UIs.
4381 * javax/swing/plaf/basic/BasicSliderUI.java
4382 (ComponentHandler.componentResized): Don't revalidate.
4383 (FocusHandler.focusGained): Don't set field.
4384 (FocusHandler.focusLost): Don't set field.
4385 (PropertyChangeHandler.propertyChange): Calculate geometry
4386 and repaint for a couple more properties.
4387 (TrackListener.mouseReleased): Repaint.
4388 (hasFocus): Removed unneeded field.
4389 (calculateContentRect): No need to check for content size < 0.
4390 (calculateFocusRect): Use insets from insetCache.
4391 (calculateLabelRect): Fixed calculation of label rectangle.
4392 It is relative to the tick rectangle, rather than the content
4394 (calculateTickRect): Small restructuring to avoid unnecessary
4396 (calculateTrackRect): Fixed calculation of track rectangle.
4397 (getMaximumSize): Fixed. Fetch preferred size and set
4398 the height of width to Short.MAX_VALUE.
4399 (getMinimumHorizontalSize): Fixed to return UIManager value.
4400 (getMinimumVerticalSize): Fixed to return UIManager value.
4401 (getPreferredHorizontalSize): Fixed to return UIManager value.
4402 (getPreferredVerticalSize): Fixed to return UIManager value.
4403 (getMinimumSize): Fixed to return the UIManager value plus
4405 (getPreferredSize): Fixed to return the UIManager value plus
4407 (getWidthOfWidestLabel): Restructured for more cleanness and
4409 (hitClip): New helper method.
4410 (paintHorizontalLabel): Replaced by more efficient and clean
4412 (paintVerticalLabel): Replaced by more efficient and clean
4414 (paintLabels): Replaced by more efficient and clean
4416 (paint): Check if rectangles intersect with clip for maximum
4418 (recalculateIfInsetsChanged): Fixed. This method should
4419 recalculate only when the insets changed.
4420 (setThumbLocation): Repaint with a reasonable clip.
4421 (xPositionForValue): Made more clean and efficient.
4422 (yPositionForValue): Made more clean and efficient.
4423 * javax/swing/plaf/basic/BasicLookAndFeel.java
4424 (initComponenDefaults): Added Slider.horizontalSize,
4425 Slider.verticalSize, Slider.minimumHorizontalSize and
4426 Slider.minimumVerticalSize properties.
4427 * javax/swing/plaf/metal/MetalSliderUI.java
4428 (getTickLength): Add 1 for horizontal sliders and 3 for
4430 (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4431 (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4432 (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4433 (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4435 2006-10-12 Roman Kennke <kennke@aicas.com>
4438 * javax/swing/text/FlowView.java
4439 (FlowStrategy.layout): Preserve logical views from getting lost.
4440 (FlowStrategy.layoutRow): Fix line breaking.
4441 (FlowStrategy.adjustRow): Fix line breaking.
4442 (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4443 (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4444 (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4445 (createView): Don't check index.
4446 (contains): New helper method.
4447 (reparent): New helper method.
4448 (layoutDirty): Removed unneeded field.
4449 (FlowView): Removed layoutDirty field init.
4450 (changedUpdate): Removed layoutDirty handling.
4451 (insertUpdate): Removed layoutDirty handling.
4452 (removeUpdate): Removed layoutDirty handling.
4453 (layout): Use isLayoutValid() rather than the layoutDirty field.
4454 * javax/swing/text/GlyphView.java
4455 (startOffset): Removed.
4456 (endOffset): Removed.
4457 (offset): New field.
4458 (length): New field.
4459 (GlyphView): Initialize new fields. Removed old fields.
4460 (createFragment): Create fragment with new relative offsets.
4461 (getEndOffset): Work with new relative offsets.
4462 (getStartOffset): Work with new relative offsets.
4463 * javax/swing/text/ParagraphView.java
4464 (Row.getStartOffset): Overidden to determine the minimum start
4465 offset from the children.
4466 (Row.getEndOffset): Overidden to determine the maximum end
4467 offset from the children.
4468 * javax/swing/text/html/BRView.java
4469 Make subclass of InlineView.
4470 (getBreakWeight): Fall back to super for Y_AXIS.
4472 2006-10-12 Roman Kennke <kennke@aicas.com>
4475 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4476 (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4477 one that avoids faulty state that could cause division by zero
4480 2006-10-12 Roman Kennke <kennke@aicas.com>
4483 * javax/swing/plaf/basic/BasicRadioButtonUI.java
4484 (paint): Determine correct icon. Added support for HTML label.
4485 Added small optimizations.
4486 (getPreferredSize): Only consider the buttons iconTextGap, and
4487 only when the text is not null.
4488 * javax/swing/plaf/basic/BasicLookAndFeel.java
4489 (initComponentDefaults): Fetch border for RadioButton from
4490 BasicButtons.getRadioButtonBorder().
4491 * javax/swing/plaf/metal/MetalRadioButtonUI.java
4492 (paintFocus): Paint focus rectangle one pixel smaller.
4494 2006-10-12 Roman Kennke <kennke@aicas.com>
4497 * javax/swing/tree/AbstractLayoutCache.java
4498 (getNodeDimensions): Don't throw InternalError, but instead
4500 (getRowsForPaths): Check for null here.
4501 (isFixedRowHeight): Returns true when rowHeight > 0.
4502 (setSelectionModel): Set this as the row mapper for the selection
4504 * javax/swing/tree/VariableHeightLayoutCache.java
4505 (NodeRecord.NodeRecord): Initialize bounds field.
4506 (getBounds): Simply return the bounds field.
4507 (row2Node): Changed to be an ArrayList.
4508 (RECT_CACHE): New field. Caches a Rectangle instance.
4509 (countRows): Added y parameter and return value. The method
4510 now takes the current y position as parameter, and returns
4511 the updated y position.
4512 (getBounds): Fixed to return the correct bounds.
4513 (getPathForRow): Replaced by fixed implementation.
4514 (getPreferredHeight): Replaced by more efficient implementation.
4515 This simply fetches the last node record and returns its lower
4517 (getPreferredWidth): Added null check.
4518 (getVisibleChildCount): Added null check.
4519 (getVisiblePathsFrom): Added null check.
4520 (setExpandedState): Also expand the ancestors of the node
4522 (setModel): Set dirty flag rather than updating for real.
4523 (setNodeDimensions): Overridden to set the dirty flag.
4524 (setRowHeight): Overridden to set the dirty flag.
4525 (update): Don't special case the root here, this is done now
4528 2006-10-12 Roman Kennke <kennke@aicas.com>
4530 * javax/swing/JComponent.java
4531 (paintImmediately2): Added support for components which need
4532 to force themselves as paint root.
4533 (isPaintRoot): New method. This should be overridden by components
4534 which need to force themselves as paint root.
4535 * javax/swing/JViewport.java
4536 (isPaintRoot): Overridden to force the viewport as paint root
4537 when running in backingstore mode.
4539 2006-10-12 Roman Kennke <kennke@aicas.com>
4541 * javax/swing/tree/DefaultTreeSelectionModel.java
4542 (PathPlaceHolder): New inner class. Wraps a path and its status
4544 (selectedPaths): New field. A supporting datastructure.
4545 (tmpPaths): New field. A supporting datastructure.
4546 (DefaultTreeSelectionModel): Initialize the list selection model,
4547 the leadIndex and the supporting datastructures.
4548 (addPropertyChangeListener): Create changeSupport object lazily.
4549 (addSelectionPaths): Mostly rewritten to handle the different
4550 selection modes correctly.
4551 (addSelectionPath): Delegate to addSelectionPaths().
4552 (arePathsContiguous): Replaced with more efficient implementation
4554 (canPathBeAdded): Removed unneeded method.
4555 (canPathsBeAdded): Replaced with more efficient implementation.
4556 (clearSelection): Create correct event. Clear the fields correctly,
4557 including the supporting datastructures.
4558 (clone): Also clone the supporting datastructures and nullify
4559 changeSupport field.
4560 (getMaxSelectionRow): Delegate to list selection model.
4561 (getMinSelectionRow): Delegate to list selection model.
4562 (getPath): Removed unneeded method.
4563 (getPropertyChangeListeners): Handle null changeSupport field
4565 (getRow): Handle null rowMapper field correctly.
4566 (getSelectionRows): Handle invisible rows correctly.
4567 (insureRowContinuity): Replaced by more efficient and correct
4569 (isRowSelected): Delegate to list selection model.
4570 (notifyPathChange): Made more efficient by use of PathPlaceHolder
4572 (removePropertyChangeListener): Handle null changeSupport field.
4573 (removeSelectionPaths): Mostly rewritten to handle the different
4574 selection modes correctly.
4575 (removeSelectionPath): Delegate to removeSelectionPaths().
4576 (resetRowSelection): Handle list selection model.
4577 (selectOne): Removed unneeded field.
4578 (setRowMapper): Reset the row selection.
4579 (setSelectionMode): Check for invalid mode and set to
4580 DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4581 (setSelectionPaths): Mostly rewritten to handle the different
4582 selection modes correctly.
4583 (setSelectionPath): Delegate to setSelectionPaths().
4584 (updateLeadIndex): Made more efficient.
4586 2006-10-11 Francis Kung <fkung@redhat.com>
4588 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4589 (buffer, locked): New fields.
4590 (constructors): Initialize new variables.
4591 (createBuffer): New method.
4592 (draw): Implement custom composites.
4593 (drawComposite): New method.
4594 (drawGlyphVector): Implement custom composites.
4595 (drawImage): Implement custom composites.
4596 (drawRenderedImage): Implement custom composites.
4597 (fill): Implement custom composites.
4598 (getBufferCM): New method.
4599 (getNativeCM): New method.
4600 (updateBufferedImage): Fix premultiplication.
4601 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4602 (copy): Copy composite.
4603 (drawImage): Set background properly.
4604 (getBufferCM): New method.
4605 (setComposite): Reset alpha composite when using custom composite.
4606 * gnu/java/awt/peer/gtk/CairoSurface.java
4607 (cairoColorModel): New field.
4608 (nativeColorModel): Renamed.
4609 (constructor): Use renamed createCairoSampleModel method.
4610 (createCairoSampleModel): New method.
4611 (createNativeSampleModel): Renamed.
4612 (getBufferedImage): Use renamed cairoColorModel field.
4613 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4614 (gdkColorModel): New field.
4615 (createGdkSampleModel): New method.
4616 (getPixels): Added comments.
4617 (getSnapshot): Use GDK colour and sample models.
4618 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4619 (createBuffer): Use GDK colour and sample models.
4620 (getNativeCM): Added comments.
4621 * java/awt/image/BufferedImage.java
4622 (constructor): Set premultiplied flag properly.
4624 2006-10-11 Edwin Steiner <edwin.steiner@gmx.net>
4626 * native/jni/java-nio/gnu_java_nio_VMChannel.c
4627 (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4629 2006-10-10 Francis Kung <fkung@redhat.com>
4632 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4633 (createPath): Added isDraw parameter.
4634 (draw): Updated createPath call.
4635 (fill): Updated createPath call.
4637 2006-10-10 Tom Tromey <tromey@redhat.com>
4640 * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4641 there is a stylesheet.
4643 2006-10-10 Roman Kennke <kennke@aicas.com>
4645 * java/awt/Toolkit.java
4646 (getDefaultTookit): Make method synchronized to avoid
4647 accidentally creating more than one toolkits from different
4650 2006-10-10 Roman Kennke <kennke@aicas.com>
4652 * java/awt/LightweightDispatcher.java
4653 (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4654 (redispatch): Transfer the button to the redispatched event.
4656 2006-10-10 Francis Kung <fkung@redhat.com>
4658 * java/awt/image/ColorModel.java (coerceData): Implemented.
4660 2006-10-09 Christian Elias Naur <elias@oddlabs.com>
4662 * vm/reference/java/lang/VMClassLoader.java:
4663 (defineClassWithTransformers): Use proper class name format.
4665 2006-10-09 Gary Benson <gbenson@redhat.com>
4667 * java/net/ServerSocket.java
4668 (implAccept): Add security check.
4669 (accept): Close socket if security check fails.
4670 (setSocketFactory): Add security check and already-set check.
4672 2006-10-09 Roman Kennke <kennke@aicas.com>
4675 * javax/swing/JSplitPane.java
4676 (dividerLocation): New field. Stores the divider location.
4677 (JSplitPane): Initialize dividerLocation with -1.
4678 (addImpl): Removed unneeded local variables.
4679 (getDividerLocation): Manage dividerLocation in the JSplitPane
4680 class, not in the UI.
4681 (setDividerLocation): Manage dividerLocation in the JSplitPane
4682 class, not in the UI. Only call the UI method for notification.
4683 * javax/swing/plaf/basic/BasicSplitPaneUI.java
4684 (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4685 location from the JSplitPane. Honour the minimumSize, but only
4686 if the divider location hasn't been set explicitly.
4687 (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4689 (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4691 (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4692 the divider location.
4693 (dividerLocationSet): New field.
4694 (dividerLocation): Removed field.
4695 (createActionMap): Fetch and set divider location on the JSplitPane.
4696 (getDividerLocation): Return the actual real divider location.
4697 (getMaximumSize): Removed unneeded cast.
4698 (getPreferredSize): Removed unneeded cast.
4699 (getMinimumSize): Removed unneeded cast.
4700 (installUI): Initialize dividerLocationSet with false.
4701 (uninstallUI): Initialize dividerLocationSet with false.
4702 (setDividerLocation): Set dividerLocationSet to true.
4704 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4706 * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4707 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4708 convert jstring into char *.
4709 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4710 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4711 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4712 (getif_address): Added const modifier to second argument.
4713 (getif_index): Dito.
4715 2006-10-09 Roman Kennke <kennke@aicas.com>
4717 * javax/swing/JTree.java
4718 (isSelected): Added API docs.
4720 2006-10-09 Roman Kennke <kennke@aicas.com>
4722 * javax/swing/JTree.java
4723 (isSelected): Delegate to the selection model directly.
4725 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4727 * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4728 sizeof_struct_kevent to _sizeof_struct_kevent.
4730 2006-10-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4732 * tools/gnu/classpath/tools/rmic/RMICException.java:
4733 javadoc corrections, reformatted.
4735 2006-10-07 Christian Elias Naur <elias@oddlabs.com>
4737 * gnu/java/lang/InstrumentationImpl.java:
4738 Made constructor package visible.
4740 2006-10-05 Gary Benson <gbenson@redhat.com>
4742 * java/net/Socket.java
4743 (Socket): Perform security check on address not hostname.
4745 2006-10-04 Roman Kennke <kennke@aicas.com>
4747 * javax/swing/tree/VariableHeightLayoutCache.java
4748 (getBounds): When rect is null, create a new Rectangle.
4750 2006-10-04 Christian Thalinger <twisti@complang.tuwien.ac.at>
4752 * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4753 (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4754 (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4755 (cpnio_select): Use CPNIO_EXPORT.
4756 * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4757 inline instead of extern inline, as newer GCCs changed their
4760 2006-10-04 Gary Benson <gbenson@redhat.com>
4762 * java/net/InetAddress.java: Updated javadoc.
4763 (<clinit>, getByLiteral): Throw InternalError on failures.
4765 2006-10-03 Francis Kung <fkung@redhat.com>
4767 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4768 (compCtx): New field for composite context.
4769 (copy): Copy composite.
4770 (dispose): Dispose of composite context.
4771 (getNativeCM): New method.
4772 (setComposite): Discard old composite context and set up new context.
4773 (setRenderingHints): Update composite context.
4774 * gnu/java/awt/peer/gtk/CairoSurface.java
4775 (nativeColorModel): New field, renamed from nativeModel.
4776 (nativeModel): Renamed field to nativeColorModel.
4777 (CairoSurface(int, int)): Call new method to create sample model.
4778 (createNativeSampleModel): New method.
4779 (getBufferedImage): Updated variable name.
4780 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4781 (buffer): New field.
4782 (createBuffer): New method.
4784 (drawComposite): New method.
4785 (drawGlyphVector): New method.
4786 (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4787 (drawImage(Image, int, int, ImageObserver)): Check composite.
4788 (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4790 (getNativeCM): New method.
4791 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4792 (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use
4793 intermediary pixbuf to grab on-screen pixels.
4795 2006-10-03 Tom Tromey <tromey@redhat.com>
4798 * java/util/IdentityHashMap.java (tombstone): Removed.
4799 (emptyslot): Removed.
4800 (nullslot): New field.
4801 (IdentityHashMap): Don't fill array.
4802 (clear): Fill with null.
4803 (hash): Now final. Use linear probing.
4804 (xform): New method.
4805 (unxform): Likewise.
4806 (removeAtIndex): Likewise.
4807 (clone, containsKey, containsValue, entrySet, get, hashCode,
4808 keySet, put, remove, values): Updated.
4809 (IdentityIterator, IdentityEntry): Likewise.
4810 (writeObject): Likewise.
4812 2006-10-03 Tom Tromey <tromey@redhat.com>
4814 * java/util/Locale.java (hashcode): Updated javadoc.
4815 (hashcodeCache): Removed.
4817 (hashCode): Updated.
4818 (writeObject): New method.
4819 (readObject): Updated.
4821 2006-10-02 Francis Kung <fkung@redhat.com>
4823 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4824 (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
4825 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4826 (clearRect): Paint background colour with AlphaComposite.SRC rule.
4827 (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
4828 pre-multiply data before drawing.
4829 (fillRect): Draw using regular fill() method.
4830 (setComposite): Handle null case with AlphaComposite.SrcOver default.
4831 * gnu/java/awt/peer/gtk/CairoSurface.java
4832 (nativeModel): Use correct value for alpha premultiplication (true).
4833 * java/awt/image/BufferedImage.java
4834 (coerceData): Update isPremultiplied field.
4836 2006-10-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
4838 * gnu/classpath/ListenerData.java:
4839 New class for holding listener data.
4840 * gnu/java/lang/management/MemoryMXBeanImpl.java:
4841 ListenerData class moved to its own file.
4842 * javax/management/MBeanServerDelegate.java,
4843 * javax/management/MBeanServerDelegateMBean.java,
4844 * javax/management/MBeanServerNotification.java:
4847 2006-10-02 Tania Bento <tbento@redhat.com>
4849 * java/ast/Rectangle.java:
4850 (Rectangle(Rectangle)): Do not throw NPE.
4851 (Rectangle(Point, Dimension)): Same.
4852 (Rectangle(Point)): Same.
4853 (Rectangle(Dimension)): Same.
4855 2006-09-29 Casey Marshall <csm@gnu.org>
4858 * gnu/java/nio/EpollSelectionKeyImpl.java: extend
4859 `AbstractSelectionKey.'
4860 (cancel, isValid): removed.
4861 * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
4862 (events): new field.
4863 (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
4865 (<clinit>): initialize those constants.
4866 (<init>): don't initialize `cancelledKeys;' initialize `events.'
4867 (doSelect): deregister cancelled keys; remove keys attached to
4868 closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
4869 `events' buffer; reallocate `events' buffer if needed.
4870 (register): reallocate `events' buffer if needed.
4871 (reallocateBuffer): new method.
4874 2006-09-29 Roman Kennke <kennke@aicas.com>
4877 * javax/swing/JViewport.java
4878 (cinit): Renamed system property to gnu.swing.scrollmode
4879 to avoid bloat. Default to BACKINGSTORE, this is much
4881 (repaint): Forward repaint() to parent as is specified.
4883 2006-09-29 Tania Bento <tbento@redhat.com>
4885 * javax/swing/plaf/basic/BasicTableUI.java
4886 (getPreferredSize): The number of iterations for the for-loop should be
4887 the number of columns in the table's column model, not the number of
4888 columns of the table.
4889 * javax/swing/JTable.java
4890 (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
4891 lines that are not needed.
4892 (initializeLocalVars): dragEnabled should be set to false, not true.
4893 (getCellRenderer): Added a check to prevent an
4894 ArrayIndexOutOfBoundsException.
4895 (doLayout): The number of iterations for the for-loops should be the
4896 number of columns in the table's column model, not the number of columns
4899 2006-09-29 Roman Kennke <kennke@aicas.com>
4901 * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
4903 (isOptimized): Initialize with true.
4904 (paintRaster): Removed unneeded field.
4905 (shapeCache): New static field. Caches certain shapes for reuse.
4906 (computeIntersection): Removed unneeded casts.
4907 (drawArc): Use shape cache.
4908 (drawImage): Removed unneeded statement.
4909 (drawLine): Use shape cache. Pass untranslated coordinates
4911 (drawOval): Use shape cache.
4912 (drawPolygon): Use shape cache.
4913 (drawRect): Overridden to provide accelerated rectangle drawing
4914 if possible and to use the shape cache.
4915 (drawRoundRect): Use shape cache.
4916 (fillArc): Use shape cache.
4917 (fillOval): Use shape cache.
4918 (fillPolygon): Use shape cache.
4919 (fillRect): Pass untranslated coordinates to rawFillRect().
4921 (fillRoundRect): Use shape cache.
4922 (fillScanlineAA): Removed unneeded statement.
4923 (fillScanline): Updated API docs.
4924 (fillShapeAntialias): Removed unnecessary cast.
4925 (fillShapeImpl): Update API docs. Removed unnecessary cast.
4926 (fillShape): Updated API docs.
4927 (getShapeCache): New helper method.
4928 * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
4929 certain shapes for reuse in AbstractGraphics2D.
4931 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4933 * javax/management/BadBinaryOpValueExpException.java:
4934 (getExp()): Implemented.
4935 * javax/management/MBeanConnection.java:
4936 Renamed to MBeanServerConnection.
4937 * javax/management/MBeanServer.java:
4938 (setAttribute(Attribute)): Fixed...
4939 (setAttribute(ObjectName,Attribute)): to this.
4940 * javax/management/MBeanServerConnection.java:
4941 Renamed from MBeanConnection.
4942 * javax/management/QueryExp.java:
4943 Extend Serializable.
4944 * javax/management/ValueExp.java:
4946 * javax/management/loading/ClassLoaderRepository.java:
4947 (loadClass(String)): Throw ClassNotFoundException.
4948 (loadClassBefore(ClassLoader,String)): Likewise.
4949 (loadClassWithout(String, ClassLoader): Fixed...
4950 (loadClassWithout(ClassLoader,String)): to this.
4952 2006-09-28 Roman Kennke <kennke@aicas.com>
4954 * javax/swing/tree/DefaultTreeCellRenderer.java
4955 (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
4956 property from UIManager.
4957 (paint): Rewritten to use super's implementation and only paint
4958 background and focus indicator before.
4959 (paintFocus): New helper method.
4960 (getXOffset): New helper method.
4962 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4964 * javax/management/BadBinaryOpValueExpException.java,
4965 * javax/management/MBeanConnection.java,
4966 * javax/management/MBeanServer.java,
4967 * javax/management/ObjectInstance.java:
4969 * javax/management/ObjectName.java:
4970 (setMBeanServer(MBeanServer)): Implemented.
4971 * javax/management/QueryExp.java,
4972 * javax/management/ValueExp.java,
4973 * javax/management/loading/ClassLoaderRepository.java:
4976 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4978 * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
4980 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4982 * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
4983 * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
4984 * gnu/java/nio/EpollSelectorImpl.java:
4985 (doSelect): Use Integer.valueOf() instead of constructor call.
4986 (register): Use Integer.valueOf() instead of constructor call.
4988 2006-09-27 Roman Kennke <kennke@aicas.com>
4990 * java/awt/Container.java
4991 (addContainerListener): Activate newEventsOnly for the component.
4992 Ignore null listeners.
4994 2006-09-27 Roman Kennke <kennke@aicas.com>
4996 * java/awt/EventQueue.java
4997 (Queue): New inner class. Implements the actual queue.
4998 (LOW_PRIORITY): New constant field.
4999 (NORM_PRIORITY): New constant field.
5000 (queueHead): Removed. Moved into Queue.
5001 (queueTail): Removed. Moved into Queue.
5002 (queues): New field.
5003 (EventQueue): Initialize two internal queues, one for
5004 normal events, one for low priority events.
5005 (getNextEventImpl): New helper method, fetches the next event.
5006 (getNextEvent): Use getNextEventImpl() for fetching the event.
5007 (peekEvent): Use getNextEventImpl() for fetching the event.
5008 (peekEvent(int)): Search for event in all queues.
5009 (postEventImpl(AWTEvent)): Moved actual posting into
5010 postEventImpl(AWTEvent,int). Prioritize events here.
5011 (postEventImpl(AWTEvent,int)): Take priority parameter and insert
5012 event into correct queue. Re-enable event coalescing.
5013 * gnu/java/awt/LowPriorityEvent.java: New marker interface.
5014 * javax/swing/RepaintManager.java
5015 (RepaintWorkerEvent): New internal class. This is a low priority
5016 event for the repaint worker.
5017 (addDirtyRegion): Use new internal invokeLater() for sending
5018 a low priority event.
5019 (addInvalidComponent): Use new internal invokeLater() for sending
5020 a low priority event.
5021 (commitBuffer): Added some null checks.
5022 (invokeLater): New helper method. Sends a low priority
5023 repaint worker event on the event queue.
5025 2006-09-27 Roman Kennke <kennke@aicas.com>
5029 * javax/swing/plaf/basic/BasicButtonUI.java
5030 (cachedInsets): New field.
5031 (installListeners): Fire synthetic property change to initialize
5032 TEXT_LAYOUT_CACHE for the button because the font has been
5034 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5035 (paint): Use cached insets.
5036 (paintText): Let new method forward to old one, not vice versa.
5037 * javax/swing/plaf/basic/BasicMenuItemUI.java
5038 (defaultAcceleratorLabelGap): Removed unused field.
5039 (MenuGap): Removed unused field.
5040 (propertyChangeListener): Made private.
5041 (getAcceleratorRect): Removed unused method.
5042 (getAcceleratorText): Removed unused method.
5043 (getPath): Removed unnecessary cast.
5044 (installListeners): Fire synthetic property change to initialize
5045 TEXT_LAYOUT_CACHE for the button because the font has been
5047 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5048 (layoutMenuItem): Removed unused statements.
5050 2006-09-27 Roman Kennke <kennke@aicas.com>
5053 * javax/swing/tree/DefaultTreeModel.java
5054 (isLeaf): Check if the node allows children when
5055 asksAllowsChildren is true, otherwise fall back
5056 to return the node's leaf property.
5058 2006-09-27 Mario Torre <neugens@limasoftware.net>
5060 * scripts/check_jni_methods.sh: removed methods from the
5062 Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
5063 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
5064 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
5065 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5066 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5067 * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
5068 to better follow the GNU style.
5069 * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
5070 regenerated header file for GConfNativePeer.
5072 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
5074 * INSTALL: Added information about grmic being built when ASM
5075 is available, added information about gconf dependency, indented
5076 Qt4 dependency section.
5077 * configure.ac: Added information about grmic being built when ASM
5080 2006-09-27 Ian Rogers <ian.rogers@manchester.ac.uk>
5082 * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
5083 DeleteGlobalRef on a local ref.
5085 2006-09-24 Mario Torre <neugens@limasoftware.net>
5087 * scripts/check_jni_methods.sh: added two new methods in the
5089 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5091 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5092 * native/jni/gconf-peer/GConfNativePeer.c:
5093 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
5094 refacored method name, renamed from
5095 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
5096 Added code to unescape escaped GConf key names.
5097 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
5098 refacored method name, renamed from
5099 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
5100 Added code to unescape escaped GConf key names.
5101 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
5103 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
5105 * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
5106 version javadoc tag.
5107 (escapeString): new method.
5108 (unescapeString): likewise.
5109 (gconf_escape_key): new native method.
5110 (gconf_unescape_key): likewise.
5111 (gconf_client_suggest_sync): update native method signature, now
5112 explicity throws BackingStoreException.
5113 (gconf_client_all_nodes): update native method signature, now
5114 explicity throws BackingStoreException. Refactored method name,
5115 renamed from gconf_client_gconf_client_all_nodes.
5116 (gconf_client_all_keys): update native method signature, now
5117 explicity throws BackingStoreException. Refactored method name,
5118 renamed from gconf_client_gconf_client_all_keys.
5119 (getKeys): refactored to use the new method name
5120 gconf_client_all_keys.
5121 (getChildrenNodes): refactored to use the new method name
5122 gconf_client_all_nodes.
5123 * gnu/java/util/prefs/GConfBasedPreferences.java: removed
5124 version javadoc tag.
5125 (GConfBasedPreferences): Added code to escape node names from
5126 invalid characters so that GConf now accept invalid node names.
5127 (GConfBasedPreferences): Moved code to register the current
5128 node to the list of nodes watched by GConf outside the constructor.
5129 (childSpi): Added code to register the current node to the
5130 list of nodes watched by GConf.
5131 (getGConfKey): Added code to escape key names from
5132 invalid characters so that GConf now accept invalid key names.
5134 2006-09-26 Tom Tromey <tromey@redhat.com>
5136 * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
5137 call mkdirs in output-directory case.
5138 (getPrintStream): Create output directory.
5139 * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
5142 2006-09-27 Raif S. Naffah <raif@swiftdsl.com.au>
5144 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
5145 Accept three additional arguments.
5146 (writePreambleImpl): New method.
5147 (getPrintStreamImpl): Likewise.
5148 (printClass): Adapted to use new methods in Printer superclass.
5149 * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
5150 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
5151 * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
5152 * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
5154 (getParser): Add support for -o option.
5155 Check that only one of -d or -o is defined.
5156 Add support for -jni option.
5157 Add support for -force option.
5158 (makeOutputFile): New method.
5159 (writeHeaders): Removed File argument from signature.
5160 (run): Take into account newly added fields.
5161 Invoke concrete PrintStream implementations with augmented constructors.
5162 * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
5163 (isDirectory): Likewise.
5165 (wrotePreamble): Likewise.
5166 (Printer): Changed ctor to accept three additional arguments.
5167 (printClass): Changed signature to accept one ClassWrapper argument.
5168 (writePreambleImpl): New abstract method.
5169 (getPrintStreamImpl): Likewise.
5170 (getPrintStream): New method.
5171 (writePreamble): Likewise.
5173 2006-09-26 Tania Bento <tbento@redhat.com>
5175 * java/awt/GridLayout.java
5176 (toString): There is no common before hgap.
5177 * java/awt/Rectangle.java
5178 (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
5179 (Rectangle(Point, Rectangle)): Throw NPE if either Point or
5181 (Rectangle(Point)): Throw NPE if Point is null.
5182 (Rectangle(Dimension)): Throw NPE if Dimension is null.
5184 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
5186 * javax/swing/plaf/metal/MetalIconFactory.java
5187 (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
5188 returned by getShift(),
5189 (FileIcon16.getShift): Updated API docs,
5190 (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
5191 returned by getShift(),
5192 (FolderIcon16.getShift): Updated API docs,
5193 (TreeFolderIcon.getShift): Likewise,
5194 (TreeLeafIcon.getShift): Likewise.
5196 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
5198 * javax/swing/plaf/metal/MetalIconFactory.java
5199 (FileIcon16.paintIcon): Fetch colors from look and feel,
5200 (FolderIcon16.paintIcon): Likewise.
5202 2006-09-25 Casey Marshall <csm@gnu.org>
5204 * gnu/java/nio/FileChannelImpl.java (read): revert back to using
5206 (write): revert back to using `writeGathering.'
5207 * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
5208 the first buffer that has data remaining, and start at that one.
5210 2006-09-25 Tom Tromey <tromey@redhat.com>
5212 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
5215 2006-09-25 Tom Tromey <tromey@redhat.com>
5217 * tools/.cvsignore: Updated.
5219 2006-09-25 Tom Tromey <tromey@redhat.com>
5222 * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
5223 (Encoder.canEncode): Likewise.
5224 (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
5225 * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
5227 (Encoder.canEncode): Likewise.
5228 * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
5230 (Encoder.canEncode): Likewise.
5232 2006-09-25 Tom Tromey <tromey@redhat.com>
5234 * native/fdlibm/mprec.c (mprec_calloc): Renamed.
5237 2006-09-25 Francis Kung <fkung@redhat.com>
5239 * java/awt/image/ColorModel.java
5240 (coerceData): Made abstract.
5241 (coerceDataWorker): New protected method.
5242 * java/awt/image/ComponentColorModel.java
5243 (coerceData): Return new instance of proper ColorModel.
5244 * java/awt/image/DirectColorModel.java
5245 (coerceData): Return new instance of proper ColorModel.
5246 * java/awt/image/IndexColorModel.java
5247 (coerceData): New method.
5249 2006-09-24 Casey Marshall <csm@gnu.org>
5251 * gnu/java/nio/FileChannelImpl.java
5252 (read): call `read' in a loop, don't use `readScattering.'
5253 (write): call `write' in a loop, don't use `writeGathering.'
5255 2006-09-24 Mark Wielaard <mark@klomp.org>
5257 * configure.ac: Move -pedantic from WARNING to STRICT flags.
5259 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5261 * java/nio/channels/spi/AbstractSelectableChannel.java
5262 (register): Set interestOps and attachment when the key already
5265 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5267 * java/net/ServerSocket.java
5268 (bind(SocketAddress,int)): Added support for null address.
5269 Throw proper exception if already bound.
5270 Handle unresolved addresses correctly. Ignore exceptions that
5271 happen during close in error path (to prevent losing the original
5274 2006-09-24 Mark Wielaard <mark@klomp.org>
5276 Suggested by Aaron M. Ucko <ucko@debian.org>
5278 * native/fdlibm/mprec.c (ulp): Define L as int32_t.
5280 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5282 * java/nio/channels/spi/AbstractSelectableChannel.java
5283 (implCloseChannel): Cancel all keys after closing the channel.
5285 2006-09-22 Casey Marshall <csm@gnu.org>
5287 * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
5288 after we delete them.
5289 (selectedKeys): return an empty set if nothing's been selected.
5290 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5291 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
5292 throw an exception on EBADF.
5293 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
5294 throw exception on EINTR, just return 0.
5296 2006-09-22 Casey Marshall <csm@gnu.org>
5298 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5299 remove `const' from `filename.'
5300 * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
5302 * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
5304 2006-09-22 Casey Marshall <csm@gnu.org>
5306 * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
5307 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5308 allocate `filename,' and handle changes to `cpio_readDir.'
5309 * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
5310 available; copy the filename into the destination buffer; return
5311 an error code if readdir returns NULL, but errno is 0.
5312 * native/jni/native-lib/cpio.h (cpio_readDir): change second
5313 parameter to `const char *.'
5315 2006-09-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
5317 * javax/management/ObjectName.java:
5320 2006-09-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5322 * resource/gnu/classpath/tools/orbd: New directory.
5323 * resource/gnu/classpath/tools/rmic: Likewise.
5324 * resource/gnu/classpath/tools/rmid: Likewise.
5325 * resource/gnu/classpath/tools/rmiregistry: Likewise.
5326 * resource/gnu/classpath/tools/tnameserv: Likewise.
5327 * tools/gnu/classpath/tools/giop: Move contents to...
5328 * tools/gnu/classpath/tools/orbd,
5329 tools/gnu/classpath/tools/tnameserv: New directories.
5330 * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
5331 * tools/gnu/classpath/tools/rmic: New directory.
5332 * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
5333 * tools/gnu/classpath/tools/rmid: New directory.
5334 * tools/gnu/classpath/tools/rmi/registry: Move contents to...
5335 * tools/gnu/classpath/tools/rmiregistry: New directory.
5336 * resource/gnu/classpath/tools/orbd/messages.properties: New file.
5337 * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
5338 * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
5339 * resource/gnu/classpath/tools/rmiregistry/messages.properties:
5341 * resource/gnu/classpath/tools/tnameserv/messages.properties:
5343 * tools/gnu/classpath/tools/orbd/Main.java,
5344 tools/gnu/classpath/tools/orbd/Messages.java,
5345 tools/gnu/classpath/tools/orbd/PersistentContext.java,
5346 tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
5347 tools/gnu/classpath/tools/orbd/PersistentMap.java,
5348 tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
5349 tools/gnu/classpath/tools/rmic/CompilationError.java,
5350 tools/gnu/classpath/tools/rmic/Generator.java,
5351 tools/gnu/classpath/tools/rmic/GiopIo.java,
5352 tools/gnu/classpath/tools/rmic/HashFinder.java,
5353 tools/gnu/classpath/tools/rmic/Main.java,
5354 tools/gnu/classpath/tools/rmic/Messages.java,
5355 tools/gnu/classpath/tools/rmic/MethodGenerator.java,
5356 tools/gnu/classpath/tools/rmic/RMICException.java,
5357 tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
5358 tools/gnu/classpath/tools/rmic/RmicBackend.java,
5359 tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
5360 tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
5361 tools/gnu/classpath/tools/rmic/Variables.java,
5362 tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
5363 tools/gnu/classpath/tools/rmic/templates,
5364 tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
5365 tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
5366 tools/gnu/classpath/tools/rmid/Main.java,
5367 tools/gnu/classpath/tools/rmid/Messages.java,
5368 tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
5369 tools/gnu/classpath/tools/rmiregistry/Main.java,
5370 tools/gnu/classpath/tools/rmiregistry/Messages.java,
5371 tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
5372 tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
5373 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
5374 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
5375 tools/gnu/classpath/tools/tnameserv/Main.java,
5376 tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
5377 * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
5378 RMIC.java from cp-tools.
5379 * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
5380 tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
5381 (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
5383 * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
5384 * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
5386 (start): New method.
5387 * tools/Makefile.am: Add build support for new tool wrappers.
5388 * tools/gorbd.in: New file.
5389 * tools/grmic.in: Likewise.
5390 * tools/grmid.in: Likewise.
5391 * tools/grmiregistry.in: Likewise.
5392 * tools/gtnameserv.in: Likewise.
5393 * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
5394 * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
5396 * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
5397 * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
5398 * tools/gnu/classpath/tools/common/Persistent.java: New file.
5400 2006-09-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
5403 * gnu/java/util/regex/RETokenRepeated.java
5404 (findMatch): Rewriten without using recursive calls,
5405 (FindMatchControlStack): New class,
5406 (FindMatchControl): New class,
5407 (TryAnotherResult): New class,
5408 (tryAnother): New method.
5410 2006-09-22 Gary Benson <gbenson@redhat.com>
5412 * java/net/SocketPermission.java
5413 (processHostport): Cope with IPv6 addresses with a
5414 one-digit first component.
5416 2006-09-22 Roman Kennke <kennke@aicas.com>
5418 * java/awt/Component.java
5419 (enableEvents): Set newEventsOnly flag.
5420 * java/awt/Container.java
5421 (dispatchEventImpl): Consume event if lightweight dispatcher
5422 dispatched the event. Don't call processEvent() here, this
5423 is already done in Component.dispatchEventImpl(). For
5424 heavyweights or when the lightweight dispatcher could
5425 not dispatch, fall back to calling super.
5426 (dispatchNoLightweight): New helper method to avoid
5427 recursivly calling the lightweight dispatcher.
5428 * java/awt/LightweightDispatcher.java
5429 (dragButton): Removed field.
5430 (dragTarget): Removed field.
5431 (mouseEventTarget): New field.
5432 (convertPointToChild): Removed method.
5433 (dispatchEvent): Don't depend on component beeing
5435 (findTarget): Improved algorithm for finding a target.
5436 Before we went down to the deepest component and went
5437 up again to find a suitable target. Now we go
5438 down only once, without going up.
5439 (handleMouseEvent): Broke method down into some smaller
5441 (isDragging): New helper method.
5442 (isMouseListening): New helper method.
5443 (redispatch): New helper method.
5444 (trackEnterExit): New helper method.
5446 2006-09-22 David Gilbert <david.gilbert@object-refinery.com>
5448 * javax/swing/SizeSequence.java
5449 (getSize): Return 0 if index is out of bounds.
5451 2006-09-21 Tom Tromey <tromey@redhat.com>
5453 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5454 (PathOptionGroup): Make -I a joined option.
5455 * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5456 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5457 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5458 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5459 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5460 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5461 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5462 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5463 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5464 * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5465 * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5466 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5467 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5468 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5469 * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5470 * tools/gnu/classpath/tools/jar/Main.java: Updated.
5471 * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5472 * tools/gnu/classpath/tools/javah/Main.java: Updated.
5473 * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5474 * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5475 * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5477 * resource/gnu/classpath/tools/common/Messages.properties: New file.
5478 * tools/gnu/classpath/tools/common/Messages.java: New file.
5479 * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5480 * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5482 (ClasspathToolParser): Add -J option here.
5483 (ClasspathToolParser): Call other constructor in this class.
5484 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5485 Handle joined options.
5486 (handleShortOptions): Likewise.
5487 (handleShortOption): Removed.
5488 (finalGroup): New field.
5489 (Parser): Initialize new field. Don't add -J option.
5490 (addFinal): New method.
5491 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5493 * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5494 (Option): Check short option for validity.
5495 (Option): New constructors.
5496 (joined): New field.
5498 2006-09-21 csm <csm@pollux.local>
5500 * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5501 `InterruptedIOException;' try again if it gets thrown.
5502 (receive): likewise, but re-throw `SocketTimeoutException.'
5503 * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5504 if we have nothing to select.
5506 2006-09-21 Francis Kung <fkung@redhat.com>
5508 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5509 (getLogicalBounds): Respect glyph transformations.
5510 (getGlyphOutline): Added null pointer check.
5511 (getGlyphTransform): Do not generate identity transform (API permits null).
5512 (setGlyphPosition): Do not invalidate transform.
5513 (setGlyphTransform): Do not modify glyph position.
5515 2006-09-21 Francis Kung <fkung@redhat.com>
5517 * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5519 2006-09-21 Francis Kung <fkung@redhat.com>
5521 * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5522 * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5523 * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5525 2006-09-21 Tania Bento <tbento@redhat.com>
5527 * javax/swing/JTabbedPane.java:
5528 (insertTab): Notify ChangeListeners if the tab inserted is selected.
5529 (setModel): A ChangeListener should be created only if there does not
5530 currently exist one.
5532 2006-09-21 David Gilbert <david.gilbert@object-refinery.com>
5534 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5535 (MaximizeAction.actionPerformed): Change icon on maxButton.
5537 2006-09-21 Roman Kennke <kennke@aicas.com>
5539 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5540 (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5541 Use more efficient getViewPosition() and getViewSize() methods
5542 to avoid creating a rectangle.
5543 (HSBChangeListener.stateChanged): Update the view position
5544 unconditionally. Let the Viewport figure out if something
5546 (VSBChangeListener.stateChanged): Update the view position
5547 unconditionally. Let the Viewport figure out if something
5549 * javax/swing/JViewport.java
5550 (ViewListener.componentResized): Fire state change, because
5551 the extentSize changes.
5552 (extentSize): Removed unneeded field.
5553 (viewSize): Removed unneeded field.
5554 (getExtentSize): Return the viewport's size here.
5555 (getViewRect): Reformatted.
5556 (getViewSize): Reordered for only one return statement.
5557 (paintImmediately2): Fixed up javadoc.
5558 (paint): Removed unneeded statement.
5559 (setExtentSize): Set viewport size and check for actual change
5561 (setViewPosition): Simplified condition. Set scrollUnderway
5562 true and don't set isViewSizeSet. Avoid creating one Point
5564 (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5566 * javax/swing/JScrollBar.java
5567 (ScrollBarListener): New class. Forwards change events from
5568 the model as adjustment events.
5569 (sbChangeListener): New field.
5570 (JScrollBar): Install listener on new model.
5571 (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5573 (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5574 method to allow custom isAdjusting value.
5575 (setMaximum): Only forward to model.
5576 (setMinimum): Only forward to model.
5577 (setValue): Only forward to model.
5578 (setVisibleAmount): Only forward to model.
5579 (setValues): Only forward to model.
5580 (setModel): Update the change listener.
5582 2006-09-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
5584 * java/util/Formatter.java (basicIntegralConversion): Removed
5585 check for ZERO && !LEFT_JUSTIFY.
5587 2006-09-20 Roman Kennke <kennke@aicas.com>
5590 * javax/swing/plaf/metal/DefaultMetalTheme.java
5591 (PLAIN_CONTROL_TEXT_FONT): New constant field.
5592 (BOLD_CONTROL_TEXT_FONT): New constant field.
5593 (PLAIN_MENU_TEXT_FONT): New constant field.
5594 (BOLD_MENU_TEXT_FONT): New constant field.
5595 (controlTextFont): Removed.
5596 (menuTextFont): Removed.
5597 (CONTROL_TEXT_FONT): New constant field.
5598 (MENU_TEXT_FONT): New constant field.
5599 (getControlTextFont): Use getFont() helper method for fetching
5601 (getMenuTextFont): Use getFont() helper method for fetching
5603 (getFont): New helper method.
5604 (isBoldMetal): New helper method.
5606 2006-09-20 Casey Marshall <csm@gnu.org>
5608 * NEWS: mention epoll selector along with the kqueue one.
5610 2006-09-20 Casey Marshall <csm@gnu.org>
5612 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5613 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5615 2006-09-20 Francis Kung <fkung@redhat.com>
5618 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5619 (getGlyphTransform): Use translation instead of scale.
5620 (performDefaultLayout): Increment position values instead of resetting, and
5621 pre-increment instead of post-increment.
5622 (setGlyphTransform): Handle null case with identity transform.
5624 2006-09-20 Casey Marshall <csm@gnu.org>
5626 * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5627 (AC_CHECK_FUNCS): check for `epoll_create.'
5628 * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5629 * gnu/java/nio/EpollSelectorImpl.java: new file.
5630 * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5632 (openSelector): return epoll selector if requested and available.
5633 * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5634 (gnu_java_nio_EpollSelectorImpl.h): new target.
5635 * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5636 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5637 gnu_java_nio_EpollSelectorImpl.c.
5638 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5640 2006-09-20 Casey Marshall <csm@gnu.org>
5642 * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5644 (isConnected): return false if `connectionPending' is true.
5646 2006-09-20 Francis Kung <fkung@redhat.com>
5649 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5650 (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5651 (getGlyphOutline): Call getGylphTransform to generate transform.
5652 (getGylphPosition): Read position directly out of array.
5653 (getGlyphPositions): Read positions directly out of array.
5654 (getGlyphTransform): Generate transform based on gylphPositions array.
5655 (performDefaultLayout): Populate glyphPositions array instead of transforms.
5656 (setGlyphPosition): Set position directly into array.
5657 (setGlyphTransform): Update positions array as well.
5659 2006-09-20 David Daney <ddaney@avtrex.com>
5662 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Add
5663 default content-type for POST method.
5665 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5667 * javax/swing/plaf/basic/BasicRadioButtonUI.java
5668 (BasicRadioButtonUI): Don't fetch icon here,
5669 (installDefaults): Initialise icon here,
5670 (getDefaultIcon): Just return icon.
5672 2006-09-20 Mark Wielaard <mark@klomp.org>
5674 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5675 Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5676 (EXTRA_DIST): Include javanio.c.
5678 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5680 * java/awt/geom/RoundRectangle2D.java:
5681 (getPathIterator): Reimplemented,
5682 and updated various API doc comments.
5684 2006-09-20 Roman Kennke <kennke@aicas.com>
5686 * java/awt/Container.java
5687 (addImpl): Set the new component's parent after it has been
5688 added to the array. Call addNotify() and invalidate()
5689 after the component has been added, so that the peer
5690 gets to know about the component structure when it is created.
5691 * java/awt/Window.java
5692 (dispatchEventImpl): Only revalidate when window is resized,
5693 let the other stuff be processed by the superclass.
5694 (dispose): Post WINDOW_CLOSED event only when some listener
5695 is registered or event is explicitly enabled.
5696 (show): Post WINDOW_OPENED event when appropriate.
5698 2006-09-20 Roman Kennke <kennke@aicas.com>
5700 * java/awt/Component.java
5701 (addNotify): Invalidate here. Fetch peer font.
5702 (getFont): Delegate to helper method, to protect from
5703 overriding client code. Lock the tree while fetching the font.
5704 (getFontImpl): New helper method. Moved code from getFont() in
5706 (removeNotify): Nullify peerFont too.
5707 (setFont): Synchronize on tree and component to avoid threading
5708 issues. Update the peerFont correctly.
5709 (validate): Update the peer font if necessary, before validating.
5710 (getGraphics): Revert to recursive graphics fetching.
5711 Set component font on the Graphics object.
5712 (translateEvent): Removed unnecessary cast.
5713 * java/awt/Container.java
5714 (invalidateTree): Made final and private. Made implementation
5715 slightly more efficient.
5716 (setFont): Get old and new font via getFont() to account for
5717 the real font, and only invalidate the tree when they are not
5718 the same and not equal.
5719 (visitChild): Set the font of the child on the component graphics.
5720 * java/awt/Frame.java
5721 (setMenuBar): Create local reference of peer for thread safety.
5722 Only call simple invalidate, not invalidateTree().
5724 2006-09-19 Cameron McCormack <cam@mcc.id.au>
5727 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5728 (constructor): Copy image field.
5730 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5732 * javax/swing/JMenuBar.java
5733 (getHelpMenu): Implemented to throw an Error, and added API docs,
5734 (getMargin): Added API docs,
5735 (setMargin): Likewise.
5737 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5739 * javax/swing/AbstractButton.java
5740 (AbstractButton): Don't call updateUI(),
5741 * javax/swing/JButton.java
5742 (JButton(String, Icon)): Call setModel() before init(),
5743 * javax/swing/JMenuItem.java
5744 (JMenuItem()): Delegate to another constructor,
5745 (JMenuItem(Icon)): Likewise,
5746 (JMenuItem(Action)): Set model,
5747 (JMenuItem(String, Icon)): Likewise,
5748 * javax/swing/JToggleButton.java
5749 (init): Call setModel() before init().
5751 2006-09-19 Mark Wielaard <mark@klomp.org>
5754 * java/util/logging/LogManager.java (addLogger): Always check for
5755 existing children of a new Logger.
5757 2006-09-19 Roman Kennke <kennke@aicas.com>
5759 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5760 (HSBChangeListener.stateChanged): Moved handling of header to
5761 syncScrollPaneWithViewport().
5762 (VSBChangeListener.stateChanged): Moved handling of header to
5763 syncScrollPaneWithViewport().
5764 (ViewportChangedHandler.stateChanged): Removed unused statements.
5765 (syncScrollPaneWithViewport): Added null checks. Use setValues
5766 rather then the single setter methods to avoid multiple
5767 adjustments and side effects. Also snyc the headers here.
5768 (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5769 (uninstallUI): Removed unnecessary cast and this qualifier as well
5770 as the call to super.
5772 2006-09-19 Gary Benson <gbenson@redhat.com>
5774 * java/net/ResolverCache.java: New class (a DNS cache).
5775 * java/net/InetAddress.java
5776 (internalGetCanonicalHostName, getAllByName): Use the above.
5778 2006-09-19 Jeroen Frijters <jeroen@frijters.net>
5780 * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5781 * java/net/ServerSocket.java
5783 (bind): Set port field.
5784 (close): Set impl to null.
5785 (isClosed): Check impl and channel instead of using VMChannel.
5786 (toString): Use port field and getLocalPort() method.
5787 * java/net/Socket.java
5788 (isClosed): Check impl and channel instead of using VMChannel.
5790 2006-09-18 Tom Tromey <tromey@redhat.com>
5792 * java/util/concurrent/CopyOnWriteArrayList.java
5793 (CopyOnWriteArrayList): New constructor.
5795 2006-09-18 Casey Marshall <csm@gnu.org>
5797 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5798 (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5800 2006-09-18 Tom Tromey <tromey@redhat.com>
5802 * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
5803 isConnected): Removed old comment.
5804 (getRemoteSocketAddress): Uncommented.
5805 (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
5806 setTrafficClass, getTrafficClass, setReuseAddress,
5807 getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
5808 isOutputShutdown): Uncommented.
5810 2006-09-18 David Pirkle <dpirkle@symyx.com>
5813 * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
5814 input stream during resolution.
5816 2006-09-18 Roman Kennke <kennke@aicas.com>
5818 * java/awt/LightweightDispatcher.java
5819 (findTarget): Correctly translate child coordinates.
5820 Use Component.eventTypeEnabled() for checking if a component
5821 has a certain event enabled.
5822 (handleMouseEvent): Find the correct mouse event target.
5823 Use Component.eventTypeEnabled() for checking if a component
5824 has a certain event enabled.
5826 2006-09-18 Roman Kennke <kennke@aicas.com>
5828 * java/awt/Component.java
5829 (show): Test for the peer beeing lightweight directly.
5830 (paintAll): Validate before painting. Don't paint when not
5831 showing. Call peer.paint() when the component is heavyweight.
5832 (repaint): Delegate to the parent when lightweight, rather
5833 than skipping to the nearest heavyweight.
5834 (createImage): Added null check to prevent NPE.
5835 (dispatchEvent): Moved old event dispatching and toolkit
5836 event dispatching to dispatchEventImpl.
5837 (addComponentListener): Don't enable event. Only add listener
5838 when not null. Switch to new event dispatching only.
5839 (addFocusListener): Likewise.
5840 (addHierarchyListener): Likewise.
5841 (addHierarchyBoundsListener): Likewise.
5842 (addKeyListener): Likewise.
5843 (addMouseListener): Likewise.
5844 (addMouseMotionListener): Likewise.
5845 (addMouseWheelListener): Likewise.
5846 (addInputMethodListener): Likewise.
5847 (coalesceEvents): For mouse events coalesce them only when
5848 their modifiers are equal. For paint events coalesce the events
5849 when one contains the other, without going through complicated
5851 (dispatchEventImpl): Moved old event dispatching and toolkit
5852 event dispatching to dispatchEventImpl.
5853 (coalescePaintEvents): Removed.
5854 (HeavyweightInLightweightListener.componentHidden):
5856 * java/awt/Container.java
5857 (addImpl): Don't enable events on lightweights.
5858 (remove): Reordered operations. Don't remove any listeners.
5859 Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
5860 Only removeNotify() when peer is != null. Only invalidate if
5861 not already invalid. Only fire ContainerEvent if there is
5862 an interested listener or the event is enabled. Dispatch this
5863 event directly without the event queue.
5864 (removeAll): Likewise.
5865 (paintComponents): Only paint when showing. Also paint heavyweights.
5866 Don't paint the container itself.
5867 (removeNotify): Create local variables for improved thread safety.
5868 (addNotifyContainerChildren): Don't enable events for lightweights.
5870 2006-09-18 Roman Kennke <kennke@aicas.com>
5872 * java/awt/EventQueue.java
5873 (INITIAL_QUEUE_DEPTH): Removed obsolete field.
5874 (next_in): Removed obsolete field.
5875 (next_out): Removed obsolete field.
5876 (queueHead): New field. Markes the head of the queue.
5877 (queueTail): New field. Markes the tail of the queue.
5878 (queue): Removed obsolete field.
5879 (EventQueue): Documented empty block.
5880 (getNextEvent): Changed array based implementation to single-linked
5881 list based implementation.
5882 (invokeAndWait): Use an Object as synchronization object rather
5883 than the current thread.
5884 (peekEvent(int)): Changed array based implementation to single-linked
5885 list based implementation.
5886 (peekEvent()): Changed array based implementation to single-linked
5887 list based implementation.
5888 (pop()): Changed array based implementation to single-linked
5889 list based implementation.
5890 (postEvent): Foward to postEventImpl.
5891 (postEventImpl): Changed array based implementation to single-linked
5892 list based implementation.
5893 (push): Changed array based implementation to single-linked
5894 list based implementation.
5895 * java/awt/AWTEvent.java
5896 (queueNext): New field. Implements a single-linked list for
5899 2006-09-17 Mark Wielaard <mark@klomp.org>
5901 * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
5902 resource from HTMLEditorKit.class.
5904 2006-09-17 Mark Wielaard <mark@klomp.org>
5906 * javax/swing/plaf/basic/BasicToolBarUI.java
5907 (setBorderToNonRollover): Check whether border is null.
5908 (setBorderToRollover): Likewise.
5910 2006-09-17 Mark Wielaard <mark@klomp.org>
5912 * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
5914 2006-09-17 Mark Wielaard <mark@klomp.org>
5916 * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
5917 * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
5918 * native/jni/java-nio/gnu_java_nio_VMChannel.c
5919 (Java_gnu_java_nio_VMChannel_lock): Likewise.
5920 (Java_gnu_java_nio_VMChannel_unlock): Likewise.
5922 2006-09-17 Casey Marshall <csm@gnu.org>
5924 * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
5927 2006-09-17 Chris Burdess <dog@gnu.org>
5929 Fixes PR 27610 27687.
5930 * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
5931 * gnu/xml/transform/SAXTemplatesHandler.java,
5932 * gnu/xml/transform/SAXTransformerHandler.java: New files.
5933 * gnu/xml/transform/TransformerFactoryImpl.java: Implement
5934 SAXTransformerFactory.
5936 2006-09-16 Casey Marshall <csm@gnu.org>
5939 * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
5940 (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
5942 (HAVE_INET6): define if IPv6 is supported.
5943 * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
5944 (native_fd): removed.
5946 (<init>): throw IOException; initialize fields.
5947 (finalize): removed.
5948 (getNativeFD): removed.
5949 (bind): use `PlainSocketImpl.bind.'
5950 (create): use `PlainSocketImpl.initSocket.'
5951 (disconnect): use `PlainSocketImpl.disconnect.'
5952 (getLocalPort): new method.
5953 (send): use `VMChannel.send.'
5954 (receive): use `VMChannel.receive.'
5955 (setOption): use `PlainSocketImpl.setOption.'
5956 (getOption): use `PlainSocketImpl.getOption.'
5957 (close): use `VMChannel.State.close.'
5958 (join): use `PlainSocketImpl.join.'
5959 (leave): use `PlainSocketImpl.leave.'
5960 (joinGroup, leaveGroup): implemented.
5961 * gnu/java/net/PlainSocketImpl.java: make non-final.
5962 (native_fd): removed.
5964 (channel): new field.
5965 (<init>): initialize `impl.'
5966 (finalize, getNativeFD): removed.
5967 (setOption): use `PlainSocketImpl.setOption.'
5968 (getOption): use `PlainSocketImpl.getOption.'
5969 (shutdownInput): use `PlainSocketImpl.shutdownInput.'
5970 (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
5971 (create): create `channel,' initialize `impl's native state.
5972 (connect): use `connect(SocketAddress, int).'
5973 (connect): use `SocketChannelImpl.connect;' initialize `address'
5975 (bind): use `VMPlainSocketImpl.bind.'
5976 (listen): use `VMPlainSocketImpl.listen.'
5977 (accept): use `SocketChannelImpl.accept.'
5978 (available): use `VMChannel.available.'
5979 (close): use `PlainSocketImpl.close.'
5980 (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
5981 (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
5982 getPort): new methods.
5983 (SocketInputStream.read): use `VMChannel.read.'
5984 (SocketInputStream.read): use `SocketChannel.read.'
5985 (SocketOutputStream.write): use `VMChannel.write.'
5986 (SocketOutputStream.write): use `SocketChannel.write.'
5987 * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
5988 (channel): new field.
5989 (<init>): initialize `channel.'
5990 (implCloseSelectableChannel): use `VMChannel.close.'
5991 (implConfigureBlocking): use `VMChannel.setBlocking.'
5992 (connect): use `VMChannel.connect.'
5993 (disconnect): use `VMChannel.disconnect.'
5994 (isConnected): use `VMChannel.getPeerAddress.'
5995 (write): use `VMChannel.write.'
5996 (write): use `VMChannel.writeGathering.'
5997 (read): use `VMChannel.read.'
5998 (read): use `VMChannel.readScattering.'
5999 (receive): use `VMChannel.receive.'
6000 (send): use `VMChannel.send.'
6001 (getVMChannel): new method.
6002 * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
6003 access native FD through VMChannel.State.
6004 * gnu/java/nio/FileChannelImpl.java: moved from
6005 gnu/java/nio/channels/FileChannelImpl.java.
6006 * gnu/java/nio/FileLockImpl.java: fix imports.
6007 * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
6008 * gnu/java/nio/KqueueSelectorImpl.java: new file.
6009 * gnu/java/nio/NIOSocket.java (impl): removed.
6010 (channel): new field.
6011 (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
6012 (getPlainSocketImpl, setChannel): removed.
6013 (isConnected): new method.
6014 * gnu/java/nio/NIOSocketImpl.java: new file.
6015 * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
6017 (SourceChannelImpl.native_fd): removed.
6018 (SourceChannelImpl.<init>): init with a `VMChannel.'
6019 (SourceChannelImpl.getNativeFD): removed.
6020 (SourceChannelImpl.getVMChannel): new method.
6021 (SourceChannelImpl.implCloseSelectableChannel): implement.
6022 (SinkChannelImpl): implement `VMChannelOwner.'
6023 (SinkChannelImpl.native_fd): removed.
6024 (SinkChannelImpl.<init>): init with a `VMChannel.'
6025 (SinkChannelImpl.implCloseSelectableChannel): implement.
6026 (SinkChannelImpl.getNativeFD): removed.
6027 (SinkChannelImpl.getVMChannel): new method.
6028 * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
6030 * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
6031 SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
6032 (openSelector): return kqueue selector if available.
6033 * gnu/java/nio/ServerSocketChannelImpl.java: implement
6035 (channel): new field.
6036 (<init>): init `channel.'
6037 (finalizer): check if the `VMChannel.State' is valid.
6038 (implCloseSelectableChannel): use `VMChannel.close.'
6039 (implConfigureBlocking): use `VMChannel.setBlocking.'
6040 (accept): use `VMChannel.accept.'
6041 (getVMChannel): new method.
6042 * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
6043 access native FD through `VMChannel.State.'
6044 * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
6046 (channel, connected, connectAddress): new field.
6047 (<init>): new constructors.
6048 (getPlainSocketImpl): removed.
6049 (implCloseSelectableChannel): use `VMChannel.close.'
6050 (implConfigureBlocking): use `VMChannel.setBlocking.'
6051 (connect): use `connect(SocketAddress,int).'
6052 (connect): use `VMChannel.connect.'
6053 (finishConnect): don't use a selector.
6054 (isConnected): use `VMChannel.getPeerAddress.'
6055 (read): use `VMChannel.read.'
6056 (read): use `VMChannel.readScattering.'
6057 (write): use `VMChannel.write.'
6058 (write): use `VMChannel.writeGathering.'
6059 (getVMChannel): new method.
6060 * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
6061 native FD from `VMChannel.State.'
6062 * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
6063 get native FD from `VMChannel.State.'
6064 * gnu/java/nio/VMChannelOwner.java: new file.
6065 * gnu/java/nio/channels/FileChannelImpl.java: removed.
6066 * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
6067 and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
6068 `gnu_java_nio_channels_FileChannelImpl.h.'
6069 * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
6070 * include/gnu_java_nio_FileChannelImpl.h: new file.
6071 * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
6072 * include/gnu_java_nio_VMChannel.h: regenerated.
6073 * include/gnu_java_nio_VMPipe.h: regenerated.
6074 * include/java_net_VMNetworkInterface.h: regenerated.
6075 * java/io/FileDescriptor.java: fix imports.
6076 * java/io/FileInputStream.java (<init>): handle exceptions.
6077 (read): wrap the destination arary.
6078 * java/io/FileOutputStream.java (<init>): handle exceptions.
6079 (write): wrap the source array.
6080 * java/io/RandomAccessFile.java (<init>): handle exceptions.
6081 * java/net/DatagramSocket.java (<init>): handle exceptions.
6082 (receive): handle length/port setting.
6083 (connect): bind to any address/port if the argument is null.
6084 * java/net/NetworkInterface.java (name, inetAddress): removed.
6086 (<init>): make private.
6087 (getName): return `netif.name.'
6088 (getInetAddresses): access `netif.addresses.'
6089 (getDisplayName): return `netif.name.'
6090 (getByName, getByAddress): handle changes to `VMNetworkInterface.'
6091 (condense): removed.
6092 (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
6093 (equals): compare `netif' fields.
6094 (hashCode): get hash codes from `netif.'
6095 (toString): use a StringBuffer.
6096 * java/net/ServerSocket.java (close): don't set `impl' to null.
6097 (isClosed): use `VMChannel.State.isClosed.'
6098 * java/net/Socket.java (getLocalAddress): don't use `getOption' if
6099 the `SocketImpl' is a `PlainSocketImpl.'
6100 (close): just close the `impl.'
6101 (toString): use `super.toString' in the value we return.
6102 (isConnected): just access `impl,' not `getImpl.'
6103 (isBound): use `PlainSocketImpl' methods if we can.
6104 (isClosed): look at `VMChannel.State.'
6105 * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
6106 (JCL_NewRawDataObject): don't initialize cached fields here; throw
6107 an exception if they were not.
6108 (JCL_GetRawData): throw an exception if cached fields weren't
6110 * native/jni/java-lang/java_lang_VMProcess.c: handle
6111 FileChannelImpl move.
6112 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
6113 (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
6114 THROW_NO_NETWORK): new macros.
6115 (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
6116 (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
6117 (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
6118 (java_sockopt): new enum.
6119 (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
6120 (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
6121 (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
6123 (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
6125 (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
6127 (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
6128 (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
6129 (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
6130 (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
6131 (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
6132 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
6133 (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
6134 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
6135 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
6136 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
6137 (getif_address): new function.
6138 (getif_index): new function.
6139 * native/jni/java-net/java_net_VMNetworkInterface.c
6140 (java_net_VMNetworkInterface_init,
6141 java_net_VMNetworkInterface_addAddress): new file-scope globals.
6142 (Java_java_net_VMNetworkInterface_initIds): new function.
6143 (struct netif_entry): new struct.
6144 (free_netif_list): new function.
6145 (Java_java_net_VMNetworkInterface_getInterfaces): removed.
6146 (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
6147 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
6148 gnu_java_nio_channels_FileChannelImpl.c, add
6149 gnu_java_nio_KqueueSelectorImpl.c.
6150 * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
6151 * native/jni/java-nio/gnu_java_nio_VMChannel.c
6152 (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
6153 ALIGN_DOWN): new macros.
6154 (JCL_init_buffer): get the address through GetDirectBufferAddress
6156 (Java_gnu_java_nio_VMChannel_stdin_1fd,
6157 Java_gnu_java_nio_VMChannel_stdout_1fd,
6158 Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
6159 (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
6161 (Java_gnu_java_nio_VMChannel_read): renamed...
6162 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
6163 this; handle interrupted IO; add HAVE_READ check.
6164 (Java_gnu_java_nio_VMChannel_write): renamed...
6165 (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
6166 this; handle zero-length write; add HAVE_WRITE check.
6167 (Java_gnu_java_nio_VMChannel_receive): new function.
6168 (Java_gnu_java_nio_VMChannel_send): new function.
6169 (Java_gnu_java_nio_VMChannel_send6): new function.
6170 (Java_gnu_java_nio_VMChannel_read__I): new function.
6171 (Java_gnu_java_nio_VMChannel_write__II): new function.
6172 (Java_gnu_java_nio_VMChannel_socket): new function.
6173 (Java_gnu_java_nio_VMChannel_connect): new function.
6174 (Java_gnu_java_nio_VMChannel_connect6): new function.
6175 (Java_gnu_java_nio_VMChannel_getsockname): new function.
6176 (Java_gnu_java_nio_VMChannel_getpeername): new function.
6177 (Java_gnu_java_nio_VMChannel_accept): new function.
6178 (Java_gnu_java_nio_VMChannel_disconnect): new function.
6179 (Java_gnu_java_nio_VMChannel_close): new function.
6180 (Java_gnu_java_nio_VMChannel_available): new function.
6181 (FileChannel_mode): new enum.
6182 (Java_gnu_java_nio_VMChannel_open): new function.
6183 (Java_gnu_java_nio_VMChannel_position): new function.
6184 (Java_gnu_java_nio_VMChannel_seek): new function.
6185 (Java_gnu_java_nio_VMChannel_truncate): new funciton.
6186 (Java_gnu_java_nio_VMChannel_lock): new function.
6187 (Java_gnu_java_nio_VMChannel_unlock): new function.
6188 (Java_gnu_java_nio_VMChannel_size): new function.
6189 (Java_gnu_java_nio_VMChannel_map): new function.
6190 (Java_gnu_java_nio_VMChannel_flush): new function.
6191 * native/jni/java-nio/gnu_java_nio_VMPipe.c
6192 (Java_gnu_java_nio_VMPipe_init): removed.
6193 (Java_gnu_java_nio_VMPipe_pipe0): new function.
6194 * native/jni/java-nio/javanio.c: new file.
6195 * native/jni/java-nio/javanio.h: new file.
6196 * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
6197 systems without `gethostbyname_r.'
6198 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
6200 (<init>, <init>): new constructors.
6201 (setOption, getOption): make instance methods; defer to native
6204 (bind): make an instance method; defer to native methods.
6206 (available): removed.
6207 (listen): make an instance method; defer to native method.
6209 (join, leave): new methods.
6211 (joinGroup, leaveGroup): new methods.
6212 (shutdownInput, shutdownOutput): make instance methods.
6213 (sendUrgentData): removed.
6215 * vm/reference/gnu/java/nio/VMChannel.java: make final.
6218 (<init>): new, public constructors.
6219 (getVMChannel): methods removed.
6220 (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
6221 stderr_fd): new methods.
6222 (setBlocking): make an instance method.
6223 (available): new method.
6224 (read): get native fd from `nfd.'
6225 (read): new single-byte read method.
6226 (readScattering): get native fd from `nfd.'
6227 (receive): new method.
6228 (write, writeGathering): get native fd from `nfd.'
6230 (write): new single-byte write method.
6231 (initSocket): new method.
6232 (connect): new method.
6233 (disconnect): new method.
6234 (getLocalAddress): new method.
6235 (getPeerAddress): new method.
6236 (accept): new method.
6237 (openFile): new method.
6238 (position): new method.
6240 (truncate): new method.
6242 (unlock): new method.
6245 (flush): new method.
6246 (close): new method.
6249 * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
6250 (pipe, pipe0): new method.
6251 * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
6253 (<clinit>): call `initIds.'
6254 (initIds): new method.
6255 (getInterfaces): removed.
6256 (getVMInterfaces): new method.
6257 (addAddress): new method.
6258 * vm/reference/java/nio/channels/VMChannels.java: fix imports.
6260 2006-09-16 Chris Burdess <dog@gnu.org>
6263 * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
6264 when in text output mode.
6266 2006-09-16 Chris Burdess <dog@gnu.org>
6269 * gnu/xml/dom/DomNode.java: Increment length of node during insert.
6271 2006-09-14 Michael Koch <konqueror@gmx.de>
6273 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
6275 2006-09-15 Chistian Elias Naur <elias@oddlabs.com>
6277 * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
6278 Added !cl.isArray() to serialVersionUID mismatch check.
6280 2006-09-14 Francis Kung <fkung@redhat.com>
6282 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6283 (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
6284 be compatibe with Cairo 1.2.x.
6286 2006-09-14 Francis Kung <fkung@redhat.com>
6288 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
6289 (cairoSurfaceSetFilter): Removed method.
6290 (drawImage): Pass interpolation type as argument to drawing methods.
6291 (drawPixels): Added interpolation parameter.
6292 (drawRaster): Pass interpolation type as argument to drawing method.
6293 (getInterpolation): New method.
6294 (setRenderingHint): Store hints, but do not set interpolation in cairo.
6295 (setRenderingHints): Store hints, but do not set interpolation in cairo.
6296 * gnu/java/awt/peer/gtk/CairoSurface.java
6297 (drawSurface): Added interpolation parameter.
6298 (nativeDrawSurface): Added interpolation parameter.
6299 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
6300 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6302 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6303 * native/jni/gtk-peer/cairographics2d.h
6304 (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
6305 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6306 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6308 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6309 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
6310 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
6311 interpolation parameter.
6313 2006-09-14 Gary Benson <gbenson@redhat.com>
6315 * java/net/InetAddress.java
6316 (internalGetCanonicalHostName): New method.
6317 (getCanonicalHostName): Use internalGetCanonicalHostName.
6318 (getByLiteral): New method.
6319 (getAllByName): Use getByLiteral.
6320 * java/net/SocketPermission.java
6321 (host): Replaced with...
6322 (hostname, address): New fields.
6323 (equals, hashcode): Reflect the above.
6324 (setHostPort): Parse host into hostname or address.
6325 (implies): Rewrite host checks.
6327 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6330 * java/awt/Menu.java
6331 (insert(MenuItem, int)): Fixed loop range,
6332 (insert(String, int)): Updated API docs.
6334 2006-09-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
6337 * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
6338 architectures (like Arm).
6339 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
6340 Reverted SWAP_DOUBLE patch.
6341 (doubleToRawLongBits): Likewise.
6342 (longBitsToDouble): Likewise.
6344 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6346 * java/awt/Menu.java: Reformatted source file.
6348 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6350 * gnu/java/rmi/server/ActivatableRef.java
6351 (readExternal, writeExternal): Partial fix for serialization format.
6353 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6356 * java/io/InputStreamReader.java
6357 (read(char[],int,int)): Fixed bug.
6359 2006-09-13 Francis Kung <fkung@redhat.com>
6361 * java/awt/image/BandCombineOp.java: Updated documentation.
6362 (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
6364 2006-09-13 Tom Tromey <tromey@redhat.com>
6367 * java/io/PipedReader.java (read): Return early if len==0.
6368 * java/io/PipedInputStream.java (read): Return early if len==0.
6370 2006-09-13 Francis Kung <fkung@redhat.com>
6372 * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
6373 Removed hard-coded max sample value.
6374 * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)):
6375 Fixed finding of max sample value.
6377 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6379 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6380 (setPaint): Check null argument ('p').
6382 2006-09-12 Francis Kung <fkung@redhat.com>
6385 * gnu/java/awt/java2d/TexturePaintContext.java
6386 (constructor): Fixed typo, getMinY instead of getMaxX.
6387 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6388 (setPaint): Implemented support for custom Paint classes.
6389 (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
6390 (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
6391 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
6392 to setPaintPixels, and added repeat parameter.
6393 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
6394 Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
6396 2006-09-12 Gary Benson <gbenson@redhat.com>
6398 * java/net/NetworkInterface.java (getInetAddresses):
6399 Fix port used in security check.
6401 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6403 * javax/swing/plaf/metal/DefaultMetalTheme.java
6404 (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
6405 (MENU_TEXT_FONT): Renamed 'menuTextFont',
6406 (getControlTextFont): Check 'swing.boldMetal' setting before
6408 (getMenuTextFont): Likewise.
6410 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6412 * javax/swing/plaf/metal/OceanTheme.java
6413 (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
6415 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6417 * javax/swing/plaf/metal/MetalIconFactory.java
6418 (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
6420 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6422 * javax/swing/AbstractSpinnerModel.java: API doc updates.
6424 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6426 * javax/swing/AbstractButton.java
6427 (AbstractButton): Initialise textIconGap field.
6429 2006-09-11 Tom Tromey <tromey@redhat.com>
6431 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6432 "volatile" when needed.
6434 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6436 * java/text/AttributedCharacterIterator.java
6437 (LANGUAGE): Initialise with lower case string,
6438 (INPUT_METHOD_SEGMENT): Likewise,
6439 (READING): Likewise,
6440 * java/text/AttributedStringIterator.java
6441 (getRunLimit): Check all attributes for changes.
6443 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6445 * java/text/AttributedCharacterIterator.java: Added @since tag,
6446 renamed some variables (no underscores) and removed some spaces to
6447 match the common style,
6448 * java/text/AttributedString.java: Likewise,
6449 * java/text/AttributedStringIterator.java: Likewise.
6451 2006-09-11 Gary Benson <gbenson@redhat.com>
6453 * java/net/Inet4Address.java
6454 (FAMILY): Renamed back to AF_INET.
6455 (<init>, writeReplace): Reflect the above.
6456 * java/net/Inet6Address.java
6457 (FAMILY): Renamed back to AF_INET6.
6458 (<init>): Reflect the above.
6460 2006-09-11 Cameron McCormack <cam-gcc-bugzilla@aka.mcc.id.au>
6463 * java/text/AttributedString.java
6464 (AttributedString(AttributedCharacterIterator, int, int,
6465 AttributedCharacterIterator.Attribute[])): Fixed check for defined
6468 2006-09-11 Gary Benson <gbenson@redhat.com>
6470 * java/net/Inet4Address.java
6471 (AF_INET): Renamed to FAMILY.
6472 (<init>, writeReplace): Reflect the above.
6473 * java/net/Inet6Address.java
6474 (AF_INET6): Renamed to FAMILY.
6475 (<init>): Reflect the above.
6477 2006-09-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
6480 Originally in Kaffe: 2004-04-16 Helmer Kraemer <hkraemer@freenet.de>
6481 * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6482 * java/net/Socket.java: Avoid creating a redundant file descriptor.
6483 (implCreated): Deleted, (getImpl): Don't check impleCreated,
6484 (bind): Call getImpl().create(true).
6486 2006-09-09 Chris Burdess <dog@gnu.org>
6488 * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6489 an instance of org.w3c.dom.NodeList.
6491 2006-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
6493 * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6494 missing security manager when run in standalone mode.
6496 2006-09-08 Francis Kung <fkung@redhat.com>
6498 * java/awt/image/AffineTransformOp.java: Updated documentation.
6499 (createCompatibleDestRaster): Updated formatting.
6500 (filter(BufferedImage, BufferedImage)): Updated formatting.
6501 (filter(Raster, WritableRaster)): Delegated processing to native peers for
6502 if colour model is compatible.
6503 (filterBicubic): Get entire pixel at once, and use appropriate array type.
6504 (filterBilinear): Get entire pixel at once, and use appropriate array type.
6506 2006-09-08 Gary Benson <gbenson@redhat.com>
6508 * java/net/InetAddress.java
6509 (family): Updated javadoc and made private.
6510 (<init>): Add an address family argument.
6511 (readObject): Don't overwrite family.
6512 * java/net/Inet4Address.java
6513 (AF_INET): New constant.
6514 (<init>): Use AF_INET as the family.
6515 (writeReplace): Likewise.
6516 * java/net/Inet6Address.java
6517 (AF_INET6): New constant.
6518 (<init>): Use AF_INET6 as the family.
6520 2006-09-08 Gary Benson <gbenson@redhat.com>
6522 * java/net/InetAddress.java
6523 (getHostName): Move lookup into getCanonicalHostName.
6524 (getCanonicalHostName): Move lookup from getHostName,
6525 Perform security check on canonical name (ie after lookup).
6527 2006-09-08 Gary Benson <gbenson@redhat.com>
6529 * java/net/Inet4Address.java (isMulticastAddress,
6530 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6531 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6532 isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6533 implementations from InetAddress.
6534 * java/net/InetAddress.java (isMulticastAddress,
6535 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6536 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6537 isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6538 implementations with UnsupportedOperationExceptions.
6540 2006-09-08 Gary Benson <gbenson@redhat.com>
6542 * java/net/InetAddress.java
6543 (inaddr_any): Removed.
6544 (ANY_IF, LOCALHOST): Create using getByAddress.
6545 (<init>): Updated javadoc.
6546 (getHostName): Cache hostname even if the lookup failed.
6547 (getByAddress): Create Inet4Address objects when passed
6548 IPv4-mapped IPv6 addresses.
6550 (getAllByName): Create address objects using getByAddress.
6551 Do not perform security checks unless actually required.
6552 Do not strip whitespace from the hostname.
6553 (getInaddrAny): Removed.
6554 (getLocalHost): Return the loopback address if getByName
6555 throws a SecurityException.
6556 (readResolve): Updated javadoc.
6557 * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6558 * include/java_net_VMInetAddress.h
6559 (Java_java_net_VMInetAddress_aton): Likewise.
6560 * native/jni/java-net/java_net_VMInetAddress.c
6561 (Java_java_net_VMInetAddress_aton): New method.
6562 * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6563 * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6564 * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6565 * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6566 * NEWS: Added note about updated VM interface.
6568 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6570 * javax/swing/plaf/basic/BasicInternalFrameUI.java
6571 (setNorthPane): Assign component to titlePane.
6573 2006-09-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6575 * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6576 Remove unused variable alt_addr.
6577 * gnu/CORBA/NamingService/NameTransformer.java (toName):
6578 Remove unused variables.
6580 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6582 * javax/swing/plaf/metal/MetalScrollBarUI.java
6583 (installDefaults): Initialise scrollBarWidth from UI defaults here,
6584 (createDecreaseButton): Don't fetch scrollBarWidth here,
6585 (createIncreaseButton): Likewise.
6587 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6589 * java/awt/image/MemoryImageSource.java: Added API docs.
6591 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6593 * javax/swing/plaf/basic/BasicScrollBarUI.java
6594 (installDefaults): Call configureScrollBarColors().
6596 2006-09-06 Francis Kung <fkung@redhat.com>
6598 * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6599 (constructor): Make copy of arrays.
6600 (createCompatibleDestImage): Changed treatment of null ColorModel.
6601 (filter(BufferedImage, BufferedImage)): Re-implemented.
6602 (filter(Raster, WritableRaster, boolean[])): New method.
6603 (filter(Raster, WritableRaster)): Re-implemented.
6604 (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6605 (getPoint2D): Cleaned up formatting.
6606 (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6608 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6610 * javax/swing/UIManager.java
6611 (getBoolean(Object)): Reimplemented,
6612 (getBoolean(Object, Locale)): Likewise,
6613 (getBorder(Object)): Likewise,
6614 (getBorder(Object, Locale)): Likewise,
6615 (getColor(Object)): Likewise,
6616 (getColor(Object, Locale)): Likewise,
6617 (getDimension(Object)): Likewise,
6618 (getDimension(Object, Locale)): Likewise,
6619 (getFont(Object)): Likewise,
6620 (getFont(Object, Locale)): Likewise,
6621 (getIcon(Object)): Likewise,
6622 (getIcon(Object, Locale)): Likewise,
6623 (getInsets(Object)): Updated API docs,
6624 (getInsets(Object, Locale)): Likewise,
6625 (getInt(Object)): Reimplemented,
6626 (getInt(Object, Locale)): Likewise,
6627 (getString(Object)): Likewise,
6628 (getString(Object, Locale)): Likewise.
6630 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6632 * javax/swing/UIManager.java
6633 (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6634 (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6636 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6638 * javax/swing/plaf/metal/MetalLookAndFeel.java
6639 (initComponentDefaults): Corrected various font defaults.
6641 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6643 * java/awt/List.java: Added @since to various methods.
6645 2006-09-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
6647 * native/jni/native-lib/cpprocess.c:
6648 (forkAndExec(char*,char*,int,int,pid_t,char*)):
6649 Add redirection of stdout to stderr.
6650 * native/jni/native-lib/cpprocess.h:
6651 Added redirect argument.
6652 * native/jni/java-lang/java_lang_VMProcess.c
6653 (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6654 * vm/reference/java/lang/VMProcess.java: Likewise.
6655 * include/java_lang_VMProcess.h: Regenerated.
6657 2006-09-05 Andreas Tobler <a.tobler@schweiz.ch>
6659 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6660 __attribute to __attribute__.
6662 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6665 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6667 * java/awt/List.java: Source code reformatted.
6669 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6671 * gnu/CORBA/CollocatedOrbs.java,
6672 gnu/CORBA/SafeForDirectCalls.java: New files.
6673 * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6674 Implement gnu.CORBA.SafeForDirectCalls.
6675 * gnu/CORBA/NamingService/Ext.java: Likewise.
6676 * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6677 * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6678 of the local host. (ior_to_object): Return the local object
6679 where possible. (run): Register/unregister this ORB.
6680 * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.
6681 * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6682 * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6683 (constructors): Initialize noRetain. (_invoke): Drop servant
6684 if noRetain is true. (getHandler): Always seach for the new servant
6685 if noRetain is true.
6686 * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6687 * NEWS: Added note about the new feature.
6689 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6691 * java/awt/Choice.java
6692 (addItem): Fixed API doc glitch.
6694 2006-09-05 Francis Kung <fkung@redhat.com>
6696 * java/awt/image/LookupOp.java: Updated documentation & formatting.
6697 (createCompatibleDestImage): Re-implemented.
6698 (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6699 compatibility, and use ColorConvertOp for color conversion if needed.
6700 (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6702 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6704 gnu/CORBA/CDR/Vio.java,
6705 org/omg/CORBA_2_3/ORB.java,
6706 org/omg/CORBA_2_3/portable/InputStream.java,
6707 org/omg/CORBA_2_3/portable/OutputStream.java,
6708 org/omg/CosNaming/BindingIteratorHelper.java,
6709 org/omg/CosNaming/BindingTypeHelper.java,
6710 org/omg/CosNaming/NameComponentHelper.java,
6711 org/omg/CosNaming/NameHelper.java,
6712 org/omg/CosNaming/NamingContextExtHelper.java,
6713 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6714 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6715 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6716 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6717 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6718 org/omg/CosNaming/NamingContextHelper.java,
6719 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6720 org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6721 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6722 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6723 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6724 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6725 org/omg/DynamicAny/AnySeqHelper.java,
6726 org/omg/DynamicAny/DynAnyFactoryHelper.java,
6727 org/omg/DynamicAny/DynAnyFactoryOperations.java,
6728 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6729 org/omg/DynamicAny/DynAnyHelper.java,
6730 org/omg/DynamicAny/DynAnyOperations.java,
6731 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6732 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6733 org/omg/DynamicAny/DynAnySeqHelper.java,
6734 org/omg/DynamicAny/DynArrayHelper.java,
6735 org/omg/DynamicAny/DynEnumHelper.java,
6736 org/omg/DynamicAny/DynFixedHelper.java,
6737 org/omg/DynamicAny/DynSequenceHelper.java,
6738 org/omg/DynamicAny/DynStructHelper.java,
6739 org/omg/DynamicAny/DynStructOperations.java,
6740 org/omg/DynamicAny/DynUnionHelper.java,
6741 org/omg/DynamicAny/DynValueHelper.java,
6742 org/omg/DynamicAny/NameDynAnyPairHelper.java,
6743 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6744 org/omg/IOP/CodecFactoryHelper.java,
6745 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6746 org/omg/IOP/CodecOperations.java,
6747 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6748 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6749 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6750 org/omg/IOP/ComponentIdHelper.java,
6751 org/omg/IOP/ExceptionDetailMessage.java,
6752 org/omg/IOP/MultipleComponentProfileHelper.java,
6753 org/omg/IOP/ProfileIdHelper.java,
6754 org/omg/IOP/ServiceContextListHelper.java,
6755 org/omg/IOP/ServiceIdHelper.java,
6756 org/omg/IOP/TAG_CODE_SETS.java,
6757 org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6758 org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6759 org/omg/PortableInterceptor/CurrentHelper.java,
6760 org/omg/PortableInterceptor/IORInfo.java,
6761 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6762 org/omg/PortableInterceptor/ORBIdHelper.java,
6763 org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6764 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6765 org/omg/PortableInterceptor/ORBInitializerOperations.java,
6766 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6767 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6768 org/omg/PortableInterceptor/RequestInfoOperations.java,
6769 org/omg/PortableInterceptor/ServerIdHelper.java,
6770 org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6771 org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6772 org/omg/PortableServer/AdapterActivatorOperations.java,
6773 org/omg/PortableServer/CurrentHelper.java,
6774 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6775 org/omg/PortableServer/ForwardRequestHelper.java,
6776 org/omg/PortableServer/IdAssignmentPolicyValue.java,
6777 org/omg/PortableServer/IdUniquenessPolicyValue.java,
6778 org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6779 org/omg/PortableServer/LifespanPolicyValue.java,
6780 org/omg/PortableServer/POA.java,
6781 org/omg/PortableServer/POAHelper.java,
6782 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6783 org/omg/PortableServer/POAManagerPackage/State.java,
6784 org/omg/PortableServer/POAOperations.java,
6785 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6786 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6787 org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6788 org/omg/PortableServer/POAPackage/NoServantHelper.java,
6789 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6790 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6791 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6792 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6793 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6794 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6795 org/omg/PortableServer/RequestProcessingPolicyValue.java,
6796 org/omg/PortableServer/ServantActivatorHelper.java,
6797 org/omg/PortableServer/ServantLocatorHelper.java,
6798 org/omg/PortableServer/ServantLocatorOperations.java,
6799 org/omg/PortableServer/ServantRetentionPolicyValue.java,
6800 org/omg/PortableServer/ThreadPolicyValue.java,
6801 org/omg/PortableServer/_ServantActivatorStub.java,
6802 org/omg/PortableServer/_ServantLocatorStub.java,
6803 org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
6805 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6807 * javax/rmi/CORBA/Tie.java,
6808 org/omg/CORBA/AnyHolder.java,
6809 org/omg/CORBA/AnySeqHelper.java,
6810 org/omg/CORBA/AnySeqHolder.java,
6811 org/omg/CORBA/BooleanHolder.java,
6812 org/omg/CORBA/BooleanSeqHelper.java,
6813 org/omg/CORBA/BooleanSeqHolder.java,
6814 org/omg/CORBA/ByteHolder.java,
6815 org/omg/CORBA/CharHolder.java,
6816 org/omg/CORBA/CharSeqHelper.java,
6817 org/omg/CORBA/CharSeqHolder.java,
6818 org/omg/CORBA/Context.java,
6819 org/omg/CORBA/CurrentHelper.java,
6820 org/omg/CORBA/CustomValue.java,
6821 org/omg/CORBA/DataOutputStream.java,
6822 org/omg/CORBA/DefinitionKindHelper.java,
6823 org/omg/CORBA/DomainManagerOperations.java,
6824 org/omg/CORBA/DoubleHolder.java,
6825 org/omg/CORBA/DoubleSeqHelper.java,
6826 org/omg/CORBA/DoubleSeqHolder.java,
6827 org/omg/CORBA/DynAny.java,
6828 org/omg/CORBA/DynSequence.java,
6829 org/omg/CORBA/DynValue.java,
6830 org/omg/CORBA/DynamicImplementation.java,
6831 org/omg/CORBA/FieldNameHelper.java,
6832 org/omg/CORBA/FixedHolder.java,
6833 org/omg/CORBA/FloatHolder.java,
6834 org/omg/CORBA/FloatSeqHelper.java,
6835 org/omg/CORBA/FloatSeqHolder.java,
6836 org/omg/CORBA/IdentifierHelper.java,
6837 org/omg/CORBA/IntHolder.java,
6838 org/omg/CORBA/LocalObject.java,
6839 org/omg/CORBA/LongHolder.java,
6840 org/omg/CORBA/LongLongSeqHelper.java,
6841 org/omg/CORBA/LongLongSeqHolder.java,
6842 org/omg/CORBA/LongSeqHelper.java,
6843 org/omg/CORBA/LongSeqHolder.java,
6844 org/omg/CORBA/ORB.java,
6845 org/omg/CORBA/ObjectHelper.java,
6846 org/omg/CORBA/ObjectHolder.java,
6847 org/omg/CORBA/OctetSeqHelper.java,
6848 org/omg/CORBA/OctetSeqHolder.java,
6849 org/omg/CORBA/PolicyErrorCodeHelper.java,
6850 org/omg/CORBA/PolicyErrorHelper.java,
6851 org/omg/CORBA/PolicyHelper.java,
6852 org/omg/CORBA/PolicyListHelper.java,
6853 org/omg/CORBA/PolicyTypeHelper.java,
6854 org/omg/CORBA/PrincipalHolder.java,
6855 org/omg/CORBA/RepositoryIdHelper.java,
6856 org/omg/CORBA/Request.java,
6857 org/omg/CORBA/ShortHolder.java,
6858 org/omg/CORBA/ShortSeqHelper.java,
6859 org/omg/CORBA/ShortSeqHolder.java,
6860 org/omg/CORBA/StringSeqHelper.java,
6861 org/omg/CORBA/StringSeqHolder.java,
6862 org/omg/CORBA/ULongLongSeqHelper.java,
6863 org/omg/CORBA/ULongLongSeqHolder.java,
6864 org/omg/CORBA/ULongSeqHelper.java,
6865 org/omg/CORBA/ULongSeqHolder.java,
6866 org/omg/CORBA/UShortSeqHelper.java,
6867 org/omg/CORBA/UShortSeqHolder.java,
6868 org/omg/CORBA/ValueBaseHelper.java,
6869 org/omg/CORBA/ValueBaseHolder.java,
6870 org/omg/CORBA/VersionSpecHelper.java,
6871 org/omg/CORBA/WCharSeqHelper.java,
6872 org/omg/CORBA/WCharSeqHolder.java,
6873 org/omg/CORBA/WStringSeqHelper.java,
6874 org/omg/CORBA/WStringSeqHolder.java,
6875 org/omg/CORBA/WrongTransactionHelper.java,
6876 org/omg/CORBA/_IDLTypeStub.java,
6877 org/omg/CORBA/_PolicyStub.java,
6878 org/omg/CORBA/portable/BoxedValueHelper.java,
6879 org/omg/CORBA/portable/Delegate.java,
6880 org/omg/CORBA/portable/ObjectImpl.java,
6881 org/omg/CORBA/portable/ServantObject.java,
6882 org/omg/CORBA/portable/StreamableValue.java,
6883 org/omg/CosNaming/BindingType.java,
6884 org/omg/CosNaming/IstringHelper.java,
6885 org/omg/DynamicAny/FieldNameHelper.java,
6886 org/omg/PortableServer/Servant.java: Documentation fixes.
6888 2006-09-04 David Gilbert <david.gilbert@object-refinery.com>
6890 * java/awt/Rectangle.java
6891 (setRect(double, double, double, double)): Modified rounding of input
6894 2006-09-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6896 * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
6897 Disallow H1 - H6 in the paragraphs.
6898 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
6899 (preprocess): Leave at most one leading and/or trailing space.
6900 * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
6901 Do not add any text after closing the HTML tag.
6903 2006-09-02 Roman Kennke <kennke@aicas.com>
6906 * javax/swing/plaf/basic/BasicTextUI.java
6907 (RootView.getPreferredSpan): Default to 10 when there is no
6909 (RootView.getMinimumSpan): Forward to view and default to 10
6910 when there is no real view.
6911 (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
6912 (getMaximumSize): Check for overflow.
6913 * javax/swing/text/FieldView.java
6914 (getResizeWeight): Removed unneeded assignment.
6916 2006-09-01 Francis Kung <fkung@redhat.com>
6917 * java/awt/image/ColorConvertOp.java
6918 (copyImage): Updated javadoc and comments.
6919 (copyRaster): Add javadoc.
6920 (createCompatibleColorModel): Add javadocs and comments.
6921 (createCompatibleDestImage): Use correct transfer type.
6922 (createCompatibleDestRaster): Add new parameter for transfer type.
6923 (filter): Use correct transfer type.
6924 * java/awt/image/ConvolveOp.java: Updated javadocs.
6925 (createCompatibleDestImage): Set new image properties correctly.
6926 (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
6927 (filter(WritableRaster, Raster): Clip sample values to [0-255].
6929 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6931 * javax/swing/table/DefaultTableModel.java:
6932 (checkSize): Added null check for dataVector.
6934 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6936 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
6937 (BasicHorizontalLayout.getAlignmentX): Return fixed value.
6938 (BasicHorizontalLayout.getAlignmentY): Return fixed value.
6940 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6942 * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
6943 (paintIcon): Removed unused import statements, lowered cast requirement
6944 from JCheckBox to AbstractButton.
6946 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6948 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6949 (initComponentDefaults): Added, changed and removed some
6950 tabbed pane properties.
6952 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6954 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
6955 (createContent): Changed menu item name and tab naming.
6957 2006-09-01 Roman Kennke <kennke@aicas.com>
6960 * javax/swing/plaf/basic/BasicHTML.java
6961 (HTMLRootView.getAttributes): Overridden to return null.
6962 (HTMLRootView.getElement): Overridden to return the view's
6965 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6967 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6968 (calculateTabAreaHeight): Use getTabRunOverlay method instead
6969 of accessing variable directly.
6970 (calculateTabAreaWidth): Dito.
6972 2006-08-31 Keith Seitz <keiths@redhat.com>
6974 * include/jvmti.h: Include jvmti_md.h.
6976 2006-08-31 Keith Seitz <keiths@redhat.com>
6978 From Martin Platter <motse@complang.tuwien.ac.at>:
6979 * Makefile.am (include_HEADERS): Include jvmti.h.
6980 * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
6981 (jvmtiError): Remove superfluous comma after last entry.
6982 (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
6983 (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
6984 (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
6985 (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
6987 (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
6988 (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
6989 (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
6992 2006-08-31 Roman Kennke <kennke@aicas.com>
6994 * javax/swing/text/BoxView.java
6995 (getWidth): Return the width with insets added, not with one
6996 added and one removed.
6997 (getHeight): Return the height with insets added, not with one
6998 added and one removed.
6999 * javax/swing/text/GlyphView.java
7000 (DefaultGlyphPainter.viewToModel): Need to add the start offset.
7001 * javax/swing/text/ParagraphView.java
7002 (Row.getAlignment): Adjust alignment with respect to
7003 the justification attribute.
7004 (Row.getLeftInset): Overridden to adjust for firstLineIndent
7006 * javax/swing/text/html/CSS.java
7007 (getValue): Convert length values.
7008 * javax/swing/text/html/Paragraph.java
7009 (painter): New field.
7010 (paint): Implemented to delegate painting to the BoxPainter too.
7011 (setPropertiesFromAttributes): Implemented to load attributes
7013 * javax/swing/text/html/StyleSheet.java
7014 (BoxPainter.as): Removed field.
7015 (BoxPainter.leftInset): New field.
7016 (BoxPainter.bottomInset): New field.
7017 (BoxPainter.rightInset): New field.
7018 (BoxPainter.topInset): New field.
7019 (BoxPainter.BoxPainter): Implemented to load the insets from
7021 (BoxPainter.getInset): Implemented.
7022 * gnu/javax/swing/text/html/Length.java: New class.
7023 Converts CSS length units to usable values.
7025 2006-08-31 Andreas Tobler <a.tobler@schweiz.ch>
7027 * configure.ac: Add check for gethostbyname_r.
7028 Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
7029 * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
7030 SOCKET_NOSIGNAL according to the configure check.
7031 (cpnet_send): Use SOCKET_NOSIGNAL.
7032 (cpnet_sendTo): Likewise.
7033 (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
7035 * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
7038 * lib/Makefile.am (cssfiles): Add new rule to install css files.
7040 2006-08-31 Roman Kennke <kennke@aicas.com>
7042 * javax/swing/JEditorPane.java
7043 (getPreferredSize): Replace preferred size with minimum
7044 UI size only if the scrollable does _not_ track the viewport
7045 size and only if the viewport's size is smaller than the
7047 (getScrollableTracksViewportWidth): Avoid unnecessary multiple
7049 * javax/swing/plaf/basic/BasicTextUI.java
7050 (getPreferredSize): Read-lock the document to avoid
7051 concurrency problems.
7052 (getMaximumSize): Return maximum size of the view.
7053 Read-lock the document to avoid concurrency problems.
7054 (getMinimumSize): Return minimum size of the view.
7055 Read-lock the document to avoid concurrency problems.
7057 2006-08-31 Gary Benson <gbenson@redhat.com>
7059 * java/net/SocketPermission.java
7060 (maybeBracketIPv6Address): Renamed to processHostport.
7061 (processHostport): Also translate "" to "localhost".
7062 (setHostPort): Remove special cases for empty hostport and for
7063 extra colons in hostport (processHostport handles these now).
7065 2006-08-31 Mark Wielaard <mark@klomp.org>
7067 * javax/swing/text/ZoneView.java (Zone): Make static class.
7068 Constructor takes axis parameter.
7069 (createZone): Create Zone with getAxis() as major axis.
7071 2006-08-30 Roman Kennke <kennke@aicas.com>
7073 * javax/swing/text/ZoneView.java
7074 (loadChildren): Implemented.
7075 (getViewIndexAtPosition): Implemented.
7076 (checkZoneAt): New helper method.
7077 (splitZone): New helper method.
7078 (getPreferredZoneEnd): New helper method.
7080 2006-08-30 Roman Kennke <kennke@aicas.com>
7082 * javax/swing/text/ZoneView.java: New class.
7084 2006-08-30 Roman Kennke <kennke@aicas.com>
7086 * javax/swing/JMenu.java
7087 (getMenu): Removed unneeded cast.
7088 (getPopupMenuOrigin): Made positioning algorithm better respect
7090 (setMenuLocation): Also set the location on the popup if it's
7092 (setModel): Use menuChangeListener so that we don't override
7093 the changeListener field from AbstractButton.
7094 (setPopupMenuVisible): Use custom location if set, otherwise
7095 fallback to getPopupMenuOrigin().
7097 2006-08-29 Roman Kennke <kennke@aicas.com>
7099 * javax/swing/text/InternationalFormatter.java
7100 (stringToValue): Fixed bounds check.
7101 * javax/swing/text/MaskFormatter.java
7102 (MaskFormatter): Don't explicitly set allosInvalid property.
7103 (convertStringToValue): New helper method.
7104 (convertValueToString): New helper method.
7105 (convertValue): Removed. Replaced by the 2 convert* methods
7107 (getPadCharAt): Removed.
7108 (isCharValid): Removed.
7110 (stringToValue): Fixed stringToValue conversion.
7111 (stripLiterals): Removed.
7112 (valueToString): Fixed valueToString conversion.
7113 * javax/swing/text/DefaultFormatter.java
7114 (DefaultFormatter): Default to commitsOnValidEdit = false.
7116 2006-08-29 Roman Kennke <kennke@aicas.com>
7118 * javax/swing/text/TextAction.java
7119 (getTextComponent): Check event for null and return null in
7121 (augmentList): Augment Actions based on their names.
7122 * javax/swing/text/DefaultEditorKit.java
7123 (BeginAction.actionPerformed): Check target for null.
7124 (BeginLineAction.actionPerformed): Check target for null.
7125 (CopyAction.actionPerformed): Check target for null.
7126 (CutAction.actionPerformed): Check target for null.
7127 (EndAction.actionPerformed): Check target for null.
7128 (EndLineAction.actionPerformed): Check target for null.
7129 (InsertBreakAction.actionPerformed): Check target for null.
7130 (InsertTabAction.actionPerformed): Check target for null.
7131 (PasteAction.actionPerformed): Check target for null.
7132 (SelectAllAction.actionPerformed): Check target for null.
7133 (SelectionBeginAction.actionPerformed): Check target for null.
7134 (SelectionBeginLineAction.actionPerformed): Check target for null.
7135 (SelectionEndAction.actionPerformed): Check target for null.
7136 (SelectionEndLineAction.actionPerformed): Check target for null.
7137 (SelectLineAction.actionPerformed): Check target for null.
7138 (SelectWordAction.actionPerformed): Check target for null.
7140 2006-08-29 Roman Kennke <kennke@aicas.com>
7142 * javax/swing/plaf/basic/BasicTextUI.java
7143 (FocusHandler): New class. This is moved from the anonymous
7144 inner focus listener class to a static member class, and
7145 is now shared between components.
7146 (DocumentHandler): This class is combined with the PropertyHandler
7147 into the Handler class.
7148 (PropertyChangeHandler): This class is combined with the
7149 DocumentHandler into the Handler class.
7150 (Handler): New class. This combines the Property and Document
7151 handler into one class.
7152 (RootView.changedUpdate): Only forward if real view != null.
7153 (RootView.insertUpdate): Only forward if real view != null.
7154 (RootView.removeUpdate): Only forward if real view != null.
7155 (documentHandler): Removed field and replaced by handler.
7156 (focuslistener): Made field static and renamed to focusListener.
7157 (handler): New field.
7158 (kit): Lazily initialize field.
7159 (rootView): Lazily initialize field.
7160 (updateHandler): Removed and replaced by handler.
7161 (getEditorKit): Lazily instantiate field.
7162 (installDefaults): Don't set margin twice. Install correct
7163 property for disabledTextColor. Moved caret and highlighter
7164 initialization to installFixedDefaults.
7165 (installFixedDefaults): New method. Installs defaults that
7166 can't be overridden by subclasses.
7167 (installListeners): Only install focus handler when new
7168 system property gnu.swing.text.no-xlike-clipboard is not set.
7169 Lazily initialize focus handler.
7170 (installUI): Lazily initialize rootView. Install handler
7171 both for property and document changes.
7172 (uninstallDefaults): Uninstall the UI defaults.
7173 (uninstallFixedDefaults): New method. Uninstalls the fixed
7175 (installListeners): Only uninstall focus handler when not null.
7176 (uninstallUI): Uninstall property and document listener here.
7178 2006-08-29 Gary Benson <gbenson@redhat.com>
7180 * java/net/SocketPermission.java
7181 (maybeBracketIPv6Address): New method.
7182 (<init>): Pass the hostport argument through the above.
7184 * java/net/NetworkInterface.java (getInetAddresses):
7185 Don't bracket IPv6 addresses.
7187 2006-08-28 Roman Kennke <kennke@aicas.com>
7189 * javax/swing/text/BoxView.java
7190 (calculateMinorAxisRequirements): Initialize max size
7191 with Integer.MAX_VALUE.
7192 * javax/swing/text/Utilities.java
7193 (getBreakLocation): For simple chars, scan the text directly.
7194 * javax/swing/text/WrappedPlainView.java
7195 (tabBase): New field.
7196 (tabSize): New field.
7197 (calculateBreakPosition): Use Utilities. Fixed for correct
7199 (changedUpdate): Update children directly.
7200 (insertUpdate): Update children directly. Notify children.
7201 (removeUpdate): Update children directly. Notify children.
7202 (updateChildren): New helper method.
7203 (nextTabStop): Fixed to return correct results.
7204 (paint): Update tabBase.
7205 (updateMetrics): Update tab size.
7207 2006-08-28 Roman Kennke <kennke@aicas.com>
7209 * javax/swing/text/Position.java
7210 (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
7211 (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
7213 2006-08-28 Roman Kennke <kennke@aicas.com>
7215 * javax/swing/text/View.java
7216 (height): Removed unneeded field.
7217 (width): Removed unneeded field.
7218 (getBreakWeight): Return GoodBreakWeight when pos is after
7220 (getToolTipText): Check view index more carefully. Avoid
7222 (insertUpdate): Only execute method body if view count > 0.
7223 When updateChildren returns false, clear the ec variable.
7224 (updateChildren): Added null checks.
7225 (viewToModel): Initialize bias array correctly.
7226 * javax/swing/text/CompositeView.java
7227 (children): Made private.
7228 (numChildren): New field.
7229 (loadChildren): Check factory for null. Don't load children
7230 when factory is null.
7231 (replace): Removed null check. Nullify removed children. Made
7232 growing the array more efficient.
7233 (getViewCount): Return numChildren rather then the real array
7235 * javax/swing/text/BoxView.java
7236 (getViewAtPoint): Fixed algorithm for finding the view.
7237 (replace): Made array growing more efficient.
7238 (replaceLayoutArray): New helper method for growing/patching
7240 (viewToModel): Make sure we have a valid layout.
7242 2006-08-28 Tania Bento <tbento@redhat.com>
7244 * java/awt/MenuShortcut.java
7245 (MenuShortcut (int, boolean)): Set keyName.
7246 (toString): Modified string output.
7247 (setKeyName): New private method.
7249 2006-08-28 Roman Kennke <kennke@aicas.com>
7251 * javax/swing/text/GapContent.java
7252 (Mark.getOffset): Made assert less strict, include boundary.
7253 (search): Made package private to avoid accessor method.
7255 2006-08-28 Roman Kennke <kennke@aicas.com>
7257 * javax/swing/text/StringContent.java
7258 (InsertUndo.positions): New field.
7259 (InsertUndo.redo): Update the undo positions.
7260 (InsertUndo.undo): Fetch the undo positions.
7261 (Mark): New class. Layer of indirection to allow Positions
7262 to be GC'ed while we still hold references to the Mark.
7263 (RemoveUndo.len): New field.
7264 (RemoveUndo.positions): New field.
7265 (RemoveUndo.RemoveUndo): Fetch undo positions.
7266 (RemoveUndo.redo): Re-fetch positions and string.
7267 (RemoveUndo.undo): Update undo positions.
7268 (StickyPosition.mark): New field.
7269 (StickyPosition.offset): Removed field.
7270 (StickyPosition.StickyPosition): Create new Mark. Register
7271 Position in queueOfDeath. Update reference count on mark.
7272 (StickyPosition.getOffset): Return offset stored in mark.
7273 (StickyPosition.setOffset): Removed unneeded method.
7274 (UndoPosRef): New class. Handles undo/redo on positions/marks.
7276 (marks): New field. Stores the marks.
7277 (positions): Removed field.
7278 (queueOfDeath): New field. Used for GCing the positions.
7279 (StringContent): Initialize queueOfDeath.
7280 (createPosition): Lazily create marks vector.
7281 (garbageCollect): New helper method. Collects positions
7282 to be GCed and updates their marks.
7283 (getChars): Fixed bounds check.
7284 (getPositionsInRange): When v == null, create new Vector,
7285 otherwise use v. Store UndoPosRefs in vector.
7286 (getString): Added comment about bug in RI.
7287 (insertString): Use new helper method for replacing the array.
7288 Correctly update positions.
7289 (length): Removed this qualifier.
7290 (remove): Use new helper method for replacing the array.
7291 Correctly update positions.
7292 (replace): New helper method for growing or patching the array.
7293 (updateUndoPositions): Implemented. Updates the positions
7294 for undo/redo operations.
7296 2006-08-27 Roman Kennke <kennke@aicas.com>
7298 * javax/swing/text/StyleContext.java
7299 (NamedStyle.attributes): Made field transient.
7300 (NamedStyle.changeEvent): Made field transient.
7301 (NamedStyle.name): Removed field. The name is stored as
7303 (NamedStyle.NamedStyle(String,Style)): Call setName() for
7304 storing the name and check for null name and resolveParent.
7305 Don't initialize changeEvent.
7306 (NamedStyle.copyAttributes): Return a new NamedStyle,
7307 rather than a plain copy of the attributes field.
7308 (NamedStyle.fireStateChange): Lazily create changeEvent
7310 (NamedStyle.getName): Fetch name from attributes.
7311 (NamedStyle.setName): Store name from attributes.
7312 (NamedStyle.readObject): Implemented for correct
7314 (NamedStyle.writeObject): Implemented for correct
7316 (NamedStyle.setResolveParent): When new parent is null,
7317 remove resolveParent attribute. Use addAttribute() method
7318 rather than StyleContext addAttribute().
7319 (NamedStyle.toString): Fixed to produce output equal to the
7321 (SmallAttributeSet.resolveParent): New field.
7322 (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
7323 the resolveParent field correctly.
7324 (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
7325 array but store it directly. Update
7326 the resolveParent field correctly.
7327 (SmallAttributeSet.clone): Return this as the object is
7329 (SmallAttributeSet.containsAttributes): Make sure that keys
7330 and values are the same.
7331 (SmallAttributeSet.containsAttribute): Make sure that keys
7332 and values are the same.
7333 (SmallAttributeSet.copyAttributes): Return this as the object is
7335 (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
7336 are equal if they have the same number of attributes and
7337 one contains the other.
7338 (SmallAttributeSet.getAttribute): Improved lookup of
7340 (SmallAttributeSet.getResolveParent): Improved lookup of
7342 (SmallAttributeSet.isEqual): When comparing object is a
7343 SmallAttributeSet, consider them equal only if they are the
7345 (SmallAttributeSet.toString): Fixed to produce output equal to the
7347 (attributeSetPool): New field.
7348 (defaultStyleContext): Initialize lazily.
7349 (defaultStyle): Removed field. This is stored in the style context
7351 (listenerList): Removed field. The NamedStyle stores the
7353 (readAttributeKeys): New static field. Used for looking up
7354 the serialization mappings when reading.
7355 (search): New field. Used as search key.
7356 (staticAttributeKeys): Replaced by read/writeAttributeKeys.
7357 (styles): New field. Stores the styles and listeners.
7358 (styleTable): Removed field. Replaced by styles field.
7359 (writeAttributeKeys): New static field. Used for looking up
7360 the serialization mappings when writing.
7361 (static_initializer): Register mappings for all keys in
7363 (StyleContext): Initialize styles correctly.
7364 (addAttributes): Fixed caching of immutable attributes.
7365 (addAttribute): Fixed caching of immutable attributes.
7366 (removeAttributes): Fixed caching of immutable attributes.
7367 (removeAttribute): Fixed caching of immutable attributes.
7368 (addChangeListener): Add listener to styles field.
7369 (removeChangeListener): Remove listener from styles field.
7370 (getChangeListeners): Fetch listeners from styles field.
7371 (addStyle): Add style to styles field.
7372 (cleanupPool): New method.
7373 (getDefaultStyleContext): Lazily create context.
7374 (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
7375 (getMutableAttributeSet): New helper method. Used for
7377 (getStaticAttribute): Fetch key from readAttributeKeys.
7378 (getStyleNames): Return names from styles field.
7379 (getStyle): Lookup style in styles field.
7380 (removeStyle): Remove style from styles field.
7381 (readAttributeSet): Fixed deserialization.
7382 (writeAttributeSet): Fixed serialization.
7383 (readObject): Fixed deserialization.
7384 (writeObject): Fixed serialization.
7385 (reclaim): Simply cleanup the pool.
7386 (registerStaticAttributeKey): Store mapping in both ways.
7387 (searchImmutableSet): New helper method for caching.
7388 (toString): Fixed for output like the RI.
7389 * javax/swing/text/StyleConstants.java
7390 (keys): New field. Stores all known keys.
7391 (StyleConstants): Store created key in keys list.
7392 * javax/swing/event/EventListenerList.java
7393 (readObject): Fixed deserialization.
7394 (writeObject): Fixed serialization.
7396 2006-08-25 Roman Kennke <kennke@aicas.com>
7398 * javax/swing/text/CompositeView.java
7399 (insets): Removed. Replaced by single short fields.
7400 (top): New field. Replaces insets.
7401 (bottom): New field. Replaces insets.
7402 (left): New field. Replaces insets.
7403 (right): New field. Replaces insets.
7404 (CompositeView): Initialize insets fields.
7405 (createDefaultLocation): Removed unneeded method.
7406 (getBottomInset): Return field directly.
7407 (getTopInset): Return field directly.
7408 (getLeftInset): Return field directly.
7409 (getRightInset): Return field directly.
7410 (getInsideAllocation): Adjusted to work on new insets fields.
7411 (getViewIndex): Fixed check.
7412 (loadChildren): Don't replace the old children.
7413 (replace): Make sure that there is an array to operate on.
7414 Only set parent to null, when it is this View.
7415 (setInsets): Adjusted to work with new insets fields.
7416 (setParagraphInsets): Fixed to pull insets directly from
7419 2006-08-25 Roman Kennke <kennke@aicas.com>
7421 * javax/swing/text/ComponentView.java
7422 (Interceptor): New inner helper class. Used to propagate
7423 invalidate requests and cache component layout sizes.
7424 (interceptor): New field.
7425 (getAlignment): Fetch alignment from interceptor container.
7426 (getComponent): Don't create component here. This is done
7428 (getMaximumSpan): Fetch layout info from interceptor. Check
7430 (getMinimumSpan): Fetch layout info from interceptor. Check
7432 (getPreferredSpan): Fetch layout info from interceptor. Check
7434 (modelToView): Fixed model to view mapping.
7435 (viewToModel): Fixed view to model mapping.
7436 (paint): Check for null. Set bounds on interceptor rather
7438 (setParentImpl): Install interceptor between component
7439 and hosting container.
7440 (setParent): Call super.setParent() immediately.
7442 2006-08-25 Roman Kennke <kennke@aicas.com>
7444 * javax/swing/text/LabelView.java
7445 (setPropertiesFromAttributes): Only set background when
7446 the corresponding attribute is actually defined, otherwise
7447 set to null, as the StyleConstants would return black.
7448 * javax/swing/text/DefaultStyledDocument.java
7449 (ElementBuffer.documentEvent): Removed obsolete field.
7450 (ElementBuffer.change): Do prepareEdits() and finishEdits()
7451 to correctly update the element structure.
7452 (ElementBuffer.insertContentTag): Removed unused statement.
7453 (ElementBuffer.recreateAfterFracture): Removed
7454 unused obsolete method.
7455 (setCharacterAttributes): Removed unused statement.
7457 2006-08-25 Roman Kennke <kennke@aicas.com>
7459 * examples/gnu/classpath/examples/swing/Demo.java
7460 (LaterMain.run): Removed unused local variable.
7461 (Demo): Don't put desktop in scrollpane.
7462 (addChildren): Removed unused method.
7463 (mkButtonBar): Added HTML demo.
7464 (mkMenuBar): Added HTML demo.
7465 (mkPanel): Removed unused method.
7466 (mkScrollPane): Removed unused method.
7467 (mkTree): Removed unused method.
7468 (valign2str): Removed unused method.
7469 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7470 Initialize text field with some HTML that already works.
7471 (DEBUG): New field. Set to true for debugging output.
7472 (createContent): Dump element tree after parsing.
7474 2006-08-25 Roman Kennke <kennke@aicas.com>
7476 * javax/swing/text/html/CSS.java
7477 (getValue): Added color value conversion.
7478 * javax/swing/text/html/HTMLDocument.java
7479 (HTMLReader.ConvertAction): New class, converts HTML style tags
7481 (HTMLReader.initTags): Register ConvertAction for <font> tag.
7482 * javax/swing/text/html/InlineView.java
7483 (setPropertiesFromAttributes): Implemented to fetch
7484 CSS character attributes.
7485 * javax/swing/text/html/StyleSheet.java
7486 (addCSSAttribute): Convert value.
7487 (getBackground): Implemented to fetch CSS background color
7489 (getForeground): Implemented to fetch CSS color
7491 (getFont): Adjust font size for superscript and subscript.
7492 (translateHTMLToCSS): Rudimentary implementation that
7493 copies the original attributes, so that any CSS attributes in
7494 there are preserved.
7495 (stringToColor): Use CSSColor for conversion.
7496 * gnu/javax/swing/text/html/css/CSSColor.java:
7497 New class. Converts CSS color values to RGB color values.
7498 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7499 Removed. This is more or less replaced by CSSColor and the
7500 ConvertAction in HTMLReader.
7502 2006-08-25 Roman Kennke <kennke@aicas.com>
7504 * javax/swing/text/BoxView.java
7505 (childReqs): Removed obsolete field.
7506 (baselineLayout): Reimplemented for correct baseline layout.
7507 (baselineRequirements): Reimplemented for correct baseline
7509 (updateChildRequirements): Removed obsolete method.
7510 * javax/swing/text/GlyphView.java
7511 (DefaultGlyphPainter.getSpan): Removed unused statement.
7512 (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7513 specially. The subscript/superscript layout is performed
7514 via the alignment, the font is supplied by the StyleContext.
7515 (breakView): Removed unused statements.
7516 (getAlignment): Adjust alignment according to the
7517 superscript/subscript setting.
7518 (getFont): Reimplemented to fetch the font from the style
7519 context, or from the document if the stylecontext is not
7521 (getPreferredSpan): Adjust span for superscript. Use switch
7523 * javax/swing/text/LabelView.java
7524 (setPropertiesFromAttributes): Fetch background and foreground
7525 from document / style context.
7526 (isSubscript): Resync properties if needed.
7527 * javax/swing/text/ParagraphView.java
7528 (Row.calculateMinorAxisRequirements): Overridden to perform
7530 (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7532 2006-08-24 Roman Kennke <kennke@aicas.com>
7534 * javax/swing/text/Utilities.java
7535 (BUF_LENGTH): Removed unused field.
7536 (drawTabbedText): Removed unneeded cast.
7537 (getBreakLocation): Removed unneeded cast.
7538 Fixed offset to account for Segments not starting at 0.
7540 2006-08-24 Roman Kennke <kennke@aicas.com>
7542 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7543 (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7544 (TabbedPaneScrollLayout.layoutContainer): Likewise.
7545 (ScrollingPane.updateUI): Likewise.
7546 (calculateTabWidth): Rewritten to correctly and efficiently
7547 layout the tab width.
7548 (layoutLabel): Call SwingUtilities method with the tabPane
7550 (paintContentBorderLeftEdge): Removed unused statement.
7551 (paintContentBorderRightEdge): Removed unused statement.
7552 (paintContentBorder): Removed unused statement.
7554 2006-08-24 Roman Kennke <kennke@aicas.com>
7556 * javax/swing/plaf/basic/BasicTextUI.java
7557 (RootView.getAttributes): Overridden to return null,
7558 as the RootView has no parent.
7560 2006-08-24 Roman Kennke <kennke@aicas.com>
7562 * javax/swing/text/html/CSSParser.java: Removed.
7563 * javax/swing/text/html/CSS.java
7564 (getValue): New helper method. Returns special converter
7565 instances for certain kinds of property values.
7566 * javax/swing/text/html/HTMLDocument.java
7567 (HTMLReader.CharacterAction.start): Don't translate tags
7568 here. Instead, store the attributes directly with the tag
7570 (content): Removed field. The Content object is handled
7571 by AbstractDocument.
7572 (styleSheet): Removed field. The styleSheet is the styleContext
7573 of this document and handled by the DefaultStyledDocument already.
7574 (HTMLDocument(Content,StyleSheet): Simply call super here.
7575 The super classes already handle the content and styleContext.
7576 (HTMLDocument()): Call this() with a default GapContent and
7578 (getStyleSheet): Return the styleContext here.
7579 (insertUpdate): New method. Overridden to add the
7580 CONTENT dummy tag to the element's attributes.
7581 (setBase): Set the base on the styleContext.
7582 * javax/swing/text/html/HTMLEditorKit.java
7583 (styleContext): Removed unneeded field.
7584 (styleSheet): Made field private.
7585 (HTMLEditorKit): Do nothing here. The StyleSheet is
7586 created lazily in getStyleSheet(). A styleContext is not
7588 (getStyleSheet): Create StyleSheet correctly.
7589 (insertHTML): Removed unneeded cast.
7590 * javax/swing/text/html/InlineView.java
7591 (attributes): New field.
7592 (changedUpdate): Reload attributes. Trigger preferenceChanged.
7593 (getAttributes): Implemented to fetch the attributes from
7595 * javax/swing/text/html/MultiAttributeSet.java: New class.
7596 Multiplexes between several AttributeSets.
7597 * javax/swing/text/html/MultiStyle.java: New class.
7598 Multiplexes between several Styles.
7599 * javax/swing/text/html/ParagraphView.java
7600 (attributes): New field.
7601 (getAttributes): Implemented to fetch the attributes from
7603 * javax/swing/text/html/StyleSheet.java
7604 (CssParser): Removed inner class.
7605 (CSSStyle): New inner class. Represents a style defined
7607 (CSSStyleSheetParserCallback): New class, for parsing
7609 (css): New field. Stores the CSS rules.
7610 (resolvedStyles): New field. Stores resolved styles.
7611 (StyleSheet): Initialize resolvedStyles map.
7612 (addRule): Removed bogus impl.
7613 (getFont): Implemented to fetch font, based on CSS rules.
7614 (getResolvedStyle): New helper method. Looks up resolved
7615 styles, and resolves a style if necessary.
7616 (resolveStyle): New pair of helper methods. Resolves
7618 (getRule(String)): Provide rudimentary implementation.
7619 (getRule(Tag,Element)): Implemented.
7620 (getViewAttributes): Implemented.
7621 (loadRules): Implemented.
7622 (translateHTMLToCSS): Tagged as not implemented.
7623 * javax/swing/text/html/ViewAttributeSet.java: New class.
7625 2006-08-24 Roman Kennke <kennke@aicas.com>
7627 * javax/swing/text/FlowView.java:
7628 (LogicalView.getAttributes): New method. Overrides super
7629 impl to return the attributes of the FlowView instance.
7630 * javax/swing/text/LabelView.java:
7631 (setPropertiesFromAttributes): Fetch attributes from
7632 View, rather then from the Element. (In the HTML
7633 package the getAttributes() method is overridden to
7634 return different attributes). Fetch font from the StyledDocument.
7636 2006-08-24 Roman Kennke <kennke@aicas.com>
7638 * javax/swing/text/DefaultEditorKit.java:
7639 (DefaultKeyTypedAction.actionPerform): Also filter
7640 ALT and CTRL modifiers.
7642 2006-08-24 Roman Kennke <kennke@aicas.com>
7644 * gnu/javax/swing/text/html/css/FontSize.java,
7645 * gnu/javax/swing/text/html/css/FontStyle.java,
7646 * gnu/javax/swing/text/html/css/FontWeight.java:
7647 New classes. Used to convert CSS font attributes to AWT/Swing
7650 2006-08-24 Francis Kung <fkung@redhat.com>
7651 * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7652 * java/awt/image/ColorConvertOp.java: Updated javadocs.
7653 (srccs, dstcs, rasterValid): Variables removed.
7654 (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7655 (copyRaster): Check for null rendering hints
7656 (createCompatibleColorModel): New private method.
7657 (createCompatibleDestImage): Re-implemented.
7658 (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7659 (createCompatibleDestRaster(Raster)): Re-implemented.
7660 (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7661 (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7662 (getPoint2D): Clean up formatting.
7663 * java/awt/image/ComponentColorModel.java
7664 (constructor): use findBits method instead of passing null.
7665 (findBits): New method.
7667 2006-08-24 Gary Benson <gbenson@redhat.com>
7669 * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7672 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7674 * java/lang/ref/Reference.java
7675 (queue, nextOnQueue): Made volatile.
7676 (enqueue): Made thread safe.
7677 * java/lang/ref/ReferenceQueue.java
7679 (poll): Removed synchronized.
7680 (enqueue): Changed to synchronize on lock object, to update Reference
7681 state and return success status.
7682 (dequeue, remove): Synchronize on lock object.
7684 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7686 * java/security/SecureClassLoader.java
7687 (protectionDomainCache): Changed to HashMap.
7688 (SecureClassLoader): Removed redundant security check.
7689 (defineClass(String,byte[],int,int,CodeSource): Moved
7690 protection domain lookup/construction to new method.
7691 (defineClass(String,ByteBuffer,CodeSource): New method.
7692 (getProtectionDomain): New method.
7694 2006-08-23 Roman Kennke <kennke@aicas.com>
7696 * javax/swing/JComponent.java
7697 (isRepainting): Made package private.
7698 (paintChild): New field.
7699 (findOpaqueParent): Removed method. This is now in
7701 (findOverlapFreeParent): Removed method. This is now
7702 in paintImmediately2().
7703 (findPaintRoot): Removed method. This is now
7704 in paintImmediately2().
7705 (isCompletelyObscured): Changed to take rectangle as single
7707 (isPaintingDoubleBuffered): Removed method. This is now
7708 in paintImmediately2().
7709 (isPartiallyObscured): New helper method.
7710 (onTop): New helper method for optimization.
7711 (paintChildren): Paint only to specific child when
7712 requested like this from paintImmediately2().
7713 (paintDoubleBuffered): Changed to take rectangle as single int
7715 (paintImmediately2): Changed to take rectangle as single int
7716 arguments. Optimized determination of paint root.
7717 (paintImmediately(Rectangle)): Change to delegate to
7718 paintImmediately(int,int,int,int).
7719 (paintImmediately(int,int,int,int)): Look for opaque ancestor
7720 and start painting there.
7721 (paint): Call paintDoubleBuffered() with int arguments. Only
7722 paint component, when not completely occupied by opaque child.
7723 (processKeyBinding): Removed unnecessary cast.
7724 (isOccupiedByChild): New helper method.
7725 * javax/swing/RepaintManager.java
7726 (repaintUnderway): Removed obsolete field.
7727 (commitRequests): Removed obsolete field.
7728 (RepaintManager): Removed initialization of obsolete fields.
7729 (addDirtyRegion): Removed unused statement.
7730 (commitBuffer): Changed to take plain ints as argument.
7731 (compileRepaintRoots): Optimized to avoid use of Rectangle.
7732 Compute offsets in place, rather than using SwingUtilities.
7733 (paintDirtyRegions): Removed unused field.
7734 * javax/swing/JMenuItem.java
7735 (onTop): Return true when not descendant of JInternalFrame.
7736 * javax/swing/JPopupMenu.java
7737 (onTop): Return true.
7738 * javax/swing/JToolTip.java
7739 (onTop): Return true.
7740 * javax/swing/JViewport.java
7741 (paintImmediately2): Change signature to match the
7742 corresponding JComponent method.
7744 2006-08-23 Tania Bento <tbento@redhat.com>
7746 * java/awt/Color.java
7747 (brighter): Modified algorithm to correctly determine the
7748 new brighter colour.
7750 2006-08-23 Roman Kennke <kennke@aicas.com>
7752 * java/awt/Container.java
7753 (maxSize): Removed field. This is already declared in Component.
7754 (validateTree): Check for ContainerPeer. Don't addNotify here.
7755 Only validate Component instances if they are invalid.
7757 2006-08-22 Roman Kennke <kennke@aicas.com>
7759 * javax/swing/JComponent.java
7760 (preferredSize): Removed field.
7761 (maximumSize): Removed field.
7762 (minimumSize): Removed field.
7763 (getMaximumSize): Adjusted to delegate to Component, rather
7764 then managing the size in JComponent.
7765 (getMinimumSize): Adjusted to delegate to Component, rather
7766 then managing the size in JComponent.
7767 (getPreferredSize): Adjusted to delegate to Component, rather
7768 then managing the size in JComponent.
7769 (isMaximumSizeSet): Removed.
7770 (isMinimumSizeSet): Removed.
7771 (isPreferredSizeSet): Removed.
7772 (setMaximumSize): Removed.
7773 (setMinimumSize): Removed
7774 (setPreferredSize): Removed.
7776 2006-08-22 Roman Kennke <kennke@aicas.com>
7778 * javax/swing/AbstractButton.java
7779 (ButtonChangeListener.stateChanged): Delegate to combined
7781 (EventHandler): New inner class. Handles all three types
7782 of events on the model.
7783 (eventHandler): New field. Stores the combined event
7785 (AbstractButton): Moved listener initialization to
7787 (createActionListener): Return combined handler.
7788 (createChangeListener): Return combined handler.
7789 (createItemListener): Return combined handler.
7790 (getEventHandler): New helper method for creating the combined
7792 (setModel): Initialize listeners here.
7793 * javax/swing/plaf/basic/BasicButtonListener.java
7794 (ButtonAction): New class. Implements the keyboard action
7796 (checkOpacity): Implemented.
7797 (createDefaultActionMap): New helper method.
7798 (installKeyboardActions): Rewritten to install InputMap
7799 and ActionMap according to 'new' keyboard input method.
7800 (mouseClicked): Commented as no-op.
7801 (mouseDragged): Commented as no-op.
7802 (mouseMoved): Commented as no-op.
7803 (propertyChange): Check for contentAreaFilled change and
7804 update opacity. Pull handling of HTLM in font and text handler.
7805 (stateChanged): Repaint button.
7806 (uninstallKeyboardActions): Properly uninstall keyboard actions.
7807 * javax/swing/plaf/basic/BasicButtonUI.java
7808 (listener): Removed.
7809 (sharedListener): New static field. Stores the shared listener.
7810 (sharedUI): New static field. Stores the shared UI.
7811 (createButtonListener): Return shared instance here.
7812 (createUI): Return shared instance here.
7813 (getButtonListener): New helper method. Looks for the
7814 BasicButtonListener installed on a button and returns it.
7815 (installDefaults): Correctly install rollover property here.
7816 Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
7817 (installKeyboardActions): Fetch listener with new helper method.
7818 (installListeners): Don't use removed field. Check for null.
7819 (installUI): Added comment about order of method invocations.
7820 (uninstallDefaults): Don't uninstall non-uninstallable properties.
7821 (uninstallKeyboardActions): Fetch listener with new helper method.
7822 (uninstallListeners): Fetch listener with new helper method.
7823 (paintIcon): Paint icon offset when pressed and armed.
7824 * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
7825 * javax/swing/plaf/metal/MetalButtonUI.java
7826 (sharedUI): New field. Stores the shared UI.
7827 (MetalButtonUI): Don't initialize fields here.
7828 (createButtonListener): Removed method. Use super impl.
7829 (createUI): Return shared instance.
7830 (getDisabledTextColor): Update field here.
7831 (getFocusColor): Update field here.
7832 (getSelectColor): Update field here.
7833 (installDefaults): Don't handle rollover property here.
7834 (uninstallDefaults): Don't handle rollover property here.
7835 (paintButtonPressed): Use accessor method to update the
7838 2006-08-21 Mark Wielaard <mark@klomp.org>
7840 Merge NATIVE_LAYER branch.
7842 2006-08-20 Mark Wielaard <mark@klomp.org>
7844 * doc/tools.texinfo: Add file from trunk.
7845 * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
7846 * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
7848 * native/jni/java-lang/java_lang_VMProcess.c
7849 (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
7850 * native/jni/java-net/java_net_VMInetAddress.c
7851 (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
7852 * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
7854 * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
7856 * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
7858 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
7860 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
7862 * vm/reference/java/lang/VMProcess.java: Removed unused redirect
7864 * include/java_lang_VMProcess.h: Regenerated.
7866 2006-07-09 Guilhem Lavaux <guilhem@kaffe.org>
7868 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
7869 (nativeReceive): Fixed the type of the arrays (use java types).
7870 (nativeSendTo): Force throwing an exception if port is 0.
7872 * native/jni/java-net/javanet.c:
7873 (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
7875 (_javanet_recvfrom): Likewise.
7876 (_javanet_sendto): Throw a NullPointerException if the socket is
7877 not connected and no address is given.
7879 * native/jni/java-net/javanet.h
7880 (NULL_EXCEPTION): Defined.
7882 2006-06-16 Guilhem Lavaux <guilhem@kaffe.org>
7884 * native/jni/java-net/java_net_VMInetAddress.c
7885 (Java_java_net_VMInetAddress_getHostByName): Fix detection of
7888 * native/jni/java-net/javanet.c
7889 (_javanet_accept): Fixed bogus call to TARGET.
7890 (_javanet_create_inetaddress): Fixed address generation. Fixed
7892 (_javanet_bind): set "Reuse address" flag.
7894 * native/jni/native-lib/cpio.c
7895 (cpio_getModificationTime): Fixed type.
7896 (cpio_removeFile): Use rmdir too.
7898 * native/jni/native-lib/cpnet.c
7899 (cpnet_getHostByName): Fixed error detection.
7901 * native/jni/native-lib/cpnet.h
7902 (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
7904 (cpnet_IPV4AddressToBytes): Fixed types.
7906 2006-06-10 Guilhem Lavaux <guilhem@kaffe.org>
7908 * native/jni/native-lib/cpio.c
7909 (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
7911 * native/jni/native-lib/cpnet.h:
7912 (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
7913 messed by signs in jbyte.
7915 * native/jni/native-lib/cpproc.h
7916 (CPIO_EXEC_NUM_PIPES): Compilation fix.
7918 2006-05-09 Guilhem Lavaux <guilhem@kaffe.org>
7920 * native/jni/native-lib/cpnet.c
7921 (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
7922 (waitForWritable, waitForReadable): New functions.
7923 (socketTimeouts): New static global table to hold timeouts for all
7925 (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
7926 Added waitForXXXX safeguards to handle socket timeouts.
7928 * native/jni/java-net/javanet.c
7929 (_javanet_accept): Check for the right error value when a timeout
7932 2006-03-25 Guilhem Lavaux <guilhem@kaffe.org>
7934 * native/jni/java-io/Makefile.am,
7935 native/jni/java-lang/Makefile.am,
7936 native/jni/java-net/Makefile.am,
7937 native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
7939 * native/jni/native-lib/Makefile.am: Added cpproc.c
7941 * native/jni/native-lib/cpio.c: Implemented missing functions for
7944 * native/jni/native-lib/cpnet.c
7945 (cpnet_getHostByName): Fixed address array initialization.
7947 * native/jni/native-lib/cpproc.c: Implemented.
7949 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7951 * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
7953 * m4/gcc_attribute.m4: New file from ac_archive.
7955 * native/jni/java-net/javanet.c: Adapted to cpnet API
7958 * native/jni/native-lib/cpnet.c: Implemented.
7960 * native/jni/native-lib/cpnet.h
7961 (cpnet_openSocketDatagram,
7962 cpnet_openSocketStream): These calls need an address family now.
7963 (cpnet_IPV4AddressToBytes,
7964 cpnet_bytesToIPV4Address): Convert the address to network order.
7966 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7968 * native/jni/java-io/java_io_VMFile.c,
7969 native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
7970 native/jni/midi-dssi/dssi_data.h,
7971 native/jni/native-lib/cpio.c,
7972 native/jni/native-lib/cpmath.h: Removed cpmath
7973 dependency. Fixed coding style.
7975 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7977 * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
7978 dependency. Simplified the JNI code by moving some part into the
7981 * native/jni/native-lib/cpproc.h: New interface to handle processes.
7983 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7985 * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
7986 errors. Removed any remaining TARGET invocations.
7988 * native/jni/java-net/javanet.c
7989 (_javanet_create_inetaddress): Removed spurious arr and
7990 octets. Fixed compilation errors.
7992 * native/jni/native-lib/cpnet.h
7993 (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
7994 cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
7995 cpnet_isIPV4Address): New functions.
7996 (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
7999 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
8001 * native/jni/java-io/java_io_VMFile.c,
8002 native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
8003 native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
8004 native/jni/java-net/javanet.c,
8005 native/jni/java-net/javanet.h: Adapted the VM layer code
8006 to the new native layer.
8008 * native/jni/native-lib/cpnet.h
8009 (cpnet_addMembership,
8010 cpnet_dropMembership,
8011 cpnet_getAvailableBytes): Added the declarations of
8013 (cpnet_newIPV6Address,
8014 cpnet_IPV6AddressToBytes,
8015 cpnet_bytesToIPV6Address): Implemented.
8016 (cpnet_newIPV4Address): Initialize the sin_family field.
8018 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
8020 * native/target: Removed.
8022 * configure.ac: Removed target from CLASSPATH_INCLUDES and
8023 Makefile generation.
8025 * native/jni/native-lib/Makefile.am,
8026 native/jni/native-lib/cpnet.h,
8027 native/jni/native-lib/cpnet.c
8028 native/jni/native-lib/cpio.h,
8029 native/jni/native-lib/cpio.c,
8030 native/jni/native-lib/cpmath.h: Imported new native compatibility
8033 2006-08-21 Roman Kennke <kennke@aicas.com>
8035 * gnu/javax/swing/text/html/css/CSSParser.java:
8037 * gnu/javax/swing/text/html/css/CSSParserCallback.java:
8039 * gnu/javax/swing/text/html/css/CSSParserException.java:
8041 * gnu/javax/swing/text/html/css/CSSScanner.java:
8042 Adjusted API comments. Made all constants package private.
8043 (EOF): New constant field.
8044 (parseBuffer): Made package private.
8045 (tokenEnd): Made package private.
8046 (CSSScanner): Initialize lookahead buffer with -1.
8047 (main): Print out to System.out rather then System.err.
8048 (nextToken): Push back character after IDENT.
8050 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
8052 * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
8054 2006-08-21 Roman Kennke <kennke@aicas.com>
8056 * gnu/javax/swing/text/html/css/CSSScanner.java
8057 (main): Use buffered input stream.
8058 (nextToken): Removed 65536 workaround. Use int value directly
8059 without cast to char.
8060 (readComment): Use int value directly without cast to char.
8061 Cast to char only when putting the character into the buffer.
8062 (readEscape): Likewise.
8063 (readIdent): Likewise.
8064 (readName): Likewise.
8065 (readNum): Likewise.
8066 (readString): Likewise.
8067 (readWhitespace): Likewise.
8069 2006-08-21 Ingo Proetel <proetel@aicas.com>
8071 * java/io/InputStreamReader.java
8072 (bytesCache): New field.
8073 (cacheLock): New field.
8074 (read(byte[],int,int): Avoid allocations of new byte
8075 array on every call and reuse cached byte array if possible.
8077 2006-08-21 Roman Kennke <kennke@aicas.com>
8079 * gnu/java/net/local/LocalSocketImpl.java
8080 Only load native lib if this is supported by runtime.
8081 * native/jni/java-net/local.c
8082 Include config.h unconditionally.
8083 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
8084 Include config.h unconditionally.
8086 2006-08-21 Friedjof Siebert <siebert@aicas.com>
8088 * java/io/ObjectInputStream.java
8089 (objectLookupTable): Changed to be a Vector.
8090 (ObjectInputStream): Initialize objectLookupTable as Vector.
8091 (assignNewHandle): Store Object using handle index rather than
8092 Hashtable, using the new rememberHandle() method.
8093 (hierarchy): New method. This replaces inputGetObjectStreamClasses()
8094 with a caching in ObjectStreamClass.
8095 (inputGetObjectStreamClass): Replaced by hierarchy().
8096 (lookupHandle): New method. Looks up an object by it's handle
8098 (parseContent): Avoid creating of Integer objects. Use
8099 hierarchy() method for looking up the class hierarchy.
8100 (processResolution): Use rememberHandle() to store
8101 handle per index, rather than Hashtabling the object.
8103 (rememberHandle): New method.
8104 * java/io/ObjectOutputStream.java
8105 (OIDLookupTable): Use ObjectIdentityMap2Int instead of
8106 Hashtable for improved lookup performance.
8107 (ObjectOutputStream): Initialize OIDLookupTable as
8108 ObjectIdentityMap2Int.
8109 (assignNewHandle): Change to use ObjectIdentityMap2Int.
8110 (findHandle): Change to use ObjectIdentityMap2Int.
8111 (getBooleanField): Removed.
8112 (getByteField): Removed.
8113 (getCharField): Removed.
8114 (getDoubleField): Removed.
8115 (getField): Removed.
8116 (getFloatField): Removed.
8117 (getIntField): Removed.
8118 (getLongField): Removed.
8119 (getObjectField): Removed.
8120 (writeFields(Object,ObjectStreamClass)): Use new helper method.
8121 (writeFields(Object,ObjectStreamField)): New helper method.
8122 Use switch rather then if-else cascade.
8123 (writeObject): Use int handle, rather then Integer.
8124 * java/io/ObjectStreamClass.java
8125 (hierarchy): New field. Caches the class hierarchy.
8126 (methodCache): New field. Caches methods.
8127 (readObjectSignature): New field. Stores the read signature.
8128 (uidCache): New field. Caches UIDs.
8129 (writeObjectSignature): New field. Stores the write signature.
8130 (cacheMethods): Cache methods in methodCache.
8131 (calculateClassID): Outsourced from getClassUID()
8132 for computing the UIDs.
8133 (getClassUIDFromField): Outsourced from getClassUID() for
8134 fetching the UID from the class field.
8135 (getClassUID): Use cached uid if possible. Use new helper
8136 methods for fetching the UID from the field or computing
8138 (getObjectStreamClasses): Removed. Replaced by more
8139 efficient hierarchy() method, that also caches the result.
8140 (hierarchy): Replaces getObjectStreamClasses() for caching
8142 (loadedByBootOrApplicationClassLoader): New helper method.
8143 (setClass): Invalidate hierarchy cache.
8144 (setSuperclass): Invalidate hierarchy cache.
8145 * java/io/ObjectStreamField.java
8146 (field): Made field package private for access from other
8148 * gnu/java/io/ObjectIdentityWrapper.java: Removed.
8149 * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
8150 hashtable for mapping objects to ints.
8152 2006-08-21 Roman Kennke <kennke@aicas.com>
8155 (getAbsolutePath): Fetch absolute path from
8156 VMFile.getAbsolutePath(). Moved actual impl to there.
8157 (isAbsolute): Let VMFile determine the absoluteness.
8158 (toURL): Let VMFile convert the filename.
8159 * vm/reference/java/io/VMFile.java
8160 (getAbsolutePath): New method.
8161 (isAbsolute): New method.
8162 (toURL): New method.
8164 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
8166 * NEWS: Added note about updated VM interface.
8168 2006-08-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
8170 * java/lang/management/ManagementFactory.java:
8171 Updated documentation.
8173 2006-08-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
8176 * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
8178 * gnu/java/util/regex/CharIndexedCharSequence.java,
8179 gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
8181 * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
8182 (match): call the new method setHitEnd of the input,
8183 (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
8184 Some optimization commented out, Use CharIndexed#move1 instead of move.
8185 * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
8186 * gnu/java/util/regex/REToken.java(match): The method body has been
8187 moved to an internal private method, (matchFake): New method,
8188 (setHitEnd): New method.
8189 * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
8190 if the match is not complete, (matchOneString): Count the number of
8191 characters which matched the pattern.
8192 * gnu/java/util/regex/RETokenEnd.java(fake): New field,
8193 (setFake): New method, (match): Call super.match or super.matchFake.
8194 * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
8195 * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
8196 setHitEnd of the input,
8197 * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
8198 * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
8199 RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
8201 2006-08-18 Tom Tromey <tromey@redhat.com>
8203 * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
8204 the 'int', not the cast char.
8206 2006-08-18 Roger Sayle <roger@eyesopen.com>
8208 * scripts/check_jni_methods.sh: Don't use the "set -C" command
8209 which isn't available in all shells.
8211 2006-08-18 Roger Sayle <roger@eyesopen.com>
8213 * lib/Makefile.am (resources): Fix some shell portability issues.
8215 2006-08-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8217 * configure.ac (tool-wrappers): Check for ltdl support when tool
8218 wrapper binaries are enabled.
8219 * tools/Makefile.am (LIBJVM): Remove variable.
8220 (AM_CPPFLAGS): Add LIBJVM define.
8221 (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
8222 gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
8223 gjavah_LDFLAGS): Remove variables.
8224 * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
8226 2006-08-18 Tom Tromey <tromey@redhat.com>
8228 * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
8230 * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
8232 (readEntries): Likewise.
8234 2006-08-17 Roman Kennke <kennke@aicas.com>
8236 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8237 (layoutLabel): Reset the text and icon rectangles.
8239 2006-08-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8242 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
8243 Transform gappletviewer name using program_transform_name.
8245 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
8247 * javax/swing/filechooser/FileSystemView.java
8248 (getFileSystemView): Always return UnixFileSystemView, since
8249 that's the only one we got. Marked with NotImplementedException.
8250 * javax/swing/plaf/basic/BasicFileChooserUI.java
8251 (mouseClicked, installUI): Don't parse path by hand.
8253 2006-08-17 Roman Kennke <kennke@aicas.com>
8255 * javax/swing/JComponent.java
8256 (scrollRectToVisible): Handle intermediate non-JComponents
8259 2006-08-17 Roman Kennke <kennke@aicas.com>
8261 * javax/swing/RepaintManager.java
8262 (blitBuffer): Removed. This is now done in commitBuffer().
8263 (commitBuffer): Always paint on the root window or applet.
8264 No need to look for intermediate heavyweights. Optimized
8265 rectangle translation.
8266 (commitRemainingBuffers): Removed. Not needed anymore.
8267 (getHeavyweightParent): Removed. Not needed anymore.
8268 (getOffscreenBuffer): Fetch offscreen image from the
8269 actual root component.
8270 (paintDirtyRegions): Don't call commitRemainingBuffers().
8272 2006-08-17 Roman Kennke <kennke@aicas.com>
8274 * javax/swing/SwingUtilities.java
8275 (clipString): New helper method for trimming strings.
8276 (layoutCompoundLabelImpl): Fixed algorithm to conform
8277 testsuites. Trim text if it's too long. Avoid creating
8278 new Rectangles. Optimized for performance.
8279 (layoutCompoundLabel): Use switch rather then if-else-chain.
8280 * javax/swing/plaf/basic/BasicButtonUI.java
8284 (paint): Reset and use cached rectangles. Only call paintIcon()
8285 if icon is not null. Don't call paintButtonPressed() when
8286 button is selected, only when it is both armed and pressed.
8287 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8288 (getPreferredButtonSize): Reused cached rectangles rather
8289 then creating new ones. Don't create new Rectangle via
8291 * javax/swing/plaf/basic/BasicLabelUI.java
8292 (getPreferredSize): Correctly reset cached rectangles. Especially
8293 the view rect must have a big size to give it room for layouting.
8294 Short cut layout when text == null.
8295 (paint): Correctly reset cached rectangles.
8296 * javax/swing/plaf/basic/BasicMenuItemUI.java
8297 (resetRectangles): New helper method.
8298 (getPreferredMenuItemSize): Correctly reset the cached rectangles.
8299 (paintMenuItem): Correctly reset the cached rectangles.
8300 * javax/swing/plaf/basic/BasicRadioButtonUI.java
8301 (getPreferredSize): Use cached Rectangle objects and initialize
8303 (paint): Use cached Rectangle objects and initialize
8306 2006-08-17 David Gilbert <david.gilbert@object-refinery.com>
8308 * java/util/Calendar.java: API doc additions.
8310 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8312 * javax/swing/DefaultButtonModel.java:
8313 (setRollover): Simplified statement.
8315 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
8317 * gnu/java/rmi/server/RMIClassLoaderImpl.java
8318 (loadClass): Rewritten to use getClassLoader.
8319 (loadProxyClass): Implemented.
8320 (getClassLoader): Fixed support for null or empty codebase.
8321 * gnu/java/rmi/server/RMIObjectInputStream.java
8322 (resolveClass): Use user class loader as default class loader.
8323 (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
8324 * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
8325 (loadClass): Simplified and use user class loader instead of
8326 context class loader as default.
8327 * java/io/ObjectInputStream.java
8328 (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
8329 * vm/reference/gnu/classpath/VMStackWalker.java
8330 (firstNonNullClassLoader): New method.
8331 * vm/reference/java/io/VMObjectInputStream.java
8332 (loaderAction, currentClassLoader): Removed.
8334 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8336 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8337 (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
8338 by current scroll offset, added method documention.
8339 (getTabBounds(int, Rectangle)): Added method documentation.
8340 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
8341 (paintContentBorderLeftEdge): Changed y to 1.
8343 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8345 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8346 (MouseHandler.mouseReleased): Implemented.
8347 (MouseHandler.mousePressed): Added delegation to tabbed pane.
8348 (MouseHandler.mouseEntered): Dito.
8349 (MouseHandler.mouseExited): Dito.
8350 (MouseHandler.mouseMoved): Dito.
8351 (MouseHandler.redispatchEvent): New method.
8352 (PropertyChangeHandler.propertyChange): Added extra block level,
8353 added code to handle tab placement changes, added comment.
8354 (updateViewPosition): Set unneeded coordinate to 0, added comment.
8356 2006-08-16 Roman Kennke <kennke@aicas.com>
8358 * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
8359 * gnu/javax/swing/text/html/css/CSSLexicalException.java:
8362 2006-08-16 Mark Wielaard <mark@klomp.org>
8364 * java/awt/Component.java (orientation): Renamed to
8365 componentOrientation.
8366 (setComponentOrientation): Use new field name.
8367 (getComponentOrientation): Likewise.
8369 2006-08-16 Roman Kennke <kennke@aicas.com>
8372 * javax/swing/plaf/basic/BasicTreeUI.java
8373 (CellEditorHandler.editingCancelled): Call completeEditing
8375 (CellEditorHandler.editingStopped): Call completeEditing
8377 (NodeDimensionHandler.getNodeDimensions): Rewritten
8378 to use the preferred sizes of the renderer and editor.
8379 (TreeExpansionHandler.treeCollapsed): Complete editing
8381 (TreeSelectionHandler.valueChanged): Complete editing
8383 (cancelEditing): Call completeEditing with false, false and
8384 false. Don't call finish (removed method).
8385 (completeEditing(boolean,boolean,boolean): Only do something when
8386 stopEditingInCompleteEditing is true. Nullify editingComponent
8387 and editingPath. Remove editingComponent from tree. Update
8388 the layout when necessary and repaint.
8389 (completeEditing): Stop editing when necessary.
8390 (editorRequestFocus): New helper method. Request focus
8391 on the actual editor.
8392 (finish) Removed. This is now done in completeEditing().
8393 (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
8394 (setLargeModel): Complete editing here.
8395 (setRootVisible): Complete editing here.
8396 (setRowHeight): Complete editing here.
8397 (setSelectionModel): Complete editing here.
8398 (startEditing): Correctly initialize and start editing.
8399 (updateExpandedDescendants): Complete editing here.
8400 * javax/swing/tree/DefaultTreeCellEditor.java
8401 (DefaultTextField): Fetch size from super and use renderer's height
8403 (EditorContainer.EditorContainer): Set layout to null, just
8405 (EditorContainer.doLayout): Layout so that the editor
8406 is offset to the right of the icon.
8407 (EditorContainer.getPreferredSize): Implemented to
8408 provide a reasonable preferred size.
8409 (EditorContainer.paint): Position icon in the middle.
8410 Also paint border if appropriate.
8411 (EditorContainer.setBounds): Removed.
8412 (RealEditorListener): Removed.
8413 (DefaultTreeCellEditor): Set correct border.
8414 (cancelCellEditing): Message real editor. Call finish().
8415 (createCellEditor): Don't add listener.
8416 (determineOffset): Correctly determine offset, and update
8418 (finish): New helper method.
8419 (getTreeCellEditorComponent): Set correct font. Call
8420 prepareForEditing() and determineOffset() to correctly initialize
8422 (stopCellEditing): Messsage realEditor to stop editing. Call
8424 (stopEditingTimer): Removed.
8425 (valueChanged): Correctly reset lastPath.
8426 * javax/swing/tree/DefaultTreeCellRenderer.java
8427 (getPreferredSize): Return super plus some extra space for
8430 2006-08-16 Roman Kennke <kennke@aicas.com>
8432 * javax/swing/plaf/metal/MetalTreeUI.java
8433 (LineStyleListener): New property listener, that updates
8434 the line style setting if the corresponding property
8436 (lineStyleListener): New field.
8437 (lineStyle): New field.
8438 (LINE_STYLE_ANGLED): New constant field.
8439 (LINE_STYLE_HORIZONTAL): New constant field.
8440 (LINE_STYLE_NONE): New constant field.
8441 (LINE_STYLE_VALUE_ANGLED): New constant field.
8442 (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8443 (LINE_STYLE_VALUE_NONE): New constant field.
8444 (LINE_STYLE_PROPERTY): New constant field.
8445 (decodeLineStyle): Implemented.
8446 (installUI): Install line style listener. Set initial
8448 (uninstallUI): Uninstall line style listener.
8449 (paintHorizontalPartOfLeg): Only call super for angled
8451 (paintVerticalPartOfLeg): Only call super for angled
8453 (paintHorizontalSeparators): Implemented.
8454 (paint): If lineStyle==HORIZONTAL, call
8455 paintHorizontalSeparators().
8456 * examples/gnu/classpath/examples/swing/TreeDemo.java
8457 (createContent): Add panel for selecting line styles.
8459 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8461 * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8462 (createContent): Rewritten.
8463 (createPlacementChangingMenuItem): New method.
8464 (createLayoutPolicyChangingMenuItem): New method.
8465 (createTabbedPane): New method.
8466 (createTabContent): New method.
8468 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8470 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8471 (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8472 disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8474 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8476 * javax/swing/text/WrappedPlainView.java:
8477 (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8478 (calculateBreakPosition): Add p0 to return value.
8480 2006-08-15 Roman Kennke <kennke@aicas.com>
8482 * javax/swing/plaf/basic/BasicTreeUI.java
8483 (MouseHandler.selectedOnPress): New field.
8484 (MouseHandler.handleEvent): New helper method for handling
8485 selection and start/stop editing for mouse events.
8486 (MouseHandler.mouseDragged): Commented as no-op method.
8487 (MouseHandler.mouseMoved): Commented as no-op method.
8488 (MouseHandler.mousePressed): Use handleEvent() to handle
8489 selection and editing handling.
8490 (MouseHandler.mouseReleased): Use handleEvent() to handle
8491 selection and editing handling.
8492 (MouseInputHandler.MouseInputHandler): Register itself
8493 as mouse listener on source. Redispatch event to
8495 (MouseInputHandler.dispatch): New helper method.
8496 (MouseInputHandler.mouseClicked): Dispatch event.
8497 (MouseInputHandler.mouseDragged): Dispatch event.
8498 (MouseInputHandler.mouseEntered): Stop dispatching
8499 if dragging stopped.
8500 (MouseInputHandler.mouseExited): Stop dispatching
8501 if dragging stopped.
8502 (MouseInputHandler.mouseMoved): Stop dispatching.
8503 (MouseInputHandler.mousePressed): Marked as no-op.
8504 (MouseInputHandler.mouseReleased): Dispatch and stop
8505 dispatching afterwards.
8506 (MouseInputHandler.removeFromSource): Implemented.
8507 (PropertyChangeHandler.propertyChange): Also handle
8508 editable property changes by calling setEditable().
8509 (SelectionModelPropertyChangeHandler.propertyChange):
8510 Reset row selection.
8511 (startEditTimer): Removed.
8512 (setCellEditor): Call updateEditor().
8513 (setEditable): Call updateEditor().
8514 (startEditingAtPath): Make path fully visible before starting
8516 (startEditing): Maybe cancel previous edit session. Add
8517 editing component itself, not its parent container.
8518 Register MouseInputHandler for correctly redispatching
8520 (stopEditing): Message cellEditor and only completeEditing()
8521 when approved by cell editor.
8522 (updateCellEditor): Complete editing before updating
8523 the cell editor. Get cell editor from JTree if possible,
8524 otherwise create default editor. Update the listeners
8526 * javax/swing/tree/DefaultTreeCellEditor.java
8527 (CLICK_COUNT_TO_START): Removed.
8528 (DefaultTreeCellEditor): Install correct border. Let setTree()
8529 update the listeners. Don't initialize lastPath and font yet.
8530 (actionPerformed): Implemented to start editing.
8531 (createTreeCellEditor): Set click count to start to 1, rather than
8533 (isCellEditable): Prepare editor here. Determine if we can
8534 start immediately, or if we trigger a timer to do so.
8535 (prepareForEditing): Don't removeAll() (not necessary),
8536 check editingComponent to be non-null.
8537 (setTree): Update listeners.
8538 (shouldStartEditingTimer): Check for left mouse button.
8539 (startEditingTimer): Lazily create timer.
8541 2006-08-15 Lillian Angel <langel@redhat.com>
8543 * java/awt/dnd/DropTargetDragEvent.java
8544 (getTransferable): Implemented.
8546 2006-08-15 Roman Kennke <kennke@aicas.com>
8548 * java/util/Vector.java
8549 (removeAll): Added comment about NPE.
8550 (retainAll): Added comment about NPE.
8552 2006-08-15 Roman Kennke <kennke@aicas.com>
8554 * java/util/zip/ZipFile.java
8555 (UTF8DECODER): Removed.
8556 (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8557 (utf8Decoder): New instance field.
8558 (decodeChars): Lazily create UTF8 decoder. Use instance
8559 field rather than a static field to avoid corruption.
8561 2006-08-15 Roman Kennke <kennke@aicas.com>
8563 * java/io/PrintStream.java
8564 (line_separator): Provide default for system property.
8565 * java/io/FileDescriptor.java
8566 (valid): Create local copy of channel field for better
8569 2006-08-15 Ingo Proetel <proetel@aicas.com>
8571 * java/util/zip/ZipFile.java
8572 (PartialInputStream.UTF8DECODER): New constant field, used
8573 for decoding UTF8 strings.
8574 (readLeShort): Access buffer directly if it has enough bytes
8576 (readLeInt): Access buffer directly if it has enough bytes
8578 (decodeChars): New helper method for decoding UTF8 strings.
8579 (readString): Avoid NIO charset decoder if possible.
8581 2006-08-15 Roman Kennke <kennke@aicas.com>
8583 * java/util/Vector.java
8584 (removeAll): Don't explicitly null-check here. The RI allows
8585 null arguments when Vector is empty. In other cases we
8586 implicitly throw an NPE.
8587 (retainAll): Don't explicitly null-check here. The RI allows
8588 null arguments when Vector is empty. In other cases we
8589 implicitly throw an NPE.
8591 2006-08-14 Casey Marshall <csm@gnu.org>
8593 Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8594 of changes made on this branch.
8596 * gnu/classpath/debug/Component.java
8597 * gnu/classpath/debug/SystemLogger.java
8598 * gnu/java/security/action/GetPropertyAction.java
8599 * gnu/java/security/action/GetSecurityPropertyAction.java
8600 * gnu/javax/crypto/RSACipherImpl.java
8601 * gnu/javax/net/ssl/PrivateCredentials.java
8602 * gnu/javax/net/ssl/provider/Alert.java
8603 * gnu/javax/net/ssl/provider/AlertException.java
8604 * gnu/javax/net/ssl/provider/Certificate.java
8605 * gnu/javax/net/ssl/provider/CertificateRequest.java
8606 * gnu/javax/net/ssl/provider/CertificateType.java
8607 * gnu/javax/net/ssl/provider/CertificateVerify.java
8608 * gnu/javax/net/ssl/provider/CipherSuite.java
8609 * gnu/javax/net/ssl/provider/ClientHello.java
8610 * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8611 * gnu/javax/net/ssl/provider/CompressionMethod.java
8612 * gnu/javax/net/ssl/provider/Constructed.java
8613 * gnu/javax/net/ssl/provider/ContentType.java
8614 * gnu/javax/net/ssl/provider/DiffieHellman.java
8615 * gnu/javax/net/ssl/provider/Extension.java
8616 * gnu/javax/net/ssl/provider/Finished.java
8617 * gnu/javax/net/ssl/provider/Handshake.java
8618 * gnu/javax/net/ssl/provider/Jessie.java
8619 * gnu/javax/net/ssl/provider/ProtocolVersion.java
8620 * gnu/javax/net/ssl/provider/Random.java
8621 * gnu/javax/net/ssl/provider/ServerHello.java
8622 * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8623 * gnu/javax/net/ssl/provider/Signature.java
8624 * gnu/javax/net/ssl/provider/Util.java
8625 * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8626 * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8627 * java/security/MessageDigest.java
8628 * java/security/MessageDigestSpi.java
8629 * java/security/Signature.java
8630 * java/security/SignatureSpi.java
8631 * javax/crypto/Mac.java
8632 * javax/crypto/MacSpi.java
8633 * javax/net/ssl/HandshakeCompletedEvent.java
8634 * javax/net/ssl/HttpsURLConnection.java
8635 * javax/net/ssl/SSLContext.java
8636 * javax/net/ssl/SSLContextSpi.java
8637 * javax/net/ssl/SSLSession.java
8639 * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java
8640 * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java
8641 * gnu/javax/net/ssl/provider/SimpleSessionContext.java
8642 * gnu/javax/net/ssl/provider/ServerRSAParams.java
8643 * gnu/javax/net/ssl/provider/SSLContextImpl.java
8644 * gnu/javax/net/ssl/provider/ServerDHParams.java
8645 * gnu/javax/net/ssl/provider/ClientHelloBuilder.java
8646 * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java
8647 * gnu/javax/net/ssl/provider/SignatureAlgorithm.java
8648 * gnu/javax/net/ssl/provider/CipherSuiteList.java
8649 * gnu/javax/net/ssl/provider/ServerNameList.java
8650 * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java
8651 * gnu/javax/net/ssl/provider/CompressionMethodList.java
8652 * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java
8653 * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java
8654 * gnu/javax/net/ssl/provider/TrustedAuthorities.java
8655 * gnu/javax/net/ssl/provider/CertificateStatusRequest.java
8656 * gnu/javax/net/ssl/provider/ServerHelloDone.java
8657 * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java
8658 * gnu/javax/net/ssl/provider/SSLSocketImpl.java
8659 * gnu/javax/net/ssl/provider/ServerHelloBuilder.java
8660 * gnu/javax/net/ssl/provider/Record.java
8661 * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java
8662 * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java
8663 * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java
8664 * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java
8665 * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java
8666 * gnu/javax/net/ssl/provider/CertificateBuilder.java
8667 * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java
8668 * gnu/javax/net/ssl/provider/CertificateStatusType.java
8669 * gnu/javax/net/ssl/provider/ExtensionList.java
8670 * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java
8671 * gnu/javax/net/ssl/provider/ClientPSKParameters.java
8672 * gnu/javax/net/ssl/provider/X500PrincipalList.java
8673 * gnu/javax/net/ssl/provider/ServerHandshake.java
8674 * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java
8675 * gnu/javax/net/ssl/provider/SessionImpl.java
8676 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
8677 * gnu/javax/net/ssl/provider/ServerPSKParameters.java
8678 * gnu/javax/net/ssl/provider/TruncatedHMAC.java
8679 * gnu/javax/net/ssl/provider/MaxFragmentLength.java
8680 * gnu/javax/net/ssl/provider/HelloRequest.java
8681 * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java
8682 * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java
8683 * gnu/javax/net/ssl/provider/CipherAlgorithm.java
8684 * gnu/javax/net/ssl/provider/ClientHandshake.java
8685 * gnu/javax/net/ssl/provider/ExchangeKeys.java
8686 * gnu/javax/net/ssl/provider/CertificateURL.java
8687 * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java
8688 * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java
8689 * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java
8690 * gnu/javax/net/ssl/provider/Builder.java
8691 * gnu/javax/net/ssl/provider/Debug.java
8692 * gnu/javax/net/ssl/provider/SSLEngineImpl.java
8693 * gnu/javax/net/ssl/provider/MacAlgorithm.java
8694 * gnu/javax/net/ssl/provider/DelegatedTask.java
8695 * gnu/javax/net/ssl/provider/InputSecurityParameters.java
8696 * gnu/javax/net/ssl/provider/ClientHelloV2.java
8697 * gnu/javax/net/ssl/provider/OutputSecurityParameters.java
8698 * gnu/javax/net/ssl/provider/AbstractHandshake.java
8699 * javax/net/ssl/SSLEngine.java
8700 * javax/net/ssl/CertPathTrustManagerParameters.java
8701 * javax/net/ssl/KeyStoreBuilderParameters.java
8702 * javax/net/ssl/X509ExtendedKeyManager.java
8703 * javax/net/ssl/SSLEngineResult.java
8704 * gnu/javax/net/ssl/PreSharedKeyManager.java
8705 * gnu/javax/net/ssl/Session.java
8706 * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java
8707 * gnu/javax/net/ssl/SSLCipherSuite.java
8708 * gnu/javax/net/ssl/AbstractSessionContext.java
8709 * gnu/javax/net/ssl/SessionStoreException.java
8710 * gnu/javax/net/ssl/SSLRecordHandler.java
8711 * gnu/javax/net/ssl/SSLProtocolVersion.java
8712 * gnu/javax/crypto/key/GnuPBEKey.java
8713 * gnu/java/security/util/ByteBufferOutputStream.java
8714 * gnu/java/security/Requires.java
8715 * gnu/javax/security/auth/callback/CertificateCallback.java
8717 * gnu/javax/net/ssl/provider/Context.java
8718 * gnu/javax/net/ssl/provider/DigestInputStream.java
8719 * gnu/javax/net/ssl/provider/DigestOutputStream.java
8720 * gnu/javax/net/ssl/provider/Enumerated.java
8721 * gnu/javax/net/ssl/provider/Extensions.java
8722 * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8723 * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8724 * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8725 * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8726 * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8727 * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8728 * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8729 * gnu/javax/net/ssl/provider/KeyPool.java
8730 * gnu/javax/net/ssl/provider/OverflowException.java
8731 * gnu/javax/net/ssl/provider/RecordInput.java
8732 * gnu/javax/net/ssl/provider/RecordInputStream.java
8733 * gnu/javax/net/ssl/provider/RecordOutputStream.java
8734 * gnu/javax/net/ssl/provider/RecordingInputStream.java
8735 * gnu/javax/net/ssl/provider/SSLRSASignature.java
8736 * gnu/javax/net/ssl/provider/SSLServerSocket.java
8737 * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8738 * gnu/javax/net/ssl/provider/SSLSocket.java
8739 * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8740 * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8741 * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8742 * gnu/javax/net/ssl/provider/SecurityParameters.java
8743 * gnu/javax/net/ssl/provider/Session.java
8744 * gnu/javax/net/ssl/provider/SessionContext.java
8745 * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8746 * gnu/javax/net/ssl/provider/XMLSessionContext.java
8748 2006-08-14 Roman Kennke <kennke@aicas.com>
8750 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8751 (DividerLayout.layoutContainer): Removed debug output.
8752 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8753 (BasicHorizontalLayoutManager.axis): New field.
8754 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8756 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8757 Call new axis constructor.
8758 (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8760 (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8762 (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8763 Refactored to handle direction.
8764 (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8765 to handle direction.
8766 (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8768 (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8769 to handle direction.
8770 (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8771 to handle direction.
8772 (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8773 to handle direction.
8774 (BasicHorizontalLayoutManager.updateComponents): Don't reset
8776 (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8777 New explicit constructor. Calls super with vertical axis.
8778 (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8779 to BasicHorizontalLayoutManager.
8780 (BasicVerticalLayoutManager.getInitialLocation): Functionality
8781 moved to BasicHorizontalLayoutManager.
8782 (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8783 Functionality moved to BasicHorizontalLayoutManager.
8784 (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8785 moved to BasicHorizontalLayoutManager.
8786 (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8787 moved to BasicHorizontalLayoutManager.
8788 (BasicVerticalLayoutManager.minimumSizeOfComponent):
8789 Functionality moved to BasicHorizontalLayoutManager.
8790 (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8791 moved to BasicHorizontalLayoutManager.
8792 (BasicVerticalLayoutManager.setComponentToSize): Functionality
8793 moved to BasicHorizontalLayoutManager.
8794 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8795 (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8796 (BUTTON_SPRITE_R): New constant field.
8797 (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8798 L sprite for left buttons.
8800 2006-08-14 Andreas Tobler <a.tobler@schweiz.ch>
8802 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8803 (query_formats): g_free 'name' after usage.
8804 g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
8805 g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
8807 2006-08-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8810 * configure.ac (MOZILLA_FOUND): Add pkg-config check for
8813 2006-08-14 Francis Kung <fkung@redhat.com>
8816 * java/awt/image/ColorModel.java
8817 (coerceData): Added check for non-transparent images.
8819 2006-08-14 Francis Kung <fkung@redhat.com>
8821 * java/awt/image/BandCombineOp.java
8822 (BandCombineOp): Perform checks on validity of matrix.
8823 (createCompatibleDestRaster): Add checks and choose raster type dynamically.
8824 (filter): Updated to work with new matrix storage.
8825 (getMatrix): Updated javadoc.
8826 (getPoint2D): Formatting change.
8828 2006-08-14 Francis Kung <fkung@redhat.com>
8830 * java/awt/image/AffineTransformOp.java
8831 (AffineTransformOp): Updated javadoc.
8832 (createCompatibleDestImage): Match behaviour of reference implementation.
8833 (createCompatibleDestRaster): Formatting changes.
8834 (filter(BufferedImage, BufferedImage)): Create compatible destination image.
8835 (filter(Raster, WritableRaster)): Re-implemented.
8836 (filterBicubic): New private method.
8837 (filterBilinear): New private method.
8838 (filterNearest): New private method.
8839 (getBounds2D): No longer fixed around one point for rotations.
8840 (getInterpolationType): Add support for bicubic interpolation.
8842 2006-08-14 Roman Kennke <kennke@aicas.com>
8844 * javax/swing/plaf/metal/MetalLookAndFeel.java
8845 (MetalLookAndFeel): Moved theme initialization to
8847 (createDefaultTheme): Forward to getCurrentTheme().
8848 (getDefaults): Initialize theme before doing anything else.
8849 (getCurrentTheme): Recognize swing.metalTheme property.
8851 2006-08-14 Roman Kennke <kennke@aicas.com>
8853 * javax/swing/JTable
8854 (getScrollableUnitIncrement): Expose partially exposed
8855 row in scrolling direction.
8857 2006-08-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8859 * javax/swing/JTable (getScrollableUnitIncrement):
8860 Removing my name as the whole method body have been
8861 recently completely replaced.
8863 2006-08-14 Roman Kennke <kennke@aicas.com>
8866 * javax/swing/text/Utilities.java
8867 (getTabbedTextOffset): Don't add p0 here.
8869 2006-08-14 Roman Kennke <kennke@aicas.com>
8872 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8873 (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
8874 when wheel is going up.
8876 2006-08-14 Roman Kennke <kennke@aicas.com>
8879 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8880 (BasicOneTouchButton): New inner class.
8881 (DividerLayout.changeButtonOrientation): Removed.
8882 (DividerLayout.positionButtons): Moved into layoutContainer.
8883 (DividerLayout.layoutContainer): Reworked for correct layout.
8884 (OneTouchAction): New inner class.
8885 (centerOneTouchButtons): New field.
8886 (BasicSplitPaneDivider): Initialize centerOneTouchButton from
8888 (createLeftOneTouchButton): Reimplemented to return
8889 BasicOneTouchButton.
8890 (createRightOneTouchButton): Reimplemented to return
8891 BasicOneTouchButton.
8892 (getPreferredSize): Reimplemented to return fixed preferredSize.
8893 (oneTouchExpandableChanged): Add OneTouchAction action to
8894 buttons. Don't install mouse listeners.
8895 (MouseHandler.mousePressed): Removed handling of one touch buttons.
8896 (paint): Don't trigger extra paint for buttons.
8897 (propertyChange): Revalidate splitPane when orientation is changed.
8898 (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
8899 oneTouchExpandable is true.
8900 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8901 (installDefaults): Install dividerSize on the divider too.
8902 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8903 (MetalDividerLayout): Removed. Functionality is already
8904 in BasicSplitPaneDivider.DividerLayout.
8905 (MetalOneTouchButton): New inner class.
8906 (BUTTON_SPRITE): New constant field.
8907 (MetalSplitPaneDivider): Don't change layout.
8908 (createLeftOneTouchButton): Overridden to return custom button
8910 (createRightOneTouchButton): Overridden to return custom button
8912 (paint): Don't trigger button painting. Call super instead.
8914 2006-08-13 Roman Kennke <kennke@aicas.com>
8916 * javax/swing/plaf/basic/BasicTableHeaderUI.java
8917 (installKeyboardAction): Unmarked as stub. Added comment
8918 explaining that the RI seems to do nothing here.
8919 (uninstallKeyboardAction): Unmarked as stub. Added comment
8920 explaining that the RI seems to do nothing here.
8922 2006-08-13 Roman Kennke <kennke@aicas.com>
8925 * javax/swing/ScrollPaneLayout.java
8926 (layoutContainer): Consider the viewportBorder of the
8928 (minimumLayoutSize): Consider the viewportBorder of the
8930 (preferredLayoutSize): Consider the viewportBorder of the
8932 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8933 (installDefaults): Also install viewportBorder if specified.
8934 (paint): Paint viewportBorder if present.
8935 (uninstallDefaults): Uninstall viewportBorder if appropriate.
8936 Don't nullify foreground, background and font. Uninstall
8937 border via LookAndFeel helper method to avoid uninstall
8940 2006-08-13 Roman Kennke <kennke@aicas.com>
8943 * javax/swing/plaf/basic/BasicHTML.java
8944 (HTMLRootView.HTMLRootView): Trigger initial layout.
8945 (HTMLRootView.setSize): Overridden to forward to real view.
8946 * javax/swing/plaf/basic/BasicToolTipUI.java
8947 (PropertyChangeHandler): New inner class. Updates the HTML
8949 (propertyChangeHandler): New field.
8950 (getMaximumSize): Add HTML width delta.
8951 (getMinimumSize): Add HTML width delta.
8952 (getPreferredSize): Reimplemented to use HTML view for size
8953 calculation if appropriate, otherwise use simple stringWidth()
8955 (installListeners): Install propertyChangeHandler.
8956 (uninstallListeners): Uninstall propertyChangeHandler.
8957 (installUI): Update HTML renderer.
8958 (uninstallUI): Update HTML renderer.
8959 (paint): Reimplemented to use HTML view for rendering if
8960 appropriate, simple drawString otherwise.
8961 * javax/swing/plaf/metal/MetalToolTipUI.java
8962 (getPreferredSize): Call super and add accelerator delta.
8963 (paint): Simply call super.
8965 2006-08-13 Roman Kennke <kennke@aicas.com>
8967 * javax/swing/JMenu.java
8968 (changeListener): Renamed to menuChangeListener to avoid
8969 shadowing changeListener field from AbstractButton.
8971 2006-08-13 Roman Kennke <kennke@aicas.com>
8973 * javax/swing/JTree.java
8974 (getScrollableUnitIncrement): Fixed direction.
8975 (getScrollableBlockIncrement): Implemented to scroll one
8977 * javax/swing/tree/VariableHeightLayoutCache.java
8978 (distance): Consider y + height already outside the node.
8980 2006-08-13 Roman Kennke <kennke@aicas.com>
8982 * javax/swing/JTable.java
8983 (getScrollableUnitIncrement): Fixed direction. Make it behave
8985 (getScrollableBlockIncrement): Fixed direction. Make it behave
8988 2006-08-13 Roman Kennke <kennke@aicas.com>
8990 * javax/swing/JList.java
8991 (getScrollableUnitIncrement): Fixed direction. Implemented
8992 horizontal scrolling. Improved usability.
8993 (getScrollableBlockIncrement): Fixed direction. Improved usability.
8995 2006-08-13 Roman Kennke <kennke@aicas.com>
8997 * javax/swing/plaf/basic/BasicScrollBarUI.java
8998 (scrollByUnit): Scroll by -unit when direction is not positive
8999 and +unit otherwise.
9000 (scrollByBlock): Scroll by -unit when direction is not positive
9001 and +unit otherwise.
9003 2006-08-13 Roman Kennke <kennke@aicas.com>
9006 * javax/swing/text/PlainView.java
9007 (paint): Limit painted area to the lines inside the clip
9010 2006-08-13 Roman Kennke <kennke@aicas.com>
9012 * javax/swing/plaf/basic/BasicTextUI.java
9013 (uninstallListeners): Unregister document listener.
9015 2006-08-13 Sven de Marothy <sven@physto.se>
9017 * java/util/Locale.java
9018 (hashcodeCache): New field.
9019 (hashCode): use the above field instead of the serialized one
9020 (writeObject): Removed method.
9021 (readObject): Intern strings.
9022 (equals): Revert to previous method.
9024 2006-08-13 Roman Kennke <kennke@aicas.com>
9026 * javax/swing/JTabbedPane.java
9027 (JTabbedPane): Call setModel() here and let this install the
9028 change listener correctly.
9029 (setModel): Correctly uninstall and reinstall ChangeListener when
9032 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9035 * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
9036 (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
9037 (lastDefaultLocale): Removed.
9038 (emptyLocale): Likewise.
9039 (BundleKey.defaultLocale): New field.
9040 (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
9041 (BundleKey.set): Likewise.
9042 (BundleKey.equals): Take defaultLocal field into consideration.
9043 (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
9045 2006-08-13 Roman Kennke <kennke@aicas.com>
9047 * javax/swing/JMenu.java
9048 (MenuChangeListener): New inner class, helps firing menu events.
9049 (changeListener): New field.
9050 (add(text)): Create new JMenuItem here and call add(JMenuItem).
9051 (add(Action)): Create Action using createActionComponent()
9052 and add via add(Component).
9053 (setModel): Install and uninstall MenuChangeListener here.
9055 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9058 * java/math/BigInteger.java: Updated copyright year.
9059 (init): Consume as little bytes as possible.
9060 (BigInteger(int, int, Random)): Ensure bitLength bits are used.
9061 (valueOf(String, int)): Throw NumberFormatException for malformed strings
9062 as per RI's documentation.
9064 2006-08-13 Sven de Marothy <sven@physto.se>
9066 * java/util/Locale.java
9067 (hashcode): Is a serialized field, not transient.
9068 (equals): Should NOT compare strings by reference.
9069 (readObject/writeObject): Use the default methods and handle the hash
9072 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9075 * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
9076 Updated documentation.
9078 (getInstance(String, String, Provider, Object[])): Likewise.
9079 Separate checks for null and empty string arguments.
9080 Include as much information as possible in the exception's message.
9081 Do not swallow original exception; instead use it as the cause of the
9082 resulting exception.
9083 * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
9084 (getInstance(String)): Updated documentation.
9086 Store last exception caught when iterating through all providers.
9087 If no implementation found, raise last exception if one was caught.
9088 (getInstance(String, String)): Updated documentation.
9090 Check for null or empty provider as per RI-5's documentation.
9091 (getInstance(String, Provider)): Updated documentation.
9093 Use as much information as possible in the exception message.
9094 Do not swallow original exception; instead use it as the cause for the
9095 ultimate raised exception(s).
9096 * java/security/cert/CertificateFactory.java: Likewise.
9097 * java/security/cert/CertPathBuilder.java: Likewise.
9098 * java/security/cert/CertPathValidator.java: Likewise.
9099 * java/security/cert/CertStore.java: Likewise.
9100 * java/security/AlgorithmParameterGenerator.java: Likewise.
9101 * java/security/AlgorithmParameters.java: Likewise.
9102 * java/security/KeyFactory.java: Likewise.
9103 * java/security/KeyPairGenerator.java: Likewise.
9104 * java/security/KeyStore.java: Likewise.
9105 * java/security/MessageDigest.java: Likewise.
9106 * java/security/SecureRandom.java: Likewise.
9107 * java/security/Signature.java: Likewise.
9108 * javax/crypto/Cipher.java: Likewise.
9109 * javax/crypto/ExemptionMechanism.java: Likewise.
9110 * javax/crypto/KeyAgreement.java: Likewise.
9111 * javax/crypto/KeyGenerator.java: Likewise.
9112 * javax/crypto/Mac.java: Likewise.
9113 * javax/crypto/SecretKeyFactory.java: Likewise.
9114 * javax/net/ssl/KeyManagerFactory.java: Likewise.
9115 * javax/net/ssl/SSLContext.java: Likewise.
9116 * javax/net/ssl/TrustManagerFactory.java: Likewise.
9118 2006-08-13 Roman Kennke <kennke@aicas.com>
9120 * javax/swing/JEditorPane.java
9121 (getScrollableTracksViewportHeight): Also check maximum size.
9122 * javax/swing/JTextPane.java
9123 (insertIcon): Use input attributes for adding the icon
9125 * javax/swing/plaf/basic/BasicTextUI.java
9126 (RootView.setSize): Overridden to forward to real view.
9127 (getPreferredSize): Trigger setSize() on the view.
9128 (viewToModel(JTextComponent,Point)): Pass Position.Bias array
9129 to viewToModel() call, rather then null.
9130 * javax/swing/text/ParagraphView.java
9131 (changedUpdate): Invalide layout. Call super.
9132 * javax/swing/text/SimpleAttributeSet.java
9133 (clone): Use super's clone method to create clone.
9134 * javax/swing/text/StyleConstants.java
9135 (setIcon): Also set element name attribute.
9136 * javax/swing/text/StyledEditorKit.java
9137 (BoldAction.actionPerformed): Actually set the bold attribute,
9139 (setCharacterAttributes): Replaced with more straightforward
9141 * javax/swing/text/TextAction.java
9142 (getFocusedComponent): Implemented.
9143 * javax/swing/text/Utilities.java
9144 (getNextVisualPositionFrom): Pass Position.Bias arrays instead
9146 * javax/swing/text/View.java
9147 (changedUpdate): Nullify element change when updateChildren
9150 2006-08-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
9152 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
9153 Fix documentation typos.
9155 2006-08-11 David Daney <ddaney@avtrex.com>
9158 * gnu/java/net/protocol/http/Request.java (readResponse): Call
9159 createResponseBodyStream in more cases and with new parameter.
9160 (createResponseBodyStream): Added new parameter mayHaveBody. Handle
9161 HEAD and !mayHaveBody responses specially.
9163 2006-08-11 Roman Kennke <kennke@aicas.com>
9165 * javax/swing/text/GlyphView.java
9166 (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
9167 * javax/swing/text/LabelView.java
9168 (valid): New flag indicating if the text attributes are valid.
9169 (LabelView): Initialize valid field with false.
9170 (setPropertiesFromAttributes): Call setter methods instead
9171 of setting properties directly. Set valid to true.
9172 (changedUpdate): Invalidate attributes. Call super.
9173 (getBackground): Sync attributes if necessary.
9174 (getForeground): Sync attributes if necessary.
9175 (getFont): Sync attributes if necessary.
9176 (isUnderline): Sync attributes if necessary.
9177 (isSuperscript): Sync attributes if necessary.
9178 (isStrikeThrough): Sync attributes if necessary.
9179 (getFontMetrics): Sync attributes if necessary. Fetch font metrics
9180 from toolkit if Container is not available yet.
9182 2006-08-11 Roman Kennke <kennke@aicas.com>
9184 * javax/swing/text/PlainView.java
9185 (tabBase): New field.
9186 (tabSize): New field.
9187 (updateMetrics): Update tabSize.
9188 (lineToRect): Only allocate when really necessary.
9189 (modelToView): Use tabBase for offset calculations.
9190 (paint): Only allocate when really necessary. Update tabBase.
9191 (nextTabStop): Fixed tab calculation.
9192 (viewToModel): Correctly handle multiline text and locations
9193 outside the view's bounds. Set bias.
9194 (getLineLength): Use tabBase.
9195 * javax/swing/text/Utilities.java
9196 (drawTabbedText): Don't special case newlines. The views
9197 must take care of this.
9199 2006-08-11 Roman Kennke <kennke@aicas.com>
9201 * javax/swing/text/GapContent.java
9202 (UndoPosRef): New inner class. Used for resetting positions
9203 after undo/redo operations.
9204 (InsertUndo.positions): New field.
9205 (InsertUndo.undo): Store positions in removed range.
9206 (InsertUndo.redo): Restore positions in re-inserted range.
9207 (UndoRemove.positions): New field.
9208 (UndoRemove.UndoRemove): Store positions in removed range.
9209 (UndoRemove.undo): Restore positions in re-inserted range.
9210 (UndoRemove.redo): Store positions in removed range.
9211 (insertString): Create InsertUndo instance before actually
9212 inserting the string.
9213 (remove): Create UndoRemove instance before actually
9215 (getPositionsInRange): Don't clear the Vector. Return Vector
9217 (updateUndoPositions): Implemented to reset all UndoPosRefs
9220 2006-08-11 Jeroen Frijters <jeroen@frijters.net>
9222 * java/io/ObjectInputStream.java (readClassDescriptor):
9223 Use class's class loader to resolve field types.
9224 * java/io/ObjectStreamField.java
9225 (ObjectStreamField(String,String,ClassLoader)): Removed.
9226 (ObjectStreamField(String,String)): Don't try to resolve typename.
9227 (resolveType): New method.
9229 2006-08-10 Roman Kennke <kennke@aicas.com>
9231 * javax/swing/text/BoxView.java
9232 (calculateMajorAxisRequirements): Sum up the preferred and
9234 (isAfter): Also add in the rectangle's with/height.
9235 (childAllocation): Don't trigger layout here.
9236 (layoutMinorAxis): Removed debug output.
9237 (getWidth): Consider the insets.
9238 (getHeight): Consider the insets.
9239 (setSize): Consider the insets.
9240 (updateRequirements): Check axis and throw
9241 IllegalArgumentException.
9243 2006-08-10 Roman Kennke <kennke@aicas.com>
9245 * javax/swing/text/AbstractDocument.java
9246 (BidiRootName): New constant field, denotes the element name
9247 for bidi root elements.
9248 (AsyncLoadPriority): New constant field, denotes the property
9249 to store the asynchronousLoadPriority.
9250 (I18N): New constant field, denotes the property for
9252 (bidiRoot): Made field type BidiRootElement.
9253 (AbstractDocument): Build initial element structure for
9255 (getAsynchronousLoadPriority): Implemented. Returns the
9256 value stored in the document properties.
9257 (setAsynchronousLoadPriority): Implemented. Sets the
9258 value stored in the document properties.
9259 (getEndPosition): Implemented to use a Position from the
9261 (getStartPosition): Implemented to use a Position from the
9263 (insertStringImpl): Update the I18N setting if necessary.
9264 (insertUpdate): Update the bidi structure if necessary.
9265 (postRemoveUpdate): Update the bidi structure if necessary.
9266 (putProperty): Update the I18N setting and bidi structure
9268 (updateBidi): New helper method for updating the bidi
9270 (getBidis): New helper method. Fetches the Bidi analysers
9271 for the paragraphs of the range to check.
9272 (dump): Also dump the bidi structure.
9273 (AbstractElement.dump): Indent the '>' correctly.
9274 (AbstractElement.children): Check numChildren rather then
9276 (BidiRootElement): New inner class.
9277 (BidiElement): New inner class.
9279 2006-08-10 Roman Kennke <kennke@aicas.com>
9281 * javax/swing/text/GapContent.java
9282 (getChars): Optimized to only copy array when really necessary.
9283 Respect the partialReturn property.
9285 2006-08-10 Lillian Angel <langel@redhat.com>
9287 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9288 (getComponentPeer): Added check to prevent NPE.
9290 2006-08-10 Gary Benson <gbenson@redhat.com>
9292 * java/security/AccessControlContext.java (<init>):
9293 Avoid a duplicated AccessController.getContext() call.
9295 2006-08-09 Mark Wielaard <mark@klomp.org>
9297 * doc/www.gnu.org/newsitems.txt: Add 0.92.
9298 * doc/www.gnu.org/downloads/downloads.wml: Likewise.
9299 * doc/www.gnu.org/announce/20060809.wml: New file.
9301 2006-08-09 Mark Wielaard <mark@klomp.org>
9303 * configure.ac (VERSION): Set to 0.92-generics.
9304 * NEWS: Add updates for 0.92 release.
9306 2006-08-09 Tom Tromey <tromey@redhat.com>
9309 * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
9310 the pattern match any number of spaces in the text.
9312 2006-08-09 Sven de Marothy <sven@physto.se>
9314 * java/awt/image/BufferedImage.java
9315 (BufferedImage): Reimplement predefined-type constructor.
9316 (observers/tileObservers): Field renamed to tileObservers.
9317 (createDefaultIndexedColorModel): New method.
9319 2006-08-09 Tom Tromey <tromey@redhat.com>
9322 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
9323 (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
9324 Create a 'short' array.
9326 2006-08-09 Tom Tromey <tromey@redhat.com>
9328 * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
9330 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
9331 (writeFields): Print "L" after int constant. Don't mangle the field
9332 name. Only print int/long fields.
9334 2006-08-09 Tom Tromey <tromey@redhat.com>
9336 * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
9339 2006-08-09 Sven de Marothy <sven@physto.se>
9341 * javax/swing/JTree.java
9342 (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
9343 (setSelectionModel): Null parameter should create an EmptySelectionM.
9345 2006-08-09 Roman Kennke <kennke@aicas.com>
9347 * javax/swing/text/AbstractDocument.java
9348 (insertString): Perform modifications inside a write lock.
9349 (insertStringImpl): Don't lock here. This is already done
9351 (replace): Perform modifications inside a write lock.
9352 (AbstractElement.AbstractElement): Call addAttributes() to
9354 (AbstractElement.getName): Fetch name from the ElementNameAttibute.
9355 (BranchElement.lastIndex): New field. Optimizes getElementIndex().
9356 (BranchElement.BranchElement): Set lastIndex to -1.
9357 (BranchElement.getElementIndex): Implemented more efficient
9360 2006-08-09 Roman Kennke <kennke@aicas.com>
9362 * javax/swing/text/DefaultStyledDocument.java
9363 (Edit): Moved this inner class into ElementBuffer where it
9365 (edits): Moved this field into ElementBuffer.
9366 (getEditForParagraphAndIndex): Removed obsolete method.
9367 (insertUpdate): Added some optimizations and fixes. Split
9368 out handling insertion after newlines.
9369 (insertAfterNewline): New helper method. Handles insertions
9371 (ElementBuffer.Edit): New inner class. Moved here from
9372 DefaultStyledDocument.
9373 (ElementBuffer.createdFracture): New field.
9374 (ElementBuffer.documentEvent): Made private.
9375 (ElementBuffer.edits): New field. Moved here from
9376 DefaultStyledDocument.
9377 (ElementBuffer.fracNotCreated): Replaced by createdFracture.
9378 (ElementBuffer.fracturedChild): New field.
9379 (ElementBuffer.fracturedParent): New field.
9380 (ElementBuffer.insertPath): New field.
9381 (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
9383 (ElementBuffer.offsetLastIndex): New field.
9384 (ElementBuffer.offsetLastIndexReplace): New field.
9385 (ElementBuffer.recreateLeafs): New field.
9386 (ElementBuffer.ElementBuffer): Don't initialize stack here.
9387 (ElementBuffer.canJoin): New helper method.
9388 (ElementBuffer.changeUpdate): Changed to use elementStack with
9389 Edits rather than Elements. Let the split method do the work.
9390 (ElementBuffer.cloneAsNecessary): New helper method.
9391 (ElementBuffer.createFracture): Changed to fracture the bottommost
9393 (ElementBuffer.finishEdit): New helper method. Moved out
9394 from insertUpdate to perform the actual changes and update
9396 (fracture): New helper method.
9397 (insertContentTag): Fixed some bugs and changed to use Edit
9398 instances in the stack, rather then Elements.
9399 (insertElement): New helper method. Moved out from insertUpdate()
9400 to process the ElementSpecs.
9401 (insertFirstContentTag): Fixed some problems and changed to use Edit
9402 instances in the stack, rather then Elements.
9403 (insertFracture): Removed. Basically moved into createFracture()
9405 (insertParagraph): Removed.
9406 (insertUpdate): Split out the ElementSpec processing into
9407 insertElement(). Use Edit instances in the stack. Fixed some
9409 (insert): Split out the preparation and finishing code into
9410 prepareEdit() and finishEdit().
9411 (join): New helper method.
9412 (pop): New helper method.
9413 (prepareEdit): New helper method.
9414 (recreateFracturedElement): New helper method.
9415 (recreateLeaves): Removed.
9416 (recreate): New helper method.
9417 (removeElements): New helper method. Split out from removeUpdate().
9418 (removeUpdate): Split out the actual removal. Use the
9419 Edit stack to perform removal and perform the remove actions
9420 and event updates afterwards, just like in insertImpl().
9421 (remove): Use prepareEdit() and finishEdit().
9422 (split): Replaced with more flexible impl.
9424 2006-08-09 Sven de Marothy <sven@physto.se>
9426 * gnu/java/awt/peer/gtk/CairoSurface.java
9427 Change class to extend WritableRaster and not DataBuffer.
9428 (CairoDataBuffer): New inner class.
9429 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
9430 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9431 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9432 Accomodate the above change.
9434 2006-08-09 Sven de Marothy <sven@physto.se>
9436 * gnu/java/awt/peer/gtk/GtkMainThread.java
9438 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9439 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9440 Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9441 * gnu/java/awt/peer/gtk/GtkToolkit.java
9442 Minor style fixes; removed unused fields,
9443 set fields to private where possible.
9444 (createDialog, createFrame, createWindow, createEmbeddedWindow):
9445 Call GtkMainThread.createWindow().
9446 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9447 (dispose): New method.
9448 * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9449 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9450 (gtkQuit): New native method.
9452 2006-08-08 Lillian Angel <langel@redhat.com>
9454 * java/awt/Component.java
9455 (setDropTarget): Added check.
9457 2006-08-08 Lillian Angel <langel@redhat.com>
9459 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9460 (GtkDragSourceContextPeer): Added FIXME. Changed call
9462 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9463 (GtkDropTargetContextPeer): Removed target initialization.
9464 * java/awt/Component.java
9465 (setTarget): Removed commented out code.
9467 2006-08-08 Mark Wielaard <mark@klomp.org>
9469 * javax/swing/text/DefaultHighlighter.java: Qualify
9470 Highlighter.HighlightPainter class name for gcj.
9472 2006-08-05 Roman Kennke <kennke@aicas.com>
9474 * javax/swing/plaf/basic/BasicTableUI.java
9475 (MouseInputHandler.mousePressed): Request focus on list
9478 2006-08-05 Roman Kennke <kennke@aicas.com>
9480 * javax/swing/plaf/basic/BasicListUI.java
9481 (MouseInputHandler.mousePressed): Request focus on list
9484 2006-08-05 Roman Kennke <kennke@aicas.com>
9487 * javax/swing/plaf/basic/BasicMenuBarUI.java
9488 (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9489 than Tree.actionMap.
9490 * javax/swing/plaf/basic/BasicTreeUI.java
9491 (action): Removed obsolete field.
9492 (uninstallKeyboardActions): Removed action field handling.
9493 (installKeyboardActions): Removed action field handling.
9494 (createDefaultActions): Don't install removed TreeAction.
9495 (TreeAction): Removed obsolete inner class.
9496 (ActionListenerProxy): Removed obsolete inner class.
9497 (MouseHandler.mousePressed): Request focus on JTree component
9500 2006-08-08 Roman Kennke <kennke@aicas.com>
9502 * javax/swing/plaf/basic/BasicListUI.java
9503 (MouseInputHandler.mousePressed): Request focus on list
9506 2006-08-08 Roman Kennke <kennke@aicas.com>
9508 * javax/swing/plaf/basic/BasicTableUI.java
9509 (MouseInputHandler.mousePressed): Request focus on list
9512 2006-08-08 Roman Kennke <kennke@aicas.com>
9514 * javax/swing/plaf/basic/BasicTextUI.java
9515 (damageRange(JTextComponent,int,int)): Call damageRange() with
9516 correct biases, rather than null.
9517 (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9518 to use simpler modelToView() approach without much special
9519 casing. This seems not worth the effort and actually
9520 caused problems. Added locking of the document.
9521 * javax/swing/text/BoxView.java
9522 (requirementsValid): New field.
9523 (calculateMajorAxisRequirements): Rewritten without using
9524 SizeRequirements. The SizeRequirements algorithms are slightly
9525 different and too inefficient.
9526 (calculateMinorAxisRequirements): Rewritten without using
9527 SizeRequirements. The SizeRequirements algorithms are slightly
9528 different and too inefficient.
9529 (getAlignment): Simply return the alignment of the cached
9531 (getMaximumSpan): Add insets.
9532 (getMinimumSpan): Add insets.
9533 (getPreferredSpan): Add insets.
9534 (layoutMajorAxis): Rewritten without using
9535 SizeRequirements. The SizeRequirements algorithms are slightly
9536 different and too inefficient.
9537 (layoutMinorAxis): Rewritten without using
9538 SizeRequirements. The SizeRequirements algorithms are slightly
9539 different and too inefficient.
9540 (modelToView): Call setSize() rather than layout().
9541 (paint): Check clip for more efficient painting.
9542 (preferenceChanged): Invalidate requirements here.
9543 (replace): Invalidate requirements here.
9544 (updateRequirements): Update requirements only when requirements
9546 * javax/swing/text/CompositeView.java
9547 (modelToView): Added some more checks and handling of corner cases.
9548 * javax/swing/text/FlowView.java
9549 (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9550 span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9551 * javax/swing/text/IconView.java
9552 (getAlignment): Implemented to return 1.0 for vertical alignment.
9553 * javax/swing/text/ParagraphView.java
9554 (Row.getMaximumSpan): Implemented to let Rows span the whole
9556 (getAlignment): Fixed horizontal alignment and vertical alignment
9557 for empty paragraphs to be 0.5.
9559 2006-08-08 Roman Kennke <kennke@aicas.com>
9561 * javax/swing/text/View.java
9562 (modelToView): Added special handling for corner case at the end
9563 of the view and for multiline views.
9565 2006-08-08 Roman Kennke <kennke@aicas.com>
9567 * javax/swing/plaf/basic/BasicTextUI.java
9568 (modelToView): Read-lock the document. Set size of the
9569 root view before fetching the model-to-view mapping.
9570 (getViewIndex): Check of the position is inside the range and
9571 return -1 if this is not the case.
9572 (getViewAtPosition(int,Rectangle): Update child allocation for valid
9574 (getViewIndexAtPosition(int)): Delegate the index search to
9575 the element since we have a 1:1 mapping between elements and
9577 * javax/swing/text/DefaultCaret.java
9578 (appear): Ignore BadLocationException.
9579 (paint): Ignore BadLocationException.
9580 * javax/swing/text/FlowView.java
9581 (changedUpdate): Also notify the layoutPool view.
9582 (removeUpdate): Also notify the layoutPool view.
9583 * javax/swing/text/ParagraphView.java
9584 (Row.getViewIndexAtPosition): Overridden to search linearily
9585 through the view instead of relying on a 1:1 model to view
9587 * javax/swing/text/View.java
9588 (removeUpdate): Clear ElementChange object if updateChildren
9590 (forwardUpdate): Special handle some boundary cases.
9592 2006-08-07 Raif S. Naffah <raif@swiftdsl.com.au>
9594 * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9595 (hasInheritedParameters): New method.
9596 (equals): Updated documentation.
9597 Take into consideration the outcome of hasInheritedParameters invocation.
9598 (toString): Call hasInheritedParameters and adjust the result accordingly.
9599 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9600 Updated documentation.
9601 Handle case of public keys with null p, q, and g MPIs.
9602 (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9604 2006-08-07 Tom Tromey <tromey@redhat.com>
9607 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9608 (attachment): Likewise.
9609 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9611 (isValid): Likewise.
9612 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9614 (interestOps): Synchronize.
9615 (readyOps): Likewise.
9616 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9619 2006-08-07 C. Scott Marshall <csm@gnu.org>
9622 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9623 the mark has been set.
9624 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9625 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9628 2006-08-07 Sven de Marothy <sven@physto.se>
9630 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9631 (drawGlyphVector): Synchronize against font object when drawing.
9632 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9633 (nativeDrawGlyphVector): Use pango locking when drawing.
9634 (install_font_peer): Use pango locking when creating the cairo face.
9636 2006-08-06 Roman Kennke <kennke@aicas.com>
9639 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9640 (getPreferredSize): Renamed method to preferredSize(). That's
9641 the one that gets called from java.awt.*.
9642 * java/awt/peer/ComponentPeer.java
9643 (getPreferredSize): Added specnote about this method never
9644 beeing called in the RI.
9645 (getMinimumSize): Added specnote about this method never
9646 beeing called in the RI.
9648 2006-08-03 Sven de Marothy <sven@physto.se>
9650 * gnu/java/awt/peer/gtk/ComponentGraphics.java
9651 (grab, nativeGrab): New methods.
9652 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9653 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9654 (nativeGrab): New method.
9655 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9657 * java/awt/Component.java
9658 (printAll): Should call peer print method.
9660 2006-08-06 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
9662 * java/net/URL.java (getContent(Class[])): Implement.
9664 2006-08-06 Mark Wielaard <mark@klomp.org>
9667 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9668 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9670 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9673 2006-08-06 Roman Kennke <kennke@aicas.com>
9675 * NEWS: Added note about the X peers.
9676 * INSTALL: Added install notes about the X peers.
9678 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9679 Paul Jenner <psj@harker.dyndns.org>
9681 * README: Update bug, patches and cvs instructions plus new URLs of
9682 various external projects.
9684 2006-08-06 Thomas Fitzsimmons <fitzsim@redhat.com>
9686 * configure.ac (MOZILLA_FOUND): Fall back to
9687 mozilla-firefox-plugin.
9689 2006-08-06 Mario Torre <neugens@limasoftware.net>
9691 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9692 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9693 g_type_init earlier in function to correctly initialize the
9694 type system used by the backend.
9696 2006-08-05 Roman Kennke <kennke@aicas.com>
9698 * javax/swing/text/DefaultHighlight.java
9699 (DefaultHighlightPainter.paintHighlight): Removed method.
9700 (DefaultHighlightPainter.paintLayer): Implemented.
9701 (DefaultHighlightPainter.paint): Implemented more efficient
9702 painting for multiline-highlights.
9703 (HighlightEntry.p0): Changed to be a Position.
9704 (HighlightEntry.p1): Changed to be a Position.
9705 (HighlightEntry.HighlightEntry): Changed to take Position
9707 (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9708 (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9709 (LayerHighlightEntry): New inner class. Extends HighlightEntry
9710 and tracks the painted rectangle for efficient repainting.
9711 (addHighlight): Handle layered highlight.
9712 (changeHighlight): Handle layered highlight.
9713 (paintLayeredHighlights): Implemented.
9714 (paint): Paint only non-layered highlights here.
9715 (removeAllHighlights): Trigger correct repaint.
9716 (removeHighlight): Handle layered highlight here for
9717 more efficient repainting.
9718 * javax/swing/text/GlyphView.java
9719 (paint): Handle layered highlights.
9720 * javax/swing/text/PlainView.java
9721 (paint): Handle layered highlights.
9722 * javax/swing/text/WrappedPlainView.java
9723 (WrappedLine.paint): Handle layered highlights.
9725 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9728 * NEWS: As suggested by Paul Jennier, added note about the fix of
9731 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9733 * NEWS: Added entry about the context factories for JNDI.
9735 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9738 * gnu/CORBA/Connected_objects.java (size): New method.
9739 * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9741 * javax/naming/spi/NamingManager.java (getURLContext):
9742 Also search for the URL context factories in
9743 gnu/javax/naming/jndi/url.
9744 * gnu/javax/naming/giop/ContextContinuation.java,
9745 gnu/javax/naming/giop/CorbalocParser.java,
9746 gnu/javax/naming/giop/GiopNamingEnumeration.java,
9747 gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9748 gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9749 gnu/javax/naming/giop/ListBindingsEnumeration.java,
9750 gnu/javax/naming/giop/ListEnumeration.java,
9751 gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9752 gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9753 gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9754 gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9755 gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9756 gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9757 gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9758 gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9760 2006-08-06 Sven de Marothy <sven@physto.se>
9762 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9763 (drawGlyphVector): Synchronize against font object when drawing.
9764 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9765 (nativeDrawGlyphVector): Use pango locking when drawing.
9766 (install_font_peer): Use pango locking when creating the cairo face.
9768 2006-08-06 C. Scott Marshall <csm@gnu.org>
9771 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9772 the mark has been set.
9773 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9774 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9777 2006-08-06 Mark Wielaard <mark@klomp.org>
9780 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9781 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9783 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9786 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9787 Paul Jenner <psj@harker.dyndns.org>
9789 * README: Update bug, patches and cvs instructions plus new URLs of
9790 various external projects.
9792 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9794 * gnu/java/lang/management/BeanImpl.java:
9795 (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9797 (getCachedMBeanInfo()): Return open variant.
9798 (getMBeanInfo()): Likewise.
9799 (getTypeFromClass(Class)): Implemented.
9800 (translateSignature(MBeanParameterInfo)): Likewise.
9801 (translate(String)): Likewise.
9802 * javax/management/StandardMBean.java:
9803 (getMBeanInfo()): Return attribute names with capital letters,
9804 as in docs for java.lang.management.ManagementFactory, and
9805 ensure descriptions are not "".
9806 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
9807 * javax/management/openmbean/OpenMBeanInfoSupport.java,
9808 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9809 (toString()): Use Arrays.toString().
9810 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9811 (OpenMBeanParameterInfoSupport(String, String, OpenType)):
9812 Set open type here rather than in other constructors.
9814 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9816 * javax/management/MBeanFeatureInfo.java:
9817 Make string variable package-private.
9818 * javax/management/StandardMBean.java:
9819 (getMBeanInterface()): Made final.
9820 * javax/management/openmbean/SimpleType.java:
9823 2006-08-05 Jeroen Frijters <jeroen@frijters.net>
9825 * java/awt/Component.java (setDropTarget): Commented out GTK specific
9828 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9830 * examples/gnu/classpath/examples/swing/FillRect.java,
9831 * gnu/CORBA/Focused_ORB.java,
9832 * gnu/CORBA/interfaces/gnuSocketFactory.java,
9833 * gnu/classpath/ByteArray.java,
9834 * gnu/classpath/ObjectPool.java,
9835 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9836 * gnu/java/awt/peer/x/fonts.properties,
9837 * gnu/java/security/util/Prime2.java,
9838 * gnu/javax/imageio/gif/GIFStream.java,
9839 * javax/swing/text/html/HTMLTableView.java,
9840 * native/cni/Makefile.am,
9841 * org/omg/CORBA/SendingContext/RunTimeOperations.java,
9842 * org/omg/CORBA/SendingContext/Runtime.java,
9843 * resource/gnu/regexp/MessagesBundle.properties,
9844 * resource/gnu/regexp/MessagesBundle_fr.properties,
9845 * resource/gnu/regexp/MessagesBundle_it.properties,
9846 * tools/appletviewer.in,
9847 * tools/jarsigner.in,
9849 * vm/reference/java/lang/management/VMThreadInfo.java:
9851 * examples/gnu/classpath/examples/awt/aicas.png,
9852 * examples/gnu/classpath/examples/awt/palme.gif,
9853 * examples/gnu/classpath/examples/java2d/aicas.png,
9854 * examples/gnu/classpath/examples/java2d/palme.gif,
9855 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
9856 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
9857 * java/awt/doc-files/capjoin.png,
9858 * java/awt/geom/doc-files/Area-1.png,
9859 * java/awt/geom/doc-files/Ellipse-1.png,
9860 * java/awt/geom/doc-files/GeneralPath-1.png:
9863 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9868 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9870 * gnu/java/lang/management/BeanImpl.java:
9871 (getAttribute(String)): Implemented.
9873 2006-08-05 Roman Kennke <kennke@aicas.com>
9875 * javax/swing/text/JTextComponent.java
9876 (AccessibleJTextComponent.dot): Renamed field into caretDot.
9877 (AccessibleJTextComponent.textComp): Removed field
9878 and replace with JTextComponent.this construct.
9879 (AccessibleJTextComponent.AccessibleJTextComponent):
9880 Fetch caret position.
9881 (caretUpdate): Implemented. Fires property change events and
9882 updates the caretDot field.
9883 (changedUpdate): Implemented. Fires property change events.
9884 (insertUpdate): Implemented. Fires property change events.
9885 (removeUpdate): Implemented. Fires property change events.
9886 (cut): Replaced textComp with JTextComponent.this construct.
9887 (paste): Replaced textComp with JTextComponent.this construct.
9888 (replaceText): Replaced textComp with JTextComponent.this construct.
9889 (selectText): Replaced textComp with JTextComponent.this construct.
9890 (getCaretPosition): Replaced textComp with JTextComponent.this
9892 (getCharCount): Replaced textComp with JTextComponent.this construct.
9893 (getSelectedText): Replaced textComp with JTextComponent.this
9895 (getSelectionEnd): Replaced textComp with JTextComponent.this
9897 (getSelectionStart): Replaced textComp with JTextComponent.this
9899 (getTextRange): Replaced textComp with JTextComponent.this
9901 (doAccessibleAction): Implemented.
9902 (getAccessibleActionCount): Implemented.
9903 (getAccessibleActionDescription): Implemented.
9904 (getAccessibleStateSet): Implemented.
9905 (getAfterIndex): Implemented.
9906 (getBeforeIndex): Implemented.
9907 (getAtIndex): Implemented.
9908 (getAtIndexImpl): New helper method.
9909 (getCharacterAttribute): Implemented.
9910 (getCharacterBounds): Implemented.
9911 (getIndexAtPoint): Implemented.
9912 (insertTextAtIndex): Implemented.
9913 (setAttributes): Implemented.
9914 (setTextContents): Implemented.
9916 2006-08-05 Raif S. Naffah <raif@swiftdsl.com.au>
9918 * configure.ac: Better handling of default-preferences-peer option.
9920 2006-08-04 Andreas Tobler <a.tobler@schweiz.ch>
9922 * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
9925 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9927 * javax/management/openmbean/TabularData.java:
9928 Documentation corrections.
9929 * javax/management/openmbean/TabularDataSupport.java:
9932 2006-08-04 Francis Kung <fkung@redhat.com>
9934 * java/awt/BasicStroke.java
9935 (dashedStroke): Implemented.
9937 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9939 * javax/management/BadAttributeValueExpException.java,
9940 * javax/management/BadStringOperationException.java,
9941 * javax/management/InstanceAlreadyExistsException.java,
9942 * javax/management/InstanceNotFoundException.java,
9943 * javax/management/InvalidApplicationException.java,
9944 * javax/management/MBeanRegistrationException.java,
9945 * javax/management/MalformedObjectNameException.java,
9946 * javax/management/RuntimeErrorException.java,
9947 * javax/management/RuntimeMBeanException.java,
9948 * javax/management/ServiceNotFoundException.java:
9951 2006-08-04 Roman Kennke <kennke@aicas.com>
9953 * javax/swing/SwingUtilities.java
9954 (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
9955 int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
9956 layoutCompoundLabelImpl().
9957 (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
9958 Rectangle,Rectangle,Rectangle,int)): Delegate to new
9959 layoutCompoundLabelImpl().
9960 (layoutCompoundLabelImpl): New helper method. Moved impl from
9961 layoutCompoundLabel() to here and added handling of HTML.
9962 * javax/swing/plaf/basic/BasicButtonUI.java
9963 (installUI): Update HTML view if appropriate.
9964 (uninstallUI): New method. Do the usual uninstallUI things
9965 and uninstall HTML view.
9966 (getMinimumSize): New method. Adjusts the minimum size
9967 by the HTML view minimum size.
9968 (getMaximumSize): New method. Adjusts the maximum size
9969 by the HTML view maximum size.
9970 (getPreferredSize): Pass the button's iconTextGap to the
9971 BasicGraphicsUtils method.
9972 (paint): Let HTML view paint the text, if present.
9973 * javax/swing/plaf/basic/BasicButtonListener.java
9974 (propertyChange): Update the HTML view when the button's
9977 2006-08-04 Mario Torre <neugens@limasoftware.net>
9979 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9980 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9981 g_type_init earlier in function to correctly initialize the
9982 type system used by the backend.
9984 2006-08-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9987 * javax/naming/Name.java (addAll, getPrefix, getSuffix):
9989 * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
9991 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
9993 Reported by Henrik Gulbrandsen <henrik@gulbra.net>
9995 * gnu/xml/dom/DomIterator.java:
9996 (successor): Added if-statement.
9998 2006-08-04 Mark Wielaard <mark@klomp.org>
10000 * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
10002 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
10004 * javax/swing/plaf/metal/MetalMenuBarUI.java:
10005 (update): Check size and paint smaller gradient.
10006 * javax/swing/plaf/metal/MetalBorders.java:
10007 (MenuBarBorder): Removed borderColor field.
10008 (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
10011 2006-08-03 Roman Kennke <kennke@aicas.com>
10014 * javax/swing/plaf/basic/BasicInternalFrameUI.java
10015 (ComponentHandler.componentResized): Reimplemented to handle
10017 (InternalFramePropertyChangeHandler.propertyChange): (Un)install
10018 component listener on changed ancestor.
10019 (installListeners): Install componentListener.
10020 (uninstallListeners): Uninstall componentListener.
10022 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
10024 * StrictMath.java (cbrt): Return argument if it is a NaN.
10029 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
10031 * java/lang/StrictMath.java (tanh): New method.
10033 2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
10035 * scripts/import-cacerts.sh: Batch CA certificates import script.
10037 2006-08-03 Roman Kennke <kennke@aicas.com>
10040 * javax/swing/plaf/basic/BasicListUI.java
10041 (paintCell): Pass row index to cell renderer.
10042 * javax/swing/plaf/basic/MetalFileChooserUI.java
10043 (DirectoryComboBoxRenderer.indentIcon): New field.
10044 (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
10045 Initialize indentIcon.
10046 (DirectoryComboBoxRenderer.getListCellRendererComponent):
10047 Fall back to super and removed standard functionality.
10048 Handle indentation.
10049 (IndentIcon): New class. Wraps and indents another icon.
10051 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
10053 * javax/management/MBeanConstructorInfo.java:
10054 (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
10055 Copy array rather than directly assigning.
10056 * javax/management/MBeanInfo.java:
10057 (MBeanInfo(String,String,MBeanAttributeInfo[],
10058 MBeanConstructorInfo[], MBeanOperationInfo[],
10059 MBeanNotificationInfo[])): Likewise.
10060 * javax/management/MBeanOperationInfo.java:
10061 (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
10063 * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
10064 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
10066 * javax/management/openmbean/OpenMBeanInfo.java:
10067 Corrected documentation.
10068 * javax/management/openmbean/OpenMBeanInfoSupport.java:
10070 * javax/management/openmbean/OpenMBeanOperationInfo.java:
10071 Corrected documentation.
10072 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
10074 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10075 (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
10076 Call other constructor rather than reimplementing.
10078 2006-08-02 Lillian Angel <langel@redhat.com>
10080 * java/awt/dnd/DragSource.java
10081 (isDragImageSupported): Implemented.
10082 (getDragThreshold): Changed default value.
10083 * java/awt/dnd/DropTarget.java
10084 (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
10085 (DropTarget): Likewise.
10086 (DropTarget): If FlavorMap passed in is null, we should use the system default.
10087 (addDropTargetListener): Added check to determine if new DropTargetListener
10088 is this class. If so, an IllegalArgumentException is thrown. If the
10089 new listener is null, nothing happens.
10091 2006-08-02 Thomas Fitzsimmons <fitzsim@redhat.com>
10093 * configure.ac (MOZILLA_FOUND): Fall back to
10094 mozilla-firefox-plugin.
10096 2006-08-02 Sven de Marothy <sven@physto.se>
10098 * java/awt/geom/AffineTransform.java
10099 (hashCode): Tweak impl.
10100 * java/awt/font/FontRenderContext.java
10101 (hashCode): Implement.
10103 2006-08-02 Carsten Neumann <cn-develop@gmx.net>
10105 * java/lang/StrictMath.java (sinh): New method.
10107 2006-08-02 Roman Kennke <kennke@aicas.com>
10110 * javax/swing/JComboBox.java
10111 (setSelectedItem): Fire ActionEvent here.
10112 * javax/swing/plaf/basic/BasicDirectoryModel.java
10113 (directories): Changed to type Vector.
10114 (files): New field.
10115 (loadThread): New field.
10116 (DirectoryLoadThread): New inner class. This loads the contents
10117 of directories asynchronously.
10118 (getDirectories): Return cached Vector.
10119 (getFiles): Return cached Vector.
10120 (getSize): Return plain size of contents Vector.
10121 (propertyChange): Reread directory also for DIRECTORY_CHANGED,
10122 FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
10123 (sort): Don't store sorted list in contents. This must be done
10124 asynchronously from the EventThread.
10125 (validateFileCache): Rewritten for asynchronous reading
10126 of directory contents.
10127 * javax/swing/plaf/basic/BasicFileChooserUI.java
10128 (installListeners): Install model as PropertyChangeListener.
10129 (uninstallListeners): Uninstall model as PropertyChangeListener.
10130 (createPropertyChangeListener): Return null just like the
10133 2006-08-02 Sven de Marothy <sven@physto.se>
10135 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10136 (remove): Force event on removing item 0 when it's selected.
10137 (handleEvent): Always call Choice.selected().
10138 * java/awt/Choice.java:
10139 (remove): Simplify and correct.
10141 2006-08-02 Mark Wielaard <mark@klomp.org>
10144 * configure.ac (gconf-peer): Check for gdk-2.0.
10145 * native/jni/gconf-peer/Makefile.am
10146 (AM_LDFLAGS): Use GDK_LIBS.
10147 (AM_CFLAGS): Use GDK_CFLAGS.
10149 2006-08-02 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
10151 * java/net/URL.java (getContent(Class[])): Implement.
10153 2006-08-02 Roman Kennke <kennke@aicas.com>
10156 * javax/swing/JMenu.java
10157 (JMenu()): Removed setting of delay.
10158 (JMenu(String)): Removed setting of delay.
10159 (JMenu(Action)): Removed setting of delay.
10160 (JMenu(String,boolean)): Removed setting of delay.
10161 (setSelectedHelper): Removed unneeded method.
10162 (setSelected): Simply set the model state.
10163 (setPopupMenuVisible): Recognize the popup location
10164 determined by getPopupMenuOrigin().
10165 (getPopupMenuOrigin): Recognize the UI properties for
10167 (menuSelectionChanged): Call setSelected() directly.
10168 * javax/swing/JPopupMenu.java
10169 (menuSelectionChanged): If invoker is a JMenu, then delegate
10170 to that to get the position right.
10171 * javax/swing/Popup.java
10172 (LightweightPopup.show): Insert the popup as first component
10173 in the layer, so that it overlaps it's caller.
10174 * javax/swing/plaf/basic/BasicMenuItemUI.java
10175 (getPath): Don't include the popup.
10176 * javax/swing/plaf/basic/BasicMenuUI.java
10177 (SelectMenuAction): New class. This invokes the popup when
10178 a menu is selected.
10179 (installDefaults): Install delay of 200 ms.
10180 (setupPostTimer): Implemented.
10181 (MouseInputHandler.mouseClicked): Do nothing here.
10182 (MouseInputHandler.mouseEntered): Use MenuSelectionManager
10183 magic to handle the selection. Open the menu via a timer.
10184 (MouseInputHandler.mousePressed): Use MenuSelectionManager
10185 magic to handle the selection. Open the menu via a timer.
10186 (MenuDragMouseHandler.menuMouseDragged): Probably use
10188 (menuDragMouseEntered): Do nothing here.
10190 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
10192 * javax/management/openmbean/InvalidOpenTypeException.java,
10193 * javax/management/openmbean/KeyAlreadyExistsException.java:
10196 2006-08-02 Roman Kennke <kennke@aicas.com>
10199 * javax/swing/plaf/basic/BasicChooserUI.java
10200 (BasicFileView.getName): Fetch the real name from the
10201 file chooser's FileSystemView.
10202 * javax/swing/plaf/metal/MetalChooserUI.java
10203 (DirectoryComboBoxRenderer.getListCellRendererComponent):
10204 Set the text fetched from the JFileChooser.getName().
10205 * javax/swing/FileSystemView.java
10206 (createFileObject): When file is a filesystem root,
10207 create a filesystem root object first.
10208 (getSystemDisplayName): Return the filename. Added specnote
10209 about ShellFolder class that is mentioned in the spec.
10210 * javax/swing/UnixFileSystemView.java
10211 (getSystemDisplayName): Implemented to return the real name
10212 of a file, special handling files like '.' or '..'.
10214 2006-08-03 Mark Wielaard <mark@klomp.org>
10216 * examples/gnu/classpath/examples/icons/badge.png: Add file.
10218 2006-08-03 Roman Kennke <kennke@aicas.com>
10221 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10222 (PropertyChangeHandler.propertyChange): Cleanly reinstall
10223 components when visual property chanegs.
10225 2006-08-03 Roman Kennke <kennke@aicas.com>
10228 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10229 (PropertyChangeHandler.propertyChange): Uninstall and reinstall
10230 component when visual properties change.
10232 2006-08-03 Roman Kennke <kennke@aicas.com>
10235 * javax/swing/JTree.java
10236 (JTree(TreeModel)): Set cell renderer to null.
10237 * javax/swing/plaf/basic/BasicTreeUI.java
10238 (setCellRenderer): Finish editing before setting the
10239 cell renderer. Refresh the layout. Don't set the
10240 currentCellRenderer field here (that's done in updateRenderer).
10241 (updateRenderer): Handle createdRenderer field here too.
10242 Set renderer to a default handler when the current renderer
10243 in the JTree is null.
10245 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
10248 * java/security/SecureRandom.java (next): Call nextBytes as per specs.
10250 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
10253 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
10254 Updated documentation to clarify that RFC-2459 states that the parameters
10255 field of the AlgorithmIdentifier element MUST be NULL if present.
10256 Amended the code to reflect the specs.
10257 (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
10259 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10261 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10262 Call parameter 'defaultValue' not 'defValue'.
10264 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10266 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10269 2006-08-01 Roman Kennke <kennke@aicas.com>
10272 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10273 (PropertyChangeHandler.propertyChange): Cleanly reinstall
10274 components when visual property chanegs.
10276 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10278 * javax/management/openmbean/OpenMBeanAttributeInfo.java:
10279 (toString()): Corrected documentation.
10280 * javax/management/openmbean/OpenMBeanConstructorInfo.java,
10281 * javax/management/openmbean/OpenMBeanInfo.java,
10282 * javax/management/openmbean/OpenMBeanOperationInfo.java:
10284 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10285 (toString()): Corrected documentation.
10287 2006-08-01 Tania Bento <tbento@redhat.com>
10289 * java/awt/Choice.java
10290 (remove(int)): Added documentation.
10292 2006-08-01 Tania Bento <tbento@redhat.com>
10294 * java/awt/Choice.java
10295 (remove(int)): An IllegalArgumentException should not be thrown
10296 if int is invalid. Update selectedIndex and peer selection.
10298 2006-08-01 Tania Bento <tbento@redhat.com>
10300 * java/awt/CardLayout.java
10301 (toString): Changed format of string outputted.
10302 (goToComponent): Changed the order of the if-clause.
10304 2006-07-31 Tom Tromey <tromey@redhat.com>
10306 * INSTALL: Updated for ASM.
10308 2006-07-31 Tom Tromey <tromey@redhat.com>
10311 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
10312 (attachment): Likewise.
10313 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
10315 (isValid): Likewise.
10316 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
10318 (interestOps): Synchronize.
10319 (readyOps): Likewise.
10320 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
10323 2006-07-31 Roman Kennke <kennke@aicas.com>
10325 * NEWS: Added note about the X peers.
10326 * INSTALL: Added install notes about the X peers.
10328 2006-07-31 Carsten Neumann <cn-develop@gmx.net>
10330 * StrictMath.java (getLowDWord): Return long instead of int.
10331 (getHighDWord): Likewise.
10332 (buildDouble): Take two long arguments.
10333 (cbrt): Adapted to int -> long change.
10337 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
10339 * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
10342 2006-07-31 Raif S. Naffah <raif@swiftdsl.com.au>
10344 * java/security/Provider.java: Updated copyright year.
10345 Updated documentation.
10347 (put): Updated documentation.
10348 Added security manager check.
10349 Canonicalize the key before adding its mapping.
10350 (get): Override superclass implementation to use canonicalized keys.
10351 (remove): Updated documentation.
10352 Added security manager check.
10353 Canonicalize the key before removing its mapping.
10354 (clear): Updated documentation.
10355 Added security manager check.
10356 (toCanonicalKey): New method.
10358 2006-07-30 Matt Wringe <mwringe@redhat.com>
10360 * gnu/java/security/Engine.java
10361 (getInstance): Ignore self referencing aliases.
10363 2006-07-30 Mark Wielaard <mark@klomp.org>
10365 * javax/swing/JComponent.java (getListeners): Revert
10368 2006-07-30 Mark Wielaard <mark@klomp.org>
10370 * resource/java/security/classpath.security: Add /dev/urandom as
10371 default securerandom.source.
10373 2006-07-30 Mark Wielaard <mark@klomp.org>
10375 * java/util/GregorianCalendar.java (maximums): Months can have up to
10377 (nonLeniencyCheck): weeks is either 5 or 6.
10379 2006-07-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
10381 * javax/management/openmbean/OpenMBeanAttributeInfo.java,
10382 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10385 2006-07-30 Matt Wringe <mwringe@redhat.com>
10387 * gnu/java/security/Engine.java
10388 (getInstance): Ignore self referencing aliases.
10390 2006-07-30 Sven de Marothy <sven@physto.se>
10392 * java/awt/Choice.java:
10393 (accessibleAction): Call select() directly.
10394 (add, insert, remove): Reimplement.
10395 (dispatchEventImpl): Always call super.
10396 (processItemEvent): Does not set the index.
10397 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
10398 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10400 (nativeAdd): Name changed to add.
10401 (selection_changed_cb): Simplify callback.
10402 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10403 (selected): New field.
10404 (add): Replaced with native impl.
10405 (handleEvent): New method.
10407 2006-07-30 Sven de Marothy <sven@physto.se>
10409 * java/awt/Choice.java:
10410 Reformat, fix copyright year.
10412 2006-07-29 Mark Wielaard <mark@klomp.org>
10414 * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
10415 static field isPaintingDoubleBuffered to not have the same name
10418 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10420 * examples/gnu/classpath/examples/management/TestBeans.java:
10422 * javax/management/MBeanAttributeInfo.java:
10423 (toString()): Implemented.
10424 * javax/management/MBeanConstructorInfo.java:
10425 (toString()): Implemented.
10426 * javax/management/MBeanFeatureInfo.java:
10427 (toString()): Implemented.
10428 * javax/management/MBeanInfo.java:
10429 (toString()): Implemented.
10430 * javax/management/MBeanNotificationInfo.java:
10431 (toString()): Implemented.
10432 * javax/management/MBeanOperationInfo.java:
10433 (toString()): Implemented.
10434 * javax/management/MBeanParameterInfo.java:
10435 (toString()): Implemented.
10436 * javax/management/StandardMBean.java:
10437 (getMBeanInfo()): Fix attribute naming.
10439 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10441 * gnu/java/lang/management/BeanImpl.java:
10442 Extended javax.management.StandardMBean.
10443 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10444 * gnu/java/lang/management/CompilationMXBeanImpl.java,
10445 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10446 * gnu/java/lang/management/MemoryMXBeanImpl.java,
10447 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10448 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10449 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10450 * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10451 * gnu/java/lang/management/ThreadMXBeanImpl.java:
10452 Call the superclass with the appropriate class.
10453 * java/lang/management/ManagementFactory.java:
10454 (getOperatingSystemMXBean()): Catch exception from
10456 (getRuntimeMXBean()): Likewise.
10457 (getClassLoadingMXBean()): Likewise.
10458 (getThreadMXBean()): Likewise.
10459 (getMemoryMXBean()): Likewise.
10460 (getCompilationMXBean()): Likewise.
10461 (getMemoryPoolMXBeans()): Likewise.
10462 (getMemoryManagerMXBeans()): Likewise.
10463 (getGarbageCollectorMXBeans()): Likewise.
10464 * javax/management/MBeanFeatureInfo.java:
10465 hashCode()): Fixed to check for null values.
10467 2006-07-29 Matt Wringe <mwringe@redhat.com>
10469 * gnu/java/security/Engine.java
10470 (getInstance): Add case insentivity to algorithm names
10471 * java/security/Provider.java
10472 (put): Stop using canonical key naming
10474 (toCanonicalKey): Method removed
10475 (get): Method removed, no longer needs to overwrite
10476 parent implementation
10478 2006-07-29 Mark Wielaard <mark@klomp.org>
10480 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10481 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10482 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10483 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10484 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10485 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10488 2006-07-29 Sven de Marothy <sven@physto.se>
10490 * java/math/BigDecimal.java
10491 Adjust copyright date.
10492 (divide(BigDecimal): Implement.
10493 (precision): Reimplement.
10494 (numDigitsInBigInteger, numDigitsInLong): Removed.
10495 (toString): Get exponent from string length,
10496 fix negative values with exponential form.
10497 (toEngineeringString): Same as for toString.
10498 (setScale): Throw ArithmeticException if scale < 0.
10500 2006-07-27 Francis Kung <fkung@redhat.com>
10502 * gnu/java/awt/java2d/CubicSegment.java: Added import.
10503 (cp1): Renamed from first().
10504 (c2): Renamed from last().
10505 (first): Renamed to cp1().
10506 (getDisplacedSegments): Implemented.
10507 (last): Renamed to cp2().
10508 * gnu/java/awt/java2d/LineSegment.java
10509 (cp1): Renamed from first().
10510 (c2): Renamed from last().
10511 (first): Renamed to cp1().
10512 (last): Renamed to cp2().
10513 * gnu/java/awt/java2d/QuadSegment.java
10514 (cp1): Renamed from first().
10515 (c2): Renamed from last().
10516 (first): Renamed to cp1().
10517 (last): Renamed to cp2().
10518 * gnu/java/awt/java2d/Segment.java: Added comments.
10519 (first): New field.
10520 (Segment): Keep track of first element in list.
10521 (add): Update first & last element variables.
10522 (cp1): Renamed from first().
10523 (c2): Renamed from last().
10524 (first()): Renamed to cp1() to reduce ambiguity.
10525 (last()): Renamed to cp2() to reduce ambiguity.
10526 (reverseAll): Update first element variable..
10527 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10528 (draw): Remove flattening path iterator.
10529 * java/awt/BasicStroke.java: Clarified comments.
10530 (addSegments): Refactored some code into joinSegments and
10532 (capEnd): Rename of Segment.first() and Segment.end().
10533 (joinInnerSegments): New method.
10534 (joinOuterSegments): New method.
10535 (joinSegments): Refactored some code into joinOuterSegments.
10536 (solidStroke): Connect segments together properly.
10538 2006-07-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10540 * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10542 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10544 * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10546 * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10549 2006-07-28 Tom Tromey <tromey@redhat.com>
10551 * configure.ac: Enable -Werror by default on Linux-with-gcc.
10553 2006-07-28 Lillian Angel <langel@redhat.com>
10555 * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10556 Removed function declarations.
10557 (connect_signals_for_widget): Removed implementation because
10558 stub functions have been removed.
10559 (drag_begin_cb): Removed function.
10560 (drag_motion_cb): Likewise.
10561 (drag_data_get_cb): Likewise.
10562 (drag_data_delete_cb): Likewise.
10563 (drag_drop_cb): Likewise.
10564 (drag_end_cb): Likewise.
10565 (drag_data_received_cb): Likewise.
10567 2006-07-28 Mark Wielaard <mark@klomp.org>
10569 * configure.ac: Set version to 0.93-pre.
10571 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10573 * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10575 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10577 * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10578 (getCallbackHandler): Fully qualify linked class in javadoc.
10579 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10580 * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10581 * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10583 2006-07-27 Tom Tromey <tromey@redhat.com>
10585 PR classpath/28486:
10586 * java/net/URLStreamHandler.java (equals): Properly handle default
10587 port. Rewrote javadoc. Don't compare 'authority' parts of URLs.
10589 2006-07-27 Roman Kennke <kennke@aicas.com>
10591 * javax/swing/text/AbstractDocument.java
10592 (documentCV): Made field private.
10593 (bypass): Made field private.
10594 (bidiRoot): New field.
10595 (AbstractDocument): Initialize bidiRoot.
10596 (getBidiRootElement): Return bidiRoot.
10597 (getRootElements): Adjusted to also return the bidiRoot element.
10598 (BranchElement.startOffset): Removed unneeded field.
10599 (BranchElement.endOffset): Removed unneeded field.
10600 (BranchElement.BranchElement): Removed unneeded fields.
10601 (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10602 done automatically when there's no element left in the array.
10603 (BranchElement.getStartOffset): Likewise.
10604 (BranchElement.replace): Reordered calculations to avoid double
10606 (removeImpl): Silently ignore requests with length <= 0.
10607 * javax/swing/text/GapContent.java
10608 (createPosition): Removed explicit check for correct offset.
10609 This class can deal with offsets outside the document.
10610 (shiftEnd): Update all positions, even those outside the
10612 (adjustPositionsInRange): Fixed to also adjust positions outside
10613 the document boundary.
10615 2006-07-18 Kyle Galloway <kgallowa@redhat.com>
10617 * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10619 (getParameter): Returns _klass field instead of determining
10620 class from _instance.
10621 (setCatchLoc): New method.
10622 (writeData): Now assumes Location deals with empty locations instead of
10624 * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10625 locations and write out accordingly.
10626 (getEmptyLocation): New method.
10628 2006-07-27 Roman Kennke <kennke@aicas.com>
10630 * javax/swing/text/SimpleAttributeSet.java
10631 (EMPTY): Use EmptyAttributeSet for this field rather than
10632 SimpleAttributeSet.
10633 * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10634 an empty and immutable AttributeSet.
10636 2006-07-27 Roman Kennke <kennke@aicas.com>
10638 * java/awt/Component.java
10639 (reshape): Invalidate the component itself only when the
10640 size has changed. Invalidate the parent always. Fixed
10641 repainting. Pulled out the notification into
10643 (notifyReshape): New helper method. Notify interested listeners
10645 (update): Simply call paint() without clearing the background.
10646 This is done in Container.update() if appropriate.
10647 (repaint): Delagate the repaint to the nearest heavyweight
10648 parent (for lightweights) and send an UPDATE event, rather than
10649 calling ComponentPeer.repaint().
10650 * java/awt/Container.java
10651 (backCleared): Removed field.
10652 (paint): Removed handling of backCleared flag.
10653 (update): Only paint if the container is actually
10654 showing. Removed handling of backCleared flag.
10656 2006-07-27 Robert Schuster <robertschuster@fsfe.org>
10658 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10660 (NavigateAction): New inner class.
10661 (NavigatePageDownAction): New inner class.
10662 (NavigatePageUpAction): New inner class.
10663 (RequestFocusAction): New inner class.
10664 (RequestFocusForVisibleComponentAction): New inner class.
10665 (FocusHandler.focusGained): Implemented.
10666 (FocusHandler.focusLost): Implemented.
10667 (MouseHandler.mouseReleased): Implemented.
10668 (MouseHandler.mousePressed): Rewritten.
10669 (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10670 currentScrollLocation to 0.
10671 (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10672 removed local variables, fixed indentation to stay under 80 column
10674 (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10675 one, set selectedIndex to 0 if its negative, corrected start values
10676 for normalization, suppressed padding when only one tab run,
10677 (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10678 (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10679 80 column limit, corrected the starting value for the bounds fixing
10681 (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10682 (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10683 selectedRun, set start index for loop to 0.
10684 (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10685 (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10686 (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10687 alignment and visibility handling.
10688 (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10690 (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10691 (currentScrollOffset): New field.
10692 (tabRuns): Rewritten documentation.
10693 (selectedColor): New field.
10694 (tempTextRect): New field.
10695 (tempIconRect): New field.
10696 (scrollTab): New method.
10697 (updateButtons): New method.
10698 (updateViewPosition): New method.
10699 (createLayoutManager): Reordered method calls, predefine new fields,
10700 register proper listeners.
10701 (uninstallComponents): Implemented.
10702 (installDefaults): Corrected property names, fixed indentation,.
10703 (uninstallDefaults): Set new fields to null.
10704 (uninstallListeners): Remove listeners from components neccessary for
10705 scrolling tab layout.
10706 (installKeyboardActions): Implemented.
10707 (uninstallKeyboardActions): Implemented.
10708 (paint): Paint tab area background.
10709 (paintTabArea): Fixed indentation, removed usage of local Rectangle
10711 (getTabLabelShiftX): Rewritten.
10712 (getTabLabelShiftY): Rewritten.
10713 (paintFocusIndicator): Reindented.
10714 (paintTabBorder): Rewritten.
10715 (paintTabBackground): Corrected color usage, rewritten background
10716 rectangle painting.
10717 (paintContentBorderTopEdge): Rewritten.
10718 (paintContentBorderBottomEdge): Rewritten.
10719 (paintContentBorderLeftEdge): Rewritten.
10720 (paintContentBorderRightEdge): Rewritten.
10721 (tabForCoordinate): Return selected index when no tab could be
10722 found, removed FIXME note.
10723 (getRunForTab): Changed return value for first if-statement.
10724 (navigateSelectedTab): Fixed last argument for both
10725 getTabRunOffset() calls.
10726 (selectedNextTabInRun): Added scrolling code.
10727 (selectedPreviousTabInRun): Added scrolling code.
10728 (selectedNextTab): Added scrolling code.
10729 (selectedPreviousTab): Added scrolling code.
10730 (selectAdjacentRunTab): Added scrolling code.
10731 (getTextViewForTab): Added FIXME note.
10732 (calculateTabHeight): Changed FIXME note.
10733 (getTabRunOffset): Fixed indentation.
10734 (getNextTabIndexInRun): Corrected return value.
10735 (rotateInsets): Make TOP case the default in switch-statement.
10736 (getActionMap): New method.
10737 (createActionMap): New method.
10738 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10739 (createLayoutManager): Rewritten.
10740 (paintLeftTabBorder): Do not paint left line when previous tab
10741 is selected but current tab is the first in its run, do not paint
10742 left line when current tab is selected and is first in its run.
10743 (paintRightTabBorder): Added missing setColor() call, fixed color
10744 usage, do not paint right line if previous tab is selected but
10745 current tab is the first in its run.
10746 (paintBottomTabBorder): Do not paint left line if tab is selected
10747 and is the first tab in the last run.
10748 (paintFocusIndicator): New method.
10749 (getLabelShiftX): New method.
10750 (getLabelShiftY): New method.
10752 2006-07-27 Andreas Tobler <a.tobler@schweiz.ch>
10754 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10755 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10756 g_assert from unused obj.
10757 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10758 obj as unused and remove g_assert on it.
10760 2006-07-26 Roman Kennke <kennke@aicas.com>
10762 * javax/swing/RepaintManager.java
10763 (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10765 (isCompletelyDirty): Consider a component completely dirty
10766 when it has a dirty region with Integer.MAX_VALUE.
10768 2006-07-26 Roman Kennke <kennke@aicas.com>
10770 * java/awt/KeyboardFocusManager.java
10771 (getGlobalFocusOwner): Explicitly check for thread security.
10772 (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10773 (getGlobalFocusedWindow): Explicitly check for thread security.
10774 (getGlobalActiveWindow): Explicitly check for thread security.
10775 (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10776 (getGlobalObject): Added new argument for specifying if
10777 a security check should be performed or not.
10778 (setGlobalObject): Don't check for thread security when
10779 calling getGlobalObject.
10781 2006-07-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
10783 * javax/management/MBeanConstructorInfo.java:
10785 * javax/management/MBeanInfo.java:
10786 (MBeanInfo(String,String,MBeanAttributeInfo[],
10787 MBeanConstructorInfo[], MBeanOperationInfo[],
10788 MBeanNotificationInfo[])): Implemented.
10789 (equals(Object)): Likewise.
10790 (getAttributes()): Likewise.
10791 (getConstructors()): Likewise.
10792 (getOperations()): Likewise.
10793 (hashCode()): Likewise.
10794 * javax/management/MBeanOperationInfo.java,
10795 * javax/management/NotCompliantMBeanException.java,
10796 * javax/management/StandardMBean.java:
10799 2006-07-26 Sven de Marothy <sven@physto.se>
10801 * java/awt/geom/GeneralPath.java: Fix severe typo.
10803 2006-07-26 Sven de Marothy <sven@physto.se>
10805 * include/java_lang_VMSystem.h
10806 * vm/reference/java/lang/VMSystem.java
10807 * native/jni/java-lang/java_lang_VMSystem.c
10808 (nanoTime, currentTimeMillis): Switch the former to native code and
10809 the latter to java.
10811 2006-07-26 Andreas Tobler <a.tobler@schweiz.ch>
10813 * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
10814 * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
10815 * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
10816 * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
10817 * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
10818 * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
10819 * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
10820 * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
10821 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
10822 * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
10823 * gnu/java/awt/peer/qt/QtImage.java: Likewise.
10824 * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
10825 * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
10826 * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
10827 * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
10828 * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
10829 * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
10830 * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
10831 * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
10832 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
10833 * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
10835 2006-07-26 Roman Kennke <kennke@aicas.com>
10837 * java/awt/KeyboardFocusManager.java
10838 (getFocusOwner): Don't check permanent owner.
10839 (getGlobalFocusOwner): Don't check permanent owner.
10841 2006-07-26 Carsten Neumann <cn-develop@gmx.net>
10843 * StrictMath.java (cosh): New method.
10844 (expm1): New method.
10845 (EXPM1_Q1): New field.
10846 (EXPM1_Q2): Likewise.
10847 (EXPM1_Q3): Likewise.
10848 (EXPM1_Q4): Likewise.
10849 (EXPM1_Q6): Likewise.
10851 2006-07-26 Roman Kennke <kennke@aicas.com>
10853 * javax/swing/plaf/basic/BasicButtonListener.java
10854 (mousePressed): Request focus if appropriate.
10855 * javax/swing/text/DefaultCaret.java
10856 (mousePressed): Also handle the focus of the text component
10857 as specified. Don't consume events.
10859 2006-07-26 Roman Kennke <kennke@aicas.com>
10861 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10862 (focusRequest): Removed field.
10863 (postFocusEvent(int,boolean,Component)): Removed.
10864 (postFocusEvent(int,boolean)): Reverted to post event using
10865 the heavyweight component.
10866 (requestFocus): Post focus event using the heavyweight
10868 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10869 (requestFocus): Post focus event using the heavyweight
10871 * java/awt/AWTEvent.java
10872 (isFocusManagerEvent): New field, indicating if this is
10873 an event that is redispatched by the KeyboardFocusManager.
10874 * java/awt/Component.java
10875 (requestFocusImpl): Register component for
10876 heavyweight->lightweight mapping.
10877 (dispatchEventImpl): Retarget focus events before dispatching
10878 to the KeyboardFocusManager. Use new AWTEvent flag instead
10879 of locking hack. Dispatch all events through the
10880 KeyboardFocusManager. Don't request focus on lightweight
10882 * java/awt/DefaultKeyboardFocusManager.java
10883 (dispatchEvent): Pulled out handling of FOCUS_GAINED and
10885 (handleFocusGained): Fixed handling of temporary vs permanent
10886 focus changes. Added some checks.
10887 (handleFocusLost): Fixed handling of temporary vs permanent
10888 focus changes. Added some checks.
10889 * java/awt/EventDispatchThread.java
10890 (run): Don't dispatch to KeyboardFocusManager here. This
10891 is done in Component.dispatchEventImpl().
10892 * java/awt/KeyboardFocusManager.java
10893 (redispatchEvent): Use new AWTEvent flag instead of locking hack.
10894 (focusRequests): New field.
10895 (retargetFocusEvent): New method. Retargets focus events
10896 that come from heavyweights to the correct lightweight component.
10897 (addLightweightFocusRequest): New method. Stores a mapping
10898 for later retargetting of heavyweight focus events.
10899 * java/awt/Window.java
10900 (addFocusListener): Removed bogus method. If at all, this
10901 should be performed in the KeyboardFocusManager.
10902 (Window): Don't install a focus listener on the Window.
10904 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10906 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
10907 (drawLine): Apply shift to line coordinates.
10909 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10911 * java/awt/image/ColorConvertOp.java: Fixed copyright header.
10912 (copyimage): Do not call setRenderingHints() when the respective map
10914 (filter): Removed code to clone the ColorModel instance.
10915 * java/awt/image/ColorModel.java:
10916 (cloneColorModel): Removed.
10918 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10920 * javax/swing/JTabbedPane.java:
10921 (setSelectedIndex): Removed updating of component visibility status,
10923 (remove(Component)): Use indexOfComponent() to find whether we have
10924 to use super.remove(int) or removeTabAt().
10926 2006-07-26 Roman Kennke <kennke@aicas.com>
10928 * javax/swing/JOptionPane.java
10929 (createDialog): Add property change handler for closing
10930 the dialog when the value property changes.
10931 (ValuePropertyHandler): New inner helper class.
10932 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10933 (OptionPaneCloseAction): New class.
10934 (messageForeground): Removed field.
10935 (messageBorder): Removed field.
10936 (buttonBorder): Removed field.
10937 (addIcon): Configure the new label.
10938 (addMessageComponents): Configure newly created labels.
10939 (burstStringInto): Likewise.
10940 (createButtonArea): Install border here.
10941 (createMessageArea): Install border and foreground here.
10942 (createSeparator): Added comment and removed
10943 NotImplementedException.
10944 (installComponents): Don't install the UI defaults for the
10945 message and button area here. This is moved to the
10946 corresponding create* methods. Adjusted comment about
10948 (installDefaults): Removed initialization of removed fields.
10949 (installKeyboardActions): Implemented.
10950 (getActionMap): New helper method.
10951 (createDefaultActions): New helper method.
10952 (uninstallDefaults): Removed de-initialization of removed fields.
10953 (uninstallKeyboardActions): Implemented.
10954 (configureLabel): New helper method.
10955 * javax/swing/plaf/basic/BasicTableUI.java
10956 (getActionMap): Fixed the UI property names.
10957 * javax/swing/plaf/basic/BasicToolBarUI.java
10958 (getActionMap): Fixed the UI property names.
10960 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10962 * java/awt/image/BandedSampleModel.java
10963 (getDataElements): Check for negative x or y,
10964 (getPixels): Likewise,
10965 (getSamples): Likewise,
10966 (setSamples): Likewise.
10968 2006-07-26 Roman Kennke <kennke@aicas.com>
10970 * javax/swing/plaf/basic/BasicToolBarUI.java
10971 (ToolBarAction): New inner class for handling keyboard
10973 (installKeyboardActions): Implemented.
10974 (getActionMap): New helper method.
10975 (createDefaultActions): New helper method.
10976 (installListeners): Install focus listener on toolbar's
10977 children, rather than the toolbar itself.
10978 (navigateFocusedComp): Implemented.
10979 (uninstallKeyboardActions): Implemented.
10980 (uninstallListeners): Uninstall focus listener from
10981 toolbar's children, rather than the toolbar itself.
10982 (ToolBarContListener.componentAdded): Install focus
10983 listener on added child.
10984 (ToolBarContListener.componentRemoved): Uninstall focus
10985 listener from removed child.
10986 (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
10987 (ToolBarFocusListener.focusGained): Implemented.
10988 (ToolBarFocusListener.focusLost): Implemented.
10990 2006-07-26 Roman Kennke <kennke@aicas.com>
10992 * java/awt/DefaultKeyboardFocusManager.java
10993 (dispatchEvent): Notify old focus owner when it has lost
10996 2006-07-26 Roman Kennke <kennke@aicas.com>
10998 * javax/swing/plaf/basic/BasicTableUI.java
10999 (FocusHandler.focusGained): Implemented to refresh the
11001 (FocusHandler.focusLost): Implemented to refresh the
11003 (FocusHandler.repaintLeadCell): New helper method.
11004 (MouseInputHandler.mouseEntered): Do nothing here.
11005 (MouseInputHandler.mouseExited): Do nothing here.
11006 (MouseInputHandler.mouseMoved): Do nothing here.
11007 (installKeyboardActions): Rewritten to use a shared InputMap
11008 and ActionMap and correctly install the maps via SwingUtilities
11010 (getActionMap): New helper method.
11011 (createDefaultActions): New helper method.
11012 (ActionListenerProxy): Removed unneeded class.
11013 (TableAction): Made class static.
11014 (TableAction.actionPerformed): Determine table by fetching
11015 the event source. Pass the table to helper methods.
11016 Use __command__ hack to determine the action command.
11017 (TableAction.getFirstVisibleColumnIndex): Get table as argument.
11018 (TableAction.getLastVisibleColumnIndex): Get table as argument.
11019 (TableAction.getFirstVisibleRowIndex): Get table as argument.
11020 (TableAction.getLastVisibleRowIndex): Get table as argument.
11021 (TableAction.advanceMultipleSelection): Get table as argument.
11022 (uninstallDefaults): Do nothing here.
11023 (uninstallKeyboardActions): Uninstall the keyboard actions.
11025 2006-07-26 Roman Kennke <kennke@aicas.com>
11027 * javax/swing/JComponent.java
11028 (processKeyBinding): Store the action command as property
11029 in the Action instance that we call. This allows for
11030 improvement on the side of the Action.
11032 2006-07-26 Roman Kennke <kennke@aicas.com>
11034 * javax/swing/plaf/metal/MetalUtils.java
11035 (fillMetalPattern): Use fillRect() instead of drawLine() to
11036 fill single pixels.
11038 2006-07-26 Roman Kennke <kennke@aicas.com>
11040 * javax/swing/text/GapContent.java
11041 (getChars): Check for negative length and throw
11042 BadLocationException.
11044 2006-07-26 Roman Kennke <kennke@aicas.com>
11046 * javax/swing/plaf/basic/BasicMenuBarUI.java
11047 (FocusAction): Made class static.
11049 2006-07-26 Roman Kennke <kennke@aicas.com>
11051 * javax/swing/plaf/basic/BasicLookAndFeel.java
11052 (initComponentDefaults): Add keyboard bindings for
11055 2006-07-26 Roman Kennke <kennke@aicas.com>
11057 * javax/swing/UIManager.java
11058 (getLookAndFeelDefaults): Return the look and feel defaults.
11059 (setLookAndFeel): Improved exception messsage.
11061 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11063 * javax/swing/text/StringContent.java
11064 (StringContent): Changed initialLength to 10.
11066 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11068 * java/util/Vector.java: Fixed API doc typo.
11070 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11072 * java/awt/image/BandedSampleModel.java
11073 (createCompatibleSampleModel): Fixed typo in loop increment, set
11074 correct scanlineStride, and updated API docs.
11076 2006-07-25 Roman Kennke <kennke@aicas.com>
11078 * javax/swing/plaf/basic/BasicPopupMenuUI.java
11079 (NavigateAction): New inner class. This is responsible for
11080 keyboard navigation through menus.
11081 (KeyboardHelper): New inner class. This manages the
11082 keyboard mappings and focus when a popup opens or closes.
11083 (keyboardHelper): New static field.
11084 (numPopups): New static field.
11085 (installUI): Create KeyboardHelper for first popup.
11086 Call installKeyboardActions().
11087 (installKeyboardActions): Removed NotImplementedException.
11088 This method is a no-op.
11089 (installKeyboardActionsImpl): New method. Installs keyboard
11090 mapping when a popup is opened.
11091 (getActionMap): New helper method.
11092 (createDefaultActions): New helper method.
11093 (uninstallUI): Uninstall KeyboardHelper when last Popup is
11094 uninstalled. Call uninstallKeyboardActions().
11095 (uninstallKeyboardActions): Removed NotImplementedException.
11096 This method is a no-op.
11097 (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
11098 mapping when a popup is closed.
11100 2006-07-25 Roman Kennke <kennke@aicas.com>
11102 * java/awt/Component.java
11103 (requestFocus()): Reimplemented to use requestFocusImpl().
11104 (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
11105 (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
11106 (requestFocusInWindow(boolean)): Reimplemented to use
11107 requestFocusImpl().
11108 (requestFocusImpl): Reimplemented focus request to use
11109 new peer method. Also added some obvious additional checks
11110 for rejecting focus requests early.
11111 * java/awt/ComponentPeer.java
11112 (requestFocus(Component,boolean,boolean,long)): Documented
11114 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11115 (requestFocus): New field.
11116 (gtkWidgetHasFocus): New native method.
11117 (gtkWidgetCanFocus): New native method.
11118 (requestFocus): Replaced with assert false to prevent
11119 usage of obsolete method.
11120 (postFocusEvent(int,boolean,Component)): New overloaded method
11121 for posting the focus event to a specific target.
11122 (postFocusEvent(int,boolean)): Post event to requestFocus
11124 (requestFocus(Component,boolean,boolean,long)): Implemented.
11125 (getWindowFor): New helper method.
11126 (isLightweightDescendant): New helper method.
11127 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11128 (gtkWindowHasFocus): New native method.
11129 (requestFocus(Component,boolean,boolean,long)): New method.
11130 Overrides GtkComponentPeer method to specially handly the
11131 case when a Window receives a focus request for a lightweight
11133 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11134 (gtkWidgetHasFocus): New native method.
11135 (gtkWidgetCanFocus): New native method.
11136 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11137 (gtkWindowHasFocus): New native method.
11138 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
11139 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
11142 2006-07-25 Francis Kung <fkung@redhat.com>
11144 * java/awt/DefaultKeyboardFocusManager.java
11145 (dispatchEvent): Add check for valid component.
11147 2006-07-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
11149 * javax/management/MBeanConstructorInfo.java:
11151 * javax/management/MBeanNotificationInfo.java:
11153 * javax/management/MBeanParameterInfo.java:
11156 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11158 * java/awt/peer/gtk/CairoGraphics.java:
11159 (drawLine): Added special case for 1 pixel lines.
11161 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11164 * java/awt/peer/gtk/CairoGraphics.java:
11165 (drawLine): Removed calls to shifted().
11167 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11169 * javax/swing/JTabbedPane.java:
11170 (remove(Component)): Rewritten.
11171 (setSelectedIndex): Implemented updating of component visibility state.
11173 2006-07-25 Sven de Marothy <sven@physto.se>
11175 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
11176 (init): Default to the actual depth in the worst case.
11178 * java/awt/Font.java
11179 (createFont(int, File)): New method.
11181 2006-07-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
11184 * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
11186 (RETokenEnd): New constructer to set check_java_line_terminators.
11187 (matchThis): Checck line terminators if check_java_line_terminators.
11188 * gnu/java/util/regex/RETokenStart.java: Likewise.
11189 * gnu/regexp/RE.java(initialize): Use the new constructors for
11190 RETokenEnd and RETokenStart if REG_MULTILINE is set.
11191 * java/util/regex/Pattern.java(Patteren): Changed so that
11192 gnu/regexp/RE.java may use the new the new constructors.
11194 2006-07-25 Roman Kennke <kennke@aicas.com>
11196 * java/awt/Container.java
11197 (focusTraversalPolicyProvider): New field.
11198 (isFocusTraversalPolicyProvider): New method.
11199 (setFocusTraversalPolicyProvider): New method.
11200 * java/awt/ContainerOrderFocusTraversalPolicy.java
11201 (getFirstComponent): Use accept() instead of lengthy checks.
11202 Don't fetch getComponents() to avoid copying of array.
11203 Traverse down the hierarchy to find the first focused component.
11204 * java/awt/DefaultKeyboardFocusManager.java
11205 (dispatchEvent): Let the initial component request focus.
11207 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
11209 * javax/swing/text/Segment.java
11210 (last): Update current index before returning DONE for zero count.
11212 2006-07-24 Mark Wielaard <mark@klomp.org>
11214 * javax/swing/tree/TreePath.java (equals): Swap path equals call.
11216 2006-07-25 Roman Kennke <kennke@aicas.com>
11218 * javax/swing/plaf/basic/BasicMenuBarUI.java
11219 (FocusAction): New inner class. Used to grab focus.
11220 (installKeyboardActions): Implemented.
11221 (uninstallKeyboardActions): Implemented.
11222 (getActionMap): New helper method.
11223 (createDefaultActions): New helper method.
11225 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11227 * examples/gnu/classpath/examples/swing/Demo.java:
11228 (mkMenuBar): Install instantiable basic look and feel.
11229 (InstantiableBasicLookAndFeel): New inner class.
11231 2006-07-25 Roman Kennke <kennke@aicas.com>
11233 * javax/swing/plaf/basic/BasicInternalFrameUI.java
11234 (GlassPaneDispatcher.dragTarget): New field.
11235 (GlassPaneDispatcher.isDragging): New field.
11236 (GlassPaneDispatcher.pressedComponent): Removed field.
11237 (GlassPaneDispatcher.tempComponent): Removed field.
11238 (GlassPaneDispatcher.pressCount): Removed field.
11239 (GlassPaneDispatcher.mousePressed): Call
11240 borderListener.mousePressed() to activate the frame.
11241 (acquireComponentForMouseEvent): Removed method.
11242 (handleEvent): Rewritten.
11243 (redispatch): New method.
11244 (InternalFramePropertyChangeListener.propertyChange):
11245 Make glasspane invisible when frame is selected, and visible
11246 if it gets deselected.
11248 2006-07-25 Roman Kennke <kennke@aicas.com>
11250 * java/awt/LightweightDispatcher.java
11251 (handleMouseEvent): Dispatch event to real target if
11252 the dragTarget has become invisible in the meantime.
11254 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
11256 * javax/swing/text/TabSet.java
11257 (equals): New method override for 1.5,
11258 (hashCode): Likewise,
11259 (toString): Added spaces to match reference implementation.
11261 2006-07-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
11263 * javax/management/IntrospectionException.java,
11264 * javax/management/MBeanAttributeInfo.java:
11266 * javax/management/MBeanNotificationInfo.java:
11267 Documentation cleanups.
11269 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
11271 * javax/swing/text/TabSet.java
11272 (TabSet): Check for null argument,
11273 (getTab): Throw IllegalArgumentException for index out of bounds,
11274 (getTabIndexAfter): Changed test to '<=',
11275 and updated API docs all over,
11276 * javax/swing/text/TabStop.java: Updated API docs.
11278 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
11280 * javax/swing/text/TabStop.java
11281 (toString): Don't use 'left ' prefix, and added space between tab
11282 location and '(w/leader)' suffix.
11284 2006-07-24 Francis Kung <fkung@redhat.com>
11286 * javax/swing/JComboBox.java
11287 (DefaultKeySelectionManager): Implemented.
11288 (createDefaultKeySelectionManager): Implemented.
11289 (getKeySelectionManager): Implemented.
11290 (processKeyEvent): Removed duplicate code.
11291 * javax/swing/JPopupMenu.java
11292 (selectionModel): Changed visibility.
11293 * javax/swing/plaf/basic/BasicComboBoxUI.java
11294 (KeyHandler.keyPressed): Added navigation keys.
11295 (configureEditor): Add key listener.
11296 (installListeners): Install focus listener to combo box.
11297 (isNavigationKey): Added enter, escape, and tab.
11298 (selectPreviousPossibleValue): Added out of bounds check.
11299 (unconfigureEditor): Remove key listener.
11300 * javax/swing/plaf/metal/MetalComboBoxButton.java
11301 (paintComponent): Highlight combo box when in focus.
11303 2006-07-24 Roman Kennke <kennke@aicas.com>
11305 * javax/swing/SwingUtilities.java
11306 (isLeftMouseButton): Fixed condition.
11307 * java/awt/LightweightDispatcher.java
11308 (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
11311 2006-07-24 Roman Kennke <kennke@aicas.com>
11313 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
11314 (setPaint): Fixed scaleX and scaleY.
11316 2006-07-24 Roman Kennke <kennke@aicas.com>
11318 * javax/swing/JTable.java
11319 (handleInsert): Repaint the whole table for variable row
11320 height tables and an optimized region otherwise.
11321 (handleDelete): Likewise.
11322 (handleUpdate): Likewise.
11324 2006-07-24 Mario Torre <neugens@limasoftware.net>
11326 * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
11327 now explicity registerListeners on GtkMouseDragGestureRecognizer
11329 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11330 (unregisterListeners): new method, overrided from base class
11331 to rise visibility (from protected to public).
11332 (registerListeners): Likewise.
11333 (GtkMouseDragGestureRecognizer): fixed potential threading issue:
11334 removed call to registerListeners from the constructor.
11336 2006-07-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
11338 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11339 * java/lang/management/MemoryPoolMXBean.java:
11340 (getType()): Changed return type to MemoryType.
11341 * java/lang/management/MemoryType.java:
11344 2006-07-23 Mark Wielaard <mark@klomp.org>
11346 * configure.ac: Check for moc and moc-qt4.
11348 2006-07-23 David Gilbert <david.gilbert@object-refinery.com>
11350 * java/awt/image/Kernel.java: API doc updates.
11352 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11354 * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
11357 2006-07-22 Mark Wielaard <mark@klomp.org>
11359 * java/lang/Iterable.java: Import all of java.util.
11360 * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
11361 * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
11363 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11365 * doc/vmintegration.texinfo:
11366 Document getType(String).
11367 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11368 * java/lang/management/MemoryPoolMXBean.java:
11369 (getType()): Implemented.
11370 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
11371 (getType(String)): Implemented.
11373 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11375 * doc/vmintegration.texinfo:
11376 Move end of itemization block.
11378 2006-07-22 Robert Schuster <robertschuster@fsfe.org>
11380 * javax/swing/plaf/metal/MetalLookAndFeel.java:
11381 (initComponentDefaults): Added new properties, added comments.
11383 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11385 * doc/vmintegration.texinfo:
11386 Mention callback methods.
11387 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11388 (fireNotification(String,String,long,long,long,long,long)):
11389 Made package-private.
11390 (fireThresholdExceededNotification(String,long,long,long,
11391 long,long)): Likewise.
11392 (fireCollectionThresholdExceededNotification(String,long,
11393 long,long,long,long)): Likewise.
11394 * java/lang/management/MemoryMXBean.java:
11395 Document notifications.
11397 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11399 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11400 (fireNotification(String,String,long,long,long,long,long)):
11402 (fireThresholdExceededNotification(String,long,long,long,
11403 long,long)): Likewise.
11404 (fireCollectionThresholdExceededNotification(String,long,
11405 long,long,long,long)): Likewise.
11406 * java/lang/management/MemoryNotificationInfo.java:
11407 Use composite type from MemoryMXBeanImpl.
11408 * javax/management/openmbean/CompositeData.java:
11409 Correct documentation.
11410 * javax/management/openmbean/CompositeDataSupport.java,
11411 * javax/management/openmbean/InvalidKeyException.java:
11414 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11416 * gnu/java/security/util/IntegerUtil.java: New file.
11418 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11421 * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
11422 (KEY_SIZE): Likewise.
11423 (adjustParity(int,byte[],int): New method.
11424 (adjustParity(byte[],int): Call above method with 3 as 1st argument.
11425 (isParityAdjusted(int,byte[],int)): New method.
11426 (isParityAdjusted): Call above method with 3 as 1st argument.
11427 (keySizes): Add 8 and 16 as other valid key sizes.
11428 (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
11430 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11432 * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11433 code for the pixel swap routine to be more efficient.
11435 2006-07-21 Carsten Neumann <cn-develop@gmx.net>
11437 * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11438 (lastIndexOf(E, int)): Likewise.
11439 (add(E)): Increase the size of newData array by one.
11440 (add(int, E)): Likewise.
11442 2006-07-20 Lillian Angel <langel@redhat.com>
11444 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11445 Removed unused fields.
11446 (GtkMouseDragGestureRecognizer): Removed initializations.
11448 2006-07-20 Lillian Angel <langel@redhat.com>
11450 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11451 (GtkMouseDragGestureRecognizer): New constructor.
11452 (GtkMouseDragGestureRecognizer): New constructor.
11453 (GtkMouseDragGestureRecognizer): New constructor.
11454 (mouseClicked): Removed FIXME.
11455 (mousePressed): Implemented.
11456 (mouseReleased): Implemented.
11457 (mouseEntered): Implemented.
11458 (mouseDragged): Implemented to check mouse point and trigger origin.
11459 (mouseMoved): Removed FIXME.
11460 (getDropActionFromEvent): New helper function used to convert mouse event
11461 modifiers to a drop action.
11462 * java/awt/dnd/DragSource.java
11463 (getDragThreshold): Changed to return some arbitrary value for testing
11466 2006-07-20 Roman Kennke <kennke@aicas.com>
11468 * java/awt/LightweightDispatcher.java
11469 (findTarget): Also consider components that have their eventMask
11470 set, for compatibility with stonage AWT. Optimized check
11472 (handleMouseEvent): Likewise.
11474 2006-07-20 Roman Kennke <kennke@aicas.com>
11476 * javax/swing/JTable.java
11477 (tableChanged): Split out handling of the event into multiple
11479 (handleCompleteChange): New method. Clear the selection and
11480 check the lead/anchor indices.
11481 (handleInsert): New method. Check the lead/anchor indices.
11482 Optimized repainting.
11483 (handleDelete): New method. Check the lead/anchor indices.
11484 Optimized repainting.
11485 (handleUpdate): New method. Optimized repainting.
11486 (checkSelection): New helper method.
11487 (setSelectionModel): Update lead/anchor indices.
11489 2006-07-20 Lillian Angel <langel@redhat.com>
11492 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11493 (dispose): Reset all fields.
11495 2006-07-20 Roman Kennke <kennke@aicas.com>
11497 * gnu/java/awt/peer/x/XToolkit.java
11498 (createImage(InputStream)): Only copy image to Pixmap if
11499 it's actually opaque. Transparent images are left as
11500 BufferedImage and composited later onto the screen.
11501 * gnu/java/awt/peer/x/XGraphics.java
11502 (XGraphics): Fetch some parameters for image rendering.
11503 (drawImage): Added special handling of transparent images.
11504 (getRGB): New helper method.
11505 (setRGB): New helper method.
11507 2006-07-20 Roman Kennke <kennke@aicas.com>
11509 * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11510 ImageInputStreams as normal InputStreams.
11511 * gnu/javax/imageio/gif/GIFStream.java:
11512 Moved to gnu/javax/imageio/IIOInputStream.java.
11513 * gnu/javax/imageio/gif/GIFImageReader.java
11514 (readImage): Use IIOInputStream.
11515 * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11516 (canDecodeInput): Use IIOInputStream.
11517 * gnu/javax/imageio/png/PNGException.java: Make subclass
11519 * gnu/javax/imageio/png/PNGImageReader.java: New class.
11520 Implements the ImageIO ImageReader for PNG.
11521 * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11522 Implements the ImageIO ImageReaderSpi for PNG.
11523 * javax/imageio/spi/IIORegistry.java:
11524 (IIORegistry): Add PNGImageReaderSpi.
11526 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11528 * java/awt/image/ComponentSampleModel.java
11529 (getPixel): Added argument check,
11530 (getSample): Modified exception message.
11532 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11535 * java/awt/image/ConvolveOp.java
11536 (filter(Raster, WritableRaster)): Reimplemented,
11537 (fillEdge): New private method.
11539 2006-07-19 Keith Seitz <keiths@redhat.com>
11541 * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11542 (JVMTI_VERSION): Define.
11544 2006-07-19 Roman Kennke <kennke@aicas.com>
11546 * resource/gnu/regexp/MessagesBundle.properties,
11547 * resource/gnu/regexp/MessagesBundle_fr.properties,
11548 * resource/gnu/regexp/MessagesBundle_it.properties:
11549 Moved to resource/gnu/java/util/regex.
11550 * resource/gnu/java/util/regex/MessagesBundle.properties,
11551 * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11552 * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11554 * gnu/java/util/regex/RE.java
11555 Use new resource bundle location.
11557 2006-07-19 Roman Kennke <kennke@aicas.com>
11559 * javax/swing/JComponent.java
11560 (paintChildren): Refactored. The paintChildrenOptimized method
11561 has been moved back in here. Added locking of the tree and
11562 only check for completely obscured child components
11563 when not optimized drawing enabled. Use Graphics.create() to
11564 protect from irreversible changes.
11565 (isCompletelyObscured): New helper method.
11566 (paintComponent): Also use Graphics.create() for Graphics2D,
11567 to protect from irreverible changes.
11568 (clipAndTranslateGraphics): Refactored to use more efficient
11569 iterative (vs recursive) approach.
11570 * javax/swing/RepaintManager.java
11571 (getOffscreenBuffer): Create image from root component.
11573 2006-07-19 Roman Kennke <kennke@aicas.com>
11575 * gnu/java/awt/peer/x/XGraphics.java
11576 (translate): Don't set the clip on the X server.
11577 (clipRect): Use setXClip() to set the clip on the X server.
11578 (hitClip): More efficient and correct implementation.
11579 (setClip): Use setXClip() to set the clip on the X server.
11580 (setClip(Shape)): Use setXClip() to set the clip on the X server.
11581 (copyArea): Translate and clip the source rectangle correctly.
11582 (dispose): Only flush when object is not yet disposed.
11583 (clone): Use setXClip() to set the clip on the X server.
11585 2006-07-19 Sven de Marothy <sven@physto.se>
11587 * gnu/javax/imageio/png/PNGChunk.java,
11588 * gnu/javax/imageio/png/PNGData.java,
11589 * gnu/javax/imageio/png/PNGDecoder.java,
11590 * gnu/javax/imageio/png/PNGEncoder.java,
11591 * gnu/javax/imageio/png/PNGException.java,
11592 * gnu/javax/imageio/png/PNGFile.java,
11593 * gnu/javax/imageio/png/PNGFilter.java,
11594 * gnu/javax/imageio/png/PNGGamma.java,
11595 * gnu/javax/imageio/png/PNGHeader.java,
11596 * gnu/javax/imageio/png/PNGICCProfile.java,
11597 * gnu/javax/imageio/png/PNGPalette.java,
11598 * gnu/javax/imageio/png/PNGPhys.java,
11599 * gnu/javax/imageio/png/PNGTime.java:
11602 2006-07-19 Sven de Marothy <sven@physto.se>
11604 * java/net/Inet6Address.java:
11605 (getScopedId, getScopedInterface): New methods.
11607 2006-07-19 Lillian Angel <langel@redhat.com>
11609 * examples/gnu/classpath/examples/awt/Demo.java
11610 (DragDropWindow): Fixed typo in Label text.
11611 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11612 (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11613 (startDrag): Initialized context field.
11614 (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11616 (dragEnter): New function.
11617 (dragExit): Likewise.
11618 (dragDropEnd): Likewise.
11619 (dragMouseMoved): Likewise.
11620 (dragOver): Likewise.
11621 (dragActionChanged): Likewise.
11623 2006-07-19 Raif S. Naffah <raif@swiftdsl.com.au>
11626 * resource/java/security/classpath.security: Updated copyright year.
11627 (auth.login.defaultCallbackHandler): New property; set to our default
11628 callback handler. This is needed by the LoginContext when no callback
11629 handler was specified.
11630 * javax/security/auth/login/LoginContext.java: Updated copyright year.
11631 (LoginContext(4)): Assign passed parameters to local fields before invoking
11634 2006-07-19 Roman Kennke <kennke@aicas.com>
11636 * gnu/java/awt/peer/x/XGraphics.java
11637 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11638 Fixed ordering of parameters.
11640 2006-07-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
11642 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11643 (MemoryMXBeanImpl()): Implemented.
11644 (ListenerData): New private class.
11645 (addNotificationListener(NotificationListener,
11646 NotificationFilter, Object)): Implemented.
11647 (getNotificationInfo()): Likewise.
11648 (removeNotificationListener(NotificationListener)):
11650 (removeNotificationListener(NotificationListener,
11651 NotificationFilter, Object)): Likewise.
11653 2006-07-18 Roman Kennke <kennke@aicas.com>
11655 * gnu/java/awt/peer/x/XFontPeer.java
11656 (encodeFont): Be more flexible with font sizes.
11657 (validSize): New helper method.
11658 * gnu/java/awt/peer/x/XGraphics.java
11659 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11661 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11663 * gnu/java/awt/peer/x/XImage.java
11664 (properties): New field.
11665 (getProperty): Implemented.
11666 * resource/gnu/java/awt/peer/x/fonts.properties:
11667 Added copyright header. Fixed font size field.
11669 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11671 * java/awt/image/BandedSampleModel.java
11672 (createDataBuffer): New method override,
11673 * java/awt/image/ByteLookupTable.java
11674 (ByteLookupTable(int, byte[][])): Create new array to hold references,
11675 (ByteLookuptable(int, byte[])): Check for null array,
11676 * java/awt/image/ComponentSampleModel.java
11677 (createDataBuffer): Removed unnecessary braces,
11678 (getSample): Check (x, y) is within bounds,
11679 * java/awt/image/ShortLookupTable.java
11680 (ShortLookupTable(int, short[][])): Create new array to hold references,
11681 (ShortLookupTable(int, short[])): Check for null array,
11682 (getTable): Added API docs,
11683 (lookupPixel): Source reformatting.
11685 2006-07-18 Tania Bento <tbento@redhat.com>
11687 * java/awt/GridLayout.java
11688 (setHgap): Illegal Argument Exception should not be thrown if
11690 (setVgap): Illegal Argument Exception should not be thrown if
11692 (toString): Opening square braket ([) should appear before hgap
11693 value, not the name of the class.
11695 2006-07-18 Roman Kennke <kennke@aicas.com>
11697 * lib/copy-vmresources.sh.in: Reverted.
11698 * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11699 * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11701 2006-07-18 Roman Kennke <kennke@aicas.com>
11703 * lib/copy-vmresources.sh.in: Include properties from X peers.
11705 2006-07-18 Raif S. Naffah <raif@swiftdsl.com.au>
11708 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11709 certificate validity.
11710 (getIssuerName): New method.
11711 (getSubjectName): Likewise.
11712 (getNotAfterDate): Likewise.
11713 (getNotBeforeDate): Likewise.
11714 * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11715 messages for newly added messages in SFHelper.
11717 2006-07-18 Roman Kennke <kennke@aicas.com>
11719 * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11720 * gnu/java/awt/peer/x/XEventPump.java
11721 (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11722 * gnu/java/awt/peer/x/XFramePeer.java
11723 Made a subclass of XWindowPeer, rather than SwingFramePeer.
11724 * gnu/java/awt/peer/x/XGraphics.java
11725 Made subclass of Graphics rather than Graphics2D. Removed
11726 all Graphics2D specific method stubs.
11727 (setColor): Map colors using the X color map that is
11728 stored in XToolkit.
11729 * gnu/java/awt/peer/x/XToolkit.java
11730 (colorMap): New field.
11731 (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11733 (createDialog): Implemented.
11734 (createImage(ImageProducer)): Implemented.
11735 (createImage(InputStream)): Use createImage(ImageProducer)
11736 to convert the BufferedImage to an XImage.
11737 * gnu/java/awt/peer/x/XWindowPeer.java
11738 (XWindowPeer): Removed debug output.
11740 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11742 * java/awt/image/BufferedImageOp.java: API docs added,
11743 * java/awt/image/RasterOp.java: Likewise.
11745 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11747 * java/awt/Graphics2D.java: API docs updated.
11749 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11751 * java/awt/image/WritableRaster.java: Added API docs and reformatted
11754 2006-07-18 Sven de Marothy <sven@physto.se>
11756 * java/net/Inet6Address.java:
11757 Add 1.5 serialized fields.
11758 (getByAddress): New methods.
11759 (readObject, writeObject): New methods.
11760 (equals): Reimplement.
11762 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11764 * java/awt/image/Raster.java: Added API docs and reformatted source
11767 2006-07-18 Andreas Tobler <a.tobler@schweiz.ch>
11769 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11771 * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11772 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11773 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11774 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11775 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11776 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11777 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11778 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11779 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11780 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11781 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11782 * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11783 * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11784 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11785 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11786 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11787 * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11788 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11789 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11790 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11791 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11793 2006-07-17 Andreas Tobler <a.tobler@schweiz.ch>
11795 * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11796 to make it compile again under jikes. Note added.
11798 2006-07-17 Lillian Angel <langel@redhat.com>
11800 * examples/gnu/classpath/examples/awt/Demo.java
11801 (Demo): Added new window for DnD demo.
11802 (DragDropWindow): New class.
11803 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
11804 Added new fields and declarations for native functions.
11805 (GtkDragSourceContextPeer): Implemented.
11806 (getComponentPeer): New function.
11807 (startDrag): Partially implemented.
11808 (getCursor): Implemented.
11809 (setCursor): Implemented.
11810 * include/GtkDragSourceContextPeer.h: New file.
11811 * include/Makefile.am: Added new header file.
11812 * java/awt/Component.java
11813 (addNotify): Added call to the dropTarget's addNotify.
11814 * java/awt/dnd/DragSource.java
11815 (startDrag): Fixed code to use shared instances of peer and
11817 (getDragThreshold): Added stub.
11818 * java/awt/dnd/DropTarget.java
11819 (DropTarget): Implemented fully.
11820 (addNotify): Added code to get the peer of the parent that is
11822 * java/awt/dnd/DropTargetDragEvent.java
11823 (getTransferable): Added stub.
11824 * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
11825 * native/jni/gtk-peer/Makefile.am: Added new c file.
11826 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
11827 Changed to extend GtkGenericPeer.
11828 (GtkDropTargetContextPeer): New constructor.
11829 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
11830 Changed to extend GtkGenericPeer.
11831 (GtkDropTargetContextPeer): New constructor.
11833 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11835 * java/awt/image/SinglePixelPackedSampleModel.java
11836 (createSubsetSampleModel): Added argument check and API docs.
11838 2006-07-17 Roman Kennke <kennke@aicas.com>
11840 * gnu/java/awt/peer/x/XGraphics.java
11841 (copyArea): Implemented.
11843 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11845 * java/awt/image/SinglePixelPackedSampleModel.java
11846 (getSampleSize): Return copy of array,
11847 (getOffset): Added API docs,
11848 (getScanlineStride): Likewise,
11849 (hashCode): Implemented.
11851 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11853 * java/awt/image/MultiPixelPackedSampleModel.java
11854 (getOffset): Updated API docs and source reformatting,
11855 (getBitOffset): Source reformatting only,
11856 (getDataElements): Likewise,
11857 (getPixel): Likewise,
11858 (getPixels): Removed method override,
11859 (setDataElements): Reimplemented.
11861 2006-07-17 Gary Benson <gbenson@redhat.com>
11863 * resource/META-INF/services/.cvsignore: New file.
11864 * lib/.cvsignore: Updated.
11866 2006-07-17 Roman Kennke <kennke@aicas.com>
11868 * javax/swing/plaf/basic/BasicButtonListener.java
11869 (propertyChange): Only do the text layout caching as long
11870 as the noGraphics2D property isn't set.
11871 * javax/swing/plaf/basic/BasicMenuItemUI.java
11872 (PropertyChangeHandler.propertyChange): Only do the text layout
11873 caching as long as the noGraphics2D property isn't set.
11875 2006-07-17 Roman Kennke <kennke@aicas.com>
11877 * gnu/java/awt/peer/x/XGraphicsEnvironment.java
11878 (XGraphicsEnvironment): Make constructor public so that it
11879 can be called via Class.forName().newInstance().
11880 * gnu/java/awt/peer/x/XImage.java
11881 (XImage): Fetch GraphicsEnvironment via
11882 GraphicsEnvironment.getLocalGraphicsEnvironment() rather
11883 than the XToolkit method, to avoid double instantiation
11884 of the XGraphicsEnvironment.
11885 * gnu/java/awt/peer/x/XToolkit.java
11886 (env): Removed field.
11887 (getLocalGraphicsEnvironment): Removed impl. This method
11888 should not be called since we set the graphicsenv property
11889 in the constructor.
11891 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11893 * java/util/UUID.java:
11894 (compareTo(Object)): Call compareTo(UUID).
11895 (compareTo(UUID)): Implemented.
11897 2006-07-16 Tom Tromey <tromey@redhat.com>
11899 * java/lang/StrictMath.java (cbrt): Added '@since'.
11901 2006-07-16 Carsten Neumann <cn-develop@gmx.net>
11903 * java/lang/StrictMath.java (cbrt): New method.
11904 (getLowDWord): New helper method.
11905 (getHighDWord): Likewise.
11906 (buildDouble): Likewise.
11907 (CBRT_B1): New field.
11908 (CBRT_B2): Likewise.
11909 (CBRT_C): Likewise.
11910 (CBRT_D): Likewise.
11911 (CBRT_E): Likewise.
11912 (CBRT_F): Likewise.
11913 (CBRT_G): Likewise.
11915 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11917 * javax/management/MBeanInfo.java:
11918 (getNotifications()): Implemented.
11919 * javax/management/NotificationBroadcaster.java:
11920 (removeNotificationListener(NotificationListener)):
11921 Renamed from removeListener.
11922 * javax/management/NotificationEmitter.java:
11923 (removeNotificationListener(NotificationListener,
11924 NotificationFilter, Object)): Likewise.
11925 * javax/management/NotificationFilter.java:
11926 Implement Serializable.
11927 * javax/management/NotificationListener.java:
11928 Implement java.util.EventListener.
11929 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11930 Implement Serializable.
11932 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11934 * java/lang/management/MemoryNotificationInfo.java:
11937 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11940 * gnu/javax/swing/text/html/parser/htmlValidator.java
11941 (tagIsValidForContext): If it is not possible to insert any tag, but
11942 is possible to insert a P, insert a P.
11943 * gnu/javax/swing/text/html/parser/HTML_401Swing.java
11944 (newInstance): Removed print statement. (getBodyElements):
11945 Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
11946 valid body level tags (will be enclosed into P's).
11948 2006-07-17 Raif S. Naffah <raif@swiftdsl.com.au>
11950 * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
11951 Condition the creation of .keystore (a default keystore) based on the
11952 createIfNotFound argument as well.
11954 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11957 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
11958 Removed heading p tag from the parsing example.
11959 * gnu/javax/swing/text/html/parser/HTML_401F.java:
11960 (createHtmlContentModel): Explained.
11961 (defineElements): Call getBodyElements to get the body
11962 elements. (getBodyElements): New method. (model):
11963 Made protected from private.
11964 * gnu/javax/swing/text/html/parser/htmlValidator.java
11965 (openTag): Mind that current content model may be null.
11966 (tagIsValidForContext): If the tag is PCDATA, and it is not
11967 valid for context, but the paragraph (P) is valid for context,
11968 suggest to insert the P tag here.
11969 * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
11970 HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
11971 implied P tags here.
11972 * javax/swing/text/html/HTMLEditorKit.java (getParser):
11973 Get the custom parser, using HTML_401Swing.java DTD.
11974 * javax/swing/text/html/parser/ParserDelegator.java:
11975 Removed the obsolete note that HTMLEditorKit does not exist.
11976 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
11977 gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
11979 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11981 * javax/management/ListenerNotFoundException.java:
11983 * javax/management/MBeanFeatureInfo.java:
11984 (hashCode()): Use summation instead of multiplication
11985 for consistency with other classes.
11986 * javax/management/MBeanNotificationInfo.java,
11987 * javax/management/Notification.java,
11988 * javax/management/NotificationBroadcaster.java,
11989 * javax/management/NotificationEmitter.java,
11990 * javax/management/NotificationFilter.java,
11991 * javax/management/NotificationListener.java:
11993 * javax/management/OperationsException.java:
11994 (serialVersionUID): Added.
11996 2006-07-16 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
11997 Mark Wielaard <mark@klomp.org>
11999 * java/io/PrintStream.java: Added four constructors, for File and
12000 String describing a filename with or without explicit encoding.
12002 2006-07-16 Sven de Marothy <sven@physto.se>
12004 * javax/rmi/ssl/SslRMIServerSocketFactory.java,
12005 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
12008 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12011 * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)):
12013 (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
12014 (setProviderClassNameParam): Made private.
12015 (setKeystoreTypeParam): Likewise.
12016 (setKeyPasswordParam): Likewise
12017 (setKeystorePasswordParam): Likewise.
12018 (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
12019 create or not the keystore if it's not there, and the second is the store's
12020 password to process before loading the keystore. Amended the code
12022 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
12023 setKeyStoreParams(5) with true as its first argument.
12024 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
12025 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
12027 2006-07-16 Sven de Marothy <sven@physto.se>
12029 * java/util/UUID.java: New file.
12031 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12033 * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
12034 * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
12035 * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
12036 * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
12037 * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
12038 * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
12039 * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
12040 added Key Wrapping Algorithm SPIs.
12042 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12044 * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
12045 wrapping/unwrapping to invoke their engineGetOutputSize.
12047 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12049 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
12050 (engineInit): If a SecureRandom was specified then use it.
12051 (nextRandomBytes): New method.
12052 (engineWrap): Use above method.
12053 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
12054 (getDefaultPRNG): New method.
12055 * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
12056 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
12059 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12061 * gnu/javax/crypto/jce/params/BlockCipherParameters.java
12062 (engineGetParameterSpec): Should be able to return an IvParameterSpec.
12064 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12066 * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
12067 offset into consideration.
12069 2006-07-16 Mario Torre <neugens@limasoftware.net>
12071 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
12072 Fixed comment. This functions now requires to be called
12073 with gdk lock held, the comment states that.
12074 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
12075 Introduces gdk locks around critical regions of code.
12076 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
12078 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
12080 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
12082 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12084 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12086 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12088 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
12090 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
12092 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12094 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
12095 * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
12097 2006-07-15 Sven de Marothy <sven@physto.se>
12099 * javax/swing/JFileChooser.java
12100 Change default selection mode to FILES_ONLY.
12101 * javax/swing/plaf/basic/BasicDirectoryModel.java
12102 Document, fix selection mode filtering.
12103 (renameFile): Implement
12104 * javax/swing/plaf/basic/BasicFileChooserUI.java
12105 (selectedDir): New field to handle selected directories,
12106 disallow selecting of directories in FILES_ONLY mode.
12107 * javax/swing/plaf/metal/MetalFileChooserUI.java:
12108 (EditingActionListener.actionPerformed):
12109 Stop editing on all actions (e.g. return-key press)
12111 2006-07-15 Mark Wielaard <mark@klomp.org>
12113 * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
12115 (JNI Implementation): Mark JVMTI Implementation as next.
12116 (JVMTI Implementation): Mark JNI Implementation as prev.
12118 2006-07-15 Mark Wielaard <mark@klomp.org>
12120 * include/Makefile.am: Remove
12121 include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
12122 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
12123 * native/jni/gtk-peer/Makefile.am: Remove
12124 gnu_java_awt_peer_gtk_GdkTextLayout.c
12125 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
12128 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
12130 2006-07-15 Mark Wielaard <mark@klomp.org>
12132 * autogen.sh: Recognize autoconf 2.60.
12134 2006-07-15 Keith Seitz <keiths@redhat.com>
12136 * NEWS: Update for JVMTI and jvmti.h.
12137 * doc/vmintegration.texinfo: Likewise.
12138 * include/jvmti.h: New file.
12140 2006-07-15 Mark Wielaard <mark@klomp.org>
12142 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12143 Removed C++ style comment.
12145 2006-07-15 Sven de Marothy <sven@physto.se>
12147 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
12148 * java/awt/MouseInfo.java,
12149 * java/awt/PointerInfo.java,
12150 * java/awt/peer/MouseInfoPeer.java:
12153 * java/awt/Image.java
12154 (accelerationPriority): New field.
12155 (setAccelerationPriority, getAccelerationPriority): New methods..
12157 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
12158 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
12159 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
12160 (getMouseCoordinates): New method.
12162 * gnu/java/awt/peer/gtk/GtkFramePeer.java
12163 (updateAlwaysOnTop): Remove stub overload.
12165 * gnu/java/awt/ClasspathToolkit.java,
12166 * gnu/java/awt/peer/gtk/GtkToolkit.java,
12167 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
12168 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12169 (getMouseInfoPeer): New method.
12170 (getMouseNumberOfButtons): New method.
12172 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
12173 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
12174 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12175 (gtkWindowSetAlwaysOnTop): New method.
12176 (updateAlwaysOnTop): Implement.
12178 * java/awt/Toolkit.java,
12179 (getMouseInfoPeer): New method.
12181 * java/awt/Window.java
12182 (alwaysOnTop): New field.
12183 (isAlwaysOnTop, setAlwaysOnTop): New methods.
12185 * java/awt/peer/WindowPeer.java: Doc fix.
12187 2006-07-14 Sven de Marothy <sven@physto.se>
12189 * java/awt/font/TextLayout.java:
12190 (hitTestChar): Stub method.
12191 * java/awt/font/TextMeasurer.java:
12192 (getLayout): Throw exception on invalid argument.
12194 2006-07-14 Sven de Marothy <sven@physto.se>
12196 * java/awt/image/DataBuffer.java
12197 (DataBuffer): Call constructors in the correct order,
12199 2006-07-14 Mark Wielaard <mark@klomp.org>
12201 Revert to previous implementation.
12202 * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
12203 constraints insets.
12205 2006-07-14 Roman Kennke <kennke@aicas.com>
12207 * gnu/java/awt/peer/x/XToolkit.java
12208 (XToolkit): Install properties to SystemProperties
12209 rather than System, to avoid SecurityManager.
12210 (getImage(String)): Return error image when string is invalid.
12211 (createImage(URL)): Moved image loading to helper method.
12212 (createImage(ImageProducer)): Implemented.
12213 (createImage(byte[],int,int)): Implemented.
12214 (createImage(InputStream)): New helper method.
12216 2006-07-14 Tania Bento <tbento@redhat.com>
12218 * java/awt/FlowLayout.java
12219 (setHgap): No Excpetion should be thrown if hgap has
12221 (setVgap): No Exception should be thrown if vgap has
12224 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12226 * java/awt/image/MultiPixelPackedSampleModel.java:
12227 Added API docs all over.
12229 2006-07-14 Matt Wringe <mwringe@redhat.com>
12231 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
12232 (engineInit): Throw InvalidAlgorithmParameterException
12233 for invalid IVParameterSpec IV length.
12235 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12237 * java/awt/image/MultiPixelPackedSampleModel.java
12238 (createDataBuffer): Include dataBitOffset in calculating the size for
12241 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12243 * java/awt/image/MultiPixelPackedSampleModel.java
12244 (getSampleSize()): Return a copy of the array,
12245 (getTransferType()): New method override.
12247 2006-07-14 Roman Kennke <kennke@aicas.com>
12249 * java/awt/CardLayout.java
12250 (show): Validate parent to make sure that the layout is
12253 2006-07-14 Roman Kennke <kennke@aicas.com>
12255 * java/awt/Component.java
12256 (enable): Added tree locking.
12257 (disable): Added tree locking.
12258 (show): Added tree locking.
12259 (hide): Added tree locking.
12260 (getLocationOnScreen): Added tree locking.
12261 (reshape): Added tree locking.
12262 (addHierarchyListener): Added tree locking.
12263 (removeHierarchyListener): Added tree locking.
12264 (addHierarchyBoundsListener): Added tree locking.
12265 (removeHierarchyBoundsListener): Added tree locking.
12266 (addNotify): Added tree locking.
12267 (removeNotify): Added tree locking.
12268 * java/awt/Container.java
12269 (invalidateTree): Added tree locking.
12270 (getAlignmentX): Added tree locking.
12271 (getAlignmentY): Added tree locking.
12272 (addNotify): Added tree locking.
12273 (setComponentZOrder): Added tree locking.
12274 (getComponentZOrder): Added tree locking.
12276 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12278 * java/awt/image/MultiPixelPackedSampleModel.java
12279 (createSubsetSampleModel): Restored argument check, but let null
12282 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12284 * java/awt/image/MultiPixelPackedSampleModel.java
12285 (createSubsetSampleModel): Removed argument check.
12287 2006-07-14 Roman Kennke <kennke@aicas.com>
12289 * java/awt/Component.java
12290 (numHierarchyListeners): New field.
12291 (numHierarchyBoundsListeners): New field.
12292 (show): Fire hierarchy events here. Only fire component event
12293 if there is actually a listener for it.
12294 (hide): Fire hierarchy events here. Only fire component event
12295 if there is actually a listener for it.
12296 (reshape): Fire hierarchy events here. Only fire component event
12297 if there is actually a listener for it.
12298 (addHierarchyListeners): Update listener counters.
12299 (removeHierarchyListeners): Update listener counters.
12300 (addHierarchyBoundsListeners): Update listener counters.
12301 (removeHierarchyBoundsListeners): Update listener counters.
12302 (fireHierarchyEvent): New helper method for firing hierarchy
12304 * java/awt/Container.java
12305 (addImpl): Update listener counters. Fire hierarchy event.
12306 (remove): Update listener counters. Fire hierarchy event.
12307 (fireHierarchyEvent): New helper method for firing hierarchy
12309 (updateHierarchyListenerCount): New helper method for
12310 updating the listener counters.
12312 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12314 * java/awt/image/MultiPixelPackedSampleModel.java
12315 (equals): New method override,
12316 (hashCode): Likewise.
12318 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12320 * java/awt/image/MultiPixelPackedSampleModel.java
12321 (MultiPixelPackedSampleModel(int, int, int, int, int, int)):
12322 Corrected scanlineStride calculation.
12324 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12326 * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
12327 (AES_KWA): Likewise.
12328 (AES128_KWA): Likewise.
12329 (AES192_KWA): Likewise.
12330 (AES256_KWA): Likewise.
12331 (RIJNDAEL_KWA): Likewise.
12332 (TRIPLEDES_KWA): Likewise.
12333 (DESEDE_KWA): Likewise.
12334 * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
12335 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
12336 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
12337 * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
12338 * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
12339 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
12341 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12343 * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
12344 (PADDING_BLOCK_SIZE): New constant.
12345 (init(Map attributes)): New method.
12346 * gnu/javax/crypto/pad/BasePad.java (init): New method.
12348 2006-07-14 Mario Torre <neugens@limasoftware.net>
12350 * gnu/java/security/OID.java (OID): Private Constructor removed as
12351 it is not needed anymore.
12352 (clone): Fixed. Now uses super.clone instead of the private
12353 constructor as per specification of clone method.
12354 (serialVersionUID): added new field to allow serialization.
12356 2006-07-13 Sven de Marothy <sven@physto.se>
12358 * gnu/javax/imageio/gif/GIFImageReader.java
12359 (read): Remove old debugging trace.
12361 2006-07-13 Andreas Tobler <a.tobler@schweiz.ch>
12364 * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
12367 2006-07-13 Roman Kennke <kennke@aicas.com>
12369 * java/awt/Component.java
12370 (DEFAULT_MAX_SIZE): New static constant.
12371 (preferredSize): Return copy of the actual value computed
12372 by new helper method.
12373 (preferredSizeImpl): New helper method. Adds locking and
12374 correct handling of cached value.
12375 (minimumSize): Return copy of the actual value computed
12376 by new helper method.
12377 (minimumSizeImpl): New helper method. Adds locking and
12378 correct handling of cached value.
12379 (getMaximumSize): Return copy of the actual value computed
12380 by new helper method.
12381 (maximumSizeImpl): New helper method. Adds locking and
12382 correct handling of cached value.
12383 (invalidate): Correct handling of cached layout information.
12385 * java/awt/Container.java
12386 (preferredSize): Minimized locking. Corrected handling of cached
12387 values. Return copy of real value.
12388 (minimumSize): Minimized locking. Corrected handling of cached
12389 values. Return copy of real value.
12390 (getMaximumSize): Minimized locking. Corrected handling of cached
12391 values. Return copy of real value.
12393 2006-07-13 Tania Bento <tbento@redhat.com>
12395 * gnu/java/awt/peer/ClasspathFontPeer.java
12396 (isLogicalFontName): Return true if name == default.
12397 (logicalFontNameToFaceName): Check if name == default,
12398 and if so, return "Dialog.plain".
12399 (setStandardAttributes(String, Map)): If name == null,
12400 it should be set to "Default", not "SansSerif".
12401 * java/awt/Canvas.java
12402 (generateName): Fixed documentation.
12403 * java/awt/CheckboxMenuItem.java
12404 Added static variable "next_chkmenuitem_number".
12405 (generateName): Added and implemented method.
12406 (getUniqueLong): Likewise.
12407 * java/awt/Choice.java
12408 Added static variable "next_choice_number".
12409 (generateName): Added and implemented method.
12410 (getUniqueLong): Likewise.
12411 * java/awt/Cursor.java
12412 (Cursor(int)): Set name depending on the type passed.
12413 * java/awt/List.java
12414 Added static variable "next_list_number".
12415 (generateName): Added and implemented method.
12416 (getUniqueLong): Likewise.
12417 * java/awt/Menu.java
12418 Added static variable "next_menu_number".
12419 (generateName): Added and implemented method.
12420 (getUniqueLong): Likewise.
12421 * java/awt/MenuBar.java
12422 Added static variable "next_menubar_number".
12423 (generateName): Added and implemented method.
12424 (getUniqueLong): Likewise.
12425 * java/awt/MenuComponent.java
12426 (getName): Before returning name, check if name == null
12427 and name is not explicity set. If this is the case,
12428 name will be generated.
12429 (generateName): Added and implemented method.
12430 * java/awt/MenuItem.java
12431 Added static variable "next_menuitem_number".
12432 (generateName): Added and implemented method.
12433 (getUniqueLong): Likewise.
12434 * java/awt/PopupMenu.java
12435 Added static variable "next_popup_number".
12436 (generateName): Added and implemented method.
12437 (getUniqueLong): Likewise.
12438 * java/awt/ScrollPane.java
12439 Added static variable "next_scrollpane_number".
12440 (generateName): Added and implemented method.
12441 (getUniqueLong): Likewise.
12442 * java/awt/TextField.java
12443 Added static variable "next_textfield_number".
12444 (generateName): Added and implemented method.
12445 (getUniqueLong): Likewise.
12448 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12450 * java/awt/image/SinglePixelPackedSampleModel.java
12451 (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12452 mask correctly as an unsigned integer,
12453 (equals): New method override.
12455 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12457 * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12458 insertAfterStart, insertBeforeEnd): Removed stub markings.
12460 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12462 * java/awt/image/BandedSampleModel.java: API doc updates and source
12464 * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12466 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12468 * java/awt/image/BandedSampleModel.java: API doc updates.
12470 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12472 * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack):
12473 Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12474 HTMLReader.insertTag, HTMLReader.insertTagEncountered,
12475 HTMLReader.pushDepth, HTMLReader.popDepth): Documented.
12476 (HRMLReader.blockClose): Mind that parser stack may be empty.
12477 (HTMLReader.handeComment, HTMLReader.handleStartTag,
12478 HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten.
12479 (HTMLReader.shouldInsert): New method. (getElement(String)):
12480 Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd,
12481 insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12482 Implemented. (getInsertingReader): New method.
12483 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12484 Added buttons to demonstrate the work of the insert actions.
12486 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12488 * java/awt/image/SampleModel.java: API doc updates and additions,
12489 * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12491 2006-07-12 Sven de Marothy <sven@physto.se>
12493 * javax/swing/JFileChooser.java:
12494 (createDialog): Close operation should cause a cancel.
12496 2006-07-12 Francis Kung <fkung@redhat.com>
12498 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12499 (cairoArc): New native method.
12500 (cairoRestore): New native method.
12501 (cairoSave): New native method.
12502 (cairoScale): New native method.
12503 (createPath): New method to centralize code from draw and fill.
12504 (draw): Modified to use createPath method.
12505 (fill): Modified to use createPath method.
12506 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added
12507 function declarations.
12508 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12509 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New
12511 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New
12513 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New
12516 2006-07-12 Tom Tromey <tromey@redhat.com>
12519 * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12520 on PartialInputStream.
12521 (PartialInputStream.dummyByteCount): New field.
12522 (PartialInputStream.fillBuffer): Handle dummy byte.
12523 (PartialInputStream.read): Likewise.
12524 (PartialInputStream.addDummyByte): New method.
12526 2006-07-12 Mario Torre <neugens@limasoftware.net>
12528 * native/jni/gconf-peer/GConfNativePeer.c
12529 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12530 Fixed C++ style comment.
12532 2006-07-12 David Gilbert <david.gilbert@object-refinery.com>
12534 * java/util/Arrays.java
12535 (asList): Updated API docs.
12537 2006-07-11 Robert Schuster <robertschuster@fsfe.org>
12540 * native/jni/gconf-peer/GConfNativePeer.c:
12541 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12542 Changed if-expression.
12543 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12544 Added check for _value not being NULL.
12546 2006-07-11 Roman Kennke <kennke@aicas.com>
12548 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12549 (read): Use fd when local sockets are disabled to make the
12553 2006-07-11 Roman Kennke <kennke@aicas.com>
12555 * java/awt/image/MultiPixelPackedSampleModel.java
12556 (MultiPixelPackedSampleModel): Substract -1 so that the integer
12557 division gets rounded up.
12559 2006-07-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
12561 * java/lang/management/ManageFactory.java:
12562 (getMemoryManagerMXBeans()): Use addAll, not add.
12564 2006-07-11 Vivek Lakshmanan <vivekl@redhat.com>
12567 * gnu/classpath/ByteArray.java: Removed (moved).
12568 * gnu/java/security/util/ByteArray.java: New File.
12569 * gnu/javax/crypto/RSACipherImpl.java: Reference
12570 gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12572 2006-07-11 Roman Kennke <kennke@aicas.com>
12574 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12575 (available): Pass fd as argument and avoid JNI class/field
12579 * include/gnu_java_net_local_LocalSocketImpl.h:
12581 * gnu/java/net/local/LocalSocketImpl.h
12582 (available): Pass fd as argument and avoid JNI class/field
12587 2006-07-11 Sven de Marothy <sven@physto.se>
12589 * gnu/javax/sound/sampled/AU/AUReader.java:
12590 Correct file extension from .as to .au.
12592 2006-07-11 Sven de Marothy <sven@physto.se>
12594 * gnu/javax/sound/sampled/AU/AUReader.java:
12596 * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12597 Added new provider.
12599 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12601 * javax/swing/JTable.java
12602 (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12603 (setColumnSelectionAllowed): Likewise.
12605 2006-07-10 Vivek Lakshmanan <vivekl@redhat.com>
12608 * gnu/classpath/debug/Simple1LineFormatter.java: Use
12609 AccessController.doPrivileged instead of SystemProperties.getProperty.
12610 * gnu/classpath/debug/SystemLogger.java: Likewise.
12611 * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12612 repeated getProperty calls for "file.seperator".
12613 (refresh): Since already in privileged block, call System.getProperty
12614 instead of SystemProperties.getProperty.
12615 * gnu/java/security/key/dss/DSSKey.java
12616 (toString): Use AccessController.doPrivileged instead of
12617 SystemProperties.getProperty.
12618 * gnu/java/security/key/dss/DSSPrivateKey.java
12619 (toString): Likewise.
12620 * gnu/java/security/key/dss/DSSPublicKey.java
12621 (toString): Likewise.
12622 * gnu/java/security/key/rsa/GnuRSAKey.java
12623 (toString): Likewise.
12624 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12625 (toString): Likewise.
12626 * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12627 (toString): Likewise.
12628 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12629 * gnu/javax/crypto/key/dh/GnuDHKey.java
12630 (toString): Likewise.
12631 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
12632 (toString): Likewise.
12633 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
12634 (toString): Likewise.
12636 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12638 * javax/swing/AbstractButton.java
12639 (disabledIcon): Fixed name (was 'disabeldIcon'),
12640 (getDisabledIcon): Updated for corrected field name,
12641 (setDisabledIcon): Fire a PropertyChangeEvent.
12643 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12645 * javax/swing/DefaultBoundedRangeModel.java
12646 (readObject): New private method,
12647 (writeObject): Likewise.
12649 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12651 * javax/swing/ButtonGroup.java
12652 (add): Ignore null argument,
12653 (remove): Ignore null argument. If removing selected button, clear the
12655 (findButton): Changed case for method name, and documented,
12656 (setSelected): Updated for modification to findButton() method name,
12657 (isSelected): Updated API docs.
12659 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12661 * java/awt/image/BufferedImage.java
12662 (BufferedImage(int, int, int)): Use correct color space for
12663 TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an
12664 IllegalArgumentException for an unrecognised type.
12666 2006-07-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
12668 * java/lang/management/ManagementFactory.java:
12669 (getMemoryPoolMXBeans): Genericized fully.
12670 (getMemoryManagerMXBeans): Likewise.
12671 (getGarbageCollectorMXBeans): Likewise.
12673 2006-07-10 Tom Tromey <tromey@redhat.com>
12675 * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12677 (getMemoryManagerMXBeans): Likewise.
12678 (getGarbageCollectorMXBeans): Likewise.
12680 2006-07-10 Mario Torre <neugens@limasoftware.net>
12682 * java/awt/BasicStroke.java: Removed unused import.
12683 * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed.
12684 * gnu/java/awt/java2d/LineSegment.java (clone): Fixed.
12685 * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12687 2006-07-10 Matt Wringe <mwringe@redhat.com>
12689 PR classpath/28212:
12690 * javax/crypto/spec/SecretKeySpec.java
12691 (equals): Check object type.
12693 2006-07-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12695 * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12696 communication/StructureToPassHelper.java,
12697 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12698 communication/StructureToReturnHelper.java,
12699 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12700 communication/TreeNodeHelper.java,
12701 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12702 communication/WeThrowThisExceptionHelper.java,
12703 gnu/CORBA/ForwardRequestHelper.java,
12704 org/omg/CORBA/CompletionStatusHelper.java,
12705 org/omg/CORBA/CurrentHelper.java,
12706 org/omg/CORBA/DefinitionKindHelper.java,
12707 org/omg/CORBA/IDLTypeHelper.java,
12708 org/omg/CORBA/NameValuePairHelper.java,
12709 org/omg/CORBA/ObjectHelper.java,
12710 org/omg/CORBA/ParameterModeHelper.java,
12711 org/omg/CORBA/PolicyErrorCodeHelper.java,
12712 org/omg/CORBA/PolicyErrorHelper.java,
12713 org/omg/CORBA/PolicyHelper.java,
12714 org/omg/CORBA/PolicyListHelper.java,
12715 org/omg/CORBA/PolicyTypeHelper.java,
12716 org/omg/CORBA/ServiceDetailHelper.java,
12717 org/omg/CORBA/ServiceInformationHelper.java,
12718 org/omg/CORBA/SetOverrideTypeHelper.java,
12719 org/omg/CORBA/StringValueHelper.java,
12720 org/omg/CORBA/UnionMemberHelper.java,
12721 org/omg/CORBA/UnknownUserExceptionHelper.java,
12722 org/omg/CORBA/VisibilityHelper.java,
12723 org/omg/CORBA/WStringValueHelper.java,
12724 org/omg/CORBA/WrongTransactionHelper.java,
12725 org/omg/CosNaming/BindingHelper.java,
12726 org/omg/CosNaming/BindingIteratorHelper.java,
12727 org/omg/CosNaming/BindingListHelper.java,
12728 org/omg/CosNaming/BindingTypeHelper.java,
12729 org/omg/CosNaming/NameComponentHelper.java,
12730 org/omg/CosNaming/NameHelper.java,
12731 org/omg/CosNaming/NamingContextExtHelper.java,
12732 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12733 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12734 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12735 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12736 org/omg/CosNaming/NamingContextHelper.java,
12737 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12738 org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12739 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12740 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12741 org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12742 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12743 org/omg/DynamicAny/AnySeqHelper.java,
12744 org/omg/DynamicAny/DynAnyFactoryHelper.java,
12745 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12746 org/omg/DynamicAny/DynAnyHelper.java,
12747 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12748 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12749 org/omg/DynamicAny/DynAnySeqHelper.java,
12750 org/omg/DynamicAny/DynArrayHelper.java,
12751 org/omg/DynamicAny/DynEnumHelper.java,
12752 org/omg/DynamicAny/DynFixedHelper.java,
12753 org/omg/DynamicAny/DynSequenceHelper.java,
12754 org/omg/DynamicAny/DynStructHelper.java,
12755 org/omg/DynamicAny/DynUnionHelper.java,
12756 org/omg/DynamicAny/DynValueHelper.java,
12757 org/omg/DynamicAny/NameDynAnyPairHelper.java,
12758 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12759 org/omg/DynamicAny/NameValuePairHelper.java,
12760 org/omg/DynamicAny/NameValuePairSeqHelper.java,
12761 org/omg/IOP/CodecFactoryHelper.java,
12762 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12763 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12764 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12765 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12766 org/omg/IOP/ComponentIdHelper.java,
12767 org/omg/IOP/IORHelper.java,
12768 org/omg/IOP/MultipleComponentProfileHelper.java,
12769 org/omg/IOP/ProfileIdHelper.java,
12770 org/omg/IOP/ServiceContextHelper.java,
12771 org/omg/IOP/ServiceContextListHelper.java,
12772 org/omg/IOP/ServiceIdHelper.java,
12773 org/omg/IOP/TaggedComponentHelper.java,
12774 org/omg/IOP/TaggedProfileHelper.java,
12775 org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12776 org/omg/PortableInterceptor/AdapterNameHelper.java,
12777 org/omg/PortableInterceptor/AdapterStateHelper.java,
12778 org/omg/PortableInterceptor/CurrentHelper.java,
12779 org/omg/PortableInterceptor/ForwardRequestHelper.java,
12780 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12781 org/omg/PortableInterceptor/InvalidSlotHelper.java,
12782 org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12783 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12784 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12785 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12786 org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12787 org/omg/PortableServer/CurrentHelper.java,
12788 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12789 org/omg/PortableServer/ForwardRequestHelper.java,
12790 org/omg/PortableServer/POAHelper.java,
12791 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12792 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12793 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12794 org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12795 org/omg/PortableServer/POAPackage/NoServantHelper.java,
12796 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12797 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12798 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12799 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12800 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12801 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
12802 org/omg/PortableServer/ServantActivatorHelper.java,
12803 org/omg/PortableServer/ServantLocatorHelper.java: Remove the
12804 typecode caching and always use OrbRestricted.Singleton.
12806 2006-07-09 Tom Tromey <tromey@redhat.com>
12808 * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
12810 2006-07-09 Mark Wielaard <mark@klomp.org>
12812 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
12813 New static final boolean field.
12814 (getComponentGraphics): Use hasXRenderExtension.
12815 (setClip): Override method for locking.
12817 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12819 * javax/swing/AbstractButton.java
12820 (setHorizontalTextPosition): Added check for illegal argument,
12821 (setVerticalTextPosition): Likewise.
12823 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12825 * javax/swing/Timer.java
12826 (setDelay): Throw IllegalArgumentException for negative delay,
12827 (setInitialDelay): Likewise,
12828 * javax/swing/ToolTipManager.java
12829 (setInitialDelay): Document IllegalArgumentException,
12830 (setDismissDelay): Likewise,
12831 (setReshowDelay): Likewise.
12833 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12835 * java/lang/management/MemoryUsage.java:
12836 (from(javax.management.openmbean.CompositeData)):
12838 * java/lang/management/ThreadInfo.java:
12839 Changed to use open types throughout for the state.
12840 (ThreadInfo(long,String,String,long,long,String,
12841 long,String,long,long,boolean,StackTraceElement[])):
12843 (checkAttribute(javax.management.openmbean.CompositeType,
12844 String, javax.management.openmbean.OpenType)): New method.
12845 (from(javax.management.openmbean.CompositeData)):
12847 (getLockName()): Fixed to use new variable.
12848 (getLockOwnerId()): Likewise.
12849 (getLockOwnerName()): Likewise.
12850 (getThreadId()): Likewise.
12851 (getThreadName()): Likewise.
12852 (getThreadState()): Likewise.
12853 (toString()): Refactored to use new variables.
12854 * javax/management/openmbean/ArrayType.java:
12856 * javax/management/openmbean/CompositeType.java:
12857 Variables should be transient, not volatile.
12858 * javax/management/openmbean/OpenDataException.java:
12859 (serialVersionUID): Added.
12860 * javax/management/openmbean/SimpleType.java:
12862 * javax/management/openmbean/TabularType.java
12863 Variables should be transient, not volatile.
12865 2006-07-09 Tom Tromey <tromey@redhat.com>
12867 * tools/.cvsignore: Updated for new tools.
12869 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12871 * javax/management/openmbean/CompositeData.java,
12872 * javax/management/openmbean/CompositeType.java,
12873 * javax/management/openmbean/OpenDataException.java,
12874 * javax/management/openmbean/OpenType.java,
12875 * javax/management/openmbean/TabularData.java,
12876 * javax/management/openmbean/TabularType.java,
12877 * javax/management/openmbean/package.html:
12880 2006-07-09 Mark Wielaard <mark@klomp.org>
12882 * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
12883 * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
12884 * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
12886 2006-07-08 Anthony Green <green@redhat.com>
12888 * gnu/javax/sound/sampled/WAV/WAVReader.java,
12889 resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12892 2006-07-09 Mario Torre <neugens@limasoftware.net>
12894 * native/jni/gconf-peer/GConfNativePeer.c:
12895 Fixed indentation to be more compliant to the GNU coding
12897 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12898 Added explicit test for errors in the GConf backend.
12899 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12900 Added explicit test for errors in the GConf backend.
12901 Fixed Segmentation Fault when non valid key names are given as input.
12902 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12904 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12905 Added explicit test for errors in the GConf backend.
12906 * gnu/java/util/prefs/gconf/GConfNativePeer.java:
12907 Added javadoc comments for all native methods.
12908 (nodeExist): removed test to check for valid absolute path name
12910 (startWatchingNode): likewise.
12911 (stopWatchingNode): likewise.
12912 (setString): likewise, plus fixed javadoc comments.
12913 (unset): likekwise.
12914 (getKey): likewise.
12915 (getKeys): likewise, also fixed javadoc comments.
12916 (getChildrenNodes): likewise.
12917 * gnu/java/util/prefs/GConfBasedPreferences.java:
12918 changed DEFAULT_USER_ROOT to /apps/classpath.
12919 (constructor): Test to check for a valid absolute path for nodes
12920 is now in the contructor for that node, instead of being on
12921 each method of the backend.
12922 (getGConfKey): removed empty new line.
12924 2006-07-08 Mark Wielaard <mark@klomp.org>
12926 * .classpath: Add gnu/java/awt/peer/x/ to excludes.
12928 2006-07-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12930 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12931 Handle the forced break in the same way as exceeding the
12932 available row space.
12933 * javax/swing/text/html/HRuleView.java: Rewritten.
12934 * javax/swing/text/html/HTMLDocument.java
12935 (HTMLReader.addSpecialElement):Reserve two characters for
12936 the special elements.
12937 * examples/gnu/classpath/examples/swing/HtmlDemo.java
12938 (text): Extended the HTML example to parse.
12940 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12942 * javax/swing/AbstractButton.java
12943 (setHorizontalAlignment): Check for illegal argument,
12944 (setVerticalAlignment): Likewise.
12946 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12948 * javax/swing/text/html/TableView.java
12949 (getStyleSheet): New method. (RowView.getStyleSheet):
12952 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12954 * javax/swing/AbstractButton.java
12955 (setRolloverIcon): Call setRolloverEnabled(true),
12956 (setRolloverSelectedIcon): Likewise.
12958 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12960 * javax/swing/border/TitledBorder.java
12961 (setTitlePosition): Added message to exception,
12962 (setTitleJustification): Likewise.
12964 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12966 * javax/swing/plaf/metal/MetalLookAndFeel.java
12967 (createDefaultTheme): Corrected API docs,
12968 (initComponentDefaults): Added entry for 'TitledBorder.border',
12969 (getCurrentTheme): Initialise theme if it is null.
12971 2006-07-07 Roman Kennke <kennke@aicas.com>
12973 * java/awt/Component.java
12974 (isValid): Return false when component has no peer,
12975 don't query the showing state.
12977 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12979 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12980 Advance the offset also in the case of the enforced break.
12982 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12984 * javax/swing/plaf/basic/BasicArrowButton.java
12985 (MAXIMUM_SIZE): Removed field,
12986 (MINIMUM_SIZE): Likewise,
12987 (PREFERRED_SIZE): Likewise,
12988 (getMaximumSize): Return new instance every time,
12989 (getMinimumSize): Likewise,
12990 (getPreferredSize): Likewise.
12992 2006-07-07 Roman Kennke <kennke@aicas.com>
12994 * java/awt/LightweightDispatcher.java
12995 (findTarget): Avoid array copying in
12996 Container.getComponents().
12998 2006-07-07 Roman Kennke <kennke@aicas.com>
13000 * javax/swing/JComponent.java
13001 (paintChildrenWithOverlap): Avoid array copying in
13002 Container.getComponents().
13003 (paintChildrenOptimized): Avoid array copying in
13004 Container.getComponents().
13005 (fireAncestorEvent): Avoid array copying in
13006 Container.getComponents().
13007 (findOverlapFreeParent): Avoid array copying in
13008 Container.getComponents().
13010 2006-07-07 Matt Wringe <mwringe@redhat.com>
13012 * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
13013 (passwordValid): New field.
13014 (setPassword): New method.
13015 (setSalt): Likewise.
13016 (setIterationCount): Likewise.
13017 (setKeyLength): Likewise.
13018 (PBEKeySpec(char[])): Use new setter methods.
13019 (PBEKeySpec(char[], byte[], int)): Likewise.
13020 (PBEKeySpec(char[], byte[], int, int)): Likewise.
13021 (clearPassword): Set passwordValid to false.
13022 (getPassword): Check that clearPassword() was not called earlier.
13023 Return a clone of the password.
13024 (getSalt): Return a clone of the salt if it was not null.
13026 2006-07-07 Roman Kennke <kennke@aicas.com>
13028 * java/awt/Component.java
13029 (isValid): Always return false when component is
13031 (setFont): Always set font, even when setting
13032 the same or equal font again.
13034 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13036 * javax/swing/plaf/metal/MetalIconFactory.java
13037 (CheckBoxMenuItemIcon): Implement UIResource,
13038 (FileChooserDetailViewIcon): Likewise,
13039 (FileChooserHomeFolderIcon): Likewise,
13040 (FileChooserListViewIcon): Likewise,
13041 (FileChooserNewFolderIcon): Likewise,
13042 (FileChooserUpFolderIcon): Removed redundant 'implements',
13043 (RadioButtonMenuItemIcon): Implement UIResource,
13044 (HorizontalSliderThumbIcon): Likewise,
13045 (InternalFrameCloseIcon): Likewise,
13046 (InternalFrameDefaultMenuIcon): Likewise,
13047 (InternalFrameAltMaximizeIcon): Likewise,
13048 (InternalFrameMaximizeIcon): Likewise,
13049 (InternalFrameMinimizeIcon): Likewise,
13050 (VerticalSliderThumbIcon): Likewise,
13051 (TreeHardDriveIcon): Likewise,
13052 (TreeFloppyDriveIcon): Likewise,
13053 (TreeComputerIcon): Likewise,
13054 (horizontalSliderThumbIcon): New field,
13055 (verticalSliderThumbIcon): New field,
13056 (getHorizontalSliderThumbIcon): Cache icon,
13057 (getVerticalSliderThumbIcon): Likewise.
13059 2006-07-06 Mark Wielaard <mark@klomp.org>
13061 * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
13062 (DISTCLEANFILES): Add standard.omit.
13063 (clean-local): Remove Makefile.deps, only remove dirs.
13065 2006-07-06 Roman Kennke <kennke@aicas.com>
13067 * java/awt/Component.java
13068 (setFont): Only invalidate when component is valid.
13069 * java/awt/Container.java
13070 (setLayout): Only invalidate when component is valid.
13072 2006-07-06 Lillian Angel <langel@redhat.com>
13074 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
13075 New class not fully implemented.
13076 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
13077 New class not fully implemented.
13078 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
13079 New class not fully implemented.
13080 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
13081 New class not fully implemented.
13082 * nu/java/awt/peer/gtk/GtkToolkit.java:
13084 (createDragSourceContextPeer): Implemented.
13085 (createDragGestureRecognizer): New function to override
13086 java.awt.Toolkit.createDragGestureRecognizer.
13087 * java/awt/dnd/DragSource.java
13088 (NoDragGestureRecognizer): Removed inner class.
13089 (createDragGestureRecognizer): Re-Implemented to
13090 call Toolkit's createDragGestureRecognizer.
13091 (createDefaultDragGestureRecognizer): Re-Implemented to
13092 call Toolkit's createDragGestureRecognizer.
13093 * java/awt/dnd/DropTarget.java
13094 (addNotify): Added check to determine type of peer and call
13096 (removeNotify): Added call to removeDropTarget.
13098 2006-07-06 Tom Tromey <tromey@redhat.com>
13100 * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
13102 (run): Wait on queue, not 'this'.
13104 2006-07-06 Lillian Angel <langel@redhat.com>
13106 * java/awt/dnd/DragSource.java
13107 (startDrag): Implemented. Added comments describing
13108 what the function should do. Removed FIXME.
13110 2006-07-06 Tania Bento <tbento@redhat.com>
13112 * gnu/java/awt/Canvas.java
13113 Added new private variable 'next_canvas_number'.
13114 (generateName): Added.
13115 (getUniqueLong): Added.
13117 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13119 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
13120 (getColor): Made public.
13121 * javax/swing/text/html/StyleSheet.java (stringToColor):
13122 Use CharacterAttributeTranslator.getColor(String)
13124 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13126 * javax/swing/text/html/HTMLEditorKit.java:
13127 (HTMLFactory.createElement): Update reference to the html table view.
13128 * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
13129 * javax/swing/text/html/TableView.java: New file.
13131 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13133 * javax/swing/text/html/HTMLEditorKit.java:
13134 (HTMLFactory.createElement): Uncomment
13135 code for BRView and HRuleView.
13136 * javax/swing/text/html/BRView.java,
13137 javax/swing/text/html/HRuleView.java: New files.
13139 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
13141 * java/lang/Thread.java:
13142 (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
13143 Added generic type signature.
13145 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
13148 * doc/vmintegration.texinfo: Likewise.
13149 * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
13150 * examples/gnu/classpath/examples/management/TestMemoryManager.java,
13151 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
13152 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
13153 * java/lang/management/GarbageCollectorMXBean.java:
13155 * java/lang/management/ManagementFactory.java:
13156 (getGarbageCollectorMXBeans()): Implemented.
13157 (getMemoryManagerMXBeans()): Likewise.
13158 * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
13159 * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
13161 * vm/reference/java/lang/management/VMManagementFactory.java:
13162 (getMemoryManagerNames()): Added.
13163 (getGarbageCollectorNames()): Added.
13165 2006-07-05 Thomas Fitzsimmons <fitzsim@redhat.com>
13167 * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
13168 from lib_LTLIBRARIES.
13169 (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
13171 2006-07-05 Lillian Angel <langel@redhat.com>
13173 * java/awt/dnd/DragGestureEvent.java:
13175 (DragGestureEvent): Initialized new fields, added to check and
13176 added documentation.
13177 (getSourceAsDragGestureRecognizer): Added documentation and
13178 changed to use getSource.
13179 (getComponent): Added documentation and fixed to return the proper
13181 (getDragSource): Likewise.
13182 (getDragOrigin): Added documentation.
13183 (iterator): Implemented and added documentation.
13184 (toArray): Likewise.
13185 (toArray): Likewise.
13186 (getDragAction): Likewise.
13187 (getTriggerEvent): Likewise.
13188 (startDrag): Likewise.
13189 * java/awt/dnd/DragGestureRecognizer.java
13190 (resetRecognizer): Added FIXME.
13191 * java/awt/dnd/DragSource.java:
13193 (DragSource): Set ds to be null if headless.
13194 (getDefaultDragSource): Added documentation and implemented.
13195 (isDragImageSupported): Marked as unimplemented.
13196 (startDrag): Likewise.
13197 (createDragSourceContext): Implemented.
13198 (NoDragGestureRecognizer): Formatted inner class.
13199 * java/awt/dnd/DropTarget.java
13200 (stop): Marked as unimplemented.
13201 (actionPerformed): Likewise.
13202 (addDropTargetListener): Added code to throw exception.
13203 (removeDropTargetListener): Added check, removed FIXME.
13204 (dragEnter): Implemented.
13205 (dragOver): Implemented.
13206 (dropActionChanged): Implemented.
13207 (dragExit): Implemented.
13208 (drop): Implemented.
13209 (addNotify): Implemented.
13210 (removeNotify): Implemented.
13211 (createDropTargetContext): Implemented.
13212 (createDropTargetAutoScroller): Implemented.
13213 (initializeAutoscrolling): Implemented.
13214 (updateAutoscroll): Implemented.
13215 (clearAutoscroll): Implemented.
13216 * java/awt/dnd/DropTargetContext.java
13217 (dropComplete): Implemented.
13218 (acceptDrag): Implemented.
13219 (rejectDrag): Implemented.
13220 (acceptDrop): Implemented.
13221 (rejectDrop): Implemented.
13222 (getCurrentDataFlavors): Implemented.
13223 (getTransferable): Partially implemented.
13224 * java/awt/dnd/DropTargetDragEvent.java
13225 (getDropAction): Uncommented correct code.
13226 * java/awt/dnd/DropTargetDropEvent.java
13227 (dropComplete) :Implemented.
13228 * java/awt/dnd/InvalidDnDOperationException.java
13229 (InvalidDnDOperationException): Added call to super.
13231 2006-07-05 Robert Schuster <robertschuster@fsfe.org>
13233 * javax/swing/plaf/basic/BasicArrowButton.java:
13234 (paint): Removed getBounds() call, changed center point
13237 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
13239 * javax/swing/InputMap.java
13240 (inputMap): Don't initialize yet,
13241 (InputMap): Removed TODO,
13242 (get): Check for null inputMap,
13243 (put): Return immediately for null keyStroke, check for null inputMap
13244 and initialize if necessary,
13245 (remove): Check for null inputMap,
13249 (allKeys): Likewise,
13250 (writeObject): Removed,
13251 (readObject): Removed.
13253 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
13255 * gnu/classpath/examples/swing/TabbedPaneDemo.java
13256 (createContent): Use different labels for buttons.
13258 2006-07-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
13261 * doc/vmintegration.texinfo: Likewise.
13262 * examples/gnu/classpath/examples/management/TestMemoryPool.java,
13263 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
13265 * java/lang/management/ManagementFactory.java:
13266 (getMemoryPoolMXBeans()): Implemented.
13267 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
13268 * vm/reference/java/lang/management/VMManagementFactory.java:
13271 2006-07-04 Lillian Angel <langel@redhat.com>
13273 * java/awt/dnd/DragSourceContext.java:
13274 Removed FIXMEs from fields.
13275 (DragSourceContext): Added code to initialize cursor and sourceActions.
13276 (getDragSource): Added documentation.
13277 (getComponent): Likewise.
13278 (getTrigger): Likewise.
13279 (getSourceActions): Added documentation and implemented.
13280 (setCursor): Implemented. Added documentation.
13281 (getCursor): Implemented. Added documentation.
13282 (dragEnter): Added code to notify DragSource's listeners.
13283 (dragOver): Likewise.
13284 (dragExit): Likewise.
13285 (dropActionChanged): Likewise.
13286 (dragDropEnd): Likewise.
13287 (dragMouseMoved): Implemented.
13288 (getTransferable): Added API documentation.
13289 (updateCurrentCursor): Added API documentation and partially implemented.
13291 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13293 * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
13295 2006-07-04 Lillian Angel <langel@redhat.com>
13297 * java/awt/dnd/DragSourceContext.java
13298 (DragSourceContext): Implemented fully. Fixed API docs.
13299 (transferablesFlavorsChanged): Implemented.
13300 (dragEnter): Implemented.
13301 (dragOver): Implemented.
13302 (dragExit): Implemented.
13303 (dropActionChanged): Implemented.
13304 (dragDropEnd): Implemented.
13306 2006-07-04 Lillian Angel <langel@redhat.com>
13308 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
13309 Fixed name of constant.
13310 (getIconWidth): Changed name of constant returned.
13311 (getIconHeight): Likewise.
13313 (createSeparator): Marked as unimplemented.
13314 * javax/swing/plaf/basic/BasicTableUI.java
13315 (focusGained): Marked as unimplemented.
13316 (focusLost): Marked as unimplemented.
13317 (mouseEntered): Likewise.
13318 (mouseMoved): Likewise.
13319 (uninstallDefaults): Likewise.
13320 * javax/swing/plaf/basic/BasicToolBarUI.java
13321 (mouseClicked): Changed comment.
13322 (mouseEntered): Likewise.
13323 (mouseExited): Likewise.
13324 (mouseMoved): Likewise.
13325 (setOrientation): Implemented.
13326 (ToolBarFocusListener): Marked as unimplemented.
13327 (focusGained): Marked as unimplemented.
13328 (focusLost): Marked as unimplemented.
13330 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13333 * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
13334 Mind the effect of the root visibility on the position of the control.
13335 Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the
13336 vertical line over first level nodes.
13338 2006-07-04 Lillian Angel <langel@redhat.com>
13340 * javax/swing/plaf/basic/BasicMenuUI.java
13341 (installKeyboardActions): Implemented to call super. Nothing else
13342 needs to be done here.
13343 (setupPostTimer): Marked as unimplemented.
13344 (uninstallKeyboardActions): Implemented to call super. Nothing else
13345 needs to be done here.
13346 (mouseMoved): Removed TODO. Nothing to be done here.
13347 (ChangeHandler): Implemented.
13348 (menuDragMouseExited): Removed TODO. Nothing to be done here.
13349 (menuDragMouseReleased): Removed TODO. Nothing to be done here.
13350 (menuKeyReleased): Removed TODO. Nothing to be done here.
13351 (menuKeyTyped): Marked as unimplemented.
13353 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13356 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
13357 (getDefaults): Set hash color to black.
13358 * javax/swing/plaf/basic/BasicLookAndFeel.java
13359 (initComponentDefaults): Set hash color to grey blue.
13360 * javax/swing/plaf/basic/BasicTreeUI.java
13361 (instellDefaults): Set hash color.
13362 * javax/swing/plaf/metal/MetalIconFactory.java
13363 (TreeControlIcon.paint): Rewritten.
13365 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13368 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13369 Always cancel the current editing session before doing anything else,
13370 return immediately if this fails.
13371 (TreeHomeAction): Ensure that the lead selection path is visible after
13372 the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
13373 Likewise. TreeTraverseAction: Likewise.
13375 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13378 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13379 Returned back the code to handle the start of the click-pause-click
13380 editing initiation, explained about this code.
13381 (TreeStartEditingAction): New inner class.
13382 (stopEditingInCompleteEditing): Explained about this field.
13383 (completeEditing(boolean, boolean, boolean): Only return early
13384 if there is no current editing session.
13385 (createDefaultActions): Install TreeStartEditingAction and
13386 TreeCancelEditingAction.
13388 2006-07-04 Mario Torre <neugens@limasoftware.net>
13390 * configure.ac: Added new option --enable-default-preferences-peer
13391 to pass user specified default preference backend.
13392 If the GConf peer is built, GConf become the default backend.
13393 * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
13395 * lib/Makefile.am: excludes files terminating in 'in' from
13396 the metafiles list.
13397 * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
13398 from copy into META-INF.
13399 * java/util/prefs/Preferences.java: added two new import
13400 classes gnu.classpath.ServiceFactory and java.util.Iterator.
13401 (getFactory): Now try to check for
13402 a system defined default preference backend before to fall back on
13403 FileBasedPreference.
13405 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13408 * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
13409 (EXPANDED): Initialise to Boolean.TRUE.
13410 * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
13411 First configure layout cache and then set the assigned value
13412 as row mapper. Set the root visibility property.
13413 (toggleExpandState): Obtains expansion state from the layout cache.
13415 2006-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
13417 * java/lang/management/MemoryPoolMXBean.java:
13420 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13422 * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
13424 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13426 * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
13427 * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
13428 * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
13429 * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
13430 * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13431 * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13432 * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13433 * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13434 * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13435 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13436 * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13437 * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13438 * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13439 * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13440 * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13441 * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13442 * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13443 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13444 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13445 * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13446 * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13447 * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13448 * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13449 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13450 * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13451 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13452 * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13453 * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13454 * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13455 * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13456 * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13457 * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13458 * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13459 * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13460 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13461 * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13462 * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13463 * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13464 * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13465 * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13466 * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13467 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13468 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13469 * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13470 * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13471 * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13472 * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13474 2006-07-02 Anthony Green <green@redhat.com>
13476 * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13477 sure that every track written ends with an End Of Track meta
13480 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13482 * java/lang/management/MemoryUsage.java:
13483 (toString()): Fix missing MB for maximum memory usage.
13485 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13488 Updated to include VMCompilationMXBeanImpl.
13489 * doc/vmintegration.texinfo:
13490 Likewise, along with update to VMMemoryMXBeanImpl
13492 * examples/gnu/classpath/examples/management/TestCompilation.java,
13493 * gnu/java/lang/management/CompilationMXBeanImpl.java,
13494 * java/lang/management/CompilationMXBeanImpl.java:
13496 * java/lang/management/ManagementFactory.java:
13497 (getCompilationMXBean()): Implemented.
13498 * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13500 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13501 (getHeapMemoryUsage()): Added default implementation.
13503 2006-07-02 Anthony Green <green@redhat.com>
13505 * NEWS: Mention MIDI file reader/writer providers.
13507 2006-07-02 Anthony Green <green@redhat.com>
13509 * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13510 gnu/javax/sound/midi/file/MidiFileWriter.java,
13511 gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13513 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13516 Updated to include VMMemoryMXBeanImpl.
13517 * doc/vmintegration.texinfo: Likewise.
13518 * examples/gnu/classpath/examples/management/TestMemory.java:
13520 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13521 Remove redundant import.
13522 * gnu/java/lang/management/MemoryMXBeanImpl.java:
13524 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13525 Remove redundant import.
13526 * java/lang/management/ManagementFactory.java:
13527 (getMemoryMXBean()): Implemented.
13528 * java/lang/management/MemoryMXBean.java,
13529 * java/lang/management/MemoryUsage.java:
13531 * java/lang/management/ThreadInfo.java:
13532 (toString()): Updated documentation.
13533 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13536 2006-07-01 Anthony Green <green@redhat.com>
13538 * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13539 gnu/javax/sound/midi/file/MidiFileReader.java,
13540 gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13541 gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13543 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13545 * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13546 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13547 * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13548 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13549 * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13550 * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13551 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13553 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13555 * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13556 * gnu/javax/crypto/pad/IPad.java: Likewise.
13557 * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13558 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13559 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13560 * gnu/javax/crypto/pad/SSL3.java: Likewise.
13561 * gnu/javax/crypto/pad/TBC.java: Likewise.
13562 * gnu/javax/crypto/pad/TLS1.java: Likewise.
13563 * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13565 2006-07-01 Anthony Green <green@redhat.com>
13567 * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13569 (setMessage): Fix it again, in a different setMessage method.
13571 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13573 * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13574 * gnu/javax/crypto/mode/CBC.java: Likewise.
13575 * gnu/javax/crypto/mode/CFB.java: Likewise.
13576 * gnu/javax/crypto/mode/CTR.java: Likewise.
13577 * gnu/javax/crypto/mode/EAX.java: Likewise.
13578 * gnu/javax/crypto/mode/ECB.java: Likewise.
13579 * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13580 * gnu/javax/crypto/mode/ICM.java: Likewise.
13581 * gnu/javax/crypto/mode/IMode.java: Likewise.
13582 * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13583 * gnu/javax/crypto/mode/OFB.java: Likewise.
13585 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13587 * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13588 * gnu/javax/crypto/mac/HMac.java: Likewise.
13589 * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13590 * gnu/javax/crypto/mac/IMac.java: Likewise.
13591 * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13592 * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13593 * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13594 * gnu/javax/crypto/mac/OMAC.java: Likewise.
13595 * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13596 * gnu/javax/crypto/mac/UHash32.java: Likewise.
13597 * gnu/javax/crypto/mac/UMac32.java: Likewise.
13599 2006-07-01 Anthony Green <green@redhat.com>
13601 * javax/sound/midi/Track.java (vector, eventSet): Initialize.
13603 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13605 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13606 * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13607 * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13608 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13609 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13610 * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13611 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13612 * gnu/javax/crypto/keyring/Entry.java: Likewise.
13613 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13614 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13615 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13616 * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13617 * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13618 * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13619 * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13620 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13621 * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13622 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13623 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13624 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13625 * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13626 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13627 * gnu/javax/crypto/keyring/Properties.java: Likewise.
13628 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13630 2006-07-01 David Gilbert <david.gilbert@object-refinery.com>
13632 * javax/swing/AbstractCellEditor.java: Source code formatting,
13633 * javax/swing/AbstractSpinnerModel.java: Likewise,
13634 * javax/swing/Box.java: Likewise,
13635 * javax/swing/BoxLayout.java: Likewise,
13636 * javax/swing/DefaultListModel.java: Likewise,
13637 * javax/swing/GrayFilter.java: Likewise,
13638 * javax/swing/LookAndFeel.java: Likewise,
13639 * javax/swing/ProgressMonitor.java: Likewise,
13640 * javax/swing/ProgressMonitorInputStream.java: Likewise,
13641 * javax/swing/ScrollPaneLayout.java: Likewise,
13642 * javax/swing/SpringLayout.java: Likewise,
13643 * javax/swing/event/EventListenerList.java: Likewise,
13644 * javax/swing/event/MenuEvent.java: Likewise,
13645 * javax/swing/event/TreeExpansionListener.java: Likewise.
13647 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13650 Mention threading bean and getState().
13651 * doc/vmintegration.texinfo:
13652 Update documentation for threading bean and new
13653 method of VMThread.
13655 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13657 * examples/gnu/classpath/examples/management/TestClassLoading.java,
13658 * examples/gnu/classpath/examples/management/TestOS.java,
13659 * examples/gnu/classpath/examples/management/TestRuntime.java,
13660 * examples/gnu/classpath/examples/management/TestThread.java:
13663 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13665 * java/lang/ThreadGroup.java
13666 (getThreadFromId, getThreadFromIdImpl): New methods.
13668 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13670 * java/lang/Thread.java:
13671 Make thread IDs start from 1 in a more efficient way.
13673 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13675 * java/lang/Thread.java:
13676 Make thread IDs start from 1.
13678 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13680 * gnu/java/lang/management/BeanImpl.java:
13681 New superclass for all bean implementations.
13682 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13683 Extend BeanImpl and call permission code there.
13684 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13686 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13687 Extend BeanImpl and call permission code there.
13688 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13690 * java/lang/management/ManagementFactory.java:
13691 (getThreadMXBean()): Implemented.
13692 * java/lang/management/ThreadInfo.java:
13693 (ThreadInfo(Thread,int)): Replaced...
13694 (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13695 boolean, boolean, StackTraceElement[])): with this.
13696 (getBlockedCount()): Refactored to use local variables.
13697 (getBlockedTime()): Likewise.
13698 (getLockName()): Likewise.
13699 (getLockOwnerId()): Likewise.
13700 (getLockOwnerName()): Likewise.
13701 (getStackTrace()): Likewise.
13702 (getWaitedCount()): Likewise.
13703 (getWaitedTime()): Likewise.
13704 (isInNative()): Likewise.
13705 (isSuspended()): Likewise.
13706 (toString()): Changed to use new local variables.
13707 * java/lang/management/ThreadMXBean.java:
13708 (getThreadInfo(long, int)): Corrected documentation.
13709 (getThreadInfo(long[], int)): Likewise.
13710 * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13712 * vm/reference/java/lang/management/VMThreadInfo.java:
13715 2006-07-01 Raif S. Naffah <raif@swiftdsl.com.au>
13717 * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13718 * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13719 * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13720 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13721 * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13722 * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13723 * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13724 * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13725 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13726 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13727 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13728 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13729 * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13730 * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13731 * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13732 * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13733 * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13734 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13735 * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13736 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13737 * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13738 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13739 * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13740 * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13741 * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13742 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13743 * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13744 * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13745 * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13746 * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13747 * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13748 * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13750 2006-07-01 Roman Kennke <kennke@aicas.com>
13752 * gnu/java/awt/java2d/AbstractGraphics2D.java
13753 (transform): Make field protected.
13754 (getDestinationRaster): Provide default implementation for
13755 previously abstract method.
13757 2006-06-30 Tania Bento <tbento@redhat.com>
13759 * java/awt/TextArea.java
13760 (TextArea(String, int, int, int)): No longer throws
13761 IllegalArgumentException if rows, columns, or scrollbarVisibility
13762 values are invalid.
13763 (TextArea(String, int, int, int)): If rows or columns are < 0,
13764 they get set to 0. If scrollbarVisibility is < 0 or > 4, it
13765 gets set to the default value of 0 (SCROLLBARS_BOTH).
13766 (appendText): Added case when peer = null.
13767 (insertText): Added case when peer == null.
13768 (replaceText): Added case when peer == null.
13769 * java/awt/TextComponent.java
13770 (TextComponent(String)): If text == null, set it to "".
13772 2006-06-30 Lillian Angel <langel@redhat.com>
13774 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13775 (create): Added synchronized block around groupMap.get calls.
13776 (setCheckboxGroup): Likewise.
13778 2006-06-30 Lillian Angel <langel@redhat.com>
13780 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13781 (create): Changed to be non-synchronized.
13782 (setLabel): Likewise.
13783 (setCheckboxGroup): Likewise.
13784 (addToGroupMap): Likewise. Added synchronized block around
13786 (dispose): Changed to be non-synchronized.
13788 2006-06-30 Lillian Angel <langel@redhat.com>
13790 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13791 Changed all return values of native functions to void.
13792 (create): Changed function to be synchronized. Removed
13793 call to put value in groupMap, this is now done from
13795 (setState): Changed function to be synchronized.
13796 (setLabel): Changed function to be synchronized.
13797 (setCheckboxGroup): Changed function to be synchronized. Removed
13798 call to put value in groupMap, this is now done from
13800 (postItemEvent): Changed function to be synchronized.
13801 (addToGroupMap): New function. Called by native code to add
13802 new value to the group.
13803 (dispose): Changed function to be synchronized.
13804 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
13806 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13807 (cp_gtk_checkbox_init_jni): Added code to link to
13809 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13810 Changed return value to void. Added call
13811 to java function to set pointer in groupMap.
13812 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
13813 changed check to an assert. Also, removed call to set/del pointer.
13814 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup):
13815 Likewise. Also, added check to determine if native_group should be
13817 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
13819 2006-06-30 Sven de Marothy <sven@physto.se>
13821 * gnu/java/awt/ClasspathToolkit.java,
13822 * gnu/java/awt/peer/x/XToolkit.java,
13823 * gnu/java/awt/peer/qt/QtToolkit.java,
13824 * gnu/java/awt/peer/gtk/GtkToolkit.java,
13825 Remove ClasspathTextLayoutPeer.
13826 * gnu/java/awt/peer/gtk/GdkTextLayout.java,
13827 * gnu/java/awt/peer/ClasspathTextLayoutPeer:
13830 2006-06-30 Sven de Marothy <sven@physto.se>
13832 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
13833 (drawGlyphVector): Don't draw empty vectors.
13835 2006-06-30 Lillian Angel <langel@redhat.com>
13836 Tom Fitzsimmons <fitzsim@redhat.com>
13838 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
13839 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13840 Added current_group, groupMap fields. Added definitions for
13841 new native functions.
13842 (create): Removed FIXME. Added code to create the check button or
13843 radio button when appropriate. Updated groupMap to contain
13844 pointer to the newly created group.
13845 (setCheckboxGroup): Added code to handle all cases. Removing
13846 a button from a group, adding a button to a group, or changing the
13848 (dispose): Changed to call super.
13849 * include/Makefile.am: Removed reference to
13850 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
13851 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
13852 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
13854 * native/jni/gtk-peer/Makefile.am: Removed reference to
13855 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
13856 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
13858 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13859 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget):
13860 Renamed to checkbox_get_widget.
13861 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals):
13862 Changed to use checkbox_get_widget.
13863 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup):
13865 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
13866 Changed to use checkbox_get_widget.
13867 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
13869 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
13870 New function. Creates checkbutton without a group.
13871 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13872 Creates a radio button in a group, using groupPointer. If groupPointer
13873 is 0, then a new group is created.
13874 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
13875 check button to a group, using groupPointer. A radio button is created
13876 in its place. If groupPointer is 0, then a new group is created.
13877 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
13878 radio button is removed from the group. A check button is created in
13880 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
13881 radio button is moved to a new group.
13883 2006-06-30 Mark Wielaard <mark@klomp.org>
13885 * configure.ac: Move standard.omit creation after dirs are created.
13886 Cat standard.omit.in from srcdir. Make exclude regex more explicit.
13887 * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
13888 (clean-local): Remove standard.omit.
13889 * lib/gen-classlist.sh.in: Use omit file in build dir.
13890 * lib/standard.omit.in: Make exclude regex more explicit.
13892 2006-06-30 Roman Kennke <kennke@aicas.com>
13894 * lib/Makefile.am: Added Escher dir/jar to classpath when
13896 * configure.ac: Moved handling of standard.omit to a place
13897 where it actually gets executed.
13899 2006-06-30 David Gilbert <david.gilbert@object-refinery.com>
13901 * java/awt/TextComponent.java: Reformatted source code,
13902 * java/awt/TextField.java: Likewise.
13904 2006-06-29 Jeroen Frijters <jeroen@sumatra.nl>
13906 * java/lang/Thread.java:
13907 (getState()): Handle case of no VMThread
13910 2006-06-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
13912 * java/lang/Thread.java,
13913 * java/lang/VMThread.java:
13914 Reverted patch from 2006-06-28.
13916 2006-06-29 Roman Kennke <kennke@aicas.com>
13918 * gnu/java/awt/peer/x/GLGraphics.java,
13919 * gnu/java/awt/peer/x/ImageConverter.java,
13920 * gnu/java/awt/peer/x/KeyboardMapping.java,
13921 * gnu/java/awt/peer/x/XEventPump.java,
13922 * gnu/java/awt/peer/x/XFontPeer.java,
13923 * gnu/java/awt/peer/x/XFontPeer2.java,
13924 * gnu/java/awt/peer/x/XFramePeer.java,
13925 * gnu/java/awt/peer/x/XGraphics.java,
13926 * gnu/java/awt/peer/x/XGraphics2D.java,
13927 * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
13928 * gnu/java/awt/peer/x/XGraphicsDevice.java,
13929 * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
13930 * gnu/java/awt/peer/x/XImage.java,
13931 * gnu/java/awt/peer/x/XLightweightPeer.java,
13932 * gnu/java/awt/peer/x/XToolkit.java,
13933 * gnu/java/awt/peer/x/XWindowPeer.java,
13934 * gnu/java/awt/peer/x/fonts.properties: New files.
13935 * lib/standard.omit: Removed.
13936 * lib/standard.omit.in: Added.
13937 * configure.ac: Added configure option --with-escher. Added some
13938 configury for omitting gnu.java.awt.peer.x package when
13939 this option is not specified.
13941 2006-06-29 David Gilbert <david.gilbert@object-refinery.com>
13943 * javax/swing/JComponent.java
13944 (JComponent()): Initialize the locale here, not the default locale,
13945 (getDefaultLocale): If null, return Locale.getDefault(),
13946 (setDefaultLocale): Added API docs.
13948 2006-06-29 Tania Bento <tbento@redhat.com>
13950 * java/awt/Container.java
13951 (applyComponentOrientation): Implemented method.
13953 2006-06-29 Gary Benson <gbenson@redhat.com>
13955 * java/io/File.java (listRoots): Merge security checks from libgcj.
13957 2006-06-29 Gary Benson <gbenson@redhat.com>
13959 * java/io/FilePermission.java (implies): Work when path is "/".
13961 2006-06-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
13963 * java/lang/Thread.java:
13964 (Thread(ThreadGroup,Runnable,String,long)): Update
13966 (Thread(VMThread,String,int,boolean)): Likewise.
13967 (join(long,int)): Likewise.
13968 (resume()): Likewise.
13969 (sleep(long,int)): Likewise.
13970 (start()): Likewise.
13971 (stop()): Likewise.
13972 (suspend()): Likewise.
13974 (getState()): Return either state or use VMThread.
13975 * java/lang/VMThread.java:
13976 (getState()): Added default implementation to return
13979 2006-06-28 Andreas Tobler <a.tobler@schweiz.ch>
13981 * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
13982 GdkPixbuf correctly on big endian systems. Fix a typo in the little
13983 endian swapping code.
13985 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
13986 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
13987 without alpha information correctly on big endian systems.
13989 2006-06-28 Roman Kennke <kennke@aicas.com>
13991 * gnu/java/net/local/LocalSocket.java
13992 (setSoTimeout): Don't throw exception and ignore request.
13993 (getSoTimeout): Don't throw exception and always return 0.
13995 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13997 * javax/swing/JComponent.java
13998 (getRegisteredKeyStrokes): Implemented.
14000 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14002 * javax/swing/JComponent.java
14003 (verifyInputWhenFocusTarget): Initialise to true.
14005 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14007 * java/beans/VetoableChangeSupport.java
14008 (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
14010 (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
14011 for null property name and/or listener,
14012 * javax/swing/JComponent.java
14013 (getListeners): Handle VetoableChangeListener.class as a special case,
14014 (getVetoableChangeListeners): Fetch these from the
14015 vetoableChangeSupport object.
14017 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14019 * javax/swing/JComponent.java
14020 (componentPopupMenu): New field,
14021 (inheritsPopupMenu): New field,
14022 (getInheritsPopupMenu): Implemented,
14023 (setInheritsPopupMenu): Likewise,
14024 (getComponentPopupMenu): Likewise,
14025 (setComponentPopupMenu): Likewise,
14026 * javax/swing/JLabel.java
14027 (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
14029 2006-06-28 Raif S. Naffah <raif@swiftdsl.com.au>
14031 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
14032 (toString): New method.
14033 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
14034 (toString): New method.
14035 * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
14036 (toString): New method.
14037 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
14038 Handle case when Q is null.
14039 (decodePrivateKey): Likewise.
14040 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
14042 (decodePublicKey): Likewise.
14043 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
14044 aliases for all block ciphers.
14045 * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
14046 (engineDoPhase): Compute fully the shared secret.
14047 (checkState): New method.
14049 (engineGenerateSecret()): Reset key-agreement before returning.
14050 (engineGenerateSecret(byte[],int)): Check for short-buffer.
14051 Reset key-agreement before returning.
14052 (engineGenerateSecret(String)): Reset key-agreement before returning.
14053 (engineInit(Key,SecureRandom)): Call reset() before returning.
14054 * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
14055 (engineInit): Replace printing to System.out with conditional logging.
14056 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
14057 When the key-size is not specified, attempt best effort to find a suitable
14058 value among those advertised by the cipher before setting it to the length
14059 of provided key material.
14061 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14063 * javax/swing/table/DefaultTableColumnModel.java
14064 (changeEvent): Don't initialize yet, removed FIXME,
14065 (fireColumnModelChanged): Initialize changeEvent if necessary.
14067 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
14069 * java/lang/Thread.java:
14070 (getAllStackTraces()): Implemented.
14071 (getStackTrace()): Likewise.
14073 2006-06-27 Tania Bento <tbento@redhat.com>
14075 * java/awt/Component.java
14076 (setComponentOrientation): NPE should not be thrown.
14078 2006-06-27 Tom Tromey <tromey@redhat.com>
14080 * configure.ac: Create gjar, gnative2ascii, gserialver.
14081 * tools/gappletviewer.in: Quote $@.
14082 * tools/gkeytool.in: Likewise.
14083 * tools/gjarsigner.in: Likewise.
14084 * tools/gjar.in: New file.
14085 * tools/gnative2ascii.in: Likewise.
14086 * tools/gserialver.in: Likewise.
14087 * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
14089 (bin_SCRIPTS): Likewise.
14091 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
14093 * java/lang/management/ThreadMXBean.java:
14094 (getThreadInfo(long[])): Corrected return type.
14095 (getThreadInfo(long[], int)): Likewise.
14097 2006-06-27 Mark Wielaard <mark@klomp.org>
14099 * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
14100 nothing when listener is null.
14101 (removeFlavorListener): Likewise.
14103 * java/awt/datatransfer/DataFlavor.java
14104 (getRepresentationClassFromMime): Renamed to
14105 getRepresentationClassFromMimeThrows.
14106 (isRepresentationClassInputStream): Use Class.isAssignableFrom().
14107 (isRepresentationClassSerializable): Likewise.
14108 (isFlavorJavaFileListType): Likewise and check primary and
14110 (getParameter): Parameters are separated by semi-colons.
14111 (DataFlavor(Class,String,String)): Do some sanity checks.
14112 (DataFlavor(String,String,ClassLoader)): Call
14113 getRepresentationClassFromMimeThrows.
14114 (DataFlavor(String)): Likewise.
14115 (equals(DataFlavor)): Special case primary type text and charset
14118 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14120 * java/awt/Component.java
14121 (setName): Fire required PropertyChangeEvent,
14122 * java/awt/Label.java
14123 (getText): Removed redundant brackets,
14124 (generateName): New method (override),
14125 (nextLabelNumber): New field,
14126 (getUniqueLong): New method.
14128 2006-06-27 Roman Kennke <kennke@aicas.com>
14130 * gnu/java/awt/peer/swing/SwingComponentPeer.java
14131 (createImage): Delegate this to the parent.
14132 (handleEvent): Only handle PAINT/UPDATE events when the
14133 component is actually showing.
14134 (hide): Repaint the parent after hiding a component.
14135 (prepareImage): Have only one return point.
14136 (setVisible): Delegate to show() and hide().
14137 (createVolatileImage): Added null check to avoid NPE.
14139 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14141 * java/awt/Label.java: Reformatted source code.
14143 2006-06-27 Roman Kennke <kennke@aicas.com>
14145 * java/awt/image/BufferedImage.java
14146 (getSource): Use a fixed DirectColorModel to deliver the
14147 RGB pixels to the ImageConsumer.
14149 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14151 * java/awt/Point.java
14152 (setLocation(double, double)): Round to nearest integer coordinates.
14154 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14156 * java/awt/Component.java
14157 (minSizeSet): New field,
14158 (maxSize): Likewise,
14159 (maxSizeSet): Likewise,
14160 (isMaximumSizeSet): Implemented,
14161 (isMinimumSizeSet): Likewise,
14162 (isPreferredSizeSet): Likewise,
14163 (setMaximumSize): Likewise,
14164 (setMinimumSize): Likewise,
14165 (setPreferredSize): Likewise.
14167 2006-06-27 Roman Kennke <kennke@aicas.com>
14169 * javax/imageio/spi/IIORegistry.java
14170 (IIORegistry): Added BMP codec.
14172 2006-06-27 Mark Wielaard <mark@klomp.org>
14174 * javax/swing/JComponent.java
14175 (firePropertyChange(String,char,char)): New override method.
14177 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14179 * java/lang/Thread.java:
14180 (getState()): New method.
14181 * java/lang/management/ClassLoadingMXBean.java:
14182 Corrected class documentation.
14183 * java/lang/management/ManagementFactory.java:
14184 Added new temporary marked stub to get thread bean.
14185 * java/lang/management/OperatingSystemMXBean.java:
14186 Corrected class documentation.
14187 * java/lang/management/RuntimeMXBean.java:
14188 Corrected class documentation.
14189 * java/lang/management/ThreadInfo.java,
14190 * java/lang/management/ThreadMXBean.java:
14192 * vm/reference/java/lang/VMThread.java:
14193 (getState()): New method.
14194 * vm/reference/java/lang/management/VMThreadInfo.java:
14197 2006-06-26 Sven de Marothy <sven@physto.se>
14199 * gnu/javax/imageio/gif/GIFFile.java
14200 * gnu/javax/imageio/gif/GIFImageReader.java
14201 * gnu/javax/imageio/gif/GIFImageSpi.java
14202 * gnu/javax/imageio/gif/GIFStream.java
14204 * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
14206 2006-06-26 Tania Bento <tbento@redhat.com>
14208 * java/awt/List.java
14209 (List): A list should have at least 4 visible rows.
14210 (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
14211 not an IllegalArgumentException.
14212 (makeVisible): Should not throw an IllegalArgumentException if
14213 the specified index is out of range.
14215 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14217 * javax/swing/JList.java
14218 (getNextMatch): Reimplemented to perform a circular search for the
14221 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14223 * javax/swing/JList.java
14224 (init): Set default value for visibleRowCount to 8,
14225 (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
14227 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14229 * javax/swing/JList.java
14230 (valueIsAdjusting): Removed,
14231 (init): Removed initialization of valueIsAdjusting field,
14232 (getValueIsAdjusting): Fetch value from selection model,
14233 (setValueIsAdjusting): Store value in selection model.
14235 2006-06-26 Roman Kennke <kennke@aicas.com>
14237 * javax/swing/plaf/basic/BasicListUI.java
14238 (installKeyboardActions): Rewritten to fit with the
14239 ActionMap/InputMap architecture.
14240 (uninstallKeyboardActions): Implemented.
14241 (ListAction): Made private. Added TODO for splitting
14242 up this bulk Action.
14243 (ListAction.ListAction): New constructor. This one
14244 takes a cmd parameter to be installed as actionCommand.
14246 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
14248 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
14249 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14251 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
14253 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
14254 * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
14255 * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
14256 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
14257 * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
14258 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
14259 * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
14260 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
14261 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14262 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14263 * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
14264 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
14265 * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
14266 * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
14267 * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
14268 * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
14269 * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
14270 * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
14271 * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
14272 * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
14273 * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
14274 * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
14275 * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
14276 * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
14277 * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
14278 * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
14279 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
14280 * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
14281 * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
14282 * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
14283 * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
14284 * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
14285 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
14286 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
14287 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
14288 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
14289 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
14290 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
14291 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
14292 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
14293 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
14294 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
14295 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
14296 * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
14297 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14298 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
14299 * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
14300 * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
14301 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
14302 * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
14303 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
14304 * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
14305 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14306 * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
14307 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
14308 * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
14309 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
14310 * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
14311 * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
14312 * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
14313 * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
14314 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
14315 * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
14316 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
14317 * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
14318 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
14319 * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
14320 * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
14321 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
14322 * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
14323 * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
14324 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
14325 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14326 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
14327 * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
14328 * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
14329 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14330 * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
14331 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
14332 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
14333 * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
14334 * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
14336 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14338 * javax/swing/JList.java
14339 (setLayoutOrientation): Check for valid argument.
14341 2006-06-26 Roman Kennke <kennke@aicas.com>
14343 * javax/swing/JComponent.java
14344 (firePropertyChange(String,int,int)): New method. Overrides
14345 Component method and makes it public.
14346 (firePropertyChange(String,boolean,boolean)): Likewise.
14348 2006-06-25 Vivek Lakshmanan <vivekl@redhat.com>
14350 * gnu/java/security/.cvsignore: New File.
14351 * gnu/java/security/Configuration.java.in: New File.
14352 * gnu/java/security/Properties.java: Change import from
14353 gnu.classpath.Configuration to gnu.java.security.Configuration.
14354 * gnu/java/security/hash/Whirlpool.java: Likewise.
14355 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14356 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14357 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14358 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14359 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14360 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14361 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14362 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14363 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14364 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
14365 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
14366 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14367 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14368 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14369 * gnu/java/security/util/Base64.java: Likewise.
14370 * gnu/java/security/x509/X509CRL.java: Likewise.
14371 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
14372 * gnu/java/security/x509/ext/Extension.java: Likewise.
14373 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14374 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14375 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14376 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14377 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14378 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14379 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14380 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14381 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
14382 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
14383 * gnu/javax/crypto/keyring/Entry.java: Likewise.
14384 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
14385 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
14386 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
14387 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14388 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14389 * gnu/javax/crypto/mac/OMAC.java: Likewise.
14390 * gnu/javax/crypto/pad/BasePad.java: Likewise.
14391 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
14392 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
14393 * gnu/javax/crypto/pad/TBC.java: Likewise.
14394 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
14395 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
14396 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
14397 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
14398 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
14399 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
14400 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
14401 * gnu/javax/security/auth/login/GnuConfiguration.java
14402 (getAppConfigurationEntry): Change reference to
14403 gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
14404 (getConfigFromUserHome): Likewise.
14405 (getInputStreamFromURL): Likewise.
14406 (getUserHome): Likewise.
14408 (processSecurityProperties): Likewise.
14409 (processSystemProperty): Likewise.
14410 (processUserHome): Likewise.
14411 * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
14412 * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
14415 2006-06-25 Carsten Neumann <cn-develop@gmx.net>
14417 * javax/swing/text/DefaultCaret.java (isActive): New method.
14419 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14421 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14422 * java/lang/management/ClassLoadingMXBean.java:
14423 (getTotalLoadedClassCount()): Corrected return type.
14424 (getUnloadedClassCount()): Likewise.
14425 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14426 (getUnloadedClassCount()): Likewise.
14428 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14430 * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14431 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14432 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14433 * gnu/javax/crypto/cipher/Square.java: Likewise.
14434 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14435 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14436 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14437 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14438 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14439 * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14440 * gnu/javax/crypto/cipher/DES.java: Likewise.
14441 * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14442 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14443 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14444 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14445 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14447 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14449 * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14450 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14451 * gnu/javax/crypto/assembly/Stage.java: Likewise.
14452 * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14453 * gnu/javax/crypto/assembly/Operation.java: Likewise.
14454 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14455 * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14456 * gnu/javax/crypto/assembly/Direction.java: Likewise.
14457 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14458 * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14459 * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14460 * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14461 * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14463 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14466 * doc/vmintegration.texinfo:
14467 Updated with information on new VM interface.
14468 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14469 * java/lang/management/ClassLoadingMXBean.java:
14470 New files implementing the class loading bean.
14471 * java/lang/management/ManagementFactory.java:
14472 (getClassLoadingMXBean()): Implemented.
14473 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14474 New VM interface file.
14476 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14478 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14479 (isBootClassPathSupported()): Use SystemProperties
14480 rather than System.getProperty.
14482 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14484 * gnu/java/security/Properties.java: Source formatting.
14485 * gnu/java/security/Registry.java: Likewise.
14487 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14489 * gnu/java/security/util/Util.java: Source formatting.
14490 * gnu/java/security/util/SimpleList.java: Likewise.
14491 * gnu/java/security/util/Sequence.java: Likewise.
14492 * gnu/java/security/util/PRNG.java: Likewise.
14493 * gnu/java/security/util/ExpirableObject.java: Likewise.
14494 * gnu/java/security/util/Base64.java: Likewise.
14495 * gnu/java/security/sig/SignatureFactory.java: Likewise.
14496 * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14497 * gnu/java/security/sig/ISignature.java: Likewise.
14498 * gnu/java/security/sig/BaseSignature.java: Likewise.
14499 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14500 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14501 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14502 * gnu/java/security/sig/rsa/RSA.java: Likewise.
14503 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14504 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14505 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14506 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14507 * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14508 * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14509 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14510 * gnu/java/security/provider/Gnu.java: Likewise.
14511 * gnu/java/security/prng/RandomEventListener.java: Likewise.
14512 * gnu/java/security/prng/RandomEvent.java: Likewise.
14513 * gnu/java/security/prng/PRNGFactory.java: Likewise.
14514 * gnu/java/security/prng/MDGenerator.java: Likewise.
14515 * gnu/java/security/prng/LimitReachedException.java: Likewise.
14516 * gnu/java/security/prng/IRandom.java: Likewise.
14517 * gnu/java/security/prng/EntropySource.java: Likewise.
14518 * gnu/java/security/prng/BasePRNG.java: Likewise.
14520 2006-06-23 Francis Kung <fkung@redhat.com>
14522 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14523 (Harness.actionPerformed): Process additional options.
14524 (J2dBenchmarkWrapper): Defer init call until after options are processed.
14525 (J2dBenchmarkWrapper.setAlias): New method.
14526 (J2dBenchmarkWrapper.setComposite): New method.
14527 (J2dBenchmarkWrapper.setFill): New method.
14528 (J2dBenchmarkWrapper.setRotation): New method.
14529 (J2dBenchmarkWrapper.setShear): New method.
14530 (J2dBenchmarkWrapper.setStroke): New method.
14531 (J2dBenchmarkWrapper.setTranslation): New method.
14532 (run): Add additional options to GUI.
14533 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14534 Added protected fields for various options.
14535 (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14536 (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14537 (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14538 (getNextColor): Renamed to setRandom.
14539 (init): Load additional image for texturing if needed.
14540 (loadBufferedImage): New method.
14541 (main): Accept additional command-line switches.
14542 (prepareGraphics): New method.
14543 (resetGraphics): New method.
14544 (runTestSuite): Accept additional image-processing options.
14545 (setRandom): Renamed from getNextColor; generate various random options
14546 (test_drawArc): Rename getNextColor to setRandom.
14547 (test_drawCubic): Likewise.
14548 (test_drawEllipse): Likewise.
14549 (test_drawGeneralPath): Likewise.
14550 (test_drawImage): Likewise.
14551 (test_drawLine): Likewise.
14552 (test_drawQuadCurve): Likewise.
14553 (test_drawRectangle): Likewise.
14554 (test_drawRoundRectangle): Likewise.
14555 (test_drawTransparentImage): Likewise.
14556 (test_fillArc): Rename getNextColor to setRandom.
14557 (test_fillEllipse): Likewise.
14558 (test_fillGeneralPath): Likewise.
14559 (test_fillRectangle): Likewise.
14560 (test_fillRoundRectangle): Likewise.
14561 (TestRecorder.getAverage): Round the average time.
14563 2006-06-23 Tom Tromey <tromey@redhat.com>
14565 * java/util/logging/LoggingMXBean.java: New file.
14566 * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14567 (loggingBean): New field.
14568 (getLoggingMXBean): New method.
14570 2006-06-23 Tania Bento <tbento@redhat.com>
14572 * java/awt/TextField.java
14573 (TextField): Default number of columns should be 0, not 1.
14574 (TextField): Check if number of columns given as argument
14575 is valid (>= 0) and set the number of columns accordingly.
14576 (TextField): Check if the string passed is null. If it is,
14577 set columns to 0, else columns is set to the length of
14580 2006-06-23 Roman Kennke <kennke@aicas.com>
14582 * javax/swing/plaf/basic/BasicInternalFrameUI.java
14583 (InternalFramePropertyChangeListener.propertyChange):
14584 Don't call getPropertyName() repeatedly. Added null checks
14585 to avoid NPEs. Call closeFrame() if the closed property
14588 2006-06-23 Roman Kennke <kennke@aicas.com>
14590 * javax/swing/JInternalFrame.java
14591 (maxTransition): Removed.
14592 (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14593 Don't initialize storedBounds here.
14594 (dipose): Rewritten to correctly dispose the JInternalFrame.
14595 (getDesktopIcon): Don't initialize desktopIcon here.
14596 (getLayer): Delegate to JLayeredPane.getLayer().
14597 (getNormalBounds): Return bounds when storedBounds == null,
14598 otherwise storedBounds.
14599 (hide): Don't change selection. Also hide the desktopIcon.
14600 (moveToBack): Call getParent() only once.
14601 (moveToFront): Call getParent() only once.
14602 (pack): Call validate() to make sure that the layout is
14603 propagated to the children.
14604 (setClosed): Fire InternalFrameEvent first, before the
14606 (setJMenuBar): Fire PropertyChangeEvent for this property.
14607 (setLayer): Delegate to JLayeredPane.
14608 (setLayeredPane): Check for null and throw IllegalArgumenException.
14609 (setMaximum): Remove handling of maxTransition and normalBounds.
14610 Should probably be done in the UI.
14611 (setNormalBounds): Store Rectangle object directly, not a copy.
14612 (setRootPane): Go into rootPaneCheckingEnabled mode so that
14613 adding the RootPane doesn't add it to the contentPane.
14614 Fire PropertyChangeEvent.
14615 (setSelected): Added condition for when this property must not
14617 (show): Don't ask the DesktopPane to select the frame. Moved
14618 code around to fire InternalFrameEvent before actually calling
14619 super.show(). Also make the desktopIcon visible.
14620 (setTitle): Fire PropertyChangeEvent unconditionally.
14622 2006-06-23 Roman Kennke <kennke@aicas.com>
14624 * javax/swing/JLayeredPane.java
14625 (getPosition): Moved code around to avoid unnecessary method calls.
14626 (setPosition): Delegate to setLayer().
14627 (insertIndexForLayer(int,int)): Delegate to new private helper method.
14628 (insertIndexForLayer(Component,int,int)): New helper method
14629 to support the use of setComponentZOrder() which doesn't remove
14630 the component and thus the insertIndexForLayer must ignore
14631 the component to be moved to get the index right.
14632 (setLayer): Added check to prevent unnecessary execution of
14633 method body. Changed to update the component order here.
14634 Added repaint() to make sure that the update becomes visible.
14635 (addImpl): Call setLayer() only when a constraint has been specified.
14636 Validate and repaint the JLayeredPane.
14638 2006-06-23 Roman Kennke <kennke@aicas.com>
14640 * java/awt/Container.java
14641 (getComponentZOrder): Use ncomponents instead of
14642 component.length so that we don't consider the empty space
14643 after the last component.
14645 2006-06-22 Roman Kennke <kennke@aicas.com>
14647 * javax/swing/JComponent.java
14648 (vetoableChangeSupport): New field.
14649 (removeVetoableChangeListener): Rewritten to use
14650 vetoableChangeSupport.
14651 (addVetoableChangeListener): Rewritten to use
14652 vetoableChangeSupport.
14653 (fireVetoableChange): Rewritten to use
14654 vetoableChangeSupport.
14655 (addPropertyChangeListener): Removed. This is handled in
14657 (firePropertyChange(String,boolean,boolean)): Likewise.
14658 (firePropertyChange(String,char,char)): Likewise.
14659 (firePropertyChange(String,int,int)): Likewise.
14660 (revalidate): Don't do anything when the commponent has no
14663 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14665 * javax/swing/JLabel.java: Updated API docs.
14667 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14669 * java/awt/Insets.java: Updated copyright year.
14670 (toString): Changed string, removed a line from the
14673 2006-06-22 Roman Kennke <kennke@aicas.com>
14675 * javax/swing/text/AbstractDocument.java
14676 (AbstractDocument): Set the i18n document property.
14677 (removeImpl): Added checks for correct boundaries.
14679 2006-06-22 Roman Kennke <kennke@aicas.com>
14681 * javax/swing/text/PlainDocument.java
14682 (rootElement): Changed type to Element.
14683 (tabSize): Removed field. This is stored in the document properties
14685 (PlainDocument): Set tabSize property. Init rootElement without
14687 (insertUpdate): Rewritten. The previous implementation did not
14688 handle some corner cases properly and was a mess.
14689 (removeUpdate): Cast rootElement to BranchElement.
14691 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14693 * javax/swing/plaf/basic/BasicLabelUI.java
14694 (installKeyboardActions): Implemented,
14695 (uninstallKeyboardActions): Implemented,
14696 (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14699 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14701 * javax/swing/JMenu.java:
14702 (removeAll): Added check for popupMenu not being null.
14704 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14706 * javax/swing/JLabel.java
14707 (getText): Updated API docs,
14708 (setText): Corrected the check for an unchanged value, and the update
14709 of the displayedMnemonicIndex.
14711 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14713 * javax/swing/JLabel.java
14714 (setDisplayedMnemonic(int)): Fire property change event AFTER updating
14716 (setDisplayedMnemonicIndex): Modified argument checking to handle case
14717 where label text is null.
14719 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14721 * javax/swing/JLabel.java
14722 (setDisplayedMnemonic): Updated API docs,
14723 (getDisplayedMnemonic): Removed unnecessary type-cast,
14724 (setDisplayedMnemonicIndex): Removed unnecessary validation,
14725 (getDisplayedMnemonicIndex): Updated API docs.
14727 2006-06-21 Jeroen Frijters <jeroen@frijters.net>
14729 * java/util/Collections (entrySet): Fixed compile error.
14731 2006-06-21 David Gilbert <david.gilbert@object-refinery.com>
14733 * javax/swing/DefaultListSelectionModel.java
14734 (getSelectionMode): Updated API docs,
14735 (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14736 (addSelectionInterval): If mode is SINGLE_SELECTION, just call
14737 setSelectionInterval(),
14738 (setSelectionInterval): Reimplemented SINGLE_SELECTION and
14739 SINGLE_INTERVAL_SELECTION cases.
14741 2006-06-21 Roman Kennke <kennke@aicas.com>
14743 * javax/swing/text/AbstractDocument.java
14744 (BranchElement.numChildren): New field.
14745 (BranchElement.BranchElement): Initialize children array with
14746 one element (that's the least number of elements that makes sense).
14747 Initialize numChildren.
14748 (BranchElement.children): Use numChildren as boundary.
14749 (BranchElement.getElement): Use numChildren as boundary.
14750 (BranchElement.getElementCount): Use numChildren as boundary.
14751 (BranchElement.getElementIndex): Use numChildren as boundary.
14752 (BranchElement.getEndOffset): Use numChildren as boundary.
14753 (BranchElement.getStartOffset): Use numChildren as boundary.
14754 (BranchElement.positionToElement): Use numChildren as boundary.
14755 (BranchElement.replace): Handle the children array more efficiently
14756 by growing in blocks > 1, and reusing space from removed elements.
14757 (LeafElement.startDelta): Removed.
14758 (LeafElement.endDelta): Removed.
14759 (LeafElement.LeafElement): Removed handling of deltas.
14760 (LeafElement.getEndOffset): Likewise.
14761 (LeafElement.getStartOffset): Likewise.
14762 * javax/swing/text/JTextComponent.java
14763 (setDocument): Added locking of the old document to avoid dangling
14764 notification beeing delivered while the document is beeing
14766 (getScrollableTracksViewportWidth): Fixed condition.
14767 * javax/swing/text/PlainDocument.java
14768 (createDefaultRoot): Create elements without AttributeSet.
14769 * javax/swing/text/rtf/RTFParser.java
14770 (parseFile): Handle slightly incorrect RTF gracefully.
14771 * javax/swing/text/rtf/RTFScanner.java
14772 (lastToken): New field.
14773 (readTokenImpl): New method.
14774 (peekToken): New method.
14775 (readToken): Changed to call readTokenImpl or return the lastToken
14776 if there's one present.
14778 2006-06-21 Tania Bento <tbento@redhat.com>
14780 * javax/swing/JMenu.java
14781 (remove): An IllegalArgumentException should be thrown if
14782 either index < 0 or if index > 0 and there are no menu
14783 components. Also, a check was added that ensures there are
14784 menu components before removing the desired the component.
14786 2006-06-21 Lillian Angel <langel@redhat.com>
14788 * javax/swing/text/DefaultCaret.java
14789 (install): Added check to prevent NPE.
14790 (propertyChange): Added checks to prevent NPEs.
14792 2006-06-21 Tania Bento <tbento@redhat.com>
14794 * javax/swing/JMenu.java
14795 Changed instantiation of popupMenu to null.
14796 (JMenu): Instantiated popupMenu to new JPopupMenu.
14797 (JMenu): Instantiated popupMenu to new JPopupMenu.
14798 (add): Changed popupMenu to getPopupMenu().
14799 (add): Changed popupMenu to getPopupMenu().
14800 (add): Changed popupMenu to getPopupMenu().
14801 (add): Changed popupMenu to getPopupMenu().
14802 (remove): Changed popupMenu to getPopupMenu().
14803 (remove): Changed popupMenu to getPopupMenu().
14804 (insert): Changed popupMenu to getPopupMenu().
14805 (setSelectedHelper): Changed popupMenu to getPopupMenu().
14806 (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
14807 (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
14808 (getMenuComponentCount): Changed popupMenu to getPopupMenu().
14809 (getMenuComponents): Changed popupMenu to getPopupMenu().
14810 (getPopupMenu): Check first if popupMenu is null and if so,
14811 instantiate it to a new JPopupMenu and set the invoker.
14812 * javax/swing/plaf/basic/BasicPopupMenuUI.java
14813 (popupMenuWillBecomeVisible): Component Listener should only
14814 be added to the root container if the root container is not
14815 null. This avoids a null pointer exception.
14817 2006-06-21 Tania Bento <tbento@redhat.com>
14819 * javax/swing/JMenu.java
14820 (JMenu): Delay should be set to 200, not default of 0.
14821 (JMenu): Delay should be set to 200, not default of 0.
14822 (JMenu): Delay should be set to 200, not default of 0.
14823 (JMenu): Delay should be set to 200, not default of 0.
14824 (remove): Added check that index >= 0 before removing
14826 (getItem): Return null if item count equals 0.
14827 (isTearOff): Should throw new error and not return false.
14828 (getMenuComponent): Return null if popupMenu is null or
14829 if there are no menu components.
14831 2006-06-21 Roman Kennke <kennke@aicas.com>
14833 * java/awt/font/FontRenderContext.java:
14834 (equals): Added special conditions for affineTransform beeing
14837 2006-06-21 Roman Kennke <kennke@aicas.com>
14839 * javax/swing/UIManager.java
14840 (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
14841 must not be cleared.
14843 2006-06-21 Roman Kennke <kennke@aicas.com>
14845 * javax/swing/plaf/metal/MetalUtils.java
14846 (paintHorizontalGradient): Use paintHorizontalGradient2D when
14847 Graphics2D is available. Use fillRect instead of drawLine, this
14849 (paintVerticalGradient): Use paintHorizontalGradient2D when
14850 Graphics2D is available. Use fillRect instead of drawLine, this
14852 (paintHorizontalGradient2D): New method. Paints gradient
14853 using Graphics2D functions.
14854 (paintVerticalGradient2D): New method. Paints gradient
14855 using Graphics2D functions.
14857 2006-06-21 Roman Kennke <kennke@aicas.com>
14859 * javax/swing/plaf/basic/BasicButtonListener.java
14860 (propertyChange): Create a TextLayout and store it in the button
14861 when the 'text' property changes.
14862 * javax/swing/plaf/basic/BasicButtonUI.java
14863 (paintText): Call BasicGraphicsUtils utility method for
14864 drawing strings, instead of Graphics.drawString().
14865 * javax/swing/plaf/basic/BasicGraphicsUtils.java
14866 (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
14867 cached text layouts as client properties in JComponents.
14868 (drawString(JComponent,Graphics,String,int,int)): New helper method.
14869 (drawStringUnderlineCharAt): New helper method.
14870 * javax/swing/plaf/basic/BasicMenuItemUI.java
14871 (PropertyChangeHandler.propertyChange): Update cached text layout
14872 when 'text' property changes. Use equals() instead of == for
14874 (paintText): Use new BasicGraphicsUtils methods for painting
14875 the cached text layout.
14876 (installListeners): Call super.installListeners() and remove
14877 the unneeded listener installs.
14878 (uninstallListeners): Call super.uninstallListeners() and remove
14879 the unneeded listener uninstalls.
14881 2006-06-21 Roman Kennke <kennke@aicas.com>
14883 * javax/swing/plaf/basic/BasicTextUI.java
14884 (PropertyChangeHandler.propertyChange): Handle document listener
14886 (background): Removed unneeded fields.
14887 (inactiveBackground): Remove unneeded fields.
14888 (installUI): Install the document listener. Slightly changed
14889 order of operations. Don't trigger modelChanged().
14890 (installDefaults): Only install properties when the
14891 current properties are null or instances of UIResource.
14892 (installListeners): Removed unnecessary listener installs.
14893 (installDocumentListeners): Removed unneeded method.
14894 (uninstallListeners): Removed unnecessary listener uninstalls.
14895 (modelChanged): Removed call to installDocumentListeners().
14896 * javax/swing/plaf/basic/BasicTextFieldUI.java
14897 (propertyChange): Update the colors by fetching them from
14898 SharedUIDefaults. Fixed conditions.
14899 * javax/swing/plaf/basic/SharedUIDefaults.java
14900 (getColor): New method.
14902 2006-06-21 Roman Kennke <kennke@aicas.com>
14904 * javax/swing/SizeSequence.java
14905 (SizeSequence): Initialize array with correct number of entries.
14907 2006-06-21 Roman Kennke <kennke@aicas.com>
14909 * javax/swing/JSplitPane.java
14910 (setDividerLocation): Substract divider size when computing
14913 2006-06-21 Roman Kennke <kennke@aicas.com>
14915 * javax/swing/JComponent.java
14916 (paintChildrenWithOverlap): Determine opaque property by
14917 calling the corresponding Component method, without requiring
14919 (paintChildrenOptimized): Removed old unneeded code.
14920 (paintImmediately): Use JComponent's convertRectangleToAncestor()
14921 method instead of SwingUtilities.convertRectangle(). This is
14924 2006-06-21 Roman Kennke <kennke@aicas.com>
14926 * javax/swing/AbstractButton.java
14927 (init): Call setText() instead of setting the property directly,
14928 so that listeners (especially in the UI) get notified.
14930 2006-06-21 Roman Kennke <kennke@aicas.com>
14932 * javax/swing/UIManager.java
14933 (MultiplexUIDefaults): New inner class.
14934 (currentUIDefaults): Changed type to be MultiplexUIDefaults.
14935 (userUIDefaults): Changed name to be lookAndFeelDefaults.
14936 (<cinit>): Call setLookAndFeel(String) instead of trying to load
14937 directly. Print stacktrace if something goes wrong.
14938 (get): Delegate call to currentUIDefaults.
14939 (getDefaults): If currentUIDefaults is null, then lazily instantiate
14941 (getUI): Delegate call to currentUIDefaults.
14942 (put): Delegate call to currentUIDefaults.
14943 (setLookAndFeel): Initialize currentUIDefaults with
14944 MultiplexUIDefaults. Set lookAndFeelDefaults.
14945 (setLookAndFeel): Use current thread's context classloader for
14948 2006-06-21 Roman Kennke <kennke@aicas.com>
14950 * javax/swing/text/GapContent.java
14951 (GapContentPosition.GapContentPosition): Replace
14952 Collections.binarySearch with call to local search() to make
14953 sure we find the first object that equals the searched object.
14954 (setPositionsInRange): Likewise.
14955 (adjustPositionsInRange): Likewise.
14956 (search): New helper method.
14958 2006-06-21 Gary Benson <gbenson@redhat.com>
14960 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
14961 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
14962 * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
14964 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
14966 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
14967 APPLETVIEWER_EXECUTABLE to gappletviewer.
14969 2006-06-20 Tom Tromey <tromey@redhat.com>
14971 PR classpath/28095:
14972 * java/net/URL.java (URL): Throw MalformedURLException if a
14973 RuntimeException is caught. Chain exceptions.
14975 2006-06-20 Lillian Angel <langel@redhat.com>
14977 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14978 (create): Added check to prevent Seg Fault. Should not
14979 set the label if it is null.
14980 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
14981 (setText): Changed to be a non-native function. Calls
14982 setNativeText if the String parameter is non-null.
14983 (setNativeText): Replaces old native setText function.
14984 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
14985 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
14986 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
14987 Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
14988 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
14989 Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
14991 2006-06-20 Lillian Angel <langel@redhat.com>
14993 * javax/swing/text/JTextComponent.java
14994 (AccessibleJTextComponent): Rewrote all javadocs
14995 for this inner class.
14997 2006-06-20 Francis Kung <fkung@redhat.com>
14999 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
15000 Changed many members to be protected.
15001 (J2dBenchmark): moved to init() instead.
15002 (init): New method.
15003 (main): Call init() after creating object
15004 (testComplete): New method.
15005 (test_drawArc): Use maxTests varialbe instead of constant.
15006 (test_drawCubicCurve): Likewise.
15007 (test_drawEllipse): Likewise.
15008 (test_drawGeneralPath): Likewise.
15009 (test_drawImage): Likewise.
15010 (test_drawLine): Likewise.
15011 (test_drawQuadCurve): Likewise.
15012 (test_drawRectangle): Likewise.
15013 (test_drawRoundRectangle): Likewise.
15014 (test_drawTransparentImage): Likewise.
15015 (test_fillArc): Likewise.
15016 (test_fillEllipse): Likewise.
15017 (test_fillGeneralPath): Likewise.
15018 (test_fillRectangle): Likewise.
15019 (test_fillRoundRectangle): Likewise.
15020 (GraphicsTest.runSetNoClipping): Added runCount parameter.
15021 (GraphicsTest.runSetWithClipping): Likewise.
15022 (GraphicsTest.runSetZeroClipping): Likewise.
15023 (GraphicsTest.run): Added checks for more option flags.
15024 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
15027 2006-06-20 Roman Kennke <kennke@aicas.com>
15029 * javax/swing/text/GapContent.java
15030 (GapContentPosition.mark): New field.
15031 (GapContentPosition.index): Removed.
15032 (GapContentPosition.GapContentPosition): Changed to take the
15033 real offset as parameter. Added handling of reference counter.
15034 Try to cleanup before creating new instances.
15035 (getOffset): Delegate to the Mark method with same name.
15036 (Mark): New class, encapsulating a mark.
15037 (positionMarks): Removed field.
15038 (numMarks): Removed field.
15039 (marks): New field.
15040 (queueOfDeath): New field.
15041 (GapContent): Removed init of old fields, added init of new fields.
15042 (createPosition): Added check for validity of arguments.
15043 Create GapContentPosition directly with offset.
15044 (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
15045 (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
15046 (shiftGapStartDown): Call resetMarksAtZero().
15047 (shiftGapEndUp): Call resetMarksAtZero().
15048 (replace): Don't call resetMarksAtZero().
15049 (setPositionInRange): Replaced by simpler algorithm, similar to
15050 adjustPositionsInRange.
15051 (adjustPositionsInRange): Adapted to use of Mark objects.
15052 (resetMarksAtZero): Reset all marks that point to zero instead
15053 of only the first one.
15054 (dumpMarks): Adjusted to dump Mark objects.
15055 (insertMark): Removed.
15056 (garbageCollect): New method. Cleans up the marks list.
15057 (binarySearch): Removed.
15059 2006-06-20 Lillian Angel <langel@redhat.com>
15061 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15062 (drawImage): Added call to updateColor because
15063 Cairo seems to lose the current color.
15065 2006-06-20 Gary Benson <gbenson@redhat.com>
15067 * java/awt/Toolkit.java: Add security check.
15068 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
15069 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
15071 2006-06-20 Raif S. Naffah <raif@swiftdsl.com.au>
15073 * gnu/java/security/key/dss/DSSKey.java: Source formatting.
15074 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15075 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15076 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
15077 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
15078 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15079 * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
15080 * gnu/java/security/key/dss/FIPS186.java: Likewise.
15081 * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
15082 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15083 * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
15084 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15085 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15086 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
15087 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15088 * gnu/java/security/key/IKeyPairCodec.java: Likewise.
15089 * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
15090 * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
15091 * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
15093 2006-06-19 Lillian Angel <langel@redhat.com>
15095 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15096 (drawImage): Should always use getRGB to get the pixels.
15097 getData returns an incorrect array of pixels.
15099 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
15101 * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
15102 * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
15103 * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
15104 * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
15105 * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
15106 * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
15107 * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
15108 * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
15109 * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
15110 * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
15111 * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
15112 * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
15113 * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
15114 * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
15115 * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
15116 * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
15117 * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
15118 * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
15119 * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
15120 * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
15121 * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
15122 * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
15123 * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
15124 * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
15125 * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
15126 * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
15127 * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
15128 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
15129 * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
15130 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
15131 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15132 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
15133 * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
15134 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15135 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
15136 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15138 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
15140 * NEWS: Updated (delayed) for security tools and tools.texinfo.
15142 2006-06-19 Roman Kennke <kennke@aicas.com>
15144 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15145 (drawImage): Clip volatile image correctly.
15146 (drawVolatileImage): Added arguments for clipping.
15147 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15148 (drawVolatileImage): Added arguments for clipping. Clip image
15150 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15152 2006-06-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15155 * java/rmi/server/UID.java (constructor): Synchronized
15156 the whole constructor on the UID class.
15158 2006-06-19 Roman Kennke <kennke@aicas.com>
15160 * javax/swing/RepaintManager.java
15161 (addInvalidComponent): Only add component that are displayable,
15162 that have displayable parents and that have a validateRoot.
15163 Also, don't validate components that have a CellRendererPane
15166 2006-06-19 David Gilbert <david.gilbert@object-refinery.com>
15168 * javax/swing/plaf/IconUIResource.java
15169 (IconUIResource): Throw IllegalArgumentException for null icon.
15171 2006-06-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15174 * java/rmi/server/UID.java (constructor): First increment
15175 uidCounter, and then use the value.
15177 2006-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
15179 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15180 * java/awt/GridBagConstraints.java: Indent.
15182 2006-06-18 Tom Tromey <tromey@redhat.com>
15184 * native/jni/gconf-peer/.cvsignore: New file.
15186 2006-06-18 Tom Tromey <tromey@redhat.com>
15188 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
15189 Also handle short options.
15191 2006-06-18 Jim Huang <jserv@kaffe.org>
15193 PR classpath/28076:
15194 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
15197 2006-06-19 Mark Wielaard <mark@klomp.org>
15199 * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
15200 on gnu/java/util/prefs/gconf/%.class.
15201 * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
15202 chache typo, should be cache.
15203 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
15205 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
15207 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
15208 Don't return a value for void function.
15209 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
15211 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
15212 Mark clazz as unused. Return JNI_FALSE, not NULL for jboolean
15214 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
15215 Mark clazz ad unused.
15217 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
15219 * gnu/java/security/hash/Whirlpool.java: Source formatting.
15220 * gnu/java/security/hash/Tiger.java: Likewise.
15221 * gnu/java/security/hash/Sha512.java: Likewise.
15222 * gnu/java/security/hash/Sha384.java: Likewise.
15223 * gnu/java/security/hash/Sha256.java: Likewise.
15224 * gnu/java/security/hash/Sha160.java: Likewise.
15225 * gnu/java/security/hash/RipeMD160.java: Likewise.
15226 * gnu/java/security/hash/RipeMD128.java: Likewise.
15227 * gnu/java/security/hash/MD5.java: Likewise.
15228 * gnu/java/security/hash/MD4.java: Likewise.
15229 * gnu/java/security/hash/MD2.java: Likewise.
15230 * gnu/java/security/hash/IMessageDigest.java: Likewise.
15231 * gnu/java/security/hash/Haval.java: Likewise.
15232 * gnu/java/security/hash/HashFactory.java: Likewise.
15233 * gnu/java/security/hash/BaseHash.java: Likewise.
15235 2006-06-18 Sven de Marothy <sven@physto.se>
15237 * java/awt/event/KeyEvent.java:
15238 (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
15239 * natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15240 Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
15242 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
15244 * gnu/java/security/util/Prime2.java: Removed.
15245 * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
15246 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15247 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
15248 (generate): Use isProbablePrime() in BigInteger instead of Prime2.
15249 * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
15250 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15251 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
15252 (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
15253 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
15254 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15255 * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
15256 (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
15258 2006-06-18 Sven de Marothy <sven@physto.se>
15260 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15261 * java/awt/font/TextMeasurer.java: Fix copyright date,
15262 remove commented-out code.
15264 2006-06-18 Sven de Marothy <sven@physto.se>
15266 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15267 (FreetypeGlyphVector, clone): Implement cloning.
15268 (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
15269 * java/awt/font/TextMeasurer.java: Implement.
15270 * java/awt/font/LineBreakMeasurer.java:
15271 Reimplement to use TextMeasurer.
15272 * java/awt/font/TextLayout.java
15274 (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
15275 (getText, getFont): New private static methods.
15276 (setCharIndices): New method.
15277 * java/text/AttributedString.java
15278 (AttributedString): Fix constructor to stop at end point.
15280 2006-06-17 Tom Tromey <tromey@redhat.com>
15282 * lib/gen-classlist.sh.in: Search all top-level directories, not
15283 just 'org', in external.
15285 2006-06-12 Mario torre <neugens at limasoftware.net>
15287 * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
15288 * gnu/java/util/prefs/GConfBasedFactory.java: new class.
15289 * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
15290 * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
15292 * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
15293 * configure.ac: update to introduce new files. Added options
15294 to build gconf native peer used by the GConf preference backend.
15295 * include/Makefile.am: update to introduce new files.
15296 * native/jni/Makefile.am update to introduce new files.
15297 * scripts/check_jni_methods.sh: added three new ignored file
15299 * native/jni/gconf-peer/Makefile.am: new Makefile needed to
15300 build gconf-peer shared library.
15302 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15304 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
15305 Use Integer.valueOf() instead of new Integer().
15306 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15307 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15308 * gnu/java/security/util/Sequence.java: Likewise.
15309 * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
15310 * gnu/java/security/x509/X509Certificate.java: Likewise.
15311 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
15312 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15313 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
15314 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
15315 * gnu/javax/crypto/cipher/DES.java: Likewise.
15316 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15317 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
15318 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15319 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
15320 * gnu/javax/crypto/cipher/Square.java: Likewise.
15321 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
15322 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15323 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
15324 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
15325 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
15326 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
15327 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15328 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15329 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
15330 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
15331 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
15332 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15333 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15334 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
15335 * gnu/javax/crypto/mac/UHash32.java: Likewise.
15336 * gnu/javax/crypto/mac/UMac32.java: Likewise.
15337 * gnu/javax/crypto/mode/BaseMode.java: Likewise.
15338 * gnu/javax/crypto/mode/EAX.java: Likewise.
15339 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
15340 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
15341 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
15342 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
15343 * java/security/cert/X509CertSelector.java: Likewise.
15345 2006-06-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
15347 * javax/management/DynamicMBean.java:
15348 (setAttribute): Fixed to return void.
15349 * javax/management/MBeanFeatureInfo.java:
15352 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15354 On behalf of Vivek Lakshmanan <vivekl@redhat.com>
15355 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
15356 (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
15357 into engineInitHandler and reuse the code in
15358 engineInit(int, Key, AlgorithmSpec, SecureRandom).
15359 (engineInitHandler): New method.
15360 (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
15361 null, use random or default information when possible.
15363 2006-06-16 Francis Kung <fkung@redhat.com>
15365 * examples/gnu/classpath/examples/swing/Demo.java:
15366 (mkButtonBar): Rename FillRect to JNIOverhead.
15367 (mkMenuBar): Rename FillRect to JNIOverhead.
15368 * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
15369 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
15370 * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
15371 Moved from old FillRect.
15373 2006-06-16 Tom Tromey <tromey@redhat.com>
15375 * tools/.cvsignore: Added new tool names.
15377 2006-06-16 Keith Seitz <keiths@redhat.com>
15379 * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
15380 instantiation so that EventManager is created when getDefault
15382 * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
15385 2006-06-16 Keith Seitz <keiths@redhat.com>
15387 * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
15388 (_initCount): New field.
15389 (Jdwp): Don't set isDebugging until fully initialized.
15390 (subcomponentInitialized): New method.
15391 (run): Wait for PacketProcessor and JdwpConnection to
15392 startup, then set isDebugging, and then let this thread
15394 * gnu/classpath/jdwp/transport/JdwpConnection.java
15395 (run): Add synchronization notification.
15396 * gnu/classpath/jdwp/processor/PacketProcessor.java
15399 2006-06-16 Tom Tromey <tromey@redhat.com>
15401 * NEWS: Updated for JSR 166.
15403 2006-06-16 Tom Tromey <tromey@redhat.com>
15405 * lib/Makefile.am (compile_classpath): Added jsr166.
15406 * configure.ac: Added external/jsr166/Makefile.
15407 * external/Makefile.am (SUBDIRS): Added jsr166.
15408 * external/jsr166/Makefile.am: New file.
15409 * lib/gen-classlist.sh.in: Look in external/jsr166.
15411 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15413 * gnu/classpath/jdwp/event/ExceptionEvent:
15414 Added Object instance to javadoc in constructor
15415 * gnu/classpath/jdwp/event/MethodEntryEvent:
15417 * gnu/classpath/jdwp/event/MethodExitEvent:
15419 * gnu/classpath/jdwp/event/SingleStepEvent:
15422 2006-06-16 Tom Tromey <tromey@redhat.com>
15424 Imported JSR 166 reference implementation:
15425 * .classpath: Added external/jsr166.
15426 * java/util/concurrent/CopyOnWriteArrayList.java: New file.
15427 * java/util/AbstractQueue.java: Removed.
15428 * java/util/Queue.java: Removed.
15429 * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
15430 (runPeriodic): Added explicit cast.
15431 * external/jsr166/java/util/ArrayDeque.java (clone): Use
15434 2006-06-16 Tom Tromey <tromey@redhat.com>
15436 * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15438 (getCallerClass): Now static.
15439 * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15441 2006-06-16 Lillian Angel <langel@redhat.com>
15443 * java/awt/FileDialog.java
15444 (FileDialog): Added @since tag to API docs.
15445 (FileDialog): Likewise.
15446 (FileDialog): Likewise.
15447 * java/awt/Font.java:
15448 Added @since tag to TYPE1_FONT field docs.
15449 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15450 (isThumbRollover): Likewise.
15451 (setThumbRollover): Likewise.
15452 (getSupportsAbsolutePositioning): Likewise.
15453 * javax/swing/plaf/basic/BasicSliderUI.java:
15454 (isDragging): Likewise.
15456 2006-06-16 Lillian Angel <langel@redhat.com>
15458 * java/awt/FileDialog.java
15459 (FileDialog): Implemented.
15460 (FileDialog): Implemented.
15461 (FileDialog): Implemented.
15462 * java/awt/Font.java:
15463 Added TYPE1_FONT constant field.
15465 2006-06-16 Lillian Angel <langel@redhat.com>
15467 * java/awt/font/TextLayout.java:
15468 Removed unneeded imports.
15469 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15470 Added new thumbRollover field.
15471 (mouseMoved): Added code to set thumbRollover field.
15472 (isThumbRollover): New function.
15473 (setThumbRollover): New function.
15474 (getSupportsAbsolutePositioning): Implemented. This
15475 needs to be changed once the feature has been
15477 * javax/swing/plaf/basic/BasicSliderUI.java:
15478 Added new dragging field.
15479 (mouseDragged): Initialized dragging field.
15480 (isDragging): New function.
15481 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15482 (focusGained): Marked as not implemented.
15483 (focusLost): Likewise.
15485 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15487 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15488 Added check for null ThreadId to avoid null pointer
15491 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15493 * javax/swing/DefaultComboBoxModel.java
15494 (removeElementAt): Set new selected item by calling setSelectedItem().
15496 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15498 * javax/swing/DefaultButtonModel.java
15499 (setSelected): Use 'this', not null, for the item in the ItemEvent.
15501 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15503 * javax/swing/event/ListDataEvent.java: updated API docs, plus
15504 (ListDataEvent): Handle case where index0 > index1,
15505 (toString): Implemented.
15507 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15509 * javax/swing/plaf/metal/MetalMenuBarUI.java:
15510 (update): Added subexpression to if-statement.
15512 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15514 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15515 (installDefaults): Removed unneccessary code.
15516 (paint): Removed complex if-cascade, revert to default icon if
15517 icon property is not set.
15518 (getPreferredSize): New method.
15520 2006-06-16 Roman Kennke <kennke@aicas.com>
15523 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15524 (drawImage): Don't use setClip() but instead clipRect() to
15525 intersect the current clip with a new one.
15527 2006-06-15 Tom Tromey <tromey@redhat.com>
15529 * scripts/sanitize-jsr166: New file.
15530 * external/jsr166/IMPORTING: New file.
15531 * vm/reference/sun/reflect/Reflection.java: New file.
15532 * vm/reference/gnu/classpath/Unsafe.java: Moved...
15533 * vm/reference/sun/misc/Unsafe.java: ...here.
15535 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
15537 * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15538 gjarsigner and keytool to gkeytool.
15539 * doc/tools.texinfo: Add note about tool exectable names.
15540 * tools/Makefile.am: Rename appletviewer to gappletviewer,
15541 jarsigner to gjarsigner and keytool to gkeytool.
15542 * tools/appletviewer.in: Rename ...
15543 * tools/gappletviewer.in: New file.
15544 * tools/jarsigner.in: Rename ...
15545 * tools/gjarsigner.in: New file.
15546 * tools/keytool.in: Rename ...
15547 * tools/gkeytool.in: New file.
15548 * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15550 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15552 * javax/management/AttributeList.java:
15553 Add serialization UID.
15554 * javax/management/DynamicMBean.java:
15556 * javax/management/JMRuntimeException.java:
15557 Add serialization UID and correct name
15558 of serialized field.
15559 * javax/management/MBeanInfo.java: New file.
15561 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15563 * javax/management/AttributeList.java,
15564 * javax/management/JMRuntimeException.java,
15565 * javax/management/RuntimeOperationsException.java:
15568 2006-06-15 Lillian Angel <langel@redhat.com>
15570 * java/awt/font/TextLayout.java:
15571 DEFAULT_CARET_POLICY changed to be public static final.
15573 2006-06-15 Tania Bento <tbento@redhat.com>
15575 * javax/swing/plaf/metal/MetalScrollButton.java
15576 (MetalScrollButton): Should set 'focusable' to false.
15578 2006-06-15 Tania Bento <tbento@redhat.com>
15580 * javax/swing/plaf/basic/BasicArrowButton.java
15581 (BasicArrowButton): Should set 'focusable' to false.
15582 (BasicArrowButton): Should set 'focusable' to false.
15584 2006-06-15 Mark Wielaard <mark@klomp.org>
15586 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15587 (getGraphicsConfiguration): Return default screen device.
15588 * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15590 (GtkVolatileImage): Record initiating component.
15591 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15592 (getDeviceConfiguration): Return configuration of image component.
15594 2006-06-15 Mark Wielaard <mark@klomp.org>
15596 * java/awt/geom/GeneralPath.java (closePath): Return if path already
15599 2006-06-15 Mark Wielaard <mark@klomp.org>
15601 * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15602 with null argument.
15604 2006-06-15 Kyle Galloway <kgallowa@redhat.com>
15606 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15607 (matches): Added explicit brackets to return statement.
15609 2006-06-15 Tania Bento <tbento@redhat.com>
15611 * javax/swing/JRadioButtonMenuItem.java
15612 (JRadioButtonMenuItem): Should set 'focusable' to false.
15614 2006-06-15 Tania Bento <tbento@redhat.com>
15616 * javax/swing/JCheckBoxMenuItem.java
15617 (JCheckBoxMenuItem): Should set 'focusable' to false.
15619 2006-06-15 Tania Bento <tbento@redhat.com>
15621 * javax/swing/AbstractButton.java:
15622 (AbstractButton): 'Focusable' should be set to true and not false.
15624 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15626 * java/lang/management/ManagementFactory.java:
15627 Add private constructor to prevent instance creation.
15628 * java/lang/management/ManagementPermission.java:
15631 2006-06-15 Francis Kung <fkung@redhat.com>
15633 * javax/swing/plaf/basic/BasicArrowButton.java:
15634 (BasicArrowButton): move client property for not triggering out
15636 * javax/swing/plaf/basic/BasicComboBoxUI.java:
15637 (configureArrowButton): set client property for not triggering
15638 (installUI): set client property for not triggering
15639 * javax/swing/plaf/basic/BasicLookAndFeel.java:
15640 (PopupHelper.mousePressed): check client property for triggering
15642 2006-06-15 Roman Kennke <kennke@aicas.com>
15645 * javax/swing/RepaintManager.java
15646 (blitBuffer): Substract coordinates the other way around.
15648 2006-06-15 Roman Kennke <kennke@aicas.com>
15651 * javax/swing/JComponent.java
15652 (paintImmediately2): Only paint component without double buffering
15653 when all of it's parents have also double buffering disabled.
15654 (isPaintingDoubleBuffered): New helper method.
15656 2006-06-15 David Gilbert <david.gilbert@object-refinery.com>
15658 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15659 (draw(Shape)): Pass null transform to getPathIterator(),
15660 (getClip): Likewise,
15661 * gnu/java/print/PostscriptGraphics2D.java
15662 (drawStringShape): Pass null transform to getPathIterator(),
15663 (writeShape): Likewise,
15664 * java/awt/Shape.java: Small updates to API docs.
15666 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15668 * javax/naming/InitialContext.java:
15669 (list(javax.naming.Name)): Fixed generic type.
15670 (list(String)): Likewise.
15671 (listBindings(javax.naming.Name)): Likewise.
15672 (listBindings(String)): Likewise.
15674 2006-06-14 Roman Kennke <kennke@aicas.com>
15676 * javax/swing/plaf/basic/BasicComboBoxUI.java
15677 (getAccessibleChildrenCount): Implemented.
15678 (getAccessibleChild): Implemented.
15679 (isNavigationKey): Implemented.
15680 (KeyHandler.keyPressed): Implemented.
15682 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15684 * java/lang/management/ManagementPermission.java:
15685 Added serialization UID.
15686 * javax/management/Attribute.java: Likewise.
15687 * javax/management/MBeanException.java,
15688 * javax/management/ReflectionException.java:
15689 Added serialization UID and changed to extend
15690 javax.management.JMException.
15692 2006-06-14 Lillian Angel <langel@redhat.com>
15694 * java/awt/Component.java
15695 (ignoreOldMouseEvents): Made static.
15696 (translateEvent): Made static.
15697 * java/awt/TextComponent.java
15698 (ignoreOldMouseEvents): Made static.
15700 2006-06-14 Mark Wielaard <mark@klomp.org>
15702 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15704 (drawRect): Likewise.
15705 (fillRect): Likewise.
15707 2006-06-14 Lillian Angel <langel@redhat.com>
15709 * java/awt/Component.java
15710 (ignoreOldMouseEvents): New helper function.
15711 (translateEvent): Changed to be non-static and use new helper.
15712 * java/awt/TextComponent.java
15713 (ignoreOldMouseEvents): New helper function.
15715 2006-06-14 Roman Kennke <kennke@aicas.com>
15717 * javax/swing/RepaintManager.java
15718 (MERGE_REGIONS): New constant flag.
15719 (commitBuffer): Exclude the merging of regions by default. This
15720 was causing painting artifacts in some applications, especially
15721 when different areas of the GUI are updated synchronously.
15723 2006-06-14 Roman Kennke <kennke@aicas.com>
15725 * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15726 New file. This is a benchmark for AWT 1.1 style graphics operations.
15727 * examples/gnu/classpath/examples/awt/palme.gif: New file.
15728 * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15730 2006-06-14 Tom Tromey <tromey@redhat.com>
15732 * java/io/File.java (getParent): Javadoc fix.
15734 2006-06-14 Tom Tromey <tromey@redhat.com>
15736 * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15738 * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15739 when index entry does not exist.
15741 2006-06-14 Tania Bento <tbento@redhat.com>
15743 * javax/swing/AbstractButton.java
15744 (AbstractButton): Set focusable to false, not true.
15746 2006-06-14 Tania Bento <tbento@redhat.com>
15748 * javax/swing/JMenuItem.java
15749 (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15751 2006-06-14 Tania Bento <tbento@redhat.com>
15753 * javax/swing/JCheckBoxMenuItem.java
15754 (JCheckBoxMenuItem): Added check to set the selected state.
15756 2006-06-14 Roman Kennke <kennke@aicas.com>
15758 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15759 (cairoDrawLine): New native method.
15760 (cairoDrawRect): New native method.
15761 (cairoFillRect): New native method.
15762 (drawLine): Use special native method.
15763 (drawRect): Use special native method.
15764 (fillRect): Use special native method.
15765 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15766 (cairoDrawLine): New native method.
15767 (cairoDrawRect): New native method.
15768 (cairoFillRect): New native method.
15769 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15771 2006-06-14 Mark Wielaard <mark@klomp.org>
15773 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15774 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15775 cannot be allocated.
15777 2006-06-14 Tom Tromey <tromey@redhat.com>
15780 * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15781 * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15783 2006-06-14 Roman Kennke <kennke@aicas.com>
15785 * javax/swing/JComponent.java
15786 (isRepainting): New flag.
15787 (paintImmediately2): Set isRepainting flag.
15788 (getRoot): Removed obsolete method.
15789 (paintDoubleBuffered): Differenciate between paint calls from
15790 RepaintManager and from AWT refresh. Call
15791 RepaintManager.commitBuffer with this and local coordinates.
15792 (findOpaqueParent): Stop searching at heavyweight component. These
15794 (paintChildrenOptimized): Don't paint heavyweight children. These
15795 should care for themselves.
15796 (paintChildrenWithOverlap): Don't paint heavyweight children. These
15797 should care for themselves.
15798 * javax/swing/RepaintManager.java
15799 (getOffscreenBuffer): Associate offscreen buffer with toplevel
15801 (getVolatileOffscreenBuffer): Associate offscreen buffer with
15802 toplevel windows only.
15803 (getRoot): Removed obsolete method.
15804 (commitBuffer): Blit buffer on nearest heavyweight.
15805 (blitBuffer): New helper method.
15806 (getHeavyweightParent): New helper method.
15807 (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
15808 * javax/swing/SwingUtilities.java
15809 (convertRectangleToAncestor): New helper method.
15811 2006-06-14 Raif S. Naffah <raif@swiftdsl.com.au>
15813 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
15814 Condition all trace/debug code based on Configuration.DEBUG.
15815 Use logger instead of STDOUT and ot STDERR.
15817 2006-06-13 Lillian Angel <langel@redhat.com>
15819 * native/plugin/gcjwebplugin.cc
15820 (NP_Initialize): Removed code to create whitelist file.
15821 (GCJ_New): Added code to create whitelist file.
15822 (plugin_user_trusts_documentbase): Fixed error message.
15824 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15826 * javax/swing/plaf/metal/MetalIconFactory.java
15827 (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to
15828 prevent overwriting border,
15829 (VerticalSliderThumbIcon.gradientMask): Likewise.
15831 2006-06-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
15833 * javax/management/AttributeNotFoundException.java,
15834 * javax/management/InvalidAttributeValueException.java,
15835 * javax/management/JMException.java,
15836 * javax/management/MBeanException.java,
15837 * javax/management/OperationsException.java,
15838 * javax/management/ReflectionException.java:
15841 2006-06-13 Roman Kennke <kennke@aicas.com>
15843 * java/awt/Component.java
15844 (dispatchEvent): Handle events even when consumed (this might be
15845 picked up later in the dispatching chain).
15846 * javax/swing/plaf/basic/BasicLookAndFeel.java
15847 (PopupHelper.mousePressed): Don't consume event. Only close popup
15848 when target component isn't flagged as DONT_CANCEL_POPUP.
15849 (DONT_CANCEL_POPUP): New package private constant for flagging
15850 special components that don't trigger popup closing.
15851 * javax/swing/plaf/basic/BasicArrowButton.java
15852 (BasicArrowButton): Set client property for not triggering closing
15855 2006-06-13 Lillian Angel <langel@redhat.com>
15857 * java/awt/image/PixelGrabber.java
15858 (PixelGrabber): Added to API documentation.
15860 2006-06-13 Keith Seitz <keiths@redhat.com>
15862 From Kyle Galloway <kgallowa@redhat.com>:
15863 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15864 (ExceptionOnlyFilter): Allow null refId.
15866 * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
15867 compatibility with filters.
15868 (getParameter): Modified to allow access to above.
15870 2006-06-13 Sven de Marothy <sven@physto.se>
15872 * gnu/java/awt/peer/gtk/CairoSurface.java
15873 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15874 (create): Use stride in ints.
15876 2006-06-13 Keith Seitz <keiths@redhat.com>
15878 From Kyle Galloway <kgallowa@redhat.com>:
15879 * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
15881 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15883 * javax/swing/plaf/basic/BasicSliderUI.java
15884 (calculateThumbSize): Removed unnecessary code,
15885 (calculateThumbLocation): Shift position by one,
15886 (calculateTickRect): Shift position by one when ticks are displayed,
15887 (calculateLabelRect): Calculate rect differently according to whether
15888 or not the labels are visible,
15889 (paintTrack): Shift track down one pixel.
15891 2006-06-13 Lillian Angel <langel@redhat.com>
15893 * java/awt/image/PixelGrabber.java
15894 (PixelGrabber): Removed check to throw exception. JDK does
15896 (startGrabbing): Removed line to print stacktrace.
15898 2006-06-13 Mark Wielaard <mark@klomp.org>
15900 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
15901 allocate unused AffineTransform. Add comment about conversion to
15903 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
15904 Recognize identity transform as "easy". Always convert to
15905 BufferedImage before calling super.
15907 2006-06-13 Roman Kennke <kennke@aicas.com>
15909 * java/awt/Component.java
15910 (getGraphics): Translate child graphics correctly.
15911 (dispatchEvent): Only dispatch event if it hasn't been consumed
15912 yet by the global dispatcher.
15913 * javax/swing/plaf/basic/BasicLookAndFeel.java
15914 Added some API docs.
15915 (PopupHelper.mousePressed): Consume the event after closing
15918 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15920 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting
15922 * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
15923 * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
15924 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
15925 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
15926 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
15927 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
15928 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
15929 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
15930 * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
15931 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
15932 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
15933 * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
15934 * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
15935 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
15936 * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
15937 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
15939 2006-06-12 Sven de Marothy <sven@physto.se>
15941 * java/awt/font/LineBreakMeasurer.java): Implement.
15943 2006-06-12 Keith Seitz <keiths@redhat.com>
15945 From Kyle Galloway <kgallowa@redhat.com>:
15946 * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
15948 2006-06-12 Keith Seitz <keiths@redhat.com>
15950 From Kyle Galloway <kgallowa@redhat.com>:
15951 * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
15953 * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
15955 2006-06-12 Roman Kennke <kennke@aicas.com>
15957 * javax/swing/JComponent.java
15958 (paintDoubleBuffered): Correctly translate and clip the Graphics
15960 (clipAndTranslateGraphics): New helper method.
15962 2006-06-12 Roman Kennke <kennke@aicas.com>
15964 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15965 (copy): Use getClip() to copy the clip. Make copied transform
15966 null when original transform is null. Set clip here.
15967 (setTransform): Correctly update the clip.
15968 (setTransformImpl): New method. Updates the actual transform for
15970 (transform): Correctly update the clip.
15971 (translate): Correctly update the clip.
15972 (clip): Handle null clip and argument correctly.
15973 (clipRect): Avoid creating new Rectangle objects.
15974 (getClip): Get the correct copy of the clip.
15975 (setClip): Correctly handle null argument.
15976 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15977 (CairoSurfaceGraphics): Don't set the clip here. The clip can either
15978 be null or whatever has been set in copy().
15979 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15980 (drawImage): Add translation to the image coordinates.
15981 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15982 (VolatileImageGraphics): Don't set clip here. The clip can either
15983 be null or whatever has been set in copy().
15985 2006-06-12 Keith Seitz <keiths@redhat.com>
15987 From Kyle Galloway <kgallowa@redhat.com>:
15988 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15989 (forCaught): Removed unused/unnecessary method.
15990 (forUncaught): Likewise.
15991 (matches): Implement.
15993 2006-06-12 Keith Seitz <keiths@redhat.com>
15995 From Kyle Galloway <kgallowa@redhat.com>:
15996 * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
15998 2006-06-12 Keith Seitz <keiths@redhat.com>
16000 From Kyle Galloway <kgallowa@redhat.com>:
16001 * gnu/classpath/jdwp/event/Event.java: Added constants for
16003 (getParameter): Changed parameter type from Class to int.
16004 * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
16005 Changed from Class type to constants.
16006 * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
16008 * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
16010 * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
16012 * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
16014 * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
16016 * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
16018 * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
16020 * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
16022 * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
16025 2006-06-12 Lillian Angel <langel@redhat.com>
16027 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
16028 (StandaloneAppletWindow): Changed title of standalone window.
16030 2006-06-12 Lillian Angel <langel@redhat.com>
16032 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16033 (layoutContainer): Added missing selectedComponent assignment.
16035 2006-06-12 Lillian Angel <langel@redhat.com>
16037 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16038 (layoutContainer): Added check to prevent exception.
16040 2006-06-12 Tom Tromey <tromey@redhat.com>
16042 * java/lang/Thread.java (uncaughtException): Javadoc fix.
16044 2006-06-12 Mark Wielaard <mark@klomp.org>
16046 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
16049 (lock): New method.
16050 (unlock): Likewise.
16051 (draw): Use lock() and unlock().
16053 (drawRenderedImage): Likewise.
16054 (drawImage): Likewise.
16055 (drawGlyphVector): Likewise.
16057 2006-06-12 Roman Kennke <kennke@aicas.com>
16059 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16060 (drawPixels): Include alpha in parameter list.
16061 (cairoFill): Include alpha in parameter list.
16062 (setComposite): Don't modify the color.
16063 (draw(Shape))): Use fill when the current composite has an alpha
16064 of != 1.0, so that the stroked shaped will be composited.
16065 (fill(Shape)): Call cairoFill() with alpha.
16066 (drawImage): Call drawPixels or drawSurface with alpha.
16067 (drawGlyphVector): When composite alpha is != 1.0, render the
16068 outline using fill() to enable compositing for text.
16069 (drawRaster): Call drawPixels with alpha.
16070 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16071 (nativeDrawSurface): Include alpha in parameter list.
16072 (drawSurface): Include alpha in parameter list. Pass it to
16073 nativeDrawSurface().
16074 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
16075 * include/gnu_java_awt_peer_gtk_CairoSurface.h:
16077 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16078 (drawPixels): Handle possible alpha for compositing.
16079 (cairoFill): Likewise.
16080 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16081 (nativeDrawSurface): Handle possible alpha for compositing.
16083 2006-06-12 Mark Wielaard <mark@klomp.org>
16085 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16086 Notify data when completely done. Wait for worker thread to finish.
16087 Rethrow any pending exceptions.
16088 (exception): New field.
16089 (run): Store pending exception.
16091 2006-06-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
16093 * java/lang/management/ManagementPermission.java:
16096 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
16098 * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
16100 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
16102 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16103 Use String.charAt().
16105 2006-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
16107 * doc/tools.texinfo
16108 (Applet Tools): New chapter.
16109 (appletviewer Tool): New section.
16110 (gcjwebplugin): New section.
16112 2006-06-11 Mark Wielaard <mark@klomp.org>
16114 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16115 Takes GdkPixbufWriter.
16116 (GdkPixbufWriter): Implements Runnable.
16117 (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
16119 (DATADONE): New static final field.
16121 (write(byte[])): New method.
16123 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
16124 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
16125 Get dataOutputWriteID from writeClass.
16126 (stream_save_request): Change stream field to writer.
16127 (save_to_stream): Remove FIXME, call writer.
16128 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
16131 2006-06-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
16134 Mention new VM interface and use of properties.
16135 * doc/vmintegration.texinfo:
16136 Update with new gnu.java.lang.management section.
16137 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
16139 * java/lang/management/ManagementFactory.java:
16140 (getRuntimeMXBean()): Implemented.
16141 * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
16142 New VM interface file.
16144 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16147 * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
16148 debug code based on Configuration.DEBUG.
16149 Use logger instead of STDOUT and ot STDERR.
16150 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
16151 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
16152 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
16153 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
16154 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
16155 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
16156 * gnu/javax/crypto/pad/TBC.java: Likewise.
16157 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
16158 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
16159 * gnu/javax/crypto/pad/BasePad.java: Likewise.
16160 * gnu/javax/crypto/mac/OMAC.java: Likewise.
16161 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
16162 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
16163 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
16164 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
16165 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
16166 * gnu/javax/crypto/keyring/Entry.java: Likewise.
16167 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
16168 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
16169 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
16170 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
16171 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
16172 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
16173 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
16174 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
16175 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
16176 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
16177 * gnu/java/security/Properties.java: Likewise.
16178 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
16179 * gnu/java/security/x509/X509CRL.java: Likewise.
16180 * gnu/java/security/x509/ext/Extension.java: Likewise.
16181 * gnu/java/security/util/Prime2.java: Likewise.
16182 * gnu/java/security/util/Base64.java: Likewise.
16183 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
16184 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
16185 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
16186 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
16187 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
16188 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
16189 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
16190 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
16191 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
16192 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
16193 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
16194 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
16195 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
16196 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
16197 * gnu/java/security/hash/Whirlpool.java: Likewise.
16199 2006-06-11 Mark Wielaard <mark@klomp.org>
16201 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16202 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
16203 Remove unused variable glyph_index.
16205 2006-06-11 Mark Wielaard <mark@klomp.org>
16207 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
16208 Don't recurse, return false if not an BufferedImage and no image
16210 * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
16211 end_gdk_drawing() to finally block.
16213 (drawRenderedImage): Likewise.
16214 (drawImage): Likewise.
16215 (drawGlyphVector): Likewise.
16217 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16219 * doc/tools.texinfo: Added text for new -cacert command.
16220 Re-structured sections.
16221 * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
16222 for -cacert command.
16223 * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
16224 (_CACERT): Likewise.
16225 (shutdownThread): New field.
16226 (Main): Install shutdown thread.
16227 (main): Uninstall shutdown thread.
16228 (start): Handle new -cacert command.
16229 (getParser): Likewise.
16230 (teardown): Increased visibility.
16231 (ShutdownHook): New inner class.
16232 * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
16234 2006-06-11 Sven de Marothy <sven@physto.se>
16236 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16237 (setupGlyphMetrics): New method. Add glyphmetrics caching.
16238 (getOutline): Operate on the shape directly.
16239 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16240 (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
16241 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16242 (getGlyph renamed getGlyphs)
16243 * java/awt/geom/AffineTransform.java
16244 (getTranslateInstance): Set fields directly.
16245 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16246 (getGlyphs): Get all glyph codes at once.
16248 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16251 * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
16253 2006-06-11 Sven de Marothy <sven@physto.se>
16255 * java/awt/font/TextLayout.java
16256 (getLogicalHighlightShape): Add check.
16257 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16258 (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
16260 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16262 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16263 Check that every component of 'cn' starts with a valid Java identifier char.
16265 2006-06-10 Tom Tromey <tromey@redhat.com>
16267 * java/io/File.java (pathSeparator): Typo fix.
16269 2006-06-10 Mark Wielaard <mark@klomp.org>
16271 * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
16273 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16274 Mark all unused parameters.
16275 (cp_gtk_get_cairo_t): Removed.
16276 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
16277 Don't mix declerations and statements.
16278 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
16279 Mark all unused parameters.
16280 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
16281 Get cairographics2d pointer directly.
16282 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
16283 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
16284 Use jlong to pass pointer.
16285 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16286 Mark all unused parameters.
16287 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16288 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
16289 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
16290 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
16291 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
16292 * include/java_io_VMFile.h: Regenerated.
16294 2006-06-10 Roman Kennke <kennke@aicas.com>
16296 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16297 (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
16298 instead of setClip(), so that an already present clip is intersected
16301 2006-06-10 Mark Wielaard <mark@klomp.org>
16303 * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
16304 Call getSize() to avoid accessor method.
16306 2006-06-10 Mark Wielaard <mark@klomp.org>
16308 * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
16309 Qualify ElementSpec.
16311 2006-06-10 Mark Wielaard <mark@klomp.org>
16313 * lib/.cvsignore: Add sun.
16314 * lib/Makefile.am (dist-hook): Likewise.
16316 2006-06-10 Roman Kennke <kennke@aicas.com>
16318 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16319 * gnu/java/awt/peer/gtk/CairoSurface.java
16320 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16321 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16322 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16323 * native/jni/gtk-peer/cairographics2d.h
16324 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16325 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16326 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16327 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16328 Changed method signatures and calls to pass native pointers directly
16329 into the JNI code, in order to avoid costly lookups on each
16331 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
16332 * include/gnu_java_awt_peer_gtk_CairoSurface.h,
16333 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
16334 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
16337 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16340 * javax/swing/text/DefaultStyledDocument.java
16341 (ElementBuffer.insertContentTag):
16342 Do not recreate leaves and do not remove elements here.
16344 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16346 * javax/swing/text/html/HTMLDocument.java
16347 (HTMLReader.HiddenAction): Implemented.
16349 2006-06-10 Roman Kennke <kennke@aicas.com>
16351 * javax/swing/RepaintManager.java
16352 (getVolatileOffscreenBuffer): Store the created buffer.
16353 * javax/swing/JComponent.java
16354 (paintDoubleBuffered): Try to use a volatile offscreen buffer
16355 for better performance.
16357 2006-06-10 Roman Kennke <kennke@aicas.com>
16359 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16360 (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
16362 (getRealBounds): Overridden to return the correct bounds.
16364 2006-06-10 Roman Kennke <kennke@aicas.com>
16366 * javax/swing/plaf/metal/MetalButtonUI.java
16367 (update): Fixed to paint the gradient under the correct conditions.
16368 (updateWidthGradient): Removed.
16369 (isToolbarButton): New helper method.
16370 (isDrawingGradient): New helper method.
16372 2006-06-09 Roman Kennke <kennke@aicas.com>
16374 * javax/swing/JTabbedPane.java
16375 (setSelectedIndex): Don't change the visibility of the components,
16376 this is done by the UI class.
16377 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16378 (TabbedPaneLayout.layoutContainer): Change visibility of component
16379 here, depending on the selected index. Only do this if the new
16380 selected component is not null. Some programs seem to expect
16382 (visibleComponent): New field.
16383 (getVisibleComponent): Changed to return visibleComponent field.
16384 (setVisibleComponent): Changed to set the visibility of
16385 the old and new visible component.
16387 2006-06-09 Roman Kennke <kennke@aicas.com>
16389 * javax/swing/JComponent.java
16390 (paintChildrenOptimized): Paint component with a new Graphics
16391 object to protect the other painting code from modifications
16392 done in that object, and avoid cleanup ops on possibly dispose()ed
16395 2006-06-09 Sven de Marothy <sven@physto.se>
16397 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16398 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16399 Use GTK locks while disposing (Xlib) surface.
16401 2006-06-09 Tom Tromey <tromey@redhat.com>
16403 * lib/Makefile.am (install-data-local): Copy 'sun' files.
16404 (uninstall-local): Delete 'sun' directory.
16405 (glibj.zip): Include 'sun' classes.
16406 (clean-local): Delete 'sun' directory.
16407 * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
16409 2006-06-09 Roman Kennke <kennke@aicas.com>
16411 * gnu/java/awt/java2d/AbstractGraphics2D.java
16412 (drawImage): Fixed scaling.
16413 (fillShape): Removed offset handling.
16414 (fillShapeImpl): Limit scanlining to device bounds.
16415 (getSegments): Removed offset handling.
16416 * gnu/java/awt/java2d/PolyEdge.java
16417 (toString): Include isClip flag in output.
16419 2006-06-08 Sven de Marothy <sven@physto.se>
16421 * java/awt/font/TextLayout.java
16422 (getOutline): Allow null transform.
16424 2006-06-08 Sven de Marothy <sven@physto.se>
16426 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16427 (drawString): Use TextLayout instead of GlyphVector.
16429 2006-06-08 Sven de Marothy <sven@physto.se>
16431 * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16432 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16433 New constructor for bidirectionality.
16434 (getGlyphMetrics): Return whitespace glyphs.
16435 (getLogicalBounds): Offset rectangles to correct positions.
16436 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16437 (getBaselineFor): Default to ROMAN_BASELINE.
16438 (GdkFontLineMetrics): Guess some values for underline and
16440 (layoutGlyphVector): Use bidirectionality.
16441 * java/awt/font/TextLayout.java: Implement, mostly.
16443 2006-06-09 Anthony Green <green@redhat.com>
16445 PR classpath/27888:
16446 * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16447 * java/util/Collections.java (binarySearch): Use unsigned shift.
16448 * java/util/Arrays.java (binarySearch): Use unsigned shift.
16450 2006-06-09 Tom Tromey <tromey@redhat.com>
16452 * tools/.cvsignore: Added .deps.
16454 2006-06-09 Kazuya Ujihara <ujihara@aurora.dti.ne.jp>
16456 PR classpath/27966:
16457 * gnu/javax/security/auth/login/ConfigFileParser.java
16458 (validateClassName): Quote '.' in regexp.
16460 2006-06-09 Tom Tromey <tromey@redhat.com>
16462 PR classpath/23863:
16463 * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16465 * native/fdlibm/mprec.c: New version from newlib. Commented out
16466 some includes. Added <assert.h>.
16467 (_reent, _Bigint): New defines.
16468 (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16469 (__ULong, __Long): New types.
16470 (_calloc_r): New function.
16471 (Balloc): Dynamically add new _freelist entries as needed.
16472 * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16473 MAX_BIGNUMS to size _x[].
16474 (struct _Jv_reent): _freelist now a _Jv_Bigint**. Removed
16475 _allocation_map, num. Added _max_k.
16477 2006-06-09 Roman Kennke <kennke@aicas.com>
16479 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16480 (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16483 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16485 * java/awt/image/BufferedImage.java
16486 (BufferedImage(int, int, int)): Added API docs,
16487 (getProperty(String)): Return correct value for undefined properties,
16488 (getPropertyNames()): Added comments and removed FIXME.
16490 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
16492 * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16493 (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16495 2006-06-09 Francis Kung <fkung@redhat.com>
16497 * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16498 (getPreferredSize): Return correct height for null or empty
16501 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16503 * java/awt/datatransfer/DataFlavor.java
16504 (readExternal): Mark as stub,
16505 (writeExternal): Likewise,
16506 * java/awt/dnd/DropTargetContext.java
16507 (dropComplete): Mark as stub,
16508 (acceptDrag): Likewise,
16509 (rejectDrag): Likewise,
16510 (acceptDrop): Likewise,
16511 (rejectDrop): Likewise,
16512 (getCurrentDataFlavors): Likewise,
16513 (getTransferable): Likewise,
16514 * java/awt/dnd/DropTargetDropEvent.java
16515 (dropComplete): Mark as stub.
16517 2006-06-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16519 * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16520 (constructor): Do not lowercase the values.
16521 * javax/swing/text/html/HTMLDocument.java
16522 (HTMLReader.addSpecialElement): Implemented.
16523 * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16525 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16527 On behalf of Matthew Wringe <mwringe@redhat.com>
16528 * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16529 * gnu/javax/crypto/pad/ISO10126.java: New class.
16530 * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16531 (getInstance): Added support for ISO-10126 scheme.
16532 (getNames): Likewise.
16533 Cache result for speed.
16535 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16537 * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16538 flexible self-test by sub-classes.
16539 (test1BlockSize): New method.
16541 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16543 * javax/swing/plaf/basic/BasicLookAndFeel.java
16544 (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16545 * javax/swing/plaf/basic/BasicScrollBarUI.java
16546 (installKeyboardActions): Implemented,
16547 (uninstallKeyboardActions): Implemented,
16548 (getInputMap): New method,
16549 (getActionMap): New method,
16550 (createActionMap): New method,
16551 (installUI): Call installKeyboardActions(),
16552 (uninstallUI): Call uninstallKeyboardActions().
16554 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16556 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16557 (getActionMap): Use correct key to store action map.
16559 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16561 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16562 (executeInstruction): Added NOT support.
16564 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16566 * sun/reflect/annotation/AnnotationInvocationHandler.java:
16569 2006-06-08 Tom Tromey <tromey@redhat.com>
16571 * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16574 2006-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
16576 * java/lang/management/RuntimeMXBean.java:
16579 2006-06-08 Lillian Angel <langel@redhat.com>
16581 * native/plugin/gcjwebplugin.cc:
16582 (NP_Shutdown): Freed whitelist_filename.
16584 2006-06-08 Lillian Angel <langel@redhat.com>
16586 * native/plugin/Makefile.am:
16587 Removed DATA_DIRECTORY.
16588 * native/plugin/gcjwebplugin.cc:
16589 Added new global fields for whitelist_file
16590 and data_directory. Removed WHITELIST_FILE.
16591 (NP_Initialize): Initialized new fields. Also,
16592 Changed to use new fields.
16593 (NP_Shutdown): Freed data_directory.
16594 (GCJ_New): Changed to use new fields.
16595 (plugin_ask_user_about_documentbase): Likewise.
16597 2006-06-08 Lillian Angel <langel@redhat.com>
16599 * native/plugin/Makefile.am:
16600 Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16601 * native/plugin/gcjwebplugin.cc:
16602 Changed all instances of PLUGIN_DATA_DIRECTORY
16605 2006-06-08 Roman Kennke <kennke@aicas.com>
16607 * java/awt/LightweightDispatcher.java
16608 (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16609 with convertPointToChild(). This is more efficient and avoids
16610 problems with getLocationOnScreen().
16611 (findTarget): Check for component beeing showing() early.
16612 Simplified AWTUtilities.convertPoint() to a simple substraction
16614 (convertPointToChild): New helper method.
16616 2006-06-08 Thomas Fitzsimmons <fitzsim@redhat.com>
16618 * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16621 2006-06-08 Tom Fitzsimmons <fitzsim@redhat.com>
16622 Lillian Angel <langel@redhat.com>
16624 * native/plugin/gcjwebplugin.cc
16625 (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16626 Also, reset initialized field.
16628 2006-06-08 Lillian Angel <langel@redhat.com>
16630 * javax/swing/plaf/basic/BasicProgressBarUI.java
16631 (paintString): Fixed to paint string at the correct location.
16633 2006-06-08 Roman Kennke <kennke@aicas.com>
16635 * javax/swing/plaf/basic/BasicTreeUI.java
16636 (createDefaultActions): Added new actions.
16637 (TreePageAction.TreePageAction): Set action name.
16638 (TreePageAction.actionPerformed): Implemented.
16639 (TreePageAction.isEnabled): Implemented.
16640 (TreeToggleAction.TreePageAction): Set action name.
16641 (TreeToggleAction.actionPerformed): Implemented.
16642 (TreeToggleAction.isEnabled): Implemented.
16643 (TreeTraverseAction.TreeTraverseAction): Set action name.
16644 (TreeTraverseAction.actionPerformed): Use action name as command.
16645 (TreeTraverseAction.isEnabled): Implemented.
16647 2006-06-08 Roman Kennke <kennke@aicas.com>
16649 * javax/swing/plaf/basic/BasicTreeUI.java
16650 (installKeyboardActions): Rewritten to correctly install the UI
16651 input and action maps.
16652 (getActionMap): New helper method.
16653 (createDefaultActionMap): New helper method.
16654 (TreeHomeAction.TreeHomeAction()): Implemented.
16655 (TreeHomeAction.actionPerformed): Implemented.
16656 (TreeHomeAction.isEnabled): Implemented.
16657 (TreeIncrementAction.TreeIncrementAction()): Implemented.
16658 (TreeIncrementAction.actionPerformed): Use action name as command.
16659 (TreeIncrementAction.isEnabled): Implemented.
16661 2006-06-08 Mark Wielaard <mark@klomp.org>
16664 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16665 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16668 2006-06-08 Mark Wielaard <mark@klomp.org>
16670 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16671 (attrs): Removed unused static.
16673 2006-06-08 David Gilbert <david.gilbert@object-refinery.com>
16675 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16676 (getInputMap): New method,
16677 (getActionMap): New method,
16678 (createActionMap): New method,
16679 (installKeyboardActions): Implemented,
16680 (uninstallKeyboardActions): Implemented.
16682 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16684 * javax/swing/border/MatteBorder.java:
16685 (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16687 (paintBorder): Added if-statement to abort painting early.
16689 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16692 * gnu/xml/dom/DomIterator.java:
16693 (successor): Changed expression.
16695 2006-06-08 Sven de Marothy <sven@physto.se>
16697 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16698 (defaultLayout): Do kerning.
16699 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16700 (getKerning): Correct class name, removed unused variable.
16702 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
16704 * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16705 libqtpeer.so unconditionally.
16707 2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
16709 * java/util/InputMismatchException.java:
16712 2006-06-07 Andreas Tobler <a.tobler@schweiz.ch>
16714 * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16716 2006-06-07 Roman Kennke <kennke@aicas.com>
16718 * javax/swing/plaf/basic/BasicTreeUI.java
16719 (completeUIUninstall): Implemented.
16720 (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16721 editing before uninstalling anything.
16722 (isToggleEvent): Implemented.
16723 (selectPathForEvent): Make use of isToggleEvent().
16724 (ComponentHandler.componentMoved): Implemented.
16725 (ComponentHandler.startTimer): Implemented.
16726 (ComponentHandler.getScrollPane): Implemented.
16727 (ComponentHandler.actionPerformed): Implemented.
16729 2006-06-07 Francis Kung <fkung@redhat.com>
16731 * javax/swing/JMenuBar.java:
16732 (getSubElements): Do not return null values.
16734 2006-06-07 Roman Kennke <kennke@aicas.com>
16737 * gnu/regexp/BacktrackStack.java
16738 * gnu/regexp/CharIndexed.java
16739 * gnu/regexp/CharIndexedCharArray.java
16740 * gnu/regexp/CharIndexedCharSequence.java
16741 * gnu/regexp/CharIndexedInputStream.java
16742 * gnu/regexp/CharIndexedString.java
16743 * gnu/regexp/CharIndexedStringBuffer.java
16744 * gnu/regexp/RE.java
16745 * gnu/regexp/REException.java
16746 * gnu/regexp/REFilterInputStream.java
16747 * gnu/regexp/REMatch.java
16748 * gnu/regexp/REMatchEnumeration.java
16749 * gnu/regexp/RESyntax.java
16750 * gnu/regexp/REToken.java
16751 * gnu/regexp/RETokenAny.java
16752 * gnu/regexp/RETokenBackRef.java
16753 * gnu/regexp/RETokenChar.java
16754 * gnu/regexp/RETokenEnd.java
16755 * gnu/regexp/RETokenEndOfPreviousMatch.java
16756 * gnu/regexp/RETokenEndSub.java
16757 * gnu/regexp/RETokenIndependent.java
16758 * gnu/regexp/RETokenLookAhead.java
16759 * gnu/regexp/RETokenLookBehind.java
16760 * gnu/regexp/RETokenNamedProperty.java
16761 * gnu/regexp/RETokenOneOf.java
16762 * gnu/regexp/RETokenPOSIX.java
16763 * gnu/regexp/RETokenRange.java
16764 * gnu/regexp/RETokenRepeated.java
16765 * gnu/regexp/RETokenStart.java
16766 * gnu/regexp/RETokenWordBoundary.java
16767 * gnu/regexp/UncheckedRE.java
16768 * gnu/java/util/regex/BacktrackStack.java
16769 * gnu/java/util/regex/CharIndexed.java
16770 * gnu/java/util/regex/CharIndexedCharArray.java
16771 * gnu/java/util/regex/CharIndexedCharSequence.java
16772 * gnu/java/util/regex/CharIndexedInputStream.java
16773 * gnu/java/util/regex/CharIndexedString.java
16774 * gnu/java/util/regex/CharIndexedStringBuffer.java
16775 * gnu/java/util/regex/RE.java
16776 * gnu/java/util/regex/REException.java
16777 * gnu/java/util/regex/REFilterInputStream.java
16778 * gnu/java/util/regex/REMatch.java
16779 * gnu/java/util/regex/REMatchEnumeration.java
16780 * gnu/java/util/regex/RESyntax.java
16781 * gnu/java/util/regex/REToken.java
16782 * gnu/java/util/regex/RETokenAny.java
16783 * gnu/java/util/regex/RETokenBackRef.java
16784 * gnu/java/util/regex/RETokenChar.java
16785 * gnu/java/util/regex/RETokenEnd.java
16786 * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16787 * gnu/java/util/regex/RETokenEndSub.java
16788 * gnu/java/util/regex/RETokenIndependent.java
16789 * gnu/java/util/regex/RETokenLookAhead.java
16790 * gnu/java/util/regex/RETokenLookBehind.java
16791 * gnu/java/util/regex/RETokenNamedProperty.java
16792 * gnu/java/util/regex/RETokenOneOf.java
16793 * gnu/java/util/regex/RETokenPOSIX.java
16794 * gnu/java/util/regex/RETokenRange.java
16795 * gnu/java/util/regex/RETokenRepeated.java
16796 * gnu/java/util/regex/RETokenStart.java
16797 * gnu/java/util/regex/RETokenWordBoundary.java
16798 * gnu/java/util/regex/UncheckedRE.java
16799 Moved gnu.regexp classes to gnu.java.util.regex package.
16800 * java/util/regex/Matcher.java
16801 * java/util/regex/Pattern.java
16802 Adjusted import statements for new package name for gnu regexp.
16804 2006-06-07 Tom Tromey <tromey@redhat.com>
16806 PR classpath/27905:
16807 * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
16808 Added missing charsets.
16809 (charsetForName): Don't check 'extendedLoaded'.
16811 2006-06-07 Roman Kennke <kennke@aicas.com>
16814 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16815 (clip(Shape)): Implemented correctly, so that the current shape
16816 gets intersected by the parameter shape.
16818 2006-06-07 Lillian Angel <langel@redhat.com>
16820 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16821 (getTabBounds): If this method is called with a tab index
16822 that is not in the rects array, we need to re-layout the container
16825 2006-06-07 Lillian Angel <langel@redhat.com>
16827 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16828 (FreetypeGlyphVector): Removed assignment. Caused compilation error.
16829 * java/lang/String.java
16830 (codePointCount): Fixed check to match API. Shouldn't throw exception
16831 if end == count. end is 1 more than the endIndex, so end == count is
16834 2006-06-07 Gary Benson <gbenson@redhat.com>
16837 * native/jni/java-io/java_io_VMFile.c
16838 (Java_java_io_VMFile_toCanonicalForm): New method.
16839 * configure.ac: Added checks for lstat and readlink.
16840 * include/java_io_VMFile.h: Added new method.
16841 * vm/reference/java/io/VMFile.java: Use new method.
16842 * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
16843 * NEWS: Documented the above.
16844 * java/io/File.java: Javadoc fix.
16846 2006-06-07 Roman Kennke <kennke@aicas.com>
16849 * javax/swing/JTree.java
16850 (JTree()): Initialize with default model.
16851 (JTree(TreeModel)): Clear expanded state hashtable. Added comment
16852 on the updateUI() / setModel() order.
16853 (setModel): Correctly (un-)setup the listeners. Clear the expanded
16855 * javax/swing/plaf/basic/BasicTreeUI.java
16856 (BasicTreeUI()): Initialize listeners in installListeners().
16857 (setModel): Complete editing on model change. Correctly resetup
16858 the listeners. Update the layout cache accordingly.
16859 (setShowRootHandles): Complete editing and update layout. Do not
16860 call back into the JTree, this could cause cycles.
16861 (prepareForUIInstall): Implemented. Moved some init code from
16862 installUI() to this method.
16863 (completeUIInstall): Implemented. Moved some init code from
16864 installUI() to this method.
16865 (createDefaultCellEditor): Check for type of renderer, and install
16866 with null renderer when not DefaultTreeCellRenderer.
16867 (updateLayoutCacheExpandedNodes): Added null check for tree root
16869 (updateRenderer): Call updateEditor().
16870 (installListeners): Initialize the listeners here. Added some null
16871 checks to avoid NPEs.
16872 (installUI): Moved some init code to prepareForUIInstall() and
16873 completeUIInstall().
16874 (completeEditing): Return immediately if editing component is null
16875 or if the setting is to not stop editing on complete editing.
16876 (checkForClickInExpandControl): Call handleExpandControlClick()
16877 instead of toggleExpandState() directly.
16878 (isLocationInExpandControl): Rewritten to correctly determine the
16879 expand click location.
16880 (MouseHandler.mousePressed): Rewritten to make better use of the
16881 instance methods of BasicTreeUI to handle the click.
16882 (PropertyHandler.propertyChange): Handle model and cell renderer
16884 * javax/swing/tree/DefaultTreeCellEditor.java
16885 (DefaultTreeCellEditor): Removed initialization of the icon. This
16886 is done so that the constructor can deal with null renderer as the
16887 RI does. Maybe this needs more fixing.
16888 * javax/swing/tree/TreePath.java
16889 (isDescendant): Fixed this method. The previous version did too
16890 much and compared the wrong things, which lead to a ClassCastException
16892 * javax/swing/tree/VariableHeightLayoutCache.java
16893 (update): Do nothing when model is null.
16894 (setModel): Clear the tables and update the layout. Added null
16895 check to prevent NPE.
16897 2006-06-07 Sven de Marothy <sven@physto.se>
16899 * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
16901 2006-06-07 Sven de Marothy <sven@physto.se>
16903 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16904 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16905 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16908 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16909 (getGlyphVector): Removed native method.
16910 (createGlyphVector, getStringBounds): Use new GV class.
16912 * include/Makefile.am
16913 * native/jni/gtk-peer/Makefile.am
16916 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
16917 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16918 (getGlyphVector): Removed native method.
16920 2006-06-07 Chris Burdess <dog@gnu.org>
16922 * gnu/classpath/debug/TeeInputStream.java,
16923 gnu/classpath/debug/TeeOutputStream.java,
16924 gnu/classpath/debug/TeeReader.java,
16925 gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
16926 * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
16927 read more characters than absolutely necessary in tryRead method.
16929 2006-06-07 Robert Schuster <robertschuster@fsfe.org>
16931 * examples/gnu/classpath/examples/swing/Demo.java:
16932 (mkMenuBar): Put look and feel radio buttons into
16933 appropriate button group.
16935 2006-06-07 Chris Burdess <dog@gnu.org>
16937 * gnu/xml/stream/SAXParser.java,
16938 gnu/xml/stream/XMLParser.java: Add command line options for setting
16939 parsing parameters (for simpler debugging).
16940 * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
16941 closing output stream is propagated to application.
16943 2006-06-06 Mark Wielaard <mark@klomp.org>
16946 * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
16947 * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
16948 call disposeSurface.
16949 (disposeSurface): New native method.
16950 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16951 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
16953 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16954 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
16955 cairo_pattern_destroy.
16956 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16957 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16958 New function to destroy the surface.
16959 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16960 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
16961 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
16963 2006-06-06 Mark Wielaard <mark@klomp.org>
16965 * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
16968 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16970 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
16971 (paint): If has focus, paint special background color,
16972 * javax/swing/plaf/basic/BasicSplitPaneUI.java
16973 (FocusHandler.focusGained): Implemented,
16974 (FocusHandler.focusLost): Implemented.
16976 2006-06-06 Tom Tromey <tromey@redhat.com>
16978 * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
16980 (writeAttributeSet): Implemented.
16982 2006-06-06 Tom Tromey <tromey@redhat.com>
16984 * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
16986 (SpecialAction.end): Removed.
16987 (IsindexAction.end): Likewise.
16989 2006-06-06 Tom Tromey <tromey@redhat.com>
16991 * include/jni.h (JDK1_1InitArgs): New struct.
16992 (JDK1_1AttachArgs): Likewise.
16994 2006-06-06 Tom Tromey <tromey@redhat.com>
16996 * java/security/UnresolvedPermission.java (getUnresolvedType): New
16998 (getUnresolvedName): New method.
16999 (getUnresolvedActions): New method.
17000 (getUnresolvedCerts): New method.
17002 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17004 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
17005 (getColor): Removed debugging code.
17007 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17009 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
17010 (getColor): Added support for "rgb(red, green, blue)" notation.
17011 (translateTag): Use Boolean.TRUE, not new Boolean().
17013 2006-06-06 Roman Kennke <kennke@aicas.com>
17016 * javax/swing/JTree.java
17017 (JTree(TreeModel)): Call updateUI() before setModel().
17018 (setModel): Don't call updateUI here.
17020 2006-06-06 Lillian Angel <langel@redhat.com>
17022 * native/plugin/gcjwebplugin.cc:
17023 Fixed failure message and commenting.
17024 (NP_Initialize): Added more comments.
17026 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17028 * javax/swing/JSplitPane.java
17029 (AccessibleJSplitPane): API doc fixes,
17030 (setDividerLocation): Likewise,
17031 * javax/swing/plaf/basic/BasicLookAndFeel.java
17032 (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
17033 * javax/swing/plaf/basic/BasicSplitPaneUI.java
17034 (getInputMap): New method,
17035 (getActionMap): New method,
17036 (createActionMap): New method,
17037 (installKeyboardActions): Implemented,
17038 (uninstallKeyboardActions): Implemented.
17040 2006-06-06 Roman Kennke <kennke@aicas.com>
17043 * javax/swing/MenuSelectionManager.java
17044 (processKeyEvent): Added check to avoid
17045 ArrayIndexOutOfBoundsException.
17047 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17049 * gnu/javax/swing/text/html/htmlAttributeSet.java
17050 (getAttributeNames): Rewritten
17052 2006-06-06 Chris Burdess <dog@gnu.org>
17054 * gnu/xml/transform/TransformerImpl.java: Check type of created
17055 document (more cases).
17057 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17059 * gnu/javax/swing/text/html/htmlAttributeSet.java
17060 (clone): New method. (copyAttributes): New method.
17061 (getResolveParent): Comment fix. (getAttribute):
17062 Rewritten. (addAttribute): Rewritten.
17063 * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
17066 2006-06-06 Roman Kennke <kennke@aicas.com>
17069 * javax/swing/JMenuBar.java
17070 (processKeyBindingHelper): Added null check to prevent NPE.
17072 2006-06-06 Roman Kennke <kennke@aicas.com>
17074 * javax/swing/plaf/basic/BasicInternalFrameUI.java
17075 (ShowSystemMenuAction): New class.
17076 (installKeyboardActions): Implemented.
17077 (uninstallKeyboardActions): Implemented.
17078 * javax/swing/plaf/metal/MetalInternalFrameUI.java
17079 (installKeyboardActions): Overridden to remove showSystemMenu action.
17081 2006-06-06 Chris Burdess <dog@gnu.org>
17083 * gnu/xml/transform/TransformerImpl.java: Check type of created
17086 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17088 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
17089 (getScreenDevices): Added explicit cast.
17091 2006-06-06 Roman Kennke <kennke@aicas.com>
17093 * javax/swing/plaf/basic/BasicTextUI.java
17094 (installKeyboardActions): Use shared input map. Correctly
17095 install the input/action maps in the component's input/action
17097 (getActionMap): New helper method for fetching an ActionMap from
17098 the UIManager or creating a default one if there is none supplied
17100 (createActionMap): Add the TransferHandler's actions here. Made
17102 (getInputMap): Leave out unnecessary method parameter. Load
17104 * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
17106 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17108 * configure.ac: Added missing [ to expression.
17110 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17112 * configure.ac: Added missing { to expression.
17114 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17116 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
17117 * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
17118 * include/Makefile.am: Added
17119 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
17120 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
17121 (GdkGraphicsConfiguration): Rewritten.
17122 (getColorModel): Rewritten.
17123 (getColorModel(int)): Rewritten.
17124 (getBounds): Rewritten.
17125 (createCompatibleVolatileImage): Implemented.
17126 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
17128 (getDefaultScreenDevice): Rewritten.
17129 (nativeGetDefaultScreenDevice): New method.
17130 (getScreenDevices): Rewritten.
17131 (nativeGetScreenDevices): New method.
17132 (nativeInitState): New method.
17133 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
17135 (X11DisplayMode): New inner class.
17136 * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
17137 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
17138 * native/jni/gtk-peer/gdkdisplay.h: New file.
17139 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
17140 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
17142 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
17144 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17145 _nativeGetScreenDevices):
17147 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17148 _nativeGetDefaultScreenDevice):
17150 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
17152 * configure.ac: Added check for Xrandr library.
17154 2006-06-06 Roman Kennke <kennke@aicas.com>
17156 * javax/swing/plaf/basic/BasicTableUI.java
17157 (getMaximumSize): Don't return null. Fixed calculation of
17159 (getMinimumSize): Don't return null. Fixed calculation of
17161 (getPreferredSize): Fixed calculation of with and height. Added
17163 (getHeight): New helper method.
17165 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17167 * javax/swing/JComponent.java
17168 (getInputMap(int)): Throw IllegalArgumentException for unknown
17169 condition argument, and added API docs,
17170 (getInputMap()): Added API docs.
17172 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17174 * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
17176 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17178 * javax/swing/JTable.java
17179 (AccessibleJTableHeaderCell.header): New field,
17180 (AccessibleJTableHeaderCell.columnIndex): Likewise,
17181 (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
17182 (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
17183 (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
17184 (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
17185 (AccessibleJTable.getAccessibleChild(int)): Overridden,
17186 (AccessibleJTable.getAccessibleAt): Reimplemented.
17188 2006-06-05 Sven de Marothy <sven@physto.se>
17190 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17191 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17192 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17193 (initFromVolatile): New method.
17194 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17195 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17197 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17198 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17199 (copyArea, drawVolatileImage): New methods.
17201 2006-06-05 Tania Bento <tbento@redhat.com>
17203 * javax/swing/JFrame.java
17204 (frameInit): Set background color and fixed layout parameters.
17206 2006-06-05 Tom Tromey <tromey@redhat.com>
17208 * NEWS: Mention VMURLConnection.
17210 2006-06-05 Lillian Angel <langel@redhat.com>
17212 * native/plugin/gcjwebplugin.cc:
17213 Added new field to keep track of initialization.
17214 (plugin_start_appletviewer): Fixed to return an error value, if
17215 an error was encountered when loading the appletviewer.
17216 (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
17218 (plugin_failed): New helper function. Shows a warning if the appletviewer
17219 has not been installed.
17220 (NP_Initialize): Added code to make sure this function is only called
17223 2006-06-05 Lillian Angel <langel@redhat.com>
17225 * native/plugin/Makefile.am:
17226 Fixed to use a set plugin directory in the .mozilla directory.
17227 All applet logs are now stored here, instead of /tmp.
17228 * native/plugin/gcjwebplugin.cc:
17229 Added new fields for security warning.
17230 (GCJ_NEW): Added code to generate a security warning for all pages
17231 that spawn an appletviewer. This warning asks the user if they trust
17232 the applet and if they would like to add it to a 'whitelist'. This
17233 whitelist keeps track of all the addresses the user would like
17234 to trust indefinitely.
17235 (plugin_user_trusts_documentbase): New helper function.
17236 (plugin_add_documentbase_to_whitelist): New helper function.
17237 (plugin_ask_user_about_documentbase): New helper function.
17238 (plugin_in_pipe_callback): Fixed check to determine if channel_error
17240 (plugin_start_appletviewer): Likewise.
17241 (plugin_create_applet_tag): Reset all fields to null after they have been
17243 (plugin_send_message_to_appletviewer): Fixed all error checks to determine
17244 if channel_error has been set.
17245 (plugin_stop_appletviewer): Likewise.
17246 (NP_Initialize): Likewise. Also, added code to determine if directory and file
17249 2006-06-05 Francis Kung <fkung@redhat.com>
17252 * gnu/java/awt/peer/gtk/GtkImage.java
17253 (getSource): Added check to determine if in
17254 errorLoading state.
17255 * gnu/java/awt/peer/gtk/GtkToolkit.java
17256 (createImage): Added check to prevent NPE.
17258 2006-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17260 * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
17261 Create the ImageView, when applicable.
17262 * gnu/javax/swing/text/html/CombinedAttributes.java,
17263 javax/swing/text/html/ImageView.java: New files.
17265 2006-06-05 Roman Kennke <kennke@aicas.com>
17268 * javax/swing/text/GapContent.java
17269 (setPositionsInRange): Compare with startIndex and endIndex
17270 rather than start and end.
17271 (dumpMarks): Only dump real marks.
17273 2006-06-05 Sven de Marothy <sven@physto.se>
17275 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17276 (ComponentGraphics): Use 0,0 as clip origin.
17278 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17280 * java/util/Formattable.java,
17281 * java/util/FormattableFlags.java,
17282 * java/util/Formatter.java:
17285 2006-06-04 Tom Tromey <tromey@redhat.com>
17287 * javax/naming/Context.java (list): Genericized.
17288 (listBindings): Likewise.
17289 * javax/naming/Reference.java (addrs): Genericized.
17290 * javax/naming/InitialContext.java (myProps): Fixed type.
17291 (init): Genericized.
17293 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17295 * java/util/DuplicateFormatFlagsException.java,
17296 * java/util/FormatFlagsConversionMismatchException.java,
17297 * java/util/FormatterClosedException.java,
17298 * java/util/IllegalFormatCodePointException.java,
17299 * java/util/IllegalFormatConversionException.java,
17300 * java/util/IllegalFormatException.java,
17301 * java/util/IllegalFormatFlagsException.java,
17302 * java/util/IllegalFormatPrecisionException.java,
17303 * java/util/IllegalFormatWidthException.java,
17304 * java/util/MissingFormatArgumentException.java,
17305 * java/util/MissingFormatWidthException.java,
17306 * java/util/UnknownFormatConversionException.java,
17307 * java/util/UnknownFormatFlagsException.java:
17310 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17312 * java/lang/System.java:
17313 (getenv()): Handle cases where split only
17314 returns an array of size 1.
17316 2006-06-04 Sven de Marothy <sven@physto.se>
17318 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17319 (createVolatileImage): Pass peer to VolatileImage constructor.
17320 * java/awt/Component.java
17321 (createVolatileImage): Call peer method directly.
17323 2006-06-04 Sven de Marothy <sven@physto.se>
17325 * gnu/java/awt/peer/gtk/CairoSurface.java
17326 (getFlippedBuffer): New method.
17327 (getGtkImage): Renamed method.
17328 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17329 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17330 Renamed getSharedImage to getGtkImage.
17331 * include/gnu_java_awt_peer_gtk_CairoSurface.h
17332 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17333 (getFlippedBuffer): New method
17334 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17335 Avoid window casts.
17336 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17338 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17339 (drawVolatile): Add casts.
17340 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
17341 (getOutline): Add casts.
17342 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
17343 Comment out unused prototype.
17344 (getPixels): Add appropriate cast and comment out unused variable.
17346 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17348 * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
17349 * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
17350 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
17351 * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
17352 (getSystemInstance): Fix javadoc @link.
17353 (counter): Increased visibility.
17354 * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
17355 * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
17356 * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
17357 * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
17358 * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
17359 * gnu/javax/crypto/mode/CTR.java: Remove unused import.
17360 * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
17361 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
17362 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
17363 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
17364 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
17365 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
17366 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
17367 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
17368 * gnu/javax/crypto/mac/OMAC.java: Likewise.
17369 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
17370 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
17371 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
17372 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
17373 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
17374 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
17375 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
17376 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
17377 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
17378 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
17379 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
17380 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
17381 * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
17382 * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
17383 * gnu/javax/crypto/assembly/Direction.java: Likewise.
17384 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
17386 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17388 * gnu/java/security/PolicyFile.java: Updated copyright year.
17389 (logger): Increased visibility.
17390 * gnu/java/security/x509/Util.java: Updated copyright year.
17391 (hexDump): Fix javadoc @link.
17392 * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
17393 Removed unused import.
17394 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
17395 * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
17396 * gnu/java/security/util/ExpirableObject.java: Likewise.
17397 (destroy): Likewise.
17398 * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
17399 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
17400 Updated copyright year.
17401 (checkCRL): Fix javadoc @param.
17403 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17405 * java/lang/annotation/IncompleteAnnotationException.java:
17408 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17410 * java/lang/ProcessBuilder.java:
17412 (environment): Create as a copy.
17413 * java/lang/System.java:
17414 (EnvironmentMap.EnvironmentMap(Map<String,String>)):
17416 (EnvironmentMap.put(String,String)): Override superclass
17417 method with checks for nulls and non-Strings.
17419 2006-06-02 Sven de Marothy <sven@physto.se>
17421 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17422 (cairoPreserveClip, cairoResetClip): New methods.
17423 (setClip, clip): Reimplement.
17424 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17425 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17426 (cairoPreserveClip, cairoResetClip): New methods.
17428 2006-06-02 Sven de Marothy <sven@physto.se>
17430 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17431 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17432 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17434 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17435 (drawImage): Overloads for VolatileImage drawing.
17436 (drawVolatile): New method.
17437 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17438 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17439 (drawVolatile): New method.
17440 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17441 Unstub implementation.
17442 * include/Makefile.am
17443 * native/jni/gtk-peer/Makefile.am
17445 * native/jni/gtk-peer/gtkpeer.h
17448 2006-06-03 Roman Kennke <kennke@aicas.com>
17451 * javax/swing/plaf/basic/BasicTextUI.java
17452 (damageRange): Added null check to avoid NPE.
17454 2006-06-03 Roman Kennke <kennke@aicas.com>
17456 * javax/swing/text/PlainView.java
17457 (updateDamage): Check for valid longestLine and initialize if
17460 2006-06-03 Mark Wielaard <mark@klomp.org>
17462 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17465 2006-06-02 Sven de Marothy <sven@physto.se>
17468 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17469 (copyArea): Implement.
17470 (copyAreaImpl, getRealBounds): New methods.
17471 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17472 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17473 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17474 (copyAreaImpl, getRealBounds): Implement.
17475 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17476 (nativeCopyArea): Reimplement.
17478 2006-06-02 Andreas Tobler <a.tobler@schweiz.ch>
17480 * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17481 (XTEST_LIBS): New, substitute.
17482 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17484 2006-06-02 Roman Kennke <kennke@aicas.com>
17487 * javax/swing/text/PlainView.java
17488 (updateDamage): Rewritten for correct repainting and revalidating.
17489 (findLongestLine): New helper method.
17490 (getLineLength): New helper method.
17492 2006-06-02 Sven de Marothy <sven@physto.se>
17494 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17495 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17496 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17497 (nativeCopyArea): Change stride parameter to use # of ints.
17498 (setPixels): Add checks.
17499 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17500 (ComponentGraphics): Set background, clip.
17501 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17502 (Cairographics2D): Don't set clip.
17503 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17506 2006-06-02 Lillian Angel <langel@redhat.com>
17509 * java/awt/DefaultKeyboardFocusManager.java
17510 (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17511 to get the focused window.
17513 2006-06-01 Miriam Schuster <schmir11@web.de>
17515 * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17516 Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17518 2006-06-02 Roman Kennke <kennke@aicas.com>
17520 * javax/swing/JTable.java
17521 (columnSelectionChanged): Don't return when there's only one
17522 column (might still need repainting). Correctly calculate
17524 (valueChanged): Use return value of SwingUtilities.computeUnion
17527 2006-06-01 Keith Seitz <keiths@redhat.com>
17529 From Martin Platter <motse@complang.tuwien.ac.at>:
17530 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17531 (executeSet): Fix buffer underflow reading reference ID.
17532 * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17533 (executeParent): Fix NPE if ThreadGroup is top-level ThreadGroup.
17534 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17535 (executeSuperclass): Handle case of Object with ID zero.
17537 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17539 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17540 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17541 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17542 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17543 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17544 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17545 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17546 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17547 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17548 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17549 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17551 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17553 * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17554 (Command): Add the shutdown hook.
17555 (doCommand): Remove the shutdown hook.
17556 (ShutdownHook): New class.
17558 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17560 * tools/jarsigner.in: Use @VM_BINARY@.
17561 * tools/keytool.in: Likewise.
17563 2006-06-01 Sven de Marothy <sven@physto.se>
17565 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17566 (setColor): Update the cairo paint.
17568 2006-06-01 Mark Wielaard <mark@klomp.org>
17570 * java/util/logging/LogManager.java (createInstance): Always add
17571 original exception on warning.
17573 2006-06-01 Lillian Angel <langel@redhat.com>
17575 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17576 (prependCodebase): Fixed check. No dirname was ever considered to
17577 be a file, so every applet fell into the if-statement causing a lot
17578 of classloading problems with the applets.
17580 2006-06-01 Sven de Marothy <sven@physto.se>
17582 Patch submitted by Boris Dusek.
17583 * native/jni/qt-peer/qtmenupeer.cpp
17586 2006-06-01 Roman Kennke <kennke@aicas.com>
17588 * javax/swing/JTable.java
17589 (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17590 why the behaviour is like it is.
17591 (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17592 (AccessibleJTableHeader): New inner class.
17593 (AccessibleJTableHeaderCell): New inner class.
17594 (AccessibleJTable.lastSelectedRow): New field.
17595 (AccessibleJTable.lastSelectedColumn): New field.
17596 (AccessibleJTable.caption): New field.
17597 (AccessibleJTable.summary): New field.
17598 (AccessibleJTable.rowDescriptions): New field.
17599 (AccessibleJTable.columnDescriptions): New field.
17600 (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17601 (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17602 (AccessibleJTable.isAccessibleChildSelected): Implemented.
17603 (AccessibleJTable.addAccessibleSelection): Implemented.
17604 (AccessibleJTable.removeAccessibleSelection): Implemented.
17605 (AccessibleJTable.clearAccessibleSelection): Implemented.
17606 (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17607 (AccessibleJTable.valueChange): Implemented.
17608 (AccessibleJTable.tableRowsInserted): Implemented.
17609 (AccessibleJTable.tableRowsDeleted): Implemented.
17610 (AccessibleJTable.handleRowChange): New helper method.
17611 (AccessibleJTable.columnAdded): Implemented.
17612 (AccessibleJTable.columnMarginChanged): Implemented.
17613 (AccessibleJTable.columnMoved): Implemented.
17614 (AccessibleJTable.columnRemoved): Implemented.
17615 (AccessibleJTable.columnSelectionChanged): Implemented.
17616 (AccessibleJTable.handleColumnChange): New helper method.
17617 (AccessibleJTable.editingCanceled): Implemented.
17618 (AccessibleJTable.editingStopped): Implemented.
17619 (AccessibleJTable.getAccessibleRow): Implemented.
17620 (AccessibleJTable.getAccessibleColumn): Implemented.
17621 (AccessibleJTable.getAccessibleIndex): Implemented.
17622 (AccessibleJTable.getAccessibleCaption): Implemented.
17623 (AccessibleJTable.setAccessibleCaption): Implemented.
17624 (AccessibleJTable.getAccessibleSummary): Implemented.
17625 (AccessibleJTable.setAccessibleSummary): Implemented.
17626 (AccessibleJTable.getAccessibleRowCount): Implemented.
17627 (AccessibleJTable.getAccessibleColumnCount): Implemented.
17628 (AccessibleJTable.getAccessibleAt): Implemented.
17629 (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17630 (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17631 (AccessibleJTable.getAccessibleRowHeader): Implemented.
17632 (AccessibleJTable.setAccessibleRowHeader): Implemented.
17633 (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17634 (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17635 (AccessibleJTable.getAccessibleRowDescription): Implemented.
17636 (AccessibleJTable.setAccessibleRowDescription): Implemented.
17637 (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17638 (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17639 (AccessibleJTable.isAccessibleSelected): Implemented.
17640 (AccessibleJTable.isAccessibleRowSelected): Implemented.
17641 (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17642 (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17643 (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17644 (getAccessibleContext): Register listeners for the accessibility
17645 class on the JTable.
17647 2006-06-01 Sven de Marothy <sven@physto.se>
17649 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17650 (setPaint): Scale +1 pixel larger.
17652 2006-06-01 Sven de Marothy <sven@physto.se>
17655 * gnu/java/awt/Buffers.java (getData): Reimplement.
17656 * gnu/java/awt/peer/gtk/CairoSurface.java
17657 (getElem, setElem): Call native methods.
17659 2006-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17661 * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17663 2006-06-01 Sven de Marothy <sven@physto.se>
17665 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17666 (drawImage): Check for zero size.
17667 * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17668 (setFont): Declare new native method.
17669 (GdkTextLayout): Read some attributes.
17670 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17671 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17672 (setFont): New native method.
17674 2006-06-01 Sven de Marothy <sven@physto.se>
17676 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17677 (updateBufferedImage): Fix some errors.
17679 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17681 * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style
17683 * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17684 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17685 * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17686 * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17687 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17688 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17689 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17690 * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17691 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17692 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17694 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17696 * javax/swing/JComboBox.java: Minor source code formatting fixes,
17697 * javax/swing/JEditorPane.java: Likewise,
17698 * javax/swing/JFormattedTextField.java: Likewise,
17699 * javax/swing/JLayeredPane.java: Likewise,
17700 * javax/swing/JScrollPane.java: Likewise,
17701 * javax/swing/JSlider.java: Likewise,
17702 * javax/swing/JSpinner.java: Likewise,
17703 * javax/swing/JTree.java: Likewise,
17704 * javax/swing/JViewport.java: Likewise,
17705 * javax/swing/UIDefaults.java: Likewise,
17706 * javax/swing/UIManager.java: Likewise.
17708 2006-06-01 Sven de Marothy <sven@physto.se>
17710 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17711 (BufferedImageGraphics): Cache surfaces.
17712 (updateBufferedImage): Copy directly for certain color models.
17713 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17714 (drawImage): Reimplement.
17716 2006-06-01 Sven de Marothy <sven@physto.se>
17718 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17719 (setPixels): Don't swap, correct size.
17721 2006-05-31 Anthony Green <green@redhat.com>
17724 * java/net/InetSocketAddress.java: Defer getting the host
17725 name until somebody calls InetSocketAddress.getHostName().
17726 Fix "represenation" typo.
17728 2006-06-01 Sven de Marothy <sven@physto.se>
17730 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17731 (updateBufferedImage): Simplify.
17732 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17733 (getPixels): Don't swap.
17735 2006-06-01 Sven de Marothy <sven@physto.se>
17737 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17738 (setGradient): Reimplement.
17740 2006-06-01 Andreas Tobler <a.tobler@schweiz.ch>
17742 * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17743 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17744 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17745 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17746 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17747 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17748 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17751 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17753 * javax/swing/table/JTableHeader.java
17754 (getColumnHeaderRenderer): New method,
17755 (getAccessibleColumnHeaderRenderer): Delegate part to new
17756 getColumnHeaderRenderer() method,
17757 (getLocale): Implemented.
17759 2006-05-31 Andreas Tobler <a.tobler@schweiz.ch>
17761 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17762 (cp_gtk_grab_current_drawable): Rename
17763 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17764 cp_gtk_grab_current_drawable, remove static declaration.
17765 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17767 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17768 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17769 Remove prototype of
17770 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17771 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17773 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17774 * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17775 cp_gtk_grab_current_drawable here.
17777 2006-05-31 Sven de Marothy <sven@physto.se>
17779 Should fix PR 27835
17780 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17781 (updateBufferedImage): Keep within image bounds.
17783 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
17784 Andreas Tobler <a.tobler@schweiz.ch>
17786 * configure.ac: Check for libXrender when the GTK peers are
17787 enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17789 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17790 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17791 [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17793 2006-05-31 Lillian Angel <langel@redhat.com>
17795 * javax/swing/plaf/basic/BasicProgressBarUI.java
17796 (paintString): Implemented to paint the string vertically.
17798 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17800 * javax/swing/JTable.java
17801 (AccessibleJTable.AccessibleJTable()): Check for null editor,
17802 (AccessibleJTable.getAccessibleRole()): Overridden to return correct
17804 (AccessibleJTable.getAccessibleTable()): Likewise,
17805 (getAccessibleContext): Create new context if required.
17807 2006-05-31 Roman Kennke <kennke@aicas.com>
17809 * javax/swing/JTabbedPane.java
17810 (AccessibleJTabbedPane.stateChanged): Implemented.
17811 (Page.getAccessibleStateSet): Implemented.
17812 (Page.getAccessibleIndexInParent): Implemented.
17813 (getAccessibleContext): Add AccessibleJTabbedPane object
17814 as ChangeListener to the JTabbedPane.
17816 2006-05-31 Roman Kennke <kennke@aicas.com>
17818 * javax/swing/JMenuItem.java
17819 (getAccessibleContext): Register accessible object as ChangeListener
17821 (AccessibleJMenuItem.armed): New field.
17822 (AccessibleJMenuItem.focusOwner): New field.
17823 (AccessibleJMenuItem.pressed): New field.
17824 (AccessibleJMenuItem.selected): New field.
17825 (stateChanged): Implemented.
17827 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17829 * javax/swing/ListSelectionModel.java: Added API docs all over.
17831 2006-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17833 * examples/gnu/classpath/examples/swing/FillRect.java
17834 (paintComponent): Optionally paint lines rather than rectangles.
17835 (createContent): Added option to test line painting.
17837 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17839 * javax/swing/event/EventListenerList.java
17840 (getListenerList): Updated API docs.
17842 2006-05-30 Sven de Marothy <sven@physto.se>
17844 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17845 (drawImage): Clip scaled image to dest rectangle.
17847 2006-05-30 Sven de Marothy <sven@physto.se>
17849 * gnu/java/awt/peer/gtk/CairoSurface.java:
17850 (CairoSurface): Convert pixels properly.
17851 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17852 Remove commented-out lines.
17854 2006-05-30 Sven de Marothy <sven@physto.se>
17856 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17857 (drawImage): Use Toolkit to convert to BufferedImage.
17858 * gnu/java/awt/peer/gtk/CairoSurface.java
17859 (CairoSurface(GtkImage)): New Constructor.
17860 (getBufferedImage): New method.
17861 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17862 Don't fill background - FIXME.
17863 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17864 Remove unused methods.
17865 * gnu/java/awt/peer/gtk/GtkImage.java:
17866 (pixbuflock): New field. Methods change to use this lock.
17867 * gnu/java/awt/peer/gtk/GtkToolkit.java
17868 (createImage): Use Cairo-backed surfaces via GtkImage instead of
17870 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17871 (setPixels): Correct length in bytes.
17873 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17875 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
17876 System.loadLibrary unconditionally.
17877 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
17878 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
17879 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
17880 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
17882 2006-05-30 Mark Wielaard <mark@klomp.org>
17884 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17885 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
17886 Mark unused parameters, remove unused variables.
17888 2006-05-30 Sven de Marothy <sven@physto.se>
17890 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17891 (copyArea): Implemented.
17892 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17893 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17894 (copyAreaNative): New method.
17896 2006-05-30 Andreas Tobler <a.tobler@schweiz.ch>
17898 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17899 (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
17900 for non big endian systems.
17901 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
17903 2006-05-30 Roman Kennke <kennke@aicas.com>
17905 * gnu/java/awt/java2d/TexturePaintContext.java: New file.
17906 * java/awt/TexturePaint.java
17907 (createContext): Implemented.
17909 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17911 * javax/swing/table/DefaultTableMode.java: Initialize dataVector
17914 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17916 * java/awt/Container.java:
17917 (removeAll): Reimplemented, added note.
17919 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17921 * java/awt/Container.java:
17922 (removeAll): Implemented different removal mechanism, added note.
17924 2006-05-30 Lillian Angel <langel@redhat.com>
17927 * java/awt/Component.java:
17928 (translateEvent): Added handling to translate WindowEvents
17929 * java/awt/Window.java:
17930 Removed unneeded imports.
17932 2006-05-30 Mark Wielaard <mark@klomp.org>
17934 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
17937 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17939 * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
17941 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17943 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17944 (clearRect): Do not reuse the fg field, call updateColor.
17945 (drawRaster): Likewise.
17946 (setColor): Call updateColor.
17947 (updateColor): New method.
17949 2006-05-30 Mark Wielaard <mark@klomp.org>
17951 * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
17952 (PTR_TO_JLONG): Likewise.
17953 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17954 (getPointer): Use new conversion macros.
17955 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
17956 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17957 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
17959 (setNativeObject): Likewise.
17960 (getNativeObject): Likewise.
17961 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17962 (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
17964 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
17965 Correctly cast XID and pointer values.
17966 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17967 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
17968 Mark unused variables.
17969 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
17971 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17972 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17973 Remove unused cairographics2d struct.
17974 (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
17975 (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
17976 Use new conversion macros.
17977 * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
17979 2006-05-30 Mark Wielaard <mark@klomp.org>
17981 * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
17983 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17985 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17986 (copy): Do not reuse the fd field.
17987 (setColor): Do not set the color if the parameter
17989 (translate(double, double): Rewritten to use
17990 AffineTransform.translate.
17992 2006-05-30 Sven de Marothy <sven@physto.se>
17994 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17995 * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
17996 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17998 * include/Makefile.am
17999 * native/jni/gtk-peer/Makefile.am
18001 * gnu/java/awt/peer/gtk/CairoSurface.java
18002 (getSharedGtkImage): New method.
18003 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18004 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18006 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18007 Support a non-xrender context.
18008 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18010 * gnu/java/awt/peer/gtk/GtkImage.java
18011 * include/gnu_java_awt_peer_gtk_GtkImage.h
18012 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18013 (initFromBuffer): New method.
18014 * native/jni/gtk-peer/gtkpeer.h:
18015 Remove declarations of previouslyremoved methods.
18017 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
18019 * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
18021 2006-05-29 Mark Wielaard <mark@klomp.org>
18023 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18024 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
18026 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18027 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
18028 early. Remove unused return statement in void function.
18029 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
18031 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18032 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
18034 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
18035 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
18037 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
18040 2006-05-29 Sven de Marothy <sven@physto.se>
18042 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18043 (setPixels): Remove superfluous return statement.
18045 2006-05-29 Sven de Marothy <sven@physto.se>
18047 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
18048 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18049 * gnu/java/awt/peer/gtk/CairoSurface.java
18050 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18051 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18052 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
18053 * include/gnu_java_awt_peer_gtk_CairoSurface.h
18054 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18055 * native/jni/gtk-peer/cairographics2d.h
18056 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18057 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18060 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18061 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18062 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
18065 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
18066 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18067 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18068 (releasePeerGraphicsResource): Moved to Font peer class.
18070 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
18071 (createGraphics): Use new context classes.
18073 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
18074 Use native BufferedImages where possible.
18076 * gnu/java/awt/peer/gtk/GdkTextLayout.java
18077 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
18078 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18079 Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
18080 renamed to cairoDrawGdkTextLayout.
18082 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
18083 (getGraphics): Use ComponentGraphics context.
18084 (createImage): Use native BufferedImage.
18086 * gnu/java/awt/peer/gtk/GtkImage.java:
18087 * include/gnu_java_awt_peer_gtk_GtkImage.h
18088 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18089 Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
18090 Remove drawing methods.
18092 * gnu/java/awt/print/JavaPrinterGraphics.java:
18093 Use CairoSurface instead of GtkImage.
18095 * include/Makefile.am
18096 * native/jni/gtk-peer/Makefile.am
18097 Update for new files.
18099 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
18100 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
18101 Remove superfluous GtkImage code for GdkPixmaps.
18103 * native/jni/gtk-peer/gtkpeer.h
18104 Remove graphics2d structure.
18106 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18108 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
18109 Do not reuse fg in the constructor.
18111 2006-05-29 Carsten Neumann <cn-develop@gmx.net>
18113 * java/io/ObjectStreamConstants.java: Added API docs.
18115 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18117 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
18118 Take no action if this color is already set.
18120 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18122 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
18124 * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
18125 Optionally paint with translation. (createContent): Added option
18126 to test painting with translation
18128 2006-05-29 Raif S. Naffah <raif@swiftdsl.com.au>
18130 * java/util/logging/FileHandler.java (FileHandler): Set the instance field
18131 pattern to the default value when null.
18132 Pass field pattern, and not parameter with same name to createFileStream.
18134 2006-05-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
18136 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
18137 New class implementing the OS bean.
18138 * gnu/java/lang/management/package.html:
18139 New file to document the gnu.java.lang.management package.
18140 * java/lang/management/ManagementFactory.java:
18141 New class to provide access to the OS bean.
18142 * java/lang/management/OperatingSystemMXBean.java:
18144 * java/lang/management/package.html:
18145 New file to document the java.lang.management package.
18147 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18149 * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
18152 (SECURITY): Likewise.
18153 (CACERTS): Likewise.
18154 (CACERTS_GKR): Likewise.
18155 (gkrCaCertsPathName): New field.
18156 (jksCaCertsPathName): Likewise.
18157 (selfSignedCertificate): Likewise.
18158 (start): Initialize trusted certificate key stores if -trustcacerts is
18160 (ensureReplyIsOurs): Initialize selfSignedCertificate.
18161 (orderChain): Implemented.
18162 (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
18163 certificate key stores if -trustcacerts option is specified.
18164 (findTrustInCACerts): Removed.
18165 (getCertPathParameters): New method.
18166 (validate): New method.
18167 * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
18169 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18171 * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
18172 (PATTERN_KEY): Likewise.
18173 (DEFAULT_PATTERN): Likewise.
18174 (LIMIT_KEY): Likewise.
18175 (DEFAULT_LIMIT): Likewise.
18176 (COUNT_KEY): Likewise.
18177 (DEFAULT_COUNT): Likewise.
18178 (APPEND_KEY): Likewise.
18179 (DEFAULT_APPEND): Likewise.
18180 (FileHandler()): Use pattern value as set in logging.properties.
18181 Use constants defined above.
18182 (FileHandler(1)): Use constants defined above.
18183 (FileHandler(2)): Likewise.
18184 (FileHandler(3)): Likewise.
18185 (FileHandler(4)): Likewise.
18186 (createFileStream): Likewise.
18188 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18190 * java/util/logging/FileHandler.java: Reverted previous patch.
18191 * java/util/logging/LogManager.java: Likewise.
18193 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18195 * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
18196 (DEFAULT_PATTERN): Likewise.
18197 (FileHandler()): Use configured pattern property if any; otherwise use a
18198 default value as per RI documentation.
18199 * java/util/logging/LogManager.java (getStringProperty): New method.
18201 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
18203 * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
18205 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
18207 * configure.ac (FOUND_CACAO): New automake conditional.
18208 Add --enable-tool-wrappers.
18209 * NEWS: Introduce the --enable-tool-wrappers option.
18210 * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
18211 * tools/appletviewer.c: Remove file. Make tool-indepedent and
18213 * tools/toolwrapper.c: New file.
18215 2006-05-27 Dalibor Topic <robilad@kaffe.org>
18217 * java/awt/Graphics2D.java: Use full class name for
18218 PrinterJob in javadoc.
18220 2006-05-27 Andreas Tobler <a.tobler@schweiz.ch>
18222 * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
18223 (callMouseMethod): Likewise.
18225 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
18227 * native/jni/java-net/java_net_VMURLConnection.c:
18228 Fix function declarations to specify unused parameters.
18229 * scripts/check_jni_methods.sh:
18230 Remove copies of the same function using uniq.
18232 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
18234 * vm/reference/java/net/VMURLConnection.java:
18235 Make package-private and final.
18237 2006-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18239 * examples/gnu/classpath/examples/swing/TableDemo.java
18240 (TModed): Added editor for the icons column.
18241 (createContent): Increase the row height by 2 px.
18243 2006-05-26 Tom Tromey <tromey@redhat.com>
18245 PR classpath/27685:
18246 * java/math/BigInteger.java (modPow): Correctly handle negative
18249 2006-05-26 Tom Tromey <tromey@redhat.com>
18251 * configure.ac: Check for magic.h and -lmagic.
18252 * vm/reference/java/net/VMURLConnection.java: New file.
18253 * include/java_net_VMURLConnection.h: New file.
18254 * include/Makefile.am (H_FILES): Add VMURLConnection.h.
18255 ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
18256 * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
18258 (libjavanet_la_LIBADD): Add $(LIBMAGIC).
18259 * native/jni/java-net/java_net_VMURLConnection.c: New file.
18261 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18263 * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
18265 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18267 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
18268 libjawtgnu.la libjawt.la.
18270 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18272 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18275 2006-05-25 Lillian Angel <langel@redhat.com>
18278 * java/awt/Window.java
18279 (Window): Moved code to helper.
18280 (addWindowFocusListener): New function. Handles focus
18281 listener code. Added code to handle focus lost/gained
18284 2006-05-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
18287 Make pkg-config check for GTK+ >= 2.8.
18289 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18291 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18292 (flush): Remove debugging printfs.
18294 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18296 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18297 (schedule_flush): New function.
18298 (end_drawing_operation): Call schedule_flush.
18300 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18302 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
18303 paint performance demo.
18304 * examples/gnu/classpath/examples/swing/FillRect.java: New file.
18306 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18308 * INSTALL: Bump GTK requirement to 2.8 or higher. Do not mention
18309 Cairo version requirement. Do not mention --enable-gtk-cairo
18311 * NEWS: Add entry for GdkGraphics2D.
18312 * configure.ac: Remove --enable-gtk-cairo and explicit checks for
18313 Cairo library and headers.
18314 * .externalToolBuilders/Configure.launch: Remove
18315 --enable-gtk-cairo from configure line.
18316 * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
18318 * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
18319 * gnu/java/awt/peer/gtk/GdkFontPeer.java,
18320 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
18321 useGraphics2D references. Always assume Graphics2D is enabled.
18322 * gnu/java/awt/peer/gtk/GdkGraphics.java,
18323 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
18324 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
18325 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
18326 Unlocked method variants. Remove GTK_CAIRO_ENABLED and
18327 useGraphics2D references. Always assume Graphics2D is enabled.
18328 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
18329 Graphics2D check. Always assume Graphics2D is enabled.
18330 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
18331 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
18332 (realize): Remove method.
18333 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
18334 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18335 (isRealized): Remove method.
18336 (realize): Implement as a native method. Remove useGraphics2D
18337 references. Always assume Graphics2D is enabled.
18338 * gnu/java/awt/peer/gtk/GtkImage.java,
18339 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
18340 GdkGraphics references with GdkGraphics2D references.
18341 * gnu/java/awt/peer/gtk/GtkToolkit.java,
18342 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
18343 useGraphics2D references. Always assume Graphics2D is enabled.
18344 * include/Makefile.am (GTKPEER_H_FILES): Remove
18345 gnu_java_awt_peer_gtk_GdkGraphics.h.
18346 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
18347 * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
18348 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
18349 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
18350 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
18351 * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
18352 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18353 gnu_java_awt_peer_gtk_GdkGraphics.c. Include
18354 gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
18355 (AM_LDFLAGS): Remove CAIRO_LIBS.
18356 (AM_CFLAGS): Remove CAIRO_CFLAGS.
18357 * native/jni/gtk-peer/gtkcairopeer.h: Remove. Move declarations
18359 * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
18361 2006-05-25 Lillian Angel <langel@redhat.com>
18363 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18364 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
18365 Added check to prevent assertion error. If widget->window is null, then
18366 use the parent widget's window to set the cursor on.
18368 2006-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18370 * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
18373 2006-05-24 Lillian Angel <langel@redhat.com>
18375 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
18376 (prependCodeBase): Added check to determine if the documentbase
18377 points to a directory or a file.
18379 2006-05-24 Sven de Marothy <sven@physto.se>
18381 * java/awt/dnd/DragGestureRecognizer.java
18382 (resetRecognizer): Implement.
18383 (fireDragGestureRecognized): Implement.
18385 2006-05-24 David Gilbert <david.gilbert@object-refinery.com>
18387 * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
18388 fixed source code formatting.
18390 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18392 * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
18394 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18396 Reported by Antony Balkisson.
18397 * javax/swing/JTable.java (selectAll): Return without action
18398 if the table is empty.
18400 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18402 * examples/gnu/classpath/examples/swing/TableDemo.java:
18403 (SliderCell): New inner class. (setCustomEditors,
18404 setInformativeHeaders): New fields. (createContent):
18406 * javax/swing/DefaultCellEditor.java
18407 (JComboBoxDelegate.shouldSelectCell): New method.
18408 * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
18409 * javax/swing/plaf/basic/BasicTableUI.java
18410 (MouseInputHandler.mouseClicked): Start editing on a single
18411 click if the cell editor is not a default cell editor.
18413 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18415 * javax/swing/naming/CompositeName.java,
18416 javax/swing/naming/CompoundName.java:
18419 2006-05-23 Archie Cobbs <archie@dellroad.org>
18421 * vm/reference/java/lang/VMClassLoader.java: fix static initializer
18424 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18426 * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
18427 * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
18428 * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
18429 * javax/swing/tree/DefaultTreeModel.java: Likewise,
18430 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18431 * javax/swing/tree/ExpandVetoException.java: Likewise,
18432 * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18433 * javax/swing/tree/RowMapper.java: Likewise,
18434 * javax/swing/tree/TreeNode.java: Likewise,
18435 * javax/swing/tree/TreeSelectionModel.java: Likewise,
18436 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18438 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18440 * javax/swing/tree/DefaultTreeCellRenderer.java
18441 (DefaultTreeCellRenderer): Changed key for
18442 setBackgroundNonSelectionColor(),
18443 plus API docs all over.
18445 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18448 * javax/swing/JTable.java (booleanInvertingEditor): New field.
18449 (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18450 Initialise in constructor. (columnMoved): Cancel editing.
18451 (createDefaultEditors): Rewritten. (editCellAt):
18452 Just invert the value if this is a boolean cell.
18453 (initialiseLocalVars): Do not initialise renderer and editor tables.
18454 (setUI): Create editors and renderers here.
18456 2006-05-23 Robert Schuster <robertschuster@fsfe.org>
18458 * examples/gnu/classpath/examples/awt/Demo.java:
18459 (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18460 instance as subframe.
18461 (ResolutionWindow): New inner class.
18462 (FullscreenWindow): New inner class.
18464 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18467 * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18468 Set horizontal alignment to centered.
18470 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18472 * javax/accessibility/AccessibleContext.java
18473 (getAccessibleComponent): Fixed typo in docs,
18474 * javax/swing/JLabel.java:
18475 (AccessibleJLabel.getAccessibleName): Check for explicit
18477 * javax/swing/JTableHeader.java
18478 (AccessibleJTableHeaderEntry.columnIndex): New field,
18479 (AccessibleJTableHeaderEntry.parent): New field,
18480 (AccessibleJTableHeaderEntry.table): New field,
18481 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()):
18483 (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New
18485 (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18486 (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18487 (AccessibleJTableHeaderEntry.contains): Implemented,
18488 (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18489 (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18490 (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18491 (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18492 (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18493 (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18494 (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18495 (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18496 (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18497 (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18498 (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18499 (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18500 (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18501 (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18502 (AccessibleJTableHeaderEntry.getBackground): Implemented,
18503 (AccessibleJTableHeaderEntry.getBounds): Implemented,
18504 (AccessibleJTableHeaderEntry.getCursor): Implemented,
18505 (AccessibleJTableHeaderEntry.getFont): Implemented,
18506 (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18507 (AccessibleJTableHeaderEntry.getForeground): Implemented,
18508 (AccessibleJTableHeaderEntry.getLocation): Implemented,
18509 (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18510 (AccessibleJTableHeaderEntry.getSize): Implemented,
18511 (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18512 (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18513 (AccessibleJTableHeaderEntry.isShowing): Implemented,
18514 (AccessibleJTableHeaderEntry.isVisible): Implemented,
18515 (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18516 (AccessibleJTableHeaderEntry.removePropertyChangeListener):
18518 (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18519 (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18520 (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18521 (AccessibleJTableHeaderEntry.setBackground): Implemented,
18522 (AccessibleJTableHeaderEntry.setBounds): Implemented,
18523 (AccessibleJTableHeaderEntry.setCursor): Implemented,
18524 (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18525 (AccessibleJTableHeaderEntry.setFont): Implemented,
18526 (AccessibleJTableHeaderEntry.setForeground): Implemented,
18527 (AccessibleJTableHeaderEntry.setLocation): Implemented,
18528 (AccessibleJTableHeaderEntry.setSize): Implemented,
18529 (AccessibleJTableHeaderEntry.setVisible): Implemented,
18530 (AccessibleJTableHeader.getAccessibleRole): Implemented,
18531 (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18532 (AccessibleJTableHeader.getAccessibleChild): Implemented,
18533 (AccessibleJTableHeader.getAccessibleAt): Implemented.
18535 2006-05-22 Tom Tromey <tromey@redhat.com>
18539 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18541 * javax/swing/JLabel.java
18542 (AccessibleJLabel.getAccessibleName): New method (override),
18543 (setLabelFor): Fire 'labelFor' property change event before other
18546 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18548 * javax/swing/JLabel.java
18549 (AccessibleJLabel.getAccessibleRole): New method (override).
18551 2006-05-22 Tom Tromey <tromey@redhat.com>
18553 * resource/gnu/classpath/tools/serialver/messages.properties: New
18555 * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18556 * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18558 (classpath): Likewise.
18561 (addFileURL): New method.
18562 (getClassLoader): Likewise.
18563 (printMessage): Likewise.
18565 2006-05-22 Tom Tromey <tromey@redhat.com>
18567 * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18569 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18571 * javax/swing/JTable.java (doLayout): In the column
18572 resize mode, only repaing the changed part of the table.
18573 (getLeftResizingBoundary): New method.
18575 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18577 * javax/naming/spi/InitialContextFactory.java,
18578 javax/naming/spi/InitialContextFactoryBuilder.java,
18579 javax/naming/spi/NamingManager.java,
18580 javax/naming/spi/ObjectFactory.java,
18581 javax/naming/spi/ResolveResult.java,
18582 javax/naming/spi/Resolver.java,
18583 javax/naming/spi/StateFactory.java: Documented.
18585 2006-05-21 Tom Tromey <tromey@redhat.com>
18587 PR classpath/27688:
18588 * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18590 (initSet): Removed.
18591 (shouldExtract): Removed.
18593 * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18594 * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18597 (allItems): New field.
18598 (run): Initialize it.
18601 2006-05-22 Sven de Marothy <sven@physto.se>
18603 * java/nio/CharBuffer.java
18604 (wrap): Fix bounds checking.
18606 2004-08-26 Tom Tromey <tromey@redhat.com>
18608 * java/io/OutputStream.java
18609 (OutputStream): Implements Closeable, Flushable.
18611 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
18613 * java/io/ObjectOutputStream.java:
18614 (writeObject(Object)): Added enum support.
18615 (writeClassDescriptor(ObjectStreamClass)): Likewise.
18616 * java/io/ObjectStreamClass.java:
18617 (isEnum()): New package-private method.
18618 (setFlags(Class)): Added enum support.
18619 * java/io/ObjectStreamConstants.java:
18622 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
18624 * java/io/ObjectInputStream.java:
18625 (parseContent(byte)): Added enum support.
18626 * java/io/ObjectStreamConstants.java:
18628 (TC_MAX): Changed to new maximum, TC_ENUM.
18630 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18632 * java/beans/beancontext/BeanContextSupport.java:
18633 (instantiateChild(String)): Implemented.
18635 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18637 * java/beans/beancontext/BeanContextSupport.java:
18638 (add(Object)): Add further documentation.
18639 (isEmpty()): Documented.
18640 (propertyChange(PropertyChangeEvent)): Implemented.
18641 (remove(Object)): Documented.
18642 (remove(Object,boolean)): Documented and implemented.
18643 (vetoableChange(PropertyChangeEvent)): Marked as
18644 implemented (only subclasses appear to need this).
18646 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18648 * java/beans/beancontext/BeanContextSupport.java:
18649 (add(Object)): Implement support for the child being
18650 a BeanContextChild.
18651 (avoidingGui()): Implemented.
18652 (dontUseGui()): Likewise.
18653 (needsGui()): Likewise.
18654 (okToUseGui()): Likewise.
18656 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18658 * javax/naming/Context.java,
18659 javax/naming/ContextNotEmptyException.java,
18660 javax/naming/Reference.java: Documented.
18662 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18664 * javax/swing/text/html/MinimalHTMLWriter.java
18665 (writeComponent, writeImage): Declare that the method
18666 may throw the IOException.
18668 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18671 * javax/naming/InitialContext.java (colon_list): Changed type to
18672 hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18673 (merge): Rewritten.
18675 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18677 * javax/naming/InitialContext.java: Documented.
18679 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18681 * javax/naming/NameParser.java,
18682 javax/naming/NamingEnumeration.java,
18683 javax/naming/PartialResultException.java,
18684 javax/naming/SizeLimitExceededException.java,
18685 javax/naming/spi/ObjectFactory.java,
18686 javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18688 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18690 * gnu/java/net/loader/JarURLLoader.java:
18691 Use Map.Entry instead of LinkedHashMap.Entry
18693 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18695 * javax/naming/Context.java: Documented.
18697 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18699 * javax/naming/Referenceable.java: Documented.
18700 * javax/naming/spi/NamingManager.java: Documented.
18702 2006-05-21 Raif S. Naffah <raif@swiftdsl.com.au>
18704 * doc/tools.texinfo: Replaced references to MessageBundle.properties
18705 to messages.properties.
18706 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18707 Renamed to messages.properties.
18708 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18710 * resource/gnu/classpath/tools/jarsigner/messages.properties:
18711 Renamed from MessageBundle.properties.
18712 Added copyright notice.
18713 * resource/gnu/classpath/tools/keytool/messages.properties:
18715 * tools/gnu/classpath/tools/jarsigner/Messages.java
18716 (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18717 (getFormattedString): Fixed a spelling mistake.
18718 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18720 2006-05-20 Sven de Marothy <sven@physto.se>
18722 * gnu/java/awt/font/opentype/NameDecoder.java
18724 (getName): Use getShort instead of getChar(), fix PS name.
18725 (decodeName): New method.
18726 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18727 (getSubFamilyName): Implement.
18728 (getPostScriptName): Use the NameDecoder class instead.
18729 (parsePSName): Removed.
18732 2006-05-20 Sven de Marothy <sven@physto.se>
18734 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18735 (getTrueTypeTable): New native method.
18736 (getPostScriptName): Reimplement.
18737 (parsePSName): New method.
18738 (getNumGlyphs): Implement.
18739 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18740 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18741 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18742 New function. File is now explicitly dependent on FT2.
18744 2006-05-20 Tom Tromey <tromey@redhat.com>
18746 * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18747 * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18749 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18750 (HandleFile): New class.
18751 (input, output, encoding, reversed): New fields.
18752 (createParser): New method.
18755 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18756 (notifyFile): Throws OptionException.
18758 2006-05-20 Tom Tromey <tromey@redhat.com>
18760 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18763 2006-05-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
18765 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18766 (JCL_print_buffer): Fix to work with -Werror on 64-bit
18769 2006-05-20 Sven de Marothy <sven@physto.se>
18771 * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18773 2006-05-20 Sven de Marothy <sven@physto.se>
18775 * gnu/java/awt/print/JavaPrinterJob.java
18776 (print): Use PostScriptGraphics2D.
18777 * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18779 2006-05-20 Sven de Marothy <sven@physto.se>
18781 * javax/swing/text/html/MinimalHTMLWriter.java: New file
18783 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18785 * gnu/java/security/OID.java: Updated copyright year.
18786 (OID): Removed unused Javadoc param tag.
18787 * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18788 * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18790 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18792 * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18794 Added trace/debug statements.
18795 (engineSetCertificateEntry): Ensure alias is not already used for a Key
18796 Entry. Also ensure that any previous entry for this alias is removed
18797 before a new one is added.
18798 (engineGetKey): Do not trace/log passwords.
18799 Trace key's class name only.
18800 (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18801 Certificate Entry. Also ensure that previous entry for this alias is
18802 removed before a new one is added.
18803 (engineLoad): Do not trace/log passwords.
18804 (engineStore): Likewise.
18805 (engineSize): Use size of enumeration instead of collection size.
18807 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18809 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
18810 (toString): New method.
18811 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
18812 Do not trace/log passwords.
18813 Set masked to false before decoding envelope.
18814 Do not set payload to null.
18815 (encrypt): Set masked to true.
18816 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
18817 Do not trace/log passwords.
18818 Set masked to false before decoding envelope.
18819 Do not set payload to null.
18820 Added trace/debug statements.
18821 (authenticate): Do not trace/log passwords.
18822 Set masked to true.
18823 Added trace/debug statements.
18824 (getMac): Added trace/debug statements.
18825 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
18826 (remove(String)): Changed the signature to return a boolean.
18827 (toString): New method.
18828 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
18830 (getCertificate): Likewise.
18831 (putCertificate): Likewise.
18833 Do not trace/log passwords.
18835 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
18836 Do not trace/log passwords.
18837 Added more trace/logging statements.
18838 (putPrivateKey): Do not trace/log passwords.
18839 Trace only key's class name.
18841 (containsPublicKey): Formatting.
18842 (getPublicKey): Likewise.
18843 Trace only key's class name.
18844 (putPublicKey): Trace only key's class name.
18845 (containsCertPath): Formatting.
18846 (getCertPath): Likewise.
18847 (putCertPath): Likewise.
18848 (load): Do not trace/log passwords.
18851 * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
18852 (add): Do not set payload to null.
18853 Added trace/debug statements.
18854 (containsAlias): Added trace/debug statements.
18856 (remove(Entry)): Likewise.
18857 (remove(String)): Likewise.
18858 Changed the signature to return a boolean.
18859 Do not set payload to null unless really removed.
18860 (toString): New method.
18861 (decodeEnvelope): Clear entries before proceeding.
18862 (makeAliasList): Added trace/debug statements.
18863 Ensure only non-null aliases and alias-lists are added.
18864 * gnu/javax/crypto/keyring/Entry.java (log): New field.
18865 (TYPES): New constant.
18866 (toString): New method.
18867 (defaultDecode): Add trace/debug statement.
18869 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18871 * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
18872 Increased visibility.
18873 (setup): Do not trace/log passwords.
18874 (parsed): Was not setting correct (rfc) field; fixed.
18875 (print1Chain): Formatting.
18876 * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
18877 Do not trace/log passwords.
18878 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
18879 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
18880 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
18881 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
18882 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
18883 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
18884 (orderChain): Added FIXME.
18885 * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
18886 Do not trace/log passwords.
18887 Removed commented out code.
18888 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
18889 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
18890 * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
18891 (setKeystoreURLParam): Likewise.
18892 (setKeystorePasswordParam): Do not trace/log passwords.
18893 (saveKeyStore): Likewise.
18895 2006-05-19 Roman Kennke <kennke@aicas.com>
18897 * gnu/java/awt/java2d/AbstractGraphics2D.java
18899 (pixel): Removed obsolete field.
18900 (draw(Shape)): Removed commented out code.
18901 (drawImage): Formatting.
18902 (drawString): Added optimization hook.
18903 (setPaint): Removed rawSetForeground().
18904 (getFontRenderContext): Return context with correct transform.
18905 (drawGlyphVector): Draw complete outline in one go.
18906 (copyArea): Added optimization hook.
18907 (clearRect): Added optimization hook.
18908 (drawImage): Added optimization hook.
18909 (fillShape): (Temporarily) Set antialiasing off by default for
18910 font rendering. Adjust the shape by some bits to improve rendering.
18911 Pass clip bounds to the render methods.
18912 (drawPixel): Removed.
18913 (rawSetPixel): Removed.
18914 (rawSetForeground): Removed.
18915 (rawDrawLine): Default impl calls standard pipeline.
18916 (rawDrawString): New method, calls standard pipeline for rendering.
18917 (rawClearRect): New method, calls standard pipeline for rendering.
18918 (rawFillRect): New method, calls standard pipeline for rendering.
18919 (rawDrawImage): New method, calls standard pipeline for rendering.
18920 (rawCopyArea): New method.
18921 (copyAreaImpl): New method.
18922 (rawFillShape): Renamed to fillShapeImpl(). Small optimization
18924 (fillShapeAntialias): Fixed AA rendering.
18925 (fillScanlineAA): Fixed AA rendering.
18926 (getSegments): Take offset into account.
18928 2006-05-19 Sven de Marothy <sven@physto.se>
18930 * javax/swing/text/AbstractWriter.java
18931 (getText): Fix parameters (start, length) not (start, end).
18933 2006-05-19 Tom Tromey <tromey@redhat.com>
18935 PR classpath/27444:
18936 * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
18937 Changed return type.
18938 * java/net/URLClassLoader.java (urlloaders): Removed.
18939 (addURLImpl): Updated.
18940 * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
18941 (indexSet): Likewise.
18942 (classPath): Changed type.
18943 (JarURLLoader): New constructor.
18944 (initialize): New method.
18945 (getResource): Use index set if it exists.
18946 (getClassPath): Updated.
18947 * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
18948 (prefixes): New field.
18949 (headers): Removed.
18950 (IndexListParser): Fill in prefixes.
18951 (clearAll): Clear prefixes.
18952 (getHeaders): Changed return type.
18954 2006-05-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18956 * javax/swing/plaf/basic/BasicTableHeaderUI.java
18957 (MouseInputHandler.mouseExitted): No nothing there.
18958 (MouseInputHandler.endDragging): Move column to the
18959 first/last position if released outside the horizontal
18962 2006-05-19 Lillian Angel <langel@redhat.com>
18964 * java/awt/font/GlyphVector.java
18965 (getGlyphCharIndex): Implemented.
18966 (getGlyphCharIndices): Implemented.
18967 (getGlyphOutline): Implemented.
18968 (getGlyphVisualBounds): Implemented.
18969 (getGlyphVisualBounds): Implemented.
18970 (getPixelBounds): Implemented.
18971 (getLayoutFlags): Implemented.
18973 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18975 * java/awt/LightweightDispatcher.java: Added field dragButton and
18976 documentation for it.
18977 (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
18978 added subexpression to if-clause in MOUSE_RELEASED case.
18980 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18982 * javax/swing/metal/MetalButtonUI.java:
18983 (update): Removed some subexpression from if-clause and call
18984 updateWithGradient.
18985 (updateWithGradient): New method.
18987 2006-05-19 Roman Kennke <kennke@aicas.com>
18989 * javax/swing/JComponent.java
18990 (findOverlapFreeParent): Implemented algorithm for finding
18991 overlapping in component hierarchy.
18993 2006-05-19 Jeroen Frijters <jeroen@frijters.net>
18995 * java/lang/Thread.java
18996 (contextClassLoaderIsSystemClassLoader): New field.
18997 (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
18998 (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
18999 and set contextClassLoaderIsSystemClassLoader.
19000 (Thread(ThreadGroup,Runnable,String,long)):
19001 Set contextClassLoaderIsSystemClassLoader.
19002 (createAnonymousThreadName): New method.
19003 (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
19004 and fixed security check.
19005 (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
19007 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
19009 * javax/swing/plaf/basic/BasicToolBarUI.java:
19010 (createNonRolloverBorder): Rewritten.
19011 (createRolloverBorder): Rewritten.
19012 (setToNonRolloverBorder): Store old border instance in hashtable.
19013 (setToRolloverBorder): Store old border instance in hashtable, use
19014 AbstractButton instead of JButton in statements.
19015 (setBorderToNormal): Rewritten.
19016 * javax/swing/plaf/metal/MetalLookAndFeel.java:
19017 (initComponentDefaults): Added values for ToolBar.rolloverBorder and
19018 ToolBar.nonrolloverBorder.
19020 2006-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
19022 * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
19023 * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
19025 2006-05-18 Lillian Angel <langel@redhat.com>
19027 * java/awt/font/GlyphMetrics.java
19028 (getLSB): Implemented.
19029 (getRSB): Implemented.
19031 2006-05-18 Lillian Angel <langel@redhat.com>
19033 * java/awt/font/GraphicAttribute.java:
19034 Documented entire class.
19035 (GraphicAttribute): Added check for alignment.
19036 (getBounds): Implemented.
19037 (getJustificationInfo): Implemented.
19039 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
19041 * java/awt/LightweightDispatcher.java:
19042 (handleMouseEvent): Added note, added subexpression to if-statement.
19044 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
19046 * javax/swing/plaf/basic/BasicToolBarUI.java:
19047 (navigateFocusedComp): Marked as stub.
19048 (createRolloverBorder): Create a different Border instance, added note.
19049 * javax/swing/plaf/metal/MetalBorders.java:
19050 (ButtonBorder): Added documentation.
19051 (ButtonBorder.paintDefaultButtonBorder): Added else-block.
19052 (ButtonBorder.paintOceanButtonBorder): Added else-block, added
19053 subexpression into if-else cascade, added note.
19055 2006-05-18 Lillian Angel <langel@redhat.com>
19057 * java/awt/font/ShapeGraphicAttribute.java:
19058 Documented entire class.
19059 (ShapeGraphicAttribute): Initialized bounds field.
19060 (draw): Implemented.
19061 (equals): Implemented.
19062 (getAdvance): Implemented.
19063 (getAscent): Implemented.
19064 (getBounds): Implemented.
19065 (getDescent): Implemented.
19066 (hashCode): Implemented.
19068 2006-05-18 Roman Kennke <kennke@aicas.com>
19070 * javax/swing/CellRendererPane.java
19071 (CellRendererPane): Set CellRendererPane to invisible.
19073 2006-05-18 Roman Kennke <kennke@aicas.com>
19075 * gnu/java/awt/peer/gtk/GdkGraphics.java
19076 (clipRect): Removed old intersection statement.
19078 2006-05-18 Roman Kennke <kennke@aicas.com>
19080 * gnu/java/awt/peer/gtk/GdkGraphics.java
19081 (clipRect): Don't use Rectangle.intersection() to avoid creating
19082 2 unnecessary Rectangle instances and fix a clipping problem.
19083 (computeIntersection): New helper method, adapted from SwingUtilities.
19085 2006-05-18 Roman Kennke <kennke@aicas.com>
19087 * javax/swing/JComponent.java
19088 (isCompletelyDirty): Removed.
19089 (paint): Don't mark children as clean, this is no longer necessary.
19090 (findOverlapFreeParent): Don't stop at Viewports, this breaks
19091 painting when something overlaps the viewport (like a popup/menu).
19092 * javax/swing/RepaintManager.java
19093 (currentRepaintManagers): Made package private to avoid accessor
19095 (dirtyComponents): Made private.
19096 (dirtyComponentsWork): Made private.
19097 (markCompletelyDirty): Fixed bounds of dirtyrect to be
19098 component-local not parent-local. Do not set flag in JComponent.
19099 (markCompletelyClean): Don't set JComponent flag.
19100 (isCompletelyDirty): Rewritten to return true when the complete
19101 component is marked dirty.
19102 (paintDirtyRegions): Improved parent-merging so that the merged-in
19103 components don't get painted too. 'Outsourced' the compilation
19104 of the repaint root components.
19105 (compileRepaintRoots): New helper method.
19107 2006-05-18 Roman Kennke <kennke@aicas.com>
19110 * javax/swing/text/GapContent.java
19111 (GapContentPosition(int)): Use adapted binarySearch method to
19112 allow for having a greater array than number of entries.
19113 (numMarks): New field, holds the end of the marks list.
19114 (GapContent): Initialize positionMarks with size of 10 instead of 0.
19115 (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
19116 (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
19117 (setPositionsInRange): Changed signature to narrow the purpose and
19118 special cases inside. Reimplemented to crunch together equal marks.
19119 (adjustPositionsInRange): Added assertion to make sure we do
19120 not accidentally change the order of the mark. Added some debug
19121 output for a special case of which I don't know if it even exists.
19122 (resetMarksAtZero): Made impl simpler.
19123 (dumpMarks): New debug helper method.
19124 (insertMark): Grow array in bigger chunks to avoid excessive copying.
19125 (binarySearch): New method. An adaption of Arrays.binarySearch()
19126 that allows for an maxIndex parameter.
19128 2006-05-18 Roman Kennke <kennke@aicas.com>
19130 * javax/swing/KeyboardManager.java
19131 (topLevelLookup): Use WeakHashMap to avoid memory leak.
19133 2006-05-18 Jeroen Frijters <jeroen@frijters.net>
19135 * gnu/java/net/loader/JarURLLoader.java
19136 (JarURLLoader): Use a slightly more efficient URL constructor.
19138 2006-05-18 David Gilbert <david.gilbert@object-refinery.com>
19140 * gnu/java/awt/print/JavaPrinterGraphics.java
19141 (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
19142 (drawImage(Image, int, int, ImageObserver)): Likewise,
19143 (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
19144 (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
19145 (drawImage(Image, int, int, int, int, int, int, int, int, Color,
19146 ImageObserver)): Likewise,
19147 (drawImage(Image, int, int, int, int, int, int, int, int,
19148 ImageObserver)): Likewise.
19150 2006-05-17 Tom Tromey <tromey@redhat.com>
19152 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
19155 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
19157 * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
19158 * javax/swing/border/BevelBorder.java: Likewise,
19159 * javax/swing/border/CompoundBorder.java: Likewise,
19160 * javax/swing/border/TitledBorder.java: Likewise.
19162 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
19164 * javax/swing/table/AbstractTableModel.java: Formatting fixes,
19165 * javax/swing/table/DefaultTableModel.java: Likewise,
19166 * javax/swing/table/TableCellEditor.java: Likewise,
19167 * javax/swing/table/TableCellRenderer.java: Likewise.
19169 2006-05-17 Lillian Angel <langel@redhat.com>
19171 * java/awt/font/ImageGraphicAttribute.java:
19172 Documented entire class.
19173 (ImageGraphicAttribute): Changed to call this.
19174 (ImageGraphicAttribute): Implemented.
19175 (draw): Implemented.
19176 (equals): Implemented.
19177 (getAdvance): Implemented.
19178 (getAscent): Implemented.
19179 (getBounds): Implemented.
19180 (getDescent): Implemented.
19181 (hashCode): Implemented.
19182 * javax/swing/text/html/HTMLDocument.java
19183 (create): Removed. Sufficent enough for
19184 super to be called.
19185 (insert): Likewise.
19186 (insertUpdate): Likewise.
19187 (processHTMLFrameHyperlinkEvent): Marked as stub.
19188 (start): Removed FIXME.
19190 (start): Called super.
19191 (end): Called super.
19192 (getElement): removed unneeded code.
19193 (setParagraphAttribute): Removed. Sufficent enough
19194 for super to be called.
19195 (fireChangedUpdate): Likewise.
19196 (fireUndoableEditUpdate): Likewise.
19198 2006-05-17 Lillian Angel <langel@redhat.com>
19200 * java/awt/TexturePaint.java:
19201 Added documentation for class and all functions.
19202 (getTransparency): Implemented.
19204 2006-05-17 Roman Kennke <kennke@aicas.com>
19206 * java/awt/LightweightDispatcher.java
19207 (findTarget): Translate point to child components.
19209 2006-05-17 Roman Kennke <kennke@aicas.com>
19212 * javax/swing/text/GapContent.java
19213 (GapContentPosition): Do no more implement Comparable.
19214 (GapContentPosition.mark): Removed field.
19215 (GapContentPosition.index): New field to hold the index into
19216 the positions array.
19217 (GapContentPosition(int)): Rewritten to use the new indirection
19218 to the positions array.
19219 (GapContentPosition.compareTo): Removed.
19220 (GapContentPosition.getOffset): Synchronized. Fetch mark from
19221 positionMarks array.
19222 (WeakPositionComparator): Removed obsolete class.
19223 (positions): Changed type to WeakHashMap.
19224 (positionMarks): New field, holds the marks of the positions.
19225 (GapContent): Initialize new fields.
19226 (createPosition): Rewritten to use the new indirection
19227 to the positions array.
19228 (getPositionsInRange): Rewritten to use the new indirection
19229 to the positions array.
19230 (setPositionsInRange): Rewritten to use the new indirection
19231 to the positions array.
19232 (adjustPositionsInRange): Rewritten to use the new indirection
19233 to the positions array.
19234 (insertMark): New helper method.
19235 (clearPositionReferences): Removed obsolete methods.
19237 2006-05-17 Lillian Angel <langel@redhat.com>
19239 * java/awt/GraphicsConfiguration.java
19240 (getImageCapabilities): Implemented.
19241 (getBufferCapabilities): Implemented.
19243 2006-05-17 Lillian Angel <langel@redhat.com>
19245 * javax/swing/plaf/basic/BasicSliderUI.java
19246 (focusGained): Implemented.
19247 (focusLost): Implemented.
19248 (paint): Added code to paint the focus.
19249 * javax/swing/plaf/metal/MetalSliderUI.java
19250 (paintThumb): Added code to set the thumbColor.
19251 (paintFocus): Implemented properly.
19253 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19256 * javax/naming/spi/NamingManager.java (getURLContext):
19257 Always search for the factory class in all possible places
19258 and use VMStackWalker.
19259 (forName): New method.
19261 2006-05-17 Roman Kennke <kennke@aicas.com>
19263 * java/awt/LightweightDispatcher.java
19264 (handleMouseEvent): Fixed search algorithm for finding the
19265 mouse event target.
19266 (findTarget): Fixed search algorithm for finding the
19267 mouse event target.
19269 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19271 * javax/naming/spi/NamingManager.java: Documented.
19273 2006-05-17 Mark Wielaard <mark@klomp.org>
19275 * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
19276 * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
19277 * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
19278 * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
19280 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19283 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
19285 (BorderListener.mouseClicked): Detect double-clicks in title pane,
19287 BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
19289 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19292 * java/awt/LightweightDispatcher.java:
19293 (handleMouseEvent): Moved assignment into switch-block, added notes.
19295 2006-05-16 Lillian Angel <langel@redhat.com>
19297 * javax/swing/text/StyleContext.java:
19298 Changed staticAttributeKeys to be a Hashtable.
19299 (getStaticAttribute): Implemented.
19300 (getStaticAttributeKey): Implemented.
19301 (readAttributeSet): Implemented.
19302 (writeAttributeSet): Added FIXME. Not sure how
19304 (readAttributes): Implemented.
19305 (writeAttributes): Implemented.
19306 (registerStaticAttibuteKey): Fixed to add key to
19309 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19311 * javax/swing/DefaultButtonModel.java
19312 (setGroup): Removed event notification.
19314 2006-05-16 Lillian Angel <langel@redhat.com>
19316 * javax/swing/plaf/basic/BasicComboBoxUI.java
19317 (installKeyboardActions): Implemented.
19318 (uninstallKeyboardActions): Implemented.
19319 * javax/swing/plaf/basic/BasicComboPopup.java
19320 (uninstallKeyboardActions): Removed FIXME. Nothing
19322 (installKeyboardActions): Likewise.
19323 * javax/swing/plaf/basic/BasicTextUI.java
19324 (uninstallKeyboardActions): Implemented.
19325 * javax/swing/plaf/basic/BasicTreeUI.java:
19326 Added field for hashColor.
19327 Marked stub methods.
19328 (getHashColor): Implemented to use field.
19329 (setHashColor): Likewise.
19330 (getRowX): Implemented.
19331 (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.
19333 2006-05-16 Roman Kennke <kennke@aicas.com>
19336 * javax/swing/JTable.java
19337 (rowHeights): New field.
19338 (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
19339 in order to initialize rowHeights correctly.
19340 (tableChanged): Nullify rowHeights when model changes. Only
19341 create default columns from model when corresponding property
19342 is set. Sync table model with rowHeights as appropriate.
19343 (valueChanged): Call repaint with the correct rectangle.
19344 (rowAtPoint): Handle rowHeights.
19345 (getCellRect): Mostly rewritten. Check for boundaries
19346 of model and return (0,0,0,0) or (0,0,width,height) when outside.
19347 Handle component orientation. Round correctly.
19348 (getRowHeight(int)): Implemented for variable row height.
19349 (setRowHeight(int,int)): Implemented for variable row height.
19350 (setRowHeight(int)): Nullify rowHeights.
19351 (setModel): Notify tableChanged().
19352 * javax/swing/plaf/basic/BasicTableUI.java
19353 (installDefaults): Create rendererPane in installUI.
19354 (installUI): Create and install rendererPane.
19355 (uninstallUI): Uninstall rendererPane and nullify rendererPane
19357 (paint): Correctly handle rowMargin.
19359 2006-05-16 Tom Tromey <tromey@redhat.com>
19361 PR classpath/27563:
19362 * java/text/NumberFormat.java (getIntegerInstance): Use
19363 "integerFormat", not "numberFormat".
19365 2006-05-16 Lillian Angel <langel@redhat.com>
19367 * javax/swing/JPopupMenu.java
19368 (addMenuKeyListener): Implemented.
19369 (removeMenuKeyListener): Implemented.
19370 (getMenuKeyListeners): Implemented.
19371 * javax/swing/ProgressMonitor.java:
19372 Added new protected field.
19373 (getAccessibleContext): Implemented.
19375 2006-05-16 Lillian Angel <langel@redhat.com>
19377 * javax/swing/JFileChooser.java:
19378 Added new private field.
19379 (setDragEnabled): Implemented.
19380 (getDragEnabled): Implemented.
19382 2006-05-16 Lillian Angel <langel@redhat.com>
19384 * java/awt/Window.java
19385 (applyResourceBundle): Implemented.
19387 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19389 * javax/swing/DefaultButtonModel.java
19390 (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
19393 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19395 * javax/swing/JList.java (getSelectedValues):
19396 Ask the value for the indexed array element.
19398 2006-05-16 Roman Kennke <kennke@aicas.com>
19400 * javax/swing/JTable.java
19401 (valueChanged): Also repaint when table has only 1 row. Fixed
19402 repaint rectangle to span the entire changed rows.
19404 2006-05-16 Roman Kennke <kennke@aicas.com>
19407 * javax/swing/JOptionPane.java
19408 (startModal): Rewritten. The events are now dispatched, even
19409 when the event dispatch thread gets blocked by the call
19410 to this method. Also, mouse events get intercepted outside the
19413 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19415 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19416 (BorderListener.mouseDragged):Do not set cursor
19417 if the frame is being dragged.
19419 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19421 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19422 (BorderListener): Rewritten. (InternalFrameBorder):
19423 Made package private.
19424 (InternalFrameBorder.offset):
19425 Renamed to cornerSize, made package private.
19426 (bSize): Made package private.
19428 2006-05-16 Roman Kennke <kennke@aicas.com>
19430 * javax/swing/JMenu.java
19431 (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19432 (AccessibleJMenu.getAccessibleChild): Implemented.
19433 (AccessibleJMenu.getAccessibleSelection): Implemented.
19434 (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19435 (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19436 (AccessibleJMenu.getAccessibleRole): Documented.
19437 (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19438 (AccessibleJMenu.addAccessibleSelection): Implemented.
19439 (AccessibleJMenu.removeAccessibleSelection): Implemented.
19440 (AccessibleJMenu.clearAccessibleSelection): Implemented.
19441 (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19442 (createPath): New helper method.
19444 2006-05-15 Tom Tromey <tromey@redhat.com>
19446 * java/text/MessageFormat.java (format): Now varargs.
19448 2006-05-15 Tom Tromey <tromey@redhat.com>
19450 * java/lang/Thread.java (State): Fixed typo.
19452 2006-05-15 Tom Tromey <tromey@redhat.com>
19454 * java/net/URLClassLoader.java: Moved inner classes to
19455 gnu.java.net.loader.
19456 (factoryCache): Changed type.
19457 (URL_LOADER_PREFIX): New constant.
19458 (URLClassLoader): Updated for new factoryCache.
19459 (addURLImpl): Use reflection to search for a loader.
19460 (findClass): Use getClass method on URLLoader.
19461 (getURLStreamHandler): Removed.
19462 * gnu/java/net/loader/URLLoader.java: New file, extracted
19463 from URLClassLoader.
19464 * gnu/java/net/loader/Resource.java: Likewise.
19465 * gnu/java/net/loader/FileResource.java: Likewise.
19466 * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19467 * gnu/java/net/loader/JarURLLoader.java: Likewise.
19468 * gnu/java/net/loader/JarURLResource.java: Likewise.
19469 * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19470 * gnu/java/net/loader/RemoteResource.java: Likewise.
19471 * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19473 2006-05-15 Sven de Marothy <sven@physto.se>
19475 * native/target/generic/target_generic_network.h:
19476 Add a pair of parenthesis.
19478 2006-05-15 Mark Wielaard <mark@klomp.org>
19480 * java/awt/Graphics2D.java: Remove PrinterJob import.
19482 2006-05-15 Mark Wielaard <mark@klomp.org>
19484 * doc/www.gnu.org/announce/20060515.wml: New file.
19485 * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19486 * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19488 2006-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
19490 * NEWS: Announce inclusion of gcjwebplugin.
19491 Announce inclusion of appletviewer.
19492 * INSTALL: Note gcjwebplugin dependencies.
19494 2006-05-15 Mark Wielaard <mark@klomp.org>
19496 * configure.ac (VERSION): Set to 0.91-generics.
19498 2006-05-15 Mark Wielaard <mark@klomp.org>
19500 * NEWS: Add release date and VMClassLoader.getBootPackages()
19503 2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
19505 * README: Added CACAO to list of VMs.
19507 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19509 * javax/swing/RepaintManager.java (paintDirtyRegions):
19510 Break loop as soon as the component repaint is merged
19511 with some parent. (ComponentComparator): Removed.
19512 (comparator): Removed.
19514 2006-05-15 Roman Kennke <kennke@aicas.com>
19516 * javax/swing/border/TitledBorder.java
19517 (paintBorderWithTitle): Fixed indentation.
19519 2006-05-15 Roman Kennke <kennke@aicas.com>
19521 * javax/swing/border/TitledBorder.java
19522 (layoutBorderWithTitle): Fetch border using getBorder() instead
19523 of using the border field directly. Allows for the use of
19524 an UI supplied border in the case when a null border was set.
19525 Fixed component orientation.
19526 (paintBorderWithTitle): Fetch border using getBorder() instead
19527 of using the border field directly. Allows for the use of
19528 an UI supplied border in the case when a null border was set.
19530 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19532 * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19533 (contains): New method.
19535 2006-05-15 Tom Tromey <tromey@redhat.com>
19537 * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19539 * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19542 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19544 * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19546 * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19547 region. (paintDirtyRegions): Rewritten.
19549 2006-05-15 Tom Tromey <tromey@redhat.com>
19551 * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19553 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19555 * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19556 (run): Use MessageFormat.
19557 * resource/gnu/classpath/tools/jar/messages.properties: New file.
19558 * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19559 (writeFile): Use MessageFormat.
19561 2006-05-15 Jeroen Frijters <jeroen@frijters.net>
19563 * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19564 instead of directly calling the class loader.
19566 2006-05-15 Tom Tromey <tromey@redhat.com>
19568 * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19569 Removed old comment.
19570 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19571 Externalized strings.
19572 (getVersionString): Use MessageFormat.
19573 * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19574 * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19575 * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19576 (getArgument): Use a MessageFormat.
19577 (handleLongOption): Likewise.
19580 2006-05-15 Robert Schuster <robertschuster@fsfe.org>
19583 * javax/swing/text/FieldView.java:
19584 (paint): Calculate intersection between clip and allocation area and
19585 set that as new clip.
19587 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19589 * javax/swing/text/JTextComponent.java: Marked stub methods.
19591 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19593 * javax/swing/JTable.java: Marked stub methods.
19595 2006-05-15 Raif S. Naffah <raif@swiftdsl.com.au>
19597 * tools/gnu/classpath/tools/jarsigner/Main.java:
19598 Increased visibility of fields used by parser anonymous classes.
19599 (KEYTOOL_TOOL): New constant.
19600 (cmdLineParser): Changed type to ToolParser.
19601 (fileAndAlias): new field.
19602 (main): Don't catch OptionException.
19603 (processArgs): Removed validation checks; now handled by ToolParser.
19604 (getParser): Removed.
19605 (ToolParserCallback): New inner class.
19606 (ToolParser): Likewise.
19608 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19610 * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19613 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19615 * javax/swing/DefaultDesktopManager.java (endDraggingFrame,
19616 endResizingFrame): Do not repaint, unless in the outline mode.
19618 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19620 * javax/swing/JTabbedPane.java
19621 (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19622 (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19623 (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19624 (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19625 (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19626 (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19627 (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19628 (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19629 (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19630 (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19631 (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19632 (Page.getAccessibleName): Implemented.
19634 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19636 * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19637 Do not repaint nor revalidate here.
19639 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19641 * javax/swing/RepaintManager.java (addDirtyRegion):
19642 If there is a lightweight parent, recursively add the corresponding
19643 region of the parent instead.
19645 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19647 * java/awt/Graphics2D.java: Added some API doc comments.
19649 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19651 * javax/swing/JTabbedPane.java
19652 (paramString): Reimplemented,
19653 (getAccessibleContext): Added API docs.
19655 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19657 * javax/swing/JFileChooser.java
19658 (paramString): Reimplemented,
19659 (getAccessibleContext): Updated API docs,
19660 (AccessibleJFileChooser): Added API docs.
19662 2006-05-14 Tom Tromey <tromey@redhat.com>
19664 * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19666 * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19668 * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19670 * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed. Moved
19671 validation to JarParser.
19672 * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19673 (run): Moved validation to JarParser. Don't throw OptionException.
19674 (initializeParser): Create a JarParser.
19675 (main): Don't catch OptionException.
19676 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19678 (validate): New method.
19679 (parse): Call it. Print '-help' in error message when long-only.
19681 2006-05-14 Tom Tromey <tromey@redhat.com>
19683 * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19686 2006-05-15 Sven de Marothy <sven@physto.se>
19688 * gnu/java/awt/print/JavaPrinterGraphics.java:
19689 Sweeping changes I can't be bothered to document in detail.
19690 * gnu/java/awt/print/JavaPrinterJob.java
19691 (getPageAttributes): New method.
19692 (setPageable,cancel,isCancelled): Implement.
19694 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19696 * javax/swing/JCheckBoxMenuItem.java
19697 (requestFocus): Fixed typo in API docs,
19698 (paramString): Just call super.paramString(),
19699 (getAccessibleContext): Added API docs,
19700 (AccessibleJCheckBoxMenuItem): Likewise.
19702 2006-05-14 Tom Tromey <tromey@redhat.com>
19704 * tools/gnu/classpath/tools/jar/Indexer.java
19705 (writeCommandLineEntries): Simplify insertion.
19706 * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19709 2006-05-14 Tom Tromey <tromey@redhat.com>
19711 PR classpath/27514:
19712 * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed. Now
19714 (JAR_INDEX_VERSION_KEY): Likewise.
19715 (IndexListParser): Updated.
19716 (getVersionInfo): Likewise.
19717 * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19718 * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19720 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19722 (ModeOption): New constructor.
19723 (parsed): Updated. Use setArchiveFile.
19724 (setArchiveFile): New method.
19725 (run): Handle no-argument case.
19726 (main): Emit --help message on option error.
19727 * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19728 (createManifest): New method.
19729 (run): Updated. Throws OptionException. Correctly copy zip entry.
19730 * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19732 (writeManifest): Removed.
19733 (outputStream): Now a JarOutputStream.
19734 (writeCommandLineEntries): Changed parameters. Updated callers.
19735 (run): Throws OptionException.
19736 * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19737 * java/util/jar/Manifest.java (read): Typo fix.
19739 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19741 * javax/swing/JMenuItem.java
19742 (paramString): Fixed class name in API doc comment.
19744 2006-05-14 Tom Tromey <tromey@redhat.com>
19746 * native/plugin/.cvsignore: Updated.
19748 2006-05-14 Mark Wielaard <mark@klomp.org>
19750 * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19753 2006-05-14 Chris Burdess <dog@gnu.org>
19755 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19756 nodes to be preserved during cloneNode.
19758 2006-05-14 Mark Wielaard <mark@klomp.org>
19761 * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19762 inherited timeout on socket.
19764 2006-05-14 Lillian Angel <langel@redhat.com>
19766 * java/util/SimpleTimeZone.java: Reverted patch.
19767 (SimpleTimeZone): Throw exception if startMonth ==
19769 (SimpleTimeZone): Likewise.
19770 (checkRule): Rewritten to properly check all values (more
19772 This code is now more stable, at least less buggy than before.
19773 Fixed API documentation.
19774 (setStartRule): Moved checkRule call to end.
19775 (setStartRule): Likewise.
19776 (setEndRule): Likewise.
19777 (setEndRule): Likewise.
19779 2006-05-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19781 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19784 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19787 * javax/swing/text/AbstractDocument.java:
19788 (insertString): Flipped if-expression and its blocks.
19790 (replace): Flipped if-expression and its blocks, added note, invoke
19791 insertString and remove instead of insertStringImpl and removeImpl.
19793 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19795 * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19797 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19799 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19801 * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
19802 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java:
19803 Increased visibility of fields used by parser anonymous classes.
19804 (processArgs): Removed.
19805 (getParser): New method.
19806 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
19807 (setup): Mark (Eclipse) strings that need not be externalised.
19809 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
19810 * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
19811 command line option parsing.
19812 * tools/gnu/classpath/tools/keytool/ListCmd.java:
19813 Increased visibility of fields used by parser anonymous classes.
19814 (processArgs): Removed.
19815 (setup): set 'all' local field.
19816 (getParser): New method.
19817 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java:
19818 Increased visibility of fields used by parser anonymous classes.
19819 (processArgs): Removed.
19820 (getParser): New method.
19821 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
19822 (setNewKeyPassword): Fixed comments.
19823 * tools/gnu/classpath/tools/keytool/ImportCmd.java:
19824 Increased visibility of fields used by parser anonymous classes.
19825 (processArgs): Removed.
19826 (getParser): New method.
19827 (findTrustInCACerts): Mark (Eclipse) strings that need not be
19829 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java:
19830 Increased visibility of fields used by parser anonymous classes.
19831 (processArgs): Removed.
19832 (setup): Mark (Eclipse) strings that need not be externalised.
19833 (getParser): New method.
19834 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
19835 * tools/gnu/classpath/tools/keytool/DeleteCmd.java:
19836 Increased visibility of fields used by parser anonymous classes.
19837 (processArgs): Removed.
19838 (getParser): New method.
19839 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
19840 (ATTRIBUTES_OPT): New constant.
19841 * tools/gnu/classpath/tools/keytool/ExportCmd.java:
19842 Increased visibility of fields used by parser anonymous classes.
19843 (processArgs): Removed.
19844 (setup): Mark (Eclipse) strings that need not be externalised.
19846 Reduced logging level.
19847 (getParser): New method.
19848 * tools/gnu/classpath/tools/keytool/Command.java
19849 (processArgs): Made it concrete.
19850 (getParser): New abstract method.
19851 * tools/Makefile.am (KEYTOOL_HELPS): Removed.
19853 2006-05-13 Casey Marshall <csm@gnu.org>
19855 Patch by Michael Barker <mike@middlesoft.co.uk>.
19856 * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
19857 * gnu/java/nio/SelectorImpl.java (register): Added condition for
19858 gnu.java.nio.SocketChannelSelectionKeyImpl.
19859 * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
19860 * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
19862 * include/gnu_java_nio_VMChannel.h: new file.
19863 * java/nio/FileChannel.java (read,write): changed to call abstract
19865 * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
19866 * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
19867 `gnu_java_nio_VMChannel.c.'
19868 * vm/reference/gnu/java/nio/VMChannel.java: new file.
19870 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19872 * javax/swing/text/AbstractDocument.java:
19873 (insertString): Flipped if-expression and its blocks.
19875 (replace): Flipped if-expression and its blocks, added note, invoke
19876 insertString and remove instead of insertStringImpl and removeImpl.
19878 2006-05-13 Tom Tromey <tromey@redhat.com>
19880 * java/nio/ByteBufferImpl.java (compact): Always set position.
19882 2006-05-13 Sven de Marothy <sven@physto.se>
19884 * gnu/java/awt/print/JavaPrinterGraphics.java
19885 (spoolPostScript): Use a faster writer.
19887 2006-05-13 Sven de Marothy <sven@physto.se>
19889 * gnu/java/awt/print/JavaPrinterGraphics.java
19890 (colorTripleHex): Reimplement better.
19892 2006-05-13 Sven de Marothy <sven@physto.se>
19894 * javax/swing/text/html/HTMLDocument.java
19895 (CharacterAction.start): Translate tag to StyleAttribute.
19896 (pushCharacterStyle): Push copy of attributes onto stack.
19897 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
19900 2006-05-13 Sven de Marothy <sven@physto.se>
19902 * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
19903 * java/awt/print/PrinterJob.java
19904 (getPrinterJob): Return a JavaPrinterJob
19905 (setPrintService,getPrintService): Implement.
19906 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
19907 (getPixels): Gtk_threads_enter required.
19908 * gnu/java/awt/print/JavaPrinterGraphics.java
19909 * gnu/java/awt/print/JavaPrinterJob.java
19910 * gnu/java/awt/print/SpooledDocumet.java:
19913 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19915 * javax/swing/text/TextAction.java:
19916 (HorizontalMovementAction): New inner class.
19917 (VerticalMovementAction): New inner class.
19918 * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
19919 new inner classes to array 'defaultActions'.
19920 (SelectionBeginWordAction): New inner class.
19921 (SelectionEndWordAction): New inner class.
19922 (BeginWordAction): New inner class.
19923 (EndWordAction): New inner class.
19924 (PreviousWordAction.actionPerformed): Rewritten.
19925 (SelectLineAction): New inner class.
19926 (SelectWordAction): New inner class.
19927 (SelectionDownAction): Rewritten.
19928 (SelectionUpAction): Rewritten.
19929 (DownAction): Rewritten.
19930 (UpAction): Rewritten.
19931 (SelectionForwardAction): Rewritten.
19932 (SelectionBackwardAction): Rewritten.
19933 (ForwardAction): Rewritten.
19934 (BackwardAction): Rewritten.
19935 (BeginAction): New inner class.
19936 (EndAction): New inner class.
19937 (DefaultKeyTypedAction.actionPerformed): Use int variant of
19938 Character.isISOControl.
19940 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19942 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
19943 (WordFilter.getNextVisualPositionFrom): Added statement to check
19944 for variable pt not being null.
19946 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19948 * javax/swing/text/Utilities.java:
19949 (getNextWord): Fixed grammar in exception message.
19950 (getPreviousWord): Changed expression in first if-clause, added sub-
19951 expression to if-clause in while-loop.
19952 (getWordStart): Changed expression in if-clause.
19953 getNextVisualPositionFrom): Added package-private helper method.
19955 2006-05-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19957 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19960 2006-05-13 Raif S. Naffah <raif@swiftdsl.com.au>
19962 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
19964 * tools/Makefile.am (JARSIGNER_HELPS): Removed.
19965 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
19966 * tools/gnu/classpath/tools/jarsigner/Main.java:
19967 Increased visibility of fields used by parser anonymous classes.
19968 (HELP_PATH): Removed.
19969 (cmdLineParser): New field.
19970 (main): Handle JVM exit status.
19971 Handle command line parsing exceptions.
19972 (processArgs): Use getopt command line parser.
19973 (getParser): New method.
19974 (setupCommonParams): Removed checks now handled by processArgs().
19975 (setupSigningParams): Likewise.
19976 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
19977 Reuse an existing message-bundle constant.
19979 2006-05-12 Tom Tromey <tromey@redhat.com>
19981 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
19982 Explicitly specify class for synchronization.
19984 2006-05-12 Tom Tromey <tromey@redhat.com>
19986 * java/util/logging/Logger.java (resetLogger): Fixed typo.
19988 2006-05-12 Sven de Marothy <sven@physto.se>
19990 * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
19991 * gnu/java/net/protocol/http/HTTPURLConnection.java
19992 (setConnectTimeout): New method.
19993 (getConnection): Add timeout parameter.
19994 * java/net/URLConnection.java
19995 (getConnectTimeout, setConnectTimeout): Implement.
19996 * native/target/generic/target_generic_network.h:
19997 Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
19999 2006-05-12 Sven de Marothy <sven@physto.se>
20001 * gnu/javax/print/CupsServer.java
20002 (CupsServer): Make the Cups host configurable.
20003 * java/lang/System.java: Document the system property.
20005 2006-05-12 Roman Kennke <kennke@aicas.com>
20007 * javax/swing/border/TitledBorder.java
20008 (paintBorder): Rewritten for simplicity and correctness.
20009 (layoutBorderWithTitle): New helper method.
20010 (paintBorderWithTitle): New helper method.
20011 (getBorderInsets): Rewritten.
20012 (getMinimumSize): Rewritten.
20013 (getRealJustification): Removed.
20014 (getMeasurements): Removed.
20015 (Measurements): Removed.
20017 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
20019 * javax/swing/plaf/basic/BasicPanelUI.java
20020 (sharedUI): New field,
20021 (createUI): Return a shared instance rather than a new instance,
20022 (installUI): Reformatted and added API docs,
20023 (installDefaults): Install border if one is defined,
20024 (uninstallDefaults): Uninstall border.
20026 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
20028 * javax/swing/JProgressBar.java: Updated API docs all over.
20030 2006-05-11 Lillian Angel <langel@redhat.com>
20032 * java/awt/ContainerOrderFocusTraversalPolicy.java
20033 (getComponentAfter): Should not throw exception if
20034 the ancestor is null. Added a check for this.
20035 Also, changed to use new helper function, we should
20036 iterate through all the components at least once.
20037 (getNextAvailableComponent): New helper function.
20038 (getPrevAvailableComponent): New helper function.
20039 (getComponentBefore): Should not throw exception if
20040 the ancestor is null. Added a check for this.
20041 Also, changed to use new helper function, we should
20042 iterate through all the components at least once.
20043 (getFirstComponent): Changed check to manually check
20044 fields. Calling accept() casts the object to a Component,
20045 so different values may be returned.
20046 (getLastComponent): Likewise.
20048 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20050 * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
20051 * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
20052 * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
20053 * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
20054 * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
20055 * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
20056 * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
20057 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
20058 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
20059 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
20060 * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
20061 * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
20062 * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
20063 * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
20064 * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
20065 * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
20066 * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
20067 * javax/swing/plaf/metal/MetalUtils.java: Likewise.
20069 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20071 * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
20072 package-private, added field 'active'.
20073 (PropertyChangeHandler.propertyChange): Added variable 'name', added
20074 cases to update field 'active'.
20075 (mouseDragged): Added documentation, added if-clause to update
20076 selection or caret position.
20077 (mouseClicked): Added early return when text component is disabled.
20078 (focusGained): Moved statements into an if-clause.
20079 (focusLost): Added subexpression to if-clause.
20080 (install): Preset value of 'active'.
20081 (paint): Added subexpression to if-clause.
20082 (isVisible): Extended return expression.
20083 * javax/swing/text/JTextComponent.java:
20084 (copy): Copy only if component is enabled.
20085 (cut): Cut only if component is enabled and editable.
20088 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20090 * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
20091 * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
20092 * javax/swing/plaf/multi/MultiListUI.java: Likewise,
20093 * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
20094 * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
20095 * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
20096 * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.
20098 2006-05-11 Roman Kennke <kennke@aicas.com>
20100 * gnu/java/awt/font/GNUGlyphVector.java
20101 (GNUGlyphVector): Don't apply the font renderer context's
20104 2006-05-11 Mark Wielaard <mark@klomp.org>
20106 * java/util/logging/Logger.java (global): Initialize inside static
20109 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20111 * javax/swing/JFrame.java
20112 (EXIT_ON_CLOSE): Added note to API docs,
20113 (close_action): Renamed closeAction,
20114 (JFrame()): Change title to "",
20115 (JFrame(String)): Added API docs,
20116 (getAccessibleContext): Likewise,
20117 (getDefaultCloseOperation): Updated for renamed field, added API docs,
20118 (processWindowEvent): Updated for renamed field,
20119 (setDefaultCloseOperation): Likewise, and updated API docs.
20121 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20123 * javax/swing/JFrame.java
20124 (paramString): Reimplemented,
20125 * javax/swing/SwingUtilities.java
20126 (convertWindowConstantToString): New method.
20128 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20130 * javax/swing/WindowConstants.java: Updated API docs.
20132 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20134 * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
20135 (createUI): Removed 'final' qualifier for parameter,
20136 (paint): Reformatted.
20138 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20140 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
20141 (createUI): Removed 'final' qualifier on method argument.
20143 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20145 * javax/swing/plaf/basic/BasicCheckBoxUI.java
20146 (getDefaultIcon): Removed this redundant method.
20148 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20150 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20151 (paint): Pass component size to paintFocus().
20153 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20155 * java/awt/Component.java:
20156 (dispatchEventImpl): Added comment.
20158 2006-05-11 Mark Wielaard <mark@klomp.org>
20160 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
20161 Option constructor null argument to String.
20163 2006-05-11 Mark Wielaard <mark@klomp.org>
20165 * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
20166 Fully qualify PathIterator constants
20168 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20170 * java/awt/Component.java:
20171 (dispatchEventImpl): Added subexpression to if-clause.
20173 2006-05-11 Mark Wielaard <mark@klomp.org>
20175 * java/util/Collections.java (UnmodifiableMapEntry): Qualify
20178 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20180 * javax/swing/TransferHandler.java: Marked stub methods.
20182 2006-05-10 Roman Kennke <kennke@aicas.com>
20185 * javax/swing/plaf/basic/BasicInternalFrameUI.java
20186 (installDefaults): Set background of content pane to null, if
20187 no custom color has been installed by the application yet.
20189 2006-05-10 Roman Kennke <kennke@aicas.com>
20192 * javax/swing/JRootPane.java
20193 (createContentPane): Don't set background to null.
20195 2006-05-10 Sven de Marothy <sven@physto.se>
20197 * java/awt/print/PrinterJob.java:
20198 (lookupPrintServices): Un-comment-out.
20200 2006-05-11 Raif S. Naffah <raif@swiftdsl.com.au>
20202 * tools/gnu/classpath/tools/getopt/OptionGroup.java
20203 (FILLER): New constant.
20204 (formatText(PrintStream,String,int)): New method.
20205 (formatText(PrintStream,String,int,Locale)): Likewise.
20206 (printHelp): Use formatText method.
20207 * tools/gnu/classpath/tools/getopt/Parser.java
20208 (MAX_LINE_LENGTH): New constant.
20209 (formatText(PrintStream,String)): New method.
20210 (formatText(PrintStream,String,Locale)): Likewise.
20211 (printHelp): New method.
20212 (printHelp(PrintStream)): Increased visibility to protected.
20213 Use formatText method.
20215 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20217 * javax/swing/plaf/metal/MetalRadioButtonUI.java
20218 (installDefaults): Use getPropertyPrefix() to allow subclasses to
20219 modify the lookup key.
20221 2006-05-10 Lillian Angel <langel@redhat.com>
20223 * java/util/SimpleTimeZone.java: Reverted patch.
20224 (SimpleTimeZone): Throw exception if startMonth ==
20226 (SimpleTimeZone): Likewise.
20227 (checkRule): Rewritten to properly check all values (more
20229 This code is now more stable, at least less buggy than before.
20230 Fixed API documentation.
20231 (setStartRule): Moved checkRule call to end.
20232 (setStartRule): Likewise.
20233 (setEndRule): Likewise.
20234 (setEndRule): Likewise.
20236 2006-05-10 Roman Kennke <kennke@aicas.com>
20238 * gnu/java/awt/peer/swing/SwingComponent.java:
20239 Some API comment fixlets.
20240 * gnu/java/awt/peer/swing/SwingComponentPeer.java:
20241 (createImage): Create a BufferedImage, not a Toolkit image.
20242 (paint): Removed bogus API comment.
20243 (prepareImage): Added checks to avoid NPE.
20244 * gnu/java/awt/peer/swing/SwingContainerPeer.java:
20245 (getInsets): Added check to avoid NPE.
20246 (handleMouseEvent): Added check to avoid NPE.
20247 * gnu/java/awt/peer/swing/SwingFramePeer.java:
20248 Some API comment fixlets.
20249 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
20250 Some API comment fixlets.
20251 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
20252 Changed start_pos name to startPos.
20253 * gnu/java/awt/peer/swing/SwingWindowPeer.java:
20254 Some API comment fixlets.
20256 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20258 * java/awt/BasicStroke.java
20259 (equals): Fixed typo in HTML tag for API doc comment.
20261 2006-05-10 Gary Benson <gbenson@redhat.com>
20263 * java/lang/ThreadGroup.java (parent): Make package-private.
20264 * java/lang/SecurityManager.java (checkAccess(Thread)):
20265 Reference ThreadGroup.parent directly to avoid extra checks.
20266 * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
20269 2006-05-10 Roman Kennke <kennke@aicas.com>
20271 Reported by Ingo Proetel (proetel@aicas.com)
20272 * java/awt/EventDispatchThread.java
20273 (DEFAULT_PRIORITY): New constant field.
20274 (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
20275 system property for adjusting the priority of the event
20278 2006-05-10 Roman Kennke <kennke@aicas.com>
20280 Reported by Ingo Proetel (proetel@aicas.com)
20281 * java/awt/image/ColorModel.java
20282 (S_RGB_MODEL): New constant field.
20283 (getRGBDefault): Return constant SRGBColorModel.
20284 (SRGBColorModel): Specialized color model for sRGB.
20286 2006-05-10 Roman Kennke <kennke@aicas.com>
20288 * java/awt/ColorPaintContext.java
20289 (getRaster): Create Raster with (0,0) as source location.
20291 2006-05-10 Roman Kennke <kennke@aicas.com>
20293 * gnu/java/awt/java2d/AlphaCompositeContext.java
20294 (compose): Don't premultiply alpha to alpha itself.
20296 2006-05-10 Roman Kennke <kennke@aicas.com>
20298 * gnu/java/awt/java2d/AbstractGraphics2D.java
20299 (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
20300 (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
20302 (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
20303 (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
20304 (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
20306 (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
20307 (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
20309 (scale): Inverse transform by doing 1/scale instead of -scale.
20310 (drawImage(Image,int,int,ImageObserver)): Implemented.
20311 (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
20312 (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
20313 (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
20314 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
20316 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
20318 (fillScanline): Work on translated destination raster for
20319 correct compositin.
20320 (init): Fetch the clip after the destination raster is initialized.
20321 * gnu/java/awt/java2d/ImagePaint.java: New file.
20322 * gnu/java/awt/java2d/RasterGraphics
20323 (drawImage): Removed.
20325 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20327 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20328 Clarify option descriptions.
20329 * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
20330 uppercase for metasyntactic variables.
20332 2006-05-09 Robert Schuster <robertschuster@fsfe.org>
20335 * javax/swing/text/AbstractDocument.java:
20336 (insertString): Added more documentation, added argument check.
20337 (remove): Added more documentation.
20338 (removeImpl): Added argument check.
20339 (replace): Added more documentation, added argument check.
20341 2006-05-09 Tom Tromey <tromey@redhat.com>
20343 * tools/.cvsignore: Added appletviewer.
20345 2006-05-09 Tom Tromey <tromey@redhat.com>
20347 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
20350 2006-05-09 Tom Tromey <tromey@redhat.com>
20352 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp):
20353 Special case for '-J'. Use space instead of '='.
20354 * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
20357 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20359 * configure.ac: Add --disable-plugin and --with-vm options. Check
20360 for plugin support headers and libraries.
20361 * native/Makefile.am: Recurse into plugin directory.
20362 * native/plugin/.cvsignore: New file.
20363 * native/plugin/Makefile.am: New file.
20364 * native/plugin/gcjwebplugin.cc: New file.
20365 * tools/Makefile.am: Install appletviewer wrapper script.
20366 * tools/appletviewer.in: Replace VM location heuristic with
20367 VM_BINARY configure substitution.
20369 2006-05-09 Tom Tromey <tromey@redhat.com>
20371 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
20372 an initial pass to look for short options. Added 'longOnly' option.
20373 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
20375 * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
20376 options into final group. Added -J.
20377 (add): Insert new groups before final group.
20378 (printHelp): Updated.
20380 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20383 * tools/gnu/classpath/tools/giop/GRMIC.java (main),
20384 tools/gnu/classpath/tools/rmi/RMIC.java (main):
20385 Expect -classpath option.
20386 * tools/gnu/classpath/tools/rmi/RMIC.txt,
20387 tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
20389 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
20390 (classLoader): New field. (loadClass, setClassPath):
20393 2006-05-09 Roman Kennke <kennke@aicas.com>
20395 * gnu/java/awt/java2d/RasterGraphics.java
20396 (RasterGraphics): Call init() and super().
20397 (drawImage): Temporary drawImage impl until AbstractGraphics2D has
20400 2006-05-09 Gary Benson <gbenson@redhat.com>
20402 * java/lang/Thread.java (Thread): Always perform threadgroup
20403 access checks on thread creation.
20405 2006-05-09 Chris Burdess <dog@gnu.org>
20407 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
20408 be preserved during cloneNode.
20410 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20413 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
20414 Do not demand all thrown exceptions to be an instance of RemoteException.
20416 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20418 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20419 Use hash-style comments.
20420 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20423 2006-05-09 David Gilbert <david.gilbert@object-refinery.com>
20425 * javax/swing/JLabel.java
20426 (paramString): Added more attribute details,
20427 * javax/swing/SwingUtilities.java
20428 (convertHorizontalAlignmentCodeToString): New method,
20429 (convertVerticalAlignmentCodeToString): New method.
20431 2006-05-08 Tom Tromey <tromey@redhat.com>
20433 * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20434 * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20435 * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20438 * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20440 (run): Use ZipInputStream.
20441 (initSet): New method.
20442 (shouldExtract): Likewise.
20443 (run): Use new methods.
20444 * tools/gnu/classpath/tools/jar/Creator.java
20445 (writeCommandLineEntries): New overload.
20446 (writeFile): Use System.err for verbose.
20447 (writeManifest): New method.
20448 (writtenItems): New field.
20449 (writeFile): Update it.
20450 (writeCommandLineEntries): Return void. Call writeManifest.
20451 (addEntries): Don't add extra '/'.
20452 * NEWS: Mention jar.
20454 2006-05-08 Lillian Angel <langel@redhat.com>
20456 * gnu/java/net/IndexListParser.java: New class.
20457 * java/net/URLClassLoader.java
20458 (JarURLLoader): Fixed code to use new class.
20460 2006-05-08 Roman Kennke <kennke@aicas.com>
20462 * javax/swing/JComboBox.java
20463 (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20464 (AccessibleJComboBox.getAccessibleChild): Implemented.
20465 (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20466 (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20467 (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20468 (AccessibleJComboBox.getAccessibleAction): Implemented.
20469 (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20470 (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20471 (AccessibleJComboBox.doAccessibleAction): Implemented.
20472 (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20473 (AccessibleJComboBox.addAccessibleSelection): Implemented.
20474 (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20475 (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20476 (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20478 2006-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
20480 * configure.ac: Add support for building appletviewer.
20481 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20483 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20485 * tools/appletviewer.c: New file.
20486 * tools/appletviewer.in: New file.
20487 * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20489 * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20491 * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20492 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20494 * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20496 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20498 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20500 * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20502 * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20503 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20505 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20507 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20509 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20511 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20513 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20515 * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20518 2006-05-08 Tom Tromey <tromey@redhat.com>
20520 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20521 * tools/gnu/classpath/tools/jar/Action.java: New file.
20522 * tools/gnu/classpath/tools/jar/Creator.java: New file.
20523 * tools/gnu/classpath/tools/jar/Entry.java: New file.
20524 * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20525 * tools/gnu/classpath/tools/jar/Lister.java: New file.
20526 * tools/gnu/classpath/tools/jar/Main.java: New file.
20527 * tools/gnu/classpath/tools/jar/Updater.java: New file.
20528 * tools/gnu/classpath/tools/getopt/Option.java: New file.
20529 * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20530 * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20531 * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20532 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20535 2006-05-08 Lillian Angel <langel@redhat.com>
20537 * java/net/URLClassLoader.java
20538 (JarURLLoader): Added check to make sure the INDEX.LIST file
20541 2006-05-08 Roman Kennke <kennke@aicas.com>
20543 * gnu/java/awt/java2d/AbstractGraphics2D.java
20544 (fill): Removed commented out code.
20545 (fillShape): Also determine the outline of the clip and feed
20546 it into the rendering method. Use new helper method for
20547 converting the shapes into lists of segments.
20548 (getUserBounds): Removed obsolete method.
20549 (rawFillShape): Respect the clip when rendering shapes.
20550 (fillShapeAntialias): Adjusted signature for new clipped rendering.
20551 However, the implementation can't clip still.
20552 (getSegments): New helper method for converting a shape into
20553 a list of segments.
20554 (clipShape): Removed obsolete method.
20555 * gnu/java/awt/java2d/PolyEdge.java
20556 (isClip): New field.
20557 (PolyEdge): Added isField argument to constructor.
20559 2006-05-08 Roman Kennke <kennke@aicas.com>
20562 * javax/swing/JRootPane.java
20563 (createContentPane): Set background of the content pane to null,
20564 so that the content pane inherits its background from the
20567 2006-05-08 Roman Kennke <kennke@aicas.com>
20570 * javax/swing/ButtonGroup.java
20571 (add): Check if new button is selected and if so, deselect other
20572 buttons in the group.
20574 2006-05-08 Lillian Angel <langel@redhat.com>
20577 * java/net/URLClassLoader.java
20578 (JarURLLoader): Added code to go through
20579 META-INF/INDEX.LIST file to load all jars listed.
20581 2006-05-08 Roman Kennke <kennke@aicas.com>
20584 * javax/swing/ImageIcon.java
20585 (ImageIcon(URL)): Set description to URL.toString().
20587 2006-05-08 Roman Kennke <kennke@aicas.com>
20590 * javax/swing/JTable.java
20591 (IconCellRenderer.getTableCellRendererComponent): Set icon to
20592 null when cell value is null.
20594 2006-05-08 Roman Kennke <kennke@aicas.com>
20597 * javax/swing/DefaultDesktopManager.java
20598 (closeFrame): Don't perform default close action on the frame
20599 to prevent endless loop.
20601 2006-05-08 Roman Kennke <kennke@aicas.com>
20604 * javax/swing/table/DefaultTableModel.java
20605 (addExtraRows): New helper method.
20606 (checkSize): New helper method.
20607 (setRowCount): Use addExtraRows helper method.
20608 (addColumn): Use addExtraRows helper method.
20609 (getColumnName): Check and adjust size if necessary using
20612 2006-05-08 Roman Kennke <kennke@aicas.com>
20615 * javax/swing/JTable.java
20616 (setValueAt): Allow setting values even when table is editable.
20618 2006-05-08 Tom Tromey <tromey@redhat.com>
20620 * java/text/SimpleDateFormat.java (compileFormat): Added missing
20621 space to error message.
20623 2006-05-08 David Gilbert <david.gilbert@object-refinery.com>
20625 * javax/swing/AbstractButton.java: Fixed comment typos.
20627 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20629 PR classpath/27435:
20630 * java/util/zip/DeflaterEngine.java:
20631 (deflateFast(boolean,boolean)): Empty buffer when full.
20633 2006-05-07 Sven de Marothy <sven@physto.se>
20636 * java/util/Calendar.java (setTimeZone): Force recalculation.
20638 2006-05-07 Sven de Marothy <sven@physto.se>
20641 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20642 (propertyChange): Handle FRAME_ICON_PROPERTY property.
20644 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20646 PR classpath/27311:
20647 * gnu/java/text/StringFormatBuffer.java:
20648 (toString()): Implemented so we can see the contents.
20649 * java/text/DecimalFormat.java:
20650 (formatInternal(double,StringFormatBuffer,FieldPosition)):
20651 Don't calculate the exponent when the number is 0 or less.
20652 Also, use log10 instead of log now it's available.
20654 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20656 * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20657 Use instance's field creationDate not the constructor's argument.
20658 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20659 Removed unused imports.
20662 (decrypt): Added trace/debug/timing statements.
20663 (encrypt): Likewise.
20664 Use PRNG instead of instantiating every time a new SecureRandom.
20665 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20666 Removed unused imports.
20669 (verify): Added trace/debug/timing statements.
20670 (authenticate): Likewise.
20671 Use PRNG instead of instantiating every time a new SecureRandom.
20673 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20675 * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20676 (THREAD_FORMAT): Likewise.
20677 (dateFormat): Added field.
20678 (threadFormat): Added field.
20679 (format): Initialize instance fields if null.
20680 Use StringBuilder instead of StringBuffer.
20682 2006-05-07 Roman Kennke <kennke@aicas.com>
20684 * gnu/java/awt/java2d/RasterGraphics.java: New file.
20686 2006-05-07 Roman Kennke <kennke@aicas.com>
20688 * gnu/java/awt/java2d/AbstractGraphics2D.java
20689 (fillShape): Determine user space bounds of shape and feed them
20690 into the actual rendering pipeline.
20691 (rawSetPixel): Made non-abstract for now. Maybe remove later.
20692 (rawSetForeground): Likewise.
20693 (getDestinationColorModel): Removed.
20694 (getDeviceBounds): Made non-abstract. Provide useful default impl.
20695 (rawFillShape): Handle paint context.
20696 (fillScanline): Implement painting and compositing.
20697 (fillShapeAntialias): Handle paint context.
20698 (fillScanlineAA): Implemented preliminary antialiasing based on
20699 composite context. Not working yet.
20700 (fillScanlineAlpha): Removed.
20701 (init): Fetch destination raster.
20702 (getDestinationRaster): New abstract method.
20703 (updateRaster): New backend method.
20705 2006-05-07 Roman Kennke <kennke@aicas.com>
20707 * gnu/java/awt/java2d/AlphaCompositeContext.java
20708 (compose): Fixed loops, conditions and logic to make compositing
20711 2006-05-07 Roman Kennke <kennke@aicas.com>
20713 * java/awt/ColorPaintContext.java
20714 (ColorPaintContext): Fixed filling of the raster.
20716 2006-05-07 Sven de Marothy <sven@physto.se>
20719 * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20720 * java/awt/Component.java (processMouseEvent):
20721 Do lightweight cursor handling.
20722 * javax/swing/plaf/basic/BasicTableHeaderUI.java
20723 (endResizing,mouseMoved): Save and reset original cursor, not the
20726 2006-05-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20729 * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20730 getNodeDimensions): Mind the size of the node icon. (getRowX):
20731 use totalChildIndent. (TreeExpansionHandler): Set maximal height
20732 to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20733 Return nullIcon if there is no other icon. (getNodeIcon): New method.
20734 (installDefaults): assign totalChildIndent. (installUI): Call
20735 updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20736 (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20739 2006-05-06 Sven de Marothy <sven@physto.se>
20742 * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled):
20743 Check for zero image sizes.
20745 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20748 * java/util/Calendar.java (clear(int)): Forced internal state
20749 completion before performing a field clearing.
20751 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20753 * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20754 UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20755 (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20756 UnmodifiableMap.UnmodifiableEntrySet.toArray,
20757 UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20758 UnmodifiableMapEntry as part of their return value.
20760 2006-05-06 Raif S. Naffah <raif@swiftdsl.com.au>
20762 * tools/keytool.sh.in: Removed (renamed to keytool.in).
20763 * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20764 * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20765 Generate jarsigner and keytool scripts.
20766 * tools/keytool.in: New file (renamed from keytool.sh.in).
20767 * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20768 * tools/.cvsignore: Replaced *.sh with *
20769 * configure.ac: Replaced tools/*.sh with tools/*.
20771 2006-05-05 Roman Kennke <kennke@aicas.com>
20773 * java/awt/image/ColorModel.java
20774 (getNormalizedComponents): Implemented.
20776 2006-05-05 Roman Kennke <kennke@aicas.com>
20778 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20779 (paint): Query the button model for it's state, not the
20782 2006-05-05 Roman Kennke <kennke@aicas.com>
20784 * javax/swing/JTable.java
20785 (tableChanged): Sync selection model with table model changes.
20787 2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20789 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20790 if there are no visible nodes to paint.
20792 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20794 * javax/swing/JOptionPane.java: API doc updates.
20796 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20798 * javax/swing/JToolBar.java
20799 (paramString): Reimplemented.
20801 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20803 * javax/swing/JScrollBar.java
20804 (paramString): Reimplemented.
20806 2006-05-04 Tom Tromey <tromey@redhat.com>
20808 PR classpath/27375:
20809 * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
20810 (readEntries): Updated.
20811 (getEntries): Likewise.
20812 (getEntry): Likewise.
20813 (getInputStream): Likewise.
20815 2006-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
20817 * gnu/javax/imageio/jpeg/DCT.java,
20818 gnu/javax/imageio/jpeg/HuffmanTable.java,
20819 gnu/javax/imageio/jpeg/JPEGComponent.java,
20820 gnu/javax/imageio/jpeg/JPEGDecoder.java,
20821 gnu/javax/imageio/jpeg/JPEGException.java,
20822 gnu/javax/imageio/jpeg/JPEGFrame.java,
20823 gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
20824 gnu/javax/imageio/jpeg/JPEGImageReader.java,
20825 gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
20826 gnu/javax/imageio/jpeg/JPEGMarker.java,
20827 gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
20828 gnu/javax/imageio/jpeg/JPEGScan.java,
20829 gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
20830 gnu/javax/imageio/jpeg/ZigZag.java: New files.
20832 2006-05-04 Lillian Angel <langel@redhat.com>
20834 * javax/swing/JLabel.java
20835 (JLabel): Pass in an empty string for the text parameter.
20836 (JLabel): Likewise.
20837 (JLabel): Likewise.
20839 2006-05-04 Roman Kennke <kennke@aicas.com>
20841 * javax/swing/plaf/basic/BasicButtonListener.java
20842 (mouseEntered): Fixed conditions for changing states.
20844 2006-05-04 Roman Kennke <kennke@aicas.com>
20846 * javax/swing/JOptionPane.java
20847 (AccessibleJOptionPane.getAccessibleRole): Implemented method.
20849 2006-05-04 Roman Kennke <kennke@aicas.com>
20851 * javax/swing/JLabel.java
20852 (AccessibleJLabel.getSelectedText): Return null instead of "".
20853 (AccessibleJLabel.getSelectionStart): Added comment why
20854 return -1 is correct here.
20855 (AccessibleJLabel.getSelectionEnd): Added comment why
20856 return -1 is correct here.
20857 (AccessibleJLabel.getCharacterAttribute): Added comment about what
20859 (AccessibleJLabel.getCharCount): Added comment about what
20861 (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
20862 (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
20863 (paramString): Return super.paramString() here, this provides
20864 a more meaningful output.
20866 2006-05-04 Roman Kennke <kennke@aicas.com>
20868 * javax/swing/JComponent.java
20869 (paint): Added null check to avoid NPE when clip == null.
20871 2006-05-04 Roman Kennke <kennke@aicas.com>
20873 * javax/swing/AbstractButton.java
20874 (addImpl): New method. Installs an OverlayLayout if no
20875 other layout has been installed before.
20876 (setLayout): New method. Detect if a client app installs a custom
20879 2006-05-04 Roman Kennke <kennke@aicas.com>
20881 * javax/swing/table/DefaultTableCellRenderer.java
20882 (noFocusBorder): Fixed width of empty border to 1.
20883 (getTableCellRendererComponent): Don't change the colors for
20884 focuses cells. Fixed border for focused cells.
20886 2006-05-04 Roman Kennke <kennke@aicas.com>
20888 * javax/swing/JTable.java
20889 (moveToCellBeingEdited): Adjust bounding box of editing component
20890 to exactly cover the grid.
20891 * javax/swing/plaf/basic/BasicTableUI.java
20892 (paint): Paint grid to the bottom and right of the cells instead
20893 of left and top. Adjust bounding box of cells accordingly.
20894 * javax/swing/plaf/metal/MetalLookAndFeel.java
20895 (initComponentDefaults): Fixed color of JTable selection border.
20896 * javax/swing/plaf/metal/OceanTheme.java
20897 (addCustomEntriesToTable): Fixed color of JTable selection border.
20899 2006-05-04 Raif S. Naffah <raif@swiftdsl.com.au>
20901 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
20902 Use _alias instead of alias.
20904 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20907 Set version to 0.92-pre.
20909 Add space for 0.92 entries.
20911 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20913 * include/Makefile.am:
20914 Added rules for gnu.java.net.local.LocalSocketImpl.h
20915 * include/java_lang_VMSystem.h:
20916 Regenerated correctly.
20918 2006-05-03 Sven de Marothy <sven@physto.se>
20921 * java/awt/Image.java:
20922 (getScaledInstance): Default to AreaAveraging for "smooth",
20923 don't thrown an error on illegal flag values.
20924 * java/awt/image/AreaAveragingScaleFilter.java: Implement.
20926 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20928 * javax/swing/text/FieldView.java:
20929 (adjustAllocation): Added if-block to return null when shape argument
20931 * javax/swing/text/PlainView.java:
20932 (updateDamage): Added if-block to return early if a is null.
20934 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20936 * javax/swing/plaf/basic/BasicTextUI.java:
20937 (changeUpdate): Added note.
20938 (removeUpdate): Dito.
20939 (insertUpdate): Dito.
20940 (damageRange): Added if-block to return early.
20941 (modelToView): Added check of getVisibleEditorRect's return value.
20942 (getVisibleEditorRect): Return null instead of empty rectangle.
20943 * javax/swing/text/DefaultCaret.java:
20944 (clearHighlight): Removed if-clause to create a highlight entry if it
20945 did not exist before.
20946 * javax/swing/text/WrappedPlainView.java:
20947 (WrappedLine.modelToView): Throw exception if allocation area is empty,
20948 removed 2nd part of if-expression.
20949 (WrappedLine.updateDamage): Added more documentation, added check
20950 whether allocation area rectangle is null.
20952 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20954 * javax/swing/JSplitPane.java (setDividerLocation(int)):
20955 Reset to preferred sizes if the argument is negative.
20957 2006-05-03 David Gilbert <david.gilbert@object-refinery.com>
20959 * javax/swing/JList.java: Added/updated API docs.
20961 2006-05-03 Lillian Angel <langel@redhat.com>
20963 * javax/swing/JComponent.java
20964 (getRoot): New private function. Gets the root appropriate
20965 for painting. If an applet exists as a parent, then it is returned.
20966 (paintDoubleBuffered): Changed to use new function.
20967 * javax/swing/RepaintManager.java
20968 (getRoot): New private function. Gets the root appropriate
20969 for painting. If an applet exists as a parent, then it is returned.
20970 (getOffscreenBuffer): Changed to use new function.
20971 * javax/swing/SwingUtilties.java
20972 (getRoot): Reverted last patch to return Window, even if
20975 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
20977 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
20978 a pair of one public keyring and one private keyring.
20979 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
20980 (containsCertificate): Added logging.
20981 (getCertificate): Likewise.
20982 (putCertificate): Likewsie.
20985 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
20986 (containsPrivateKey): Added logging.
20987 (getPrivateKey): Likewise.
20988 (putPrivateKey): Likewise.
20989 (containsPublicKey): Likewise.
20990 (getPublicKey): Likewise.
20991 (putPublicKey): Likewise.
20992 (containsCertPath): Likewise.
20993 (getCertPath): Likewise.
20994 (putCertPath): Likewise.
20998 2006-05-03 Roman Kennke <kennke@aicas.com>
21000 * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
21001 * java/awt/AlphaComposite.java
21002 (createContext): Implemented.
21004 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21006 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
21007 Set the current color again after drawing the raster.
21009 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21011 * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
21012 Do not check pos < currLineEnd if currLineStart == currLineEnd.
21014 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
21016 * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
21017 Assign returned value to field handler.
21018 * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
21021 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21023 * javax/swing/ScrollPaneLayout.java (layoutContainer):
21024 Return without action if there is no view in the viewport.
21025 * javax/swing/text/WrappedPlainView.java
21026 (WrappedLine.getPreferredSpan): If metrics == null, update
21028 * javax/swing/tree/DefaultTreeModel.java (constructors):
21029 Do not call setRoot, assign the root node directly.
21031 2006-05-02 Lillian Angel <langel@redhat.com>
21033 * javax/swing/SwingUtilities.java
21034 (getRoot): Should return the Applet if it exists.
21035 Only return the Window if an Applet has not been
21038 2006-05-02 Lillian Angel <langel@redhat.com>
21040 * gnu/javax/swing/text/html/parser/support/Parser.java
21041 (readAttributes): Reverted Audrius' last patch. There is
21042 a slight difference in code between the NUMTOKEN and SLASH case.
21044 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
21046 * javax/swing/text/JTextComponent.java:
21047 (setText): Throw InternalError from catch-block.
21048 * javax/swing/text/GapContent.java:
21049 (removed): Removed if-expression, changed '>' to '>='.
21051 2006-05-02 Roman Kennke <kennke@aicas.com>
21053 * gnu/java/awt/java2d/AbstractGraphics2D.java
21054 (AA_SAMPLING): New constant.
21055 (alpha): New field. Used in the antialiasing renderer.
21056 (edgeTable): New field. Used in the antialiasing renderer.
21057 (AbstractGraphics2D): Initialize rendering hints wrt
21059 (draw): Clip after stroking. Commented out clipping for now,
21060 it seems to be buggy.
21061 (fill): Commented out clipping for now, it seems to be buggy.
21062 (setComposite): Don't create composite context.
21063 (setPaint): Only change paint when parameter is not null.
21064 (translate): Call setClip() so subclasses can update their clip
21066 (clip): Call setClip() so subclasses can update their clip
21068 (drawGlyphVector): Added clipping, but left it commented out
21069 because it's buggy.
21070 (getClipBounds): Returns null when clip is null.
21071 (drawLine): Call rawDrawLine with translation applied.
21072 (filLRect): Call rawFillRect with translation applied.
21073 (fillShape): Added support for anti-aliasing.
21074 (rawSetForeground(int,int,int)): New method.
21075 (rawFillShape): A couple of painting fixes.
21076 (fillScanline): Implemented to call rawDrawLine.
21077 (fillShapeAntialias): New method. Implements an anti-aliasing
21079 (fillScanlineAA): New method. Used for the anti-aliasing
21081 (fillScanlineAlpha): New method. Used for the anti-aliasing
21083 (init): Initialize clip with the device bounds.
21084 (updateOptimization): Fixed the optimization condition.
21086 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
21088 * javax/swing/text/GapContent.java:
21089 (GapContent): Restrict size argument by 2.
21090 (insertString): Changed expression from >= to >.
21091 (remove): Changed right side of expression to 'length - 1', changed
21093 (getChars): Throw exception if where below 0.
21094 (replace): Replaced call to setPositionsInRange() with
21095 resetMarksAtZero(), removed note.
21097 2006-05-02 Roman Kennke <kennke@aicas.com>
21100 * javax/swing/MenuSelectionManager.java
21101 (setSelectedPath): Rewritten.
21103 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21105 * gnu/javax/swing/text/html/parser/support/Parser.java
21106 (readAttributes): Merge case NUMTOKEN: and case SLASH:
21109 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21111 * tools/.cvsignore: Added keytool.sh.
21112 * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
21114 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21116 * doc/tools.texinfo: New file.
21117 * doc/Makefile.am: Generate tools documentation.
21119 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21121 * tools/keytool.sh.in: New file.
21122 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
21123 * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
21124 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
21125 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
21126 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
21127 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
21128 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
21129 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
21130 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
21131 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
21132 * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
21133 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
21134 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
21135 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
21136 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
21137 * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
21138 * tools/gnu/classpath/tools/keytool/package.html: Likewise.
21139 * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
21141 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21143 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
21144 resemble more closely man-page style text.
21145 * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
21146 Mark (Eclipse) strings that need not be externalised.
21147 (writeSF): Likewise.
21148 (writeDSA): Likewise.
21149 Use package-private Messages class to provide i18n-ready strings.
21151 Use package-private Messages class to provide i18n-ready strings.
21152 (updateEntry): Likewise.
21153 Mark (Eclipse) strings that need not be externalised.
21154 (finishSigning): Likewise.
21155 * tools/gnu/classpath/tools/jarsigner/Main.java:
21156 Mark (Eclipse) strings that need not be externalised.
21157 (main): Do not use constant strings as class name.
21158 Use package-private Messages class to provide i18n-ready strings.
21159 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21160 (processArgs): Do not use constant strings as class name.
21161 Mark (Eclipse) strings that need not be externalised.
21162 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21163 (start): Do not use constant strings as class name.
21164 (teardown): Likewise.
21166 (setupCommonParams): Do not use constant strings as class name.
21167 Use package-private Messages class to provide i18n-ready strings.
21168 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21169 (installNewProvider): Do not use constant strings as class name.
21171 (setupSigningParams): Do not use constant strings as class name.
21172 Use package-private Messages class to provide i18n-ready strings.
21173 Mark (Eclipse) strings that need not be externalised.
21174 (getCallbackHandler): Use CallbackUtil.
21175 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
21176 Use package-private Messages class to provide i18n-ready strings.
21177 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21178 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
21179 (verifySF): Likewise.
21180 (verifySFEntries): Do not use constant strings as class name.
21181 Use Boolean.valueOf instead of new Boolean().
21182 (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
21183 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
21185 * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
21186 * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
21188 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21190 * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
21191 * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
21192 * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
21194 2006-05-01 Tom Tromey <tromey@redhat.com>
21196 * java/nio/ByteBufferImpl.java (compact): Don't reset position
21198 * gnu/java/nio/ChannelReader.java (read): Synchronize.
21199 (close): Synchronize.
21200 * java/nio/ShortBufferImpl.java (compact): Rewrote.
21201 * java/nio/LongBufferImpl.java (compact): Rewrote.
21202 * java/nio/IntBufferImpl.java (compact): Rewrote.
21203 * java/nio/FloatBufferImpl.java (compact): Rewrote.
21204 * java/nio/DoubleBufferImpl.java (compact): Rewrote.
21205 * java/nio/CharBufferImpl.java (compact): Rewrote.
21206 * gnu/java/nio/ChannelWriter.java: New file.
21207 * java/nio/channels/Channels.java (newWriter): Implemented.
21209 2006-05-01 Lillian Angel <langel@redhat.com>
21211 * java/util/SimpleTimeZone.java
21212 (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
21213 (SimpleTimeZone): Likewise.
21214 (checkRule): Rewritten to properly check all values (more efficently).
21215 This code is now more stable, at least less buggy than before. Fixed
21217 (setStartRule): Moved checkRule call to end.
21218 (setStartRule): Likewise.
21219 (setEndRule): Likewise.
21220 (setEndRule): Likewise.
21222 2006-05-01 Tom Tromey <tromey@redhat.com>
21224 * lib/.cvsignore: Added classes.2.
21226 2006-05-01 Tom Tromey <tromey@redhat.com>
21228 * java/util/jar/JarFile.java (provider): Now package-private.
21229 * java/lang/Enum.java (compareTo): Javadoc fix.
21230 * java/lang/Boolean.java (compareTo): Javadoc fix.
21232 2006-05-01 Lillian Angel <langel@redhat.com>
21234 * gnu/javax/swing/text/html/parser/support/Parser.java
21235 (readAttributes): Formatted function. Added handling for
21236 SLASH token. The value of an attribute may start with a slash
21237 (i.e. a path). I added handling similar to to the NUMTOKEN code.
21238 We should not be skipping over these type of attributes.
21240 2006-04-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
21242 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21243 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21244 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21245 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21246 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21247 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21248 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21249 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21250 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21251 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21252 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21253 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21254 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21255 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21256 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21257 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21258 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21259 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21260 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21261 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21262 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21263 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21264 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21265 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21266 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21267 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21268 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21269 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21270 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21271 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21272 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21273 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21274 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21275 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21276 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21277 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21278 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21279 * include/gnu_java_awt_peer_qt_QMatrix.h,
21280 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21281 * include/gnu_java_awt_peer_qt_QPen.h,
21282 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21283 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21284 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21285 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21286 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21287 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21288 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21289 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21290 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21291 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21292 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21293 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21294 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21295 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21296 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21297 * include/gnu_java_awt_peer_qt_QtImage.h,
21298 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21299 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21300 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21301 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21302 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21303 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21304 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21305 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21306 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21307 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21308 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21309 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21310 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21311 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21312 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21313 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21314 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21315 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21316 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21317 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21318 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21319 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21320 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21321 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21322 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21323 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21324 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21325 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21326 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21327 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21328 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21329 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21330 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21331 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21332 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21333 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21334 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21335 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21336 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21337 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21338 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21339 * include/java_lang_VMProcess.h:
21341 * native/jni/java-lang/java_lang_VMProcess.c:
21342 Redirect when pipe_count is 2 not 3.
21344 2006-04-30 Sascha Brawer <sascha@brawer.ch>
21346 * gnu/java/awt/font/FontDelegate.java,
21347 * gnu/java/awt/font/FontFactory.java,
21348 * gnu/java/awt/font/GNUGlyphVector.java,
21349 * gnu/java/awt/font/opentype/CharGlyphMap.java,
21350 * gnu/java/awt/font/opentype/GlyphNamer.java,
21351 * gnu/java/awt/font/opentype/MacResourceFork.java,
21352 * gnu/java/awt/font/opentype/NameDecoder.java,
21353 * gnu/java/awt/font/opentype/OpenTypeFont.java,
21354 * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
21355 * gnu/java/awt/font/opentype/Scaler.java,
21356 * gnu/java/awt/font/opentype/truetype/Fixed.java,
21357 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
21358 * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
21359 * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
21360 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
21361 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
21362 * gnu/java/awt/font/opentype/truetype/Zone.java,
21363 * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
21364 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
21365 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
21366 New files. Imported font framework from:
21367 http://www.brawer.ch/software/fonts/
21369 2006-04-30 Roman Kennke <kennke@aicas.com>
21371 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21372 (lastTabInRun): Fix calculation of the last tab in a run. This
21373 has caused painting problems sometimes, making the
21374 last tab painted incorrectly.
21376 2006-04-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21379 * javax/swing/JComponent.java (paintChildrenWithOverlap):
21380 Use for and not while to prevent the endless loop.
21382 2006-04-29 David Gilbert <david.gilbert@object-refinery.com>
21384 * javax/swing/JList.java
21385 (paramString): Changed from public to protected.
21387 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21389 * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
21390 (printHelpAndExit): Re-factored to use the above method.
21392 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21394 * tools/jarsigner.sh.in: Changed license to GPL + Exception.
21395 Use -Xbootclasspath/p instead of -cp when invoking the main class.
21396 * tools/gnu/classpath/tools/jarsigner/Main.java:
21397 Changed license to GPL + Exception.
21398 (handler): New field.
21399 (getCallbackHandler): New method.
21400 (setupSigningParams): Use above method.
21401 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
21402 Changed license to GPL + Exception.
21403 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
21404 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
21405 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
21406 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
21408 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21410 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
21411 (handleConfirmation): Use print instead of println.
21412 (handleConfirmation): When case is YES_NO_OPTION, print default option
21414 (handleLanguage): Use print instead of println.
21416 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21418 * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
21419 (putComponent): Handle O and OU components.
21420 (getDer): Use correct (it2) iterator.
21421 (readAttributeValue): Read next character and break if end-of-stream.
21423 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21425 * gnu/java/security/provider/Gnu.java (run):
21426 Add "RSA" as an alias to MD5withRSA.
21427 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
21428 Always encode a NULL as the value of an algorithm parameters field.
21429 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
21430 (encodePrivateKey): Added trace/log statements.
21431 (decodePrivateKey): Likewise.
21432 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21433 (setup): Added trace/log statements.
21434 (generate): Likewise.
21435 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21436 (toString): New method.
21437 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21439 (toString): New method.
21440 * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21441 (getEncoded): Use defaultFormat.
21442 (toString): New method.
21443 * gnu/java/security/key/dss/DSSKey.java (toString):
21444 Include defaultFormat in string.
21445 * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21446 Break if successfully decoded public key.
21447 (engineGeneratePrivate): Break if successfully decoded private key.
21449 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21451 * java/security/Security.java <clinit>: Add our Callback provider.
21452 * resource/java/security/classpath.security: Likewise
21454 2006-04-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21457 * javax/swing/ScrollPaneLayout.java (layoutContainer):
21458 Decide about scroll bars from the preferred view size, not
21460 * javax/swing/ViewportLayout.java (layoutContainer):
21461 Do not change returned preferred size. Do not treat JScrollPane
21464 2006-04-28 Sven de Marothy <sven@physto.se>
21466 * java/awt/image/ReplicateScaleFilter.java: Fix comment.
21467 * javax/swing/ProgressMonitor.java (actionPerformed):
21468 Avoid divide-by-zero.
21470 2006-04-28 Sven de Marothy <sven@physto.se>
21472 * javax/swing/JSpinner.java: Fix default text justification.
21473 * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21475 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21477 * javax/swing/JList.java
21478 (getMinSelectionIndex): Return correct value, added API docs,
21479 (getMaxSelectionIndex): Added API docs.
21481 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21483 * javax/swing/JList.java
21484 (JList(Object[])): Pass new model directly to init(),
21485 (JList(Vector)): Likewise,
21486 (JList(ListModel)): Renamed argument and updated API docs,
21487 (init): Throw IllegalArgumentException for null argument,
21488 (setListData(Object[])): Delegate model creation,
21489 (setListData(Vector)): Likewise,
21490 (createListModel(Object[])): New private method,
21491 (createListModel(Vector)): New private method,
21492 (paramString): Implemented.
21494 2006-04-28 Tom Tromey <tromey@redhat.com>
21496 * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21498 (isSynthetic): Likewise.
21499 (isAnnotation): Likewise.
21500 * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21501 (isAnnotation): Likewise.
21502 (isEnum): Likewise.
21504 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21506 * javax/swing/text/View.java:
21507 (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21510 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21512 * javax/swing/text/View.java:
21513 (getNextVisualPositionFrom): Rewritten.
21514 * javax/swing/text/CompositeView.java:
21515 (getNextEastWestVisualPositionFrom): Partly implemented.
21516 (getNextNorthSouthVisualPositionFrom): Partly implemented.
21518 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21520 * javax/swing/JList.java
21521 (setFixedCellHeight): Use correct property name for event.
21523 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21525 * javax/swing/text/Utilities.java:
21526 (getNextWord): Use codePointAt instead of charAt, added note, changed
21527 if-expression, added throwing of exception.
21528 (getPreviousWord): Use codePointAt instead of charAt.
21530 2006-04-28 Jeroen Frijters <jeroen@frijters.net>
21532 * java/lang/StringBuilder.java
21533 (ensureCapacity, getChars, append(StringBuffer),
21534 append(char[],int,int), delete, replace, insert(int,char[],int,int),
21535 insert(int,String), insert(int,char), trimToSize): Replaced
21536 System.arraycopy calls with VMSystem.arraycopy.
21538 2006-04-27 Tom Tromey <tromey@redhat.com>
21540 * java/awt/image/renderable/RenderableImageProducer.java
21541 (requestTopDownLeftRightResend): Implemented.
21543 (startProduction): Add new consumer.
21545 2006-04-27 Sven de Marothy <sven@physto.se>
21547 * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21549 2006-04-27 Roman Kennke <kennke@aicas.com>
21551 * java/awt/LightweightDispatcher.java
21552 Dispatch events only to targets that have a mouselistener
21553 attached. Changed to also handle null targets.
21555 2006-04-27 Roman Kennke <kennke@aicas.com>
21557 * NEWS: Added entries about accessibility support and L&F
21558 window decorations.
21560 2006-04-27 Robert Schuster <robertschuster@fsfe.org>
21562 * javax/swing/text/Utilities.java:
21563 (getTabbedTextOffset): Introduced width variable, rewritten the check
21564 which ends the loop.
21565 (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21568 2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21570 * examples/gnu/classpath/examples/swing/TreeDemo.java
21571 (createContent): Added root visibility and selection listener demos.
21572 * javax/swing/JTree.java (setRootVisible): If false, unselect
21573 the root node, if it is selected.
21574 * javax/swing/plaf/basic/BasicTreeUI.java
21575 (TreeTraverseAction.actionPerformed): Do not select the root if it
21577 * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21578 removeSelectionPaths): Reset lead to null if the current lead path is
21579 removed from selection.
21580 * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21581 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21582 Return the same path regardless is root visible or not. (update):
21583 Reduce the identation if the root is not visible.
21584 * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21585 Return the same path regardless is root visible or not. (update):
21586 Reduce the identation if the root is not visible.
21588 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org
21590 * javax/swing/plaf/basic/BasicTreeUI.java
21591 (TreeAction.actionPerformed):Newly obtain the current lead
21592 path that must stay visible.
21593 (TreeTraverseAction.actionPerformed):Rewritten.
21594 * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21595 Do not treat root specially. (setModel): Assume the root node
21596 initially expanded.
21597 * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21598 Do not treat root specially. (setModel): Assume the root node
21599 initially expanded.
21601 2006-04-26 Chris Burdess <dog@gnu.org>
21604 * javax/xml/datatype/DatatypeFactory.java: Use complete
21605 implementation resolution mechanism.
21607 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21609 * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged):
21611 * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21612 Removed NoImplementException form the implemented method.
21614 2006-04-26 Tom Tromey <tromey@redhat.com>
21616 * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21619 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21621 * javax/swing/DefaultListSelectionModel.java
21622 (clone): Initialise empty listener list,
21623 (setSelectionMode): Throw IllegalArgumentException for bad input.
21625 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21627 * javax/swing/DefaultListSelectionModel.java
21628 (clearSelection): Clear the Bitset.
21630 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21632 * javax/swing/JTree.java (setLeadSelectionPath):
21633 Repaint the new and old lead pathes.
21634 * javax/swing/plaf/basic/BasicTreeUI.java
21635 (FocusHandler): Repaint the lead row when focus changes.
21636 (PropertyChangeHandler): Use existing constants, not the
21637 string literals for the property names.
21638 (TreeIncrementAction): Shrink the selection when moving
21639 from the selection edge to the selection anchor.
21640 (TreeSelectionHandler.valueChanged): Repaint the
21641 new and old lead pathes.
21642 (paintRow): Treat row as focused only if it is the lead row.
21643 * javax/swing/tree/DefaultTreeCellRenderer.java
21644 (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21645 (paint): Rewritten.
21646 * javax/swing/tree/DefaultTreeSelectionModel.java
21647 (addSelectionPath): Event construction fix (old and new lead were
21649 (addSelectionPaths): Likewise.
21650 * javax/swing/JComponent.java (setOpaque): Explained.
21651 * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21653 * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21656 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21658 * examples/gnu/classpath/examples/swing/TreeDemo.java
21659 (createContent): Call DefaultTreeModel.reload(), not the
21660 tree.repaint(). Expand the parent of the added node.
21661 * javax/swing/JTree.java (constructor): Do not call
21662 UpdateUI (and documented why). (treeDidChange):
21663 Added comment, excluding the misinterpretation of this method.
21664 * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21665 focusListener, keyListener, mouseListener, propertyListener,
21666 selectionModelPropertyChangeListener, treeModelListener,
21667 treeSelectionListener): Made package private.
21668 (PropertyChangeHandler): If the model changes, install the
21669 listener on it. (installUI): Assign treeModel.
21670 * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21671 comment, excluding misinterpretation.
21672 * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21673 (reload(TreeNode)): Implemented.
21675 2006-04-25 Tom Tromey <tromey@redhat.com>
21677 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21678 * javax/swing/tree/VariableHeightLayoutCache.java
21679 (getVisiblePathsFrom): Genericized.
21680 * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21683 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21685 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21686 If clicked on the other row, cancel the current editing session.
21688 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21690 * javax/swing/plaf/basic/BasicTreeUI.java
21691 (NodeDimensionsHandler.getRowX): Add half of the icon width.
21692 (paintExpandControl): Always paint in one gap distance from the left
21693 border of the path bounds.
21694 (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21695 into consideration.
21696 (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21699 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21701 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21703 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21705 * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21706 Allow slashes (/) in the unquoted parameter value.
21708 2006-04-25 Roman Kennke <kennke@aicas.com>
21710 * gnu/java/awt/java2d/AbstractGraphics2D.java
21711 (drawString(String,int,int)): Implemented.
21712 (drawString(String,float,float)): Implemented.
21713 (drawString(AttributedCharacterIterator,int,int)): Implemented.
21714 (drawString(AttributedCharacterIterator,float,float)): Implemented.
21715 (getFontRenderContext): Implemented.
21716 (drawGlyphVector): Implemented.
21717 (getFont): Implemented.
21718 (setFont): Don't change font setting when null.
21719 (getFontMetrics): Implemented.
21720 (fillShape): Re-written to fill call rawFillShape() with a list
21721 of the edges instead of double arrays.
21722 (rawFillShape): Implemented using a polygon scanline conversion.
21723 (fillScanline): New helper method.
21724 (init): Initialize foreground black. Set font.
21725 * gnu/java/awt/java2d/PolyEdge.java: New file.
21726 * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21728 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21730 * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21732 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21734 * javax/swing/JTable.java: Fixed API doc tags,
21735 * javax/swing/text/AsyncBoxView.java: Likewise,
21736 * javax/swing/text/FlowView.java: Likewise.
21738 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21740 * javax/swing/table/DefaultTableColumnModel.java
21741 (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21743 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21745 * javax/swing/table/DefaultTableColumnModel.java
21746 (DefaultTableColumnModel): Set selection model field and add 'this' as
21748 (addColumn): Add 'this' as a PropertyChangeListener,
21749 (removeColumn): Remove column before firing event, and remove 'this' as
21750 a PropertyChangeListener,
21751 (setSelectionModel): Remove 'this' as a listener from old model,
21752 (propertyChange): Check for 'width' property rather than
21753 TableColumn.COLUMN_WIDTH_PROPERTY.
21755 2006-04-24 Chris Burdess <dog@gnu.org>
21758 * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21759 attributes when no doctype exists.
21761 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21763 * javax/swing/event/ChangeEvent.java: Updated API docs,
21764 * javax/swing/event/ChangeListener.java: Likewise,
21765 * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21766 * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21767 * javax/swing/table/TableColumnModel.java: Likewise.
21769 2006-04-24 Robert Schuster <robertschuster@fsfe.org>
21771 * javax/swing/text/Utilities.java:
21772 (getBreakLocation): Introduced shift variable, added notes.
21773 * javax/swing/text/WrappedPlainView.java:
21774 (calculateBreakPosition): Decrease allocation area bounds by insets,
21775 added early return when allocation area is empty, provide start offset
21777 (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21778 (WrappedPlainView.WrappedLine.paint): Added count variable, update
21779 numLines after loop.
21780 (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21781 (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21782 (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21783 decreasing variable end by one, changed break condition in while-loop,
21784 added check for return value.
21785 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21786 allocation area is empty.
21788 2006-04-24 Sven de Marothy <sven@physto.se>
21790 * gnu/java/awt/java2d/Segment.java: New file.
21791 * gnu/java/awt/java2d/CubicSegment.java: New file.
21792 * gnu/java/awt/java2d/QuadSegment.java: New file.
21793 * gnu/java/awt/java2d/LineSegment.java: New file.
21794 * java/awt/BasicStroke.java
21795 (start): New field.
21797 (createStrokedShape): Implemented.
21798 (solidStroke): New method.
21799 (dashedStroke): New method.
21800 (capEnds): New method.
21801 (convertPath): New method.
21802 (addSegments): New method.
21803 (capEnd): New method.
21804 (lineIntersection): New method.
21805 (joinSegments): New method.
21807 2006-04-24 Roman Kennke <kennke@aicas.com>
21809 * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
21812 (clip): Changed clip to be in user space not in target space.
21813 (isOptimized): Added flag to allow optimized drawing for
21814 primitive operations (e.g. for Swing).
21815 (AbstractGraphics2D()): Set foreground in init() to avoid trouble
21816 with the paint context etc.
21817 (draw): Clip the shape before drawing it.
21818 (fill): Clip the shape before drawing it.
21819 (setComposite): Update isOptimized flag.
21820 (setPaint): Likewise.
21821 (setStroke): Likewise.
21822 (translate): Update the clip.
21823 (rotate): Likewise.
21826 (transform): Likewise.
21827 (setTransform): Likewise.
21828 (clip): Added optimization for rectangle clips.
21829 (create): Implemented.
21830 (clone): New method.
21831 (setFont): Basic implementation.
21832 (setClip): Update opimization flag.
21833 (drawLine): Added possible optimization.
21834 (fillRect): Added possible optimization.
21835 (fillShape): Implemented shape-filling by filling the flattended
21836 shape using polygon fill.
21837 (drawPixel): Added basic painting.
21838 (rawSetPixel): Changed signature to only take coordinates.
21839 (rawSetForeground): New abstract method.
21840 (getUserBounds): Implemented default for this method.
21841 (rawDrawLine): New method.
21842 (rawFillRect): New method.
21843 (rawFillPolygon): New method.
21844 (init): New method.
21845 (updateOptimization): New method.
21846 (computeIntersection): New method.
21847 (updateClip): New method.
21848 (clipShape): New method.
21850 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21852 * java/lang/Package.java: Added compatibility constructor to ease
21853 VM interface migration.
21855 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21857 * java/lang/Class.java (getEnumConstants): Implemented without
21858 delegating to VMClass.
21859 * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
21861 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21863 * java/lang/ClassLoader.java (definePackage): Added argument to
21864 Package constructor.
21865 * java/lang/Package.java (Package): Added ClassLoader argument.
21866 (loader): New field.
21867 (getDeclaredAnnotations): Implemented without help from VMPackage.
21868 * vm/reference/java/lang/VMClassLoader.java (static): Added argument
21869 to Package constructor.
21870 * vm/reference/java/lang/VMPackage.java: Removed.
21872 2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21874 * examples/gnu/classpath/examples/swing/TreeDemo.java:
21875 (createContent): Added check box to swith between single and
21876 multiple selection.
21877 * javax/swing/JTree.java (leadSelectionPath): Removed.
21878 (addSelectionInterval): Explained. (getLeadSelectionPath):
21879 Request the path from model. (getPathsBetweenRows): Explained.
21880 (setLeadSelectionPath): Set the path in model.
21881 * javax/swing/plaf/basic/BasicTreeUI.java
21882 (TreeIncrementAction.actionPerformed, isMultiSelectionEvent,
21883 isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
21884 (MouseHandler.mousePressed): Call selectPathForEvent.
21886 2006-04-23 Roman Kennke <kennke@aicas.com>
21888 * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
21890 2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
21893 Mention changes to VMProcess and VMSystem.
21894 * doc/vmintegration.texinfo:
21895 Change documentation on VMProcess and VMSystem.
21896 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21897 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21898 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21899 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21900 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21901 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21902 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21903 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21904 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21905 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21906 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21907 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21908 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21909 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21910 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21911 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21912 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21913 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21914 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21915 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21916 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21917 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21918 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21919 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21920 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21921 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21922 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21923 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21924 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21925 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21926 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21927 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21928 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21929 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21930 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21931 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21932 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21933 * include/gnu_java_awt_peer_qt_QMatrix.h,
21934 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21935 * include/gnu_java_awt_peer_qt_QPen.h,
21936 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21937 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21938 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21939 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21940 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21941 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21942 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21943 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21944 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21945 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21946 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21947 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21948 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21949 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21950 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21951 * include/gnu_java_awt_peer_qt_QtImage.h,
21952 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21953 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21954 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21955 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21956 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21957 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21958 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21959 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21960 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21961 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21962 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21963 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21964 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21965 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21966 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21967 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21968 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21969 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21970 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21971 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21972 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21973 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21974 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21975 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21976 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21977 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21978 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21979 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21980 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21981 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21982 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21983 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21984 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21985 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21986 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21987 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21988 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21989 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21990 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21991 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21992 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21993 * include/java_lang_VMProcess.h,
21994 * include/java_lang_VMSystem.h:
21995 Regenerated with GCJ 4.1.
21997 2006-04-22 Casey Marshall <csm@gnu.org>
21999 Fixes PR classpath/27228.
22000 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
22001 (initialize): also accept `DHParameterSpec.'
22002 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
22003 handle a passed-in `DHParameterSpec' properly.
22004 (generate): don't check if the random exponent is less than `q -
22005 1' if no `q' was specified.
22007 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22009 * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
22010 Only repaint the patches, speficied in the passed event.
22011 (expandPath): Do nothing if the path is already expanded.
22012 (scrollPathToVisible): Only scroll to visible, do nothing else.
22013 * javax/swing/plaf/basic/BasicTreeUI.java
22014 (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
22015 (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
22016 (TreeTraverseAction.actionPerformed): Collapse the node on the
22017 action "selectParent". (selectPath): Rewritten.
22018 * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
22019 Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
22020 Do not reuse selection array.
22021 * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
22023 * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
22026 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22028 * javax/swing/tree/DefaultTreeSelectionModel.java
22029 (addSelectionPath): If the path cannot be added, set it.
22030 (addSelectionPaths): Call insureRowContinuity.
22031 (arePathsContiguous): Implemented.
22032 (canPathBeAdded): New private method.
22033 (canPathsBeAdded): Implemented.
22034 (canPathsBeRemoved): Implemented.
22035 (getPath): New private method.
22036 (insureRowContinuity): Implemented.
22037 (removeSelectionPath): Call insureRowContinuity.
22038 (removeSelectionPaths): Call insureRowContinuity.
22039 (resetRowSelection): Removed stub marking, not used in implementation
22040 (nothing to do there).
22041 (selectOne): New private method.
22042 (setSelectionMode) Call insureRowContinuity.
22043 (setSelectionPaths) Remove the current selection by clearing it.
22045 2006-04-22 Carsten Neumann <cn-develop@gmx.net>
22047 * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
22048 parameters consistendly, documented some methods.
22049 * java/sql/Blob.java: Likewise.
22050 * java/sql/CallableStatement.java: Likewise.
22051 * java/sql/Clob.java: Likewise.
22052 * java/sql/Connection.java: Likewise.
22053 * java/sql/DatabaseMetaData.java: Likewise.
22054 * java/sql/Date.java: Likewise.
22055 * java/sql/Driver.java: Likewise.
22056 * java/sql/PreparedStatement.java: Likewise.
22057 * java/sql/ResultSet.java: Likewise.
22058 * java/sql/ResultSetMetaData.java: Likewise.
22059 * java/sql/SQLData.java: Likewise.
22060 * java/sql/SQLOutput.java: Likewise.
22061 * java/sql/SQLWarning.java: Likewise.
22062 * java/sql/Statement.java: Likewise.
22063 * java/sql/Time.java: Likewise.
22064 * java/sql/Timestamp.java: Likewise.
22066 2006-04-21 Jeroen Frijters <jeroen@frijters.net>
22068 * java/lang/reflect/AccessibleObject.java:
22069 Implemented AnnotatedElement.
22070 (getAnnotation, getAnnotations, getDeclaredAnnotations,
22071 isAnnotationPresent): New methods.
22073 2006-04-21 Tom Tromey <tromey@redhat.com>
22075 PR classpath/27163:
22076 * gnu/java/net/protocol/ftp/FTPConnection.java
22077 (changeWorkingDirectory): Do nothing if path is empty.
22079 2006-04-21 Tom Tromey <tromey@redhat.com>
22082 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
22083 case where no '/' appears in 'location'.
22085 2006-04-21 Tom Tromey <tromey@redhat.com>
22087 * java/security/Security.java (<clinit>): Add all default providers.
22088 * resource/java/security/classpath.security: Added comment.
22090 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22092 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
22093 * javax/swing/SpinnerNumberModel.java: Likewise.
22095 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22097 * javax/swing/SpinnerDateModel.java
22098 (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
22099 checking to call compareTo() on start and end.
22101 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22103 * javax/swing/border/AbstractBorder.java: API doc updates,
22104 * javax/swing/border/BevelBorder.java: Likewise,
22105 * javax/swing/border/CompoundBorder.java: Likewise,
22106 * javax/swing/border/EtchedBorder.java: Likewise,
22107 * javax/swing/border/LineBorder.java: Likewise,
22108 * javax/swing/border/MatteBorder.java: Likewise,
22109 * javax/swing/border/TitledBorder.java: Likewise.
22111 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22113 * gnu/javax/crypto/cipher/Anubis.java:
22114 (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
22116 * gnu/javax/crypto/cipher/Blowfish.java:
22117 (selfTest): Likewise,
22118 * gnu/javax/crypto/cipher/Cast5.java:
22119 (selfTest): Likewise,
22120 * gnu/javax/crypto/cipher/Khazad.java:
22121 (selfTest): Likewise,
22122 * gnu/javax/crypto/cipher/Rijndael.java:
22123 (selfTest): Likewise,
22124 * gnu/javax/crypto/cipher/Serpent.java:
22125 (selfTest): Likewise,
22126 * gnu/javax/crypto/cipher/Square.java:
22127 (selfTest): Likewise,
22128 * gnu/javax/crypto/cipher/Twofish.java:
22129 (selfTest): Likewise,
22130 * gnu/javax/crypto/mac/UMac32.java:
22131 (selfTest): Likewise,
22132 * gnu/javax/crypto/prng/CSPRNG.java:
22133 (getSystemInstance): Likewise.
22135 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22137 * gnu/java/security/hash/Haval.java:
22138 (selfTest): Use Boolean.valueOf() to avoid creating new Boolean
22140 * gnu/java/security/hash/MD2.java:
22141 (selfTest): Likewise,
22142 * gnu/java/security/hash/MD4.java:
22143 (selfTest): Likewise,
22144 * gnu/java/security/hash/MD5.java:
22145 (selfTest): Likewise,
22146 * gnu/java/security/hash/RipeMD128.java:
22147 (selfTest): Likewise,
22148 * gnu/java/security/hash/RipeMD160.java:
22149 (selfTest): Likewise,
22150 * gnu/java/security/hash/Sha160.java:
22151 (selfTest): Likewise,
22152 * gnu/java/security/hash/Sha256.java:
22153 (selfTest): Likewise,
22154 * gnu/java/security/hash/Sha384.java:
22155 (selfTest): Likewise,
22156 * gnu/java/security/hash/Sha512.java:
22157 (selfTest): Likewise,
22158 * gnu/java/security/hash/Tiger.java:
22159 (selfTest): Likewise,
22160 * gnu/java/security/hash/Whirlpool.java:
22161 (selfTest): Likewise.
22163 2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22165 * javax/swing/plaf/basic/BasicTreeUI.java
22166 (PropertyChangeHandler.propertyChange): Set the row mapper
22167 for the selection model.
22168 * javax/swing/tree/AbstractLayoutCache.java
22169 (NodeDimensions.getNodeDimensions): Explained.
22170 (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
22171 Implemented. (setRowHeight): Invalidate sizes.
22172 * javax/swing/tree/DefaultTreeSelectionModel.java
22173 (addSelectionPath, addSelectionPaths): Update lead row.
22174 (removeSelectionPath, removeSelectionPaths): Do nothing if
22175 selection is empty.
22176 (clone): Only clone list selection model if it is not null.
22177 (getRow): New method. (isRowSelected, getLeadSelectionRow,
22178 setSelectionPath, setSelectionPaths, toString): Implemented.
22179 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
22180 Pass the empty rectangle. (isFixedRowHeight): New method.
22181 * javax/swing/tree/VariableHeightLayoutCache.java
22182 (NodeRecord.getBounds): Pass the empty rectangle.
22184 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22186 * gnu/java/security/Properties.java
22187 (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
22189 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22191 * gnu/classpath/jdwp/util/Value.java
22192 (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid
22193 creating new Boolean instances.
22195 2006-04-20 Mark Wielaard <mark@klomp.org>
22197 * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
22198 PrivilegedAction. Access awt.toolkit through SystemProperties.
22200 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22202 * javax/swing/ActionMap.java: Removed unused imports,
22203 * javax/swing/DefaultListSelectionModel.java
22204 (clearSelection): Removed unused label,
22205 * javax/swing/JScrollPane.java: Removed unused imports,
22206 * javax/swing/UIManager.java: Likewise,
22207 * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
22209 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22211 * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
22212 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
22213 * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
22214 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
22215 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
22217 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22219 * java/sql/Array.java: Fixed Eclipse API doc warnings,
22220 * java/sql/Blob.java: Likewise,
22221 * java/sql/CallableStatement.java: Likewise,
22222 * java/sql/Clob.java: Likewise,
22223 * java/sql/Connection.java: Likewise,
22224 * java/sql/DatabaseMetaData.java: Likewise,
22225 * java/sql/Date.java: Likewise,
22226 * java/sql/Driver.java: Likewise,
22227 * java/sql/PreparedStatement.java: Likewise,
22228 * java/sql/ResultSet.java: Likewise,
22229 * java/sql/ResultSetMetaData.java: Likewise,
22230 * java/sql/SQLData.java: Likewise,
22231 * java/sql/SQLOutput.java: Likewise,
22232 * java/sql/SQLWarning.java: Likewise,
22233 * java/sql/Statement.java: Likewise,
22234 * java/sql/Time.java: Likewise,
22235 * java/sql/Timestamp.java: Likewise.
22237 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22239 * java/sql/DriverManager.java
22240 (setLoginTimeout): Use incoming argument,
22241 (setLogStream): Likewise,
22242 (println): Fix API doc comment.
22244 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22246 * javax/swing/JMenuItem.java
22247 (paramString): Updated API docs,
22248 (getAccessibleContext): Added API docs,
22249 (AccessibleJMenuItem.stateChanged): Marked as stub,
22250 (AccessibleJMenuItem.getAccessibleRole): Added API docs,
22251 * javax/swing/JSlider.java
22252 (paramString): Fix for API docs,
22253 * javax/swing/JToolTip.java
22254 (getAccessibleContext): Fix for API docs.
22256 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22258 * javax/swing/JRadioButtonMenuItem.java
22259 (paramString): Reimplemented,
22260 (getAccessibleContext): API docs added,
22261 (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()):
22263 (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
22265 2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22267 * javax/swing/plaf/basic/BasicTreeUI.java
22268 (finish): Invalidate path bounds.
22269 (getMaxHeight): Set the row height to the layout cache.
22270 (startEditing): Do not request to recalculated
22271 row height and preferred size.
22272 * javax/swing/tree/DefaultTreeCellEditor.java
22273 (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
22275 * javax/swing/tree/FixedHeightLayoutCache.java:
22278 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22280 * javax/swing/JDesktopPane.java
22281 (paramString): Reimplemented,
22282 plus API doc updates in AccessibleJDesktopPane.
22284 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22286 * javax/swing/ImageIcon.java:
22287 (AccessibleImageIcon.getAccessibleStateSet): Return null always,
22288 (AccessibleImageIcon.getLocale): Declared exception and always return
22290 (getAccessibleContext): Updated API docs,
22291 plus updated API docs all over AccessibleImageIcon.
22293 2006-04-20 Roman Kennke <kennke@aicas.com>
22296 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
22297 (paintText): Fetch the ascent only once. Add the ascent to
22298 the text rect also when tabs are disabled.
22300 2006-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
22302 * java/util/Locale.java (defaultLocale): Set to en_US per
22303 default and use user.country but prioritize user.region if
22305 (getLocale(String language, String country)): Renamed region to
22307 (getLocale(String language, String region, String variant)):
22309 (getAvailableLocales): Likewise.
22311 2006-04-20 Roman Kennke <kennke@aicas.com>
22314 * javax/swing/JList.java
22315 (JList()): Call init() with DefaultListModel instance.
22316 (JList(Object[])): Call init() with null.
22317 (JList(Vector)): Call init() with null.
22318 (JList(ListModel)): Call init() with model.
22319 (init): Changed to take the model as argument. Don't call
22320 setter methods and initialize stuff directly instead.
22321 (getCellBounds): Check if UI is null.
22323 2006-04-20 Robert Schuster <robertschuster@fsfe.org>
22325 * javax/swing/text/WrappedPlainView.java: Initialize
22326 WrappedLine.numLines with -1.
22327 (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
22328 numLines is -1 and reculcalate the value appropriately.
22329 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
22330 allocation area is empty.
22332 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22334 * javax/swing/JTabbedPane.java
22335 (AccessibleJTabbedPane.stateChanged): Marked as stub,
22336 (AccessibleJTabbedPane.getAccessibleRole): Likewise,
22337 (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
22338 (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
22339 (AccessibleJTabbedPane.getAccessibleAt): Likewise,
22340 (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
22341 (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
22342 (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
22343 (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
22344 (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
22345 (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
22346 (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
22347 (Page.getAccessibleStateSet): Likewise,
22348 (Page.getAccessibleIndexInParent): Likewise.
22350 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22352 * javax/swing/JProgressBar.java
22353 (paramString): Reimplemented.
22355 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22357 * javax/swing/JButton.java: Updated API docs all over.
22359 2006-04-19 Roman Kennke <kennke@aicas.com>
22361 * java/awt/Toolkit.java
22362 (getDefaultToolkit): Use system classloader to load the
22365 2006-04-19 Robert Schuster <robertschuster@fsfe.org>
22367 * javax/swing/text/DefaultCaret.java:
22368 (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
22369 instead of DefaultCaret.setDot.
22371 2006-04-19 Roman Kennke <kennke@aicas.com>
22373 * native/jni/java-net/local.c
22374 (local_read): Handle EINTR correctly.
22375 (local_write): Likewise.
22377 2006-04-19 Riccardo Mottola <multix@gmail.com>
22379 PR classpath/27062, PR classpath/25650:
22380 * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
22382 2006-04-19 Tom Tromey <tromey@redhat.com>
22384 * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
22385 value of 'pureMinutes'. PR classpath/27189.
22387 2006-04-19 Olivier Jolly <olivier.jolly@pcedev.com>
22389 * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
22390 boot packages list from the META-INF/INDEX.LIST file if it exists.
22392 2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au>
22394 Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
22395 * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
22396 (ITERATION_COUNT): Removed modifiers.
22397 (PASSWORD): Likewise.
22399 (PASSWORD_ENCODING): New property.
22400 (DEFAULT_PASSWORD_ENCODING): New constant.
22401 * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
22402 material (bytes) before a password (chars).
22404 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22406 * javax/swing/JMenu.java
22407 (getAccessibleChildrenCount): Marked as stub,
22408 (getAccessibleChild): Likewise,
22409 (getAccessibleSelection): Likewise,
22410 (getAccessibleSelection(int)): Likewise,
22411 (isAccessibleChildSelected): Likewise,
22412 (getAccessibleSelectionCount): Likewise,
22413 (addAccessibleSelection): Likewise,
22414 (removeAccessibleSelection): Likewise,
22415 (clearAccessibleSelection): Likewise,
22416 (selectAllAccessibleSelection): Likewise.
22418 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22420 * javax/swing/JSplitPane.java
22421 (getAccessibleContext): Added API docs,
22422 (paramString): Reimplemented,
22423 (setOrientation): Updated API docs,
22424 (setResizeWeight): Added argument checking and event notification.
22426 2006-04-18 Casey Marshall <csm@gnu.org>
22428 Fixes PR classpath/25673
22429 * java/security/KeyStore.java (getDefaultType): return "gkr" if no
22430 property is set. Update JavaDoc to reflect this.
22432 2006-04-18 Lillian Angel <langel@redhat.com>
22434 * gnu/xml/dom/DomDocument.java
22435 (setCheckingCharacters): New function used to set
22436 checkingCharacters flag.
22437 * gnu/xml/dom/html2/DomHTMLParser.java
22438 (parseDocument): Added call to set checkingCharacters flag
22441 2006-04-18 Lillian Angel <langel@redhat.com>
22443 * gnu/xml/dom/DomDocument.java
22444 (checkNCName): Reverted last patch. Added check for colon at
22445 last position back in.
22447 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22449 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22451 * examples/gnu/classpath/examples/swing/Demo.java:
22452 (mkMenuBar): Added NavigationFilter demo.
22454 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22456 * javax/swing/JSeparator.java: Updated API docs all over, plus
22457 (setOrientation): Fire PropertyChangeEvent,
22458 (paramString): Reimplemented.
22460 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22462 * javax/swing/plaf/basic/BasicTextUI.java:
22463 (getNextVisualPositionFrom): Implemented.
22465 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22467 * javax/swing/JPanel.java: Updated API docs all over, plus
22468 (JPanel(LayoutManager, boolean)): Pass on null layout, set
22469 double-buffer flag.
22471 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22473 * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22475 * examples/gnu/classpath/examples/swing/Demo.java:
22476 (mkMenuBar): Added DocumenFilter demo.
22478 2006-04-18 Tom Tromey <tromey@redhat.com>
22480 * doc/www.gnu.org/include/layout.wml: Add FMJ.
22482 2006-04-18 Mark Wielaard <mark@klomp.org>
22484 Reported by John Sullivan (johns@fsf.org)
22485 * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22487 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22489 * javax/swing/JInternalFrame.java
22490 (JDesktopIcon.getAccessibleContext): Added API docs,
22491 (getDefaultCloseOperation): Likewise,
22492 (paramString): Added 'title' attribute,
22493 (setDefaultCloseOperation): Added API docs.
22495 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22497 * javax/swing/JSlider.java
22498 (paramString): Reimplemented.
22500 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22502 * javax/swing/JComboBox.java
22503 (paramString): Reimplemented,
22504 (getAccessibleContext): Added API docs,
22505 (AccessibleJComboBox.getAccessibleRole): Likewise.
22507 2006-04-18 Roman Kennke <kennke@aicas.com>
22509 * javax/swing/RepaintManager.java
22510 (dirtyComponentsWork): New field.
22511 (ComponentComparator): Use dirtyComponentsWork instead of
22513 (RepaintManager): Initialize new field.
22514 (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22515 and work on the copy.
22517 2006-04-18 Roman Kennke <kennke@aicas.com>
22519 * gnu/java/awt/peer/swing/SwingComponentPeer.java
22520 (setBounds): Call reshape().
22521 * gnu/java/awt/peer/swing/SwingContainerPeer.java
22522 (SwingContainerPeer): Changed argument to be a Component
22523 instead a Container.
22524 (getInsets): Call insets().
22525 (handleMouseEvent): Added null check to avoid NPE.
22526 (handleMouseMotionEvent): Added null check to avoid NPE.
22528 2006-04-18 Roman Kennke <kennke@aicas.com>
22531 * javax/swing/JComponent.java
22532 (paintChildrenWithOverlap): When one child is not opaque, propagate
22533 the dirty rectangles to the next child.
22534 (paintChildrenOptimized): Removed unnecessary 'optimization'.
22535 This actually didn't work right and probably gained nothing.
22537 2006-04-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22539 * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22540 (moveToCellBeingEdited): Do not clone the rectangle here.
22542 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22544 * javax/swing/plaf/basic/BasicSliderUI.java
22545 (getActionMap): Fixed lookup key,
22546 (createActionMap): Modified actions to fetch slider/ui from the event
22549 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22551 * java/lang/Enum.java: Documented.
22553 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22555 * gnu/java/lang/InstrumentationImpl.java:
22556 Moved from java.lang.
22557 * java/lang/InstrumentationImpl.java:
22559 * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22560 Moved from java.lang.
22561 * vm/reference/java/lang/VMClassLoader.java:
22562 Corrected reference to InstrumentationImpl.
22563 * vm/reference/java/lang/VMInstrumentationImpl.java:
22566 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22568 * java/lang/annotation/Annotation.java:
22571 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22573 * javax/swing/JToolBar.java
22574 (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22575 (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22576 (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22577 (getAccessibleContext): Likewise.
22579 2006-04-17 Dalibor Topic <robilad@kaffe.org>
22582 Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22584 * native/fdlibm/Makefile.am,
22585 native/jni/classpath/Makefile.am:
22586 Don't use -module and -version-info for convenience libraries LDFLAGS.
22587 Fixes libtool warnings.
22589 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22591 * javax/swing/plaf/basic/BasicComboBoxUI.java:
22592 (installKeyboardActions): Marked as stub,
22593 (uninstallKeyboardActions): Likewise,
22594 * javax/swing/plaf/basic/BasicComboPopup.java:
22595 (installKeyboardActions): Marked as stub,
22596 (uninstallKeyboardActions): Likewise,
22597 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22598 (installKeyboardActions): Marked as stub,
22599 (uninstallKeyboardActions): Likewise,
22600 * javax/swing/plaf/basic/BasicLabelUI.java:
22601 (installKeyboardActions): Marked as stub,
22602 (uninstallKeyboardActions): Likewise,
22603 * javax/swing/plaf/basic/BasicListUI.java:
22604 (installKeyboardActions): Marked as stub,
22605 (uninstallKeyboardActions): Likewise,
22606 * javax/swing/plaf/basic/BasicMenuBarUI.java:
22607 (installKeyboardActions): Marked as stub,
22608 (uninstallKeyboardActions): Likewise,
22609 * javax/swing/plaf/basic/BasicMenuUI.java:
22610 (installKeyboardActions): Marked as stub,
22611 (uninstallKeyboardActions): Likewise,
22612 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22613 (installKeyboardActions): Marked as stub,
22614 (uninstallKeyboardActions): Likewise,
22615 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22616 (installKeyboardActions): Marked as stub,
22617 (uninstallKeyboardActions): Likewise,
22618 * javax/swing/plaf/basic/BasicScrollBarUI.java:
22619 (installKeyboardActions): Marked as stub,
22620 (uninstallKeyboardActions): Likewise,
22621 * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22622 (installKeyboardActions): Marked as stub,
22623 (uninstallKeyboardActions): Likewise,
22624 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22625 (installKeyboardActions): Marked as stub,
22626 (uninstallKeyboardActions): Likewise,
22627 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22628 (installKeyboardActions): Marked as stub,
22629 (uninstallKeyboardActions): Likewise,
22630 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22631 (installKeyboardActions): Marked as stub,
22632 (uninstallKeyboardActions): Likewise,
22633 * javax/swing/plaf/basic/BasicTableUI.java:
22634 (installKeyboardActions): Marked as stub,
22635 (uninstallKeyboardActions): Likewise,
22636 * javax/swing/plaf/basic/BasicTextUI.java:
22637 (installKeyboardActions): Marked as stub,
22638 (uninstallKeyboardActions): Likewise,
22639 * javax/swing/plaf/basic/BasicToolBarUI.java:
22640 (installKeyboardActions): Marked as stub,
22641 (uninstallKeyboardActions): Likewise.
22643 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22645 * javax/swing/plaf/basic/BasicSliderUI.java
22646 (installKeyboardActions): Implemented,
22647 (uninstallKeyboardActions): Implemented,
22648 (scrollByBlock): Accept any value for direction,
22649 (scrollByUnit): Likewise,
22650 (getInputMap): New method,
22651 (getActionMap): New method,
22652 (createActionMap): New method.
22655 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22657 * doc/vmintegration.texinfo:
22660 2006-04-16 Tom Tromey <tromey@redhat.com>
22662 * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22664 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22667 Mention generics additions to the VM interface.
22668 * doc/vmintegration.texinfo:
22669 Added information on VMClass 1.5 additions and
22672 2006-04-16 Casey Marshall <csm@gnu.org>
22674 * NEWS: add an entry mentioning local socket support.
22676 2006-04-16 Casey Marshall <csm@gnu.org>
22678 * configure.ac (--enable-local-sockets): new enable argument.
22679 (ENABLE_LOCAL_SOCKETS): new define.
22680 * native/jni/java-net/Makefile.am (local_sources): new variable.
22681 (lib_javanet_la_SOURCES): append `local_sources.'
22682 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22683 * native/jni/java-net/local.c,
22684 * native/jni/java-net/local.h,
22685 * include/gnu_java_net_local_LocalSocketImpl.h,
22686 * gnu/java/net/local/LocalServerSocket.java,
22687 * gnu/java/net/local/LocalSocket.java,
22688 * gnu/java/net/local/LocalSocketAddress.java,
22689 * gnu/java/net/local/LocalSocketImpl.java: new files.
22691 2006-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
22693 * javax/accessibility/AccessibleAction.java:
22694 (DECREMENT): Added field.
22695 (INCREMENT): Likewise.
22696 (TOGGLE_EXPAND): Likewise.
22697 * javax/accessibility/AccessibleRole.java:
22698 (EDITBAR): Added field.
22699 (FOOTER): Likewise.
22700 (HEADER): Likewise.
22701 (PARAGRAPH): Likewise.
22702 (PROGRESS_MONITOR): Likewise.
22704 * javax/accessibility/AccessibleState.java:
22705 (INDETERMINATE): Added field.
22706 (MANAGES_DESCENDANTS): Likewise.
22707 (TRUNCATED): Likewise.
22709 2006-04-14 Tom Tromey <tromey@redhat.com>
22711 * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22713 * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22716 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22718 * javax/swing/text/DefaultCaret.java:
22719 (getBypass): New method.
22720 (moveDot): Rewritten.
22721 (moveDotImpl): New method.
22722 (setDot): Rewritten.
22723 (setDotImpl): New method.
22724 (DefaultCaret.Bypass): New class.
22726 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22728 * javax/swing/text/AbstractDocument.java:
22729 (getBypass): New method.
22730 (insertString): Rewritten.
22731 (remove): Rewritten.
22732 (replace): Rewritten.
22733 (insertStringImpl): New method.
22734 (removeImpl): New method.
22735 (replaceImpl): New method.
22736 (AbstractDocument.Bypass): New class.
22738 2006-04-14 Casey Marshall <csm@gnu.org>
22740 Fixes PR classpath/24642
22741 * NEWS: add note about SecureRandom changes, and addition of
22743 * java/security/SecureRandom.java (isSeeded): new field.
22744 (setSeed, setSeed): set `isSeeded' to `true.'
22745 (nextBytes): seed this instance if `isSeeded' is false.
22746 (getSeed): call `generateSeed.'
22747 (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22748 (generateSeed, generateSeed): new methods.
22749 * vm/reference/java/security/VMSecureRandom.java: new file.
22751 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22753 * javax/swing/text/FieldView.java:
22754 (paint): Apply clipping rectangle of the allocation area
22755 before painting the text.
22756 * javax/swing/text/DefaultHighlighter.java:
22757 (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22758 compute union and intersection, calculate intersection with allocation
22759 area before painting, adjust x and width when painting multiple lines
22760 by the range of the allocation area.
22762 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22764 * javax/swing/text/DefaultHighlighter.java:
22765 (paintLayeredHighlights): Marked as stub.
22767 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22769 * javax/swing/plaf/basic/BasicTextFieldUI.java:
22770 (propertyChanged): Added note, change color only if current background
22771 is a ColorUIResource instance.
22773 2006-04-14 Tom Tromey <tromey@redhat.com>
22775 * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22779 2006-04-14 Tom Tromey <tromey@redhat.com>
22781 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22783 2006-04-14 Mark Wielaard <mark@klomp.org>
22785 * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22786 thread group when exceptionHandler isn't set.
22787 * vm/reference/java/lang/VMThread.java (run): Use result of
22788 thread.getUncaughtExceptionHandler directly.
22790 2006-04-14 David Gilbert <david.gilbert@object-refinery.com>
22792 * javax/swing/JSplitPane.java
22793 (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22794 (AccessibleJSplitPane.getAccessibleRole): Implemented,
22795 (AccessibleJSplitPane.getAccessibleValue): Implemented,
22796 (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22797 (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22798 (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22799 (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22801 2006-04-10 Tom Tromey <tromey@redhat.com>
22803 * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
22804 Fixed parameter bounds.
22806 2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
22808 * gnu/javax/crypto/assembly/Assembly.java,
22809 * gnu/javax/crypto/assembly/Cascade.java,
22810 * gnu/javax/crypto/assembly/CascadeStage.java,
22811 * gnu/javax/crypto/assembly/CascadeTransformer.java,
22812 * gnu/javax/crypto/assembly/Direction.java,
22813 * gnu/javax/crypto/assembly/LoopbackTransformer.java,
22814 * gnu/javax/crypto/assembly/ModeStage.java,
22815 * gnu/javax/crypto/assembly/Operation.java,
22816 * gnu/javax/crypto/assembly/PaddingTransformer.java,
22817 * gnu/javax/crypto/assembly/Stage.java,
22818 * gnu/javax/crypto/assembly/Transformer.java,
22819 * gnu/javax/crypto/cipher/Square.java,
22820 * gnu/javax/crypto/jce/cipher/AESSpi.java,
22821 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
22822 * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
22823 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
22824 * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
22825 * gnu/javax/crypto/jce/cipher/DESSpi.java,
22826 * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
22827 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
22828 * gnu/javax/crypto/jce/cipher/PBES2.java,
22829 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
22830 * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
22831 * gnu/javax/crypto/jce/cipher/SquareSpi.java,
22832 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
22833 * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
22834 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
22835 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
22836 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
22837 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
22838 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
22839 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
22840 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
22841 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
22842 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
22843 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
22844 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
22845 * gnu/javax/crypto/jce/mac/MacAdapter.java,
22846 * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
22847 * gnu/javax/crypto/jce/mac/UHash32Spi.java,
22848 * gnu/javax/crypto/jce/mac/UMac32Spi.java,
22849 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
22850 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
22851 * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
22852 * gnu/javax/crypto/mode/IAuthenticatedMode.java,
22853 * gnu/javax/crypto/pad/WrongPaddingException.java,
22854 * gnu/javax/crypto/prng/ICMGenerator.java,
22855 * gnu/javax/crypto/prng/IPBE.java,
22856 * gnu/javax/crypto/prng/PBKDF2.java,
22857 * gnu/javax/crypto/sasl/ConfidentialityException.java,
22858 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
22859 * gnu/javax/crypto/sasl/srp/IALG.java,
22860 * gnu/javax/crypto/sasl/srp/SRPServer.java:
22861 Remove CVS revision tags.
22863 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22865 * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize):
22866 Removed debugging code.
22868 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22870 * javax/swing/JTree.java (getPreferredSize): Return the
22872 * javax/swing/ViewportLayout.java (layoutContainer):
22873 Do not manage the view size and location if the view is
22874 in the scroll pane. Also manage size and location for
22875 Scrollable, if it is not in the scroll pane.
22876 * javax/swing/plaf/basic/BasicTreeUI.java,
22877 * javax/swing/tree/FixedHeightLayoutCache.java,
22878 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22879 * gnu/javax/swing/tree/GnuPath.java: New file.
22881 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22883 * javax/swing/JToolBar.java
22884 (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
22886 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22888 * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
22889 (createCustomColoredPanel): Set background color as demo intends,
22890 changed custom selection color to red.
22891 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
22892 Replaced various single variables with a Compound instance, added
22893 custom highlighter demo.
22894 (TextFieldDemo.DemoHighlightPainter): New class (taken from
22896 (TextFieldDemo.Compound): New class.
22897 (createTextFieldCompound): New method.
22898 (createLeftAlignedPanel): Rewritten.
22899 (createRightAlignedPanel): Rewritten.
22900 (createCenteredPanel): Rewritten.
22901 (createCustomColoredPanel): Removed.
22902 (createCustomColoredPanel1): New method.
22903 (createCustomColoredPanel2): New method.
22904 (createCustomBordersPanel): New method.
22905 (createMiscPanel): Rewritten.
22906 (actionPerformed): Rewritten.
22907 (createContent): Add panels of new compounds to main panel, put
22908 main panel in a JScrollPane.
22909 * examples/gnu/classpath/examples/swing/Demo.java:
22910 (Demo): Put desktop in a scrollpane.
22911 (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
22912 method via reflection.
22914 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22916 * javax/swing/plaf/metal/MetalDesktopIconUI.java
22917 (createUI): Return new instance rather than shared instance.
22919 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22921 * javax/swing/text/FieldView.java:
22922 (checkContainer): Call updateVisibility() at the end.
22924 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22926 * java/awt/event/MouseEvent.java:
22927 (paramString): Add value of 'consumed' variable in string.
22929 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22932 * javax/swing/JTextField.java: Removed scrollOffset variable.
22933 (JTextField): Moved up initialization of horizontalVisibility field.
22934 (getScrollOffset): Implemented.
22935 (setScrollOffset): Implemented.
22936 (getHorizonztalVisibility): Removed note.
22937 (scrollRectToVisible): New method.
22938 * javax/swing/text/FieldView.java: Added cachedSpan variable.
22939 (checkContainer): New method.
22940 (updateVisibility): New method.
22941 (calculateHorizontalSpan): New method.
22942 (adjustAllocation): Removed unneeded local variables, added code
22943 to handle scrolling.
22944 (getPreferredSpan): Use new method calculateHorizontalSpan,
22945 avoid calculation by returning cached value cachedSpan.
22946 (paint): Added check whether the hosted component is a JTextField.
22947 (insertUpdate): Invalidate cached span value, update visibility
22949 (removeUpdate): Dito.
22950 (changeUpdate): Dito.
22952 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22954 * javax/swing/JInternalFrame.java
22955 (setTitle): Set old value to 'this.title', not 'title'.
22957 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22959 * javax/swing/JInternalFrame.java
22960 (AccessibleJInternalFrame.getAccessibleName): Implemented,
22961 (AccessibleJInternalFrame.getAccessibleRole): Implemented,
22962 (AccessibleJInternalFrame.getAccessibleValue): Implemented,
22963 (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
22964 (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
22965 (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
22966 (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
22967 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
22968 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
22969 (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue):
22971 (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue):
22973 (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue):
22975 (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue):
22977 (JInternalFrame()): Use "" for default title,
22978 (getAccessibleContext): Updated API docs,
22979 (getDesktopIcon): Likewise,
22980 (getLayer): Check for layer in client properties, and return
22981 DEFAULT_LAYER if no setting is found,
22982 (getTitle): Updated API docs,
22983 (setDesktopIcon): Fire property change event.
22985 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22987 * javax/swing/ScrollPaneLayout.java (layoutContainer):
22988 Mind that the presence of one scroll bar may cause the
22991 2006-04-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
22993 * gnu/regexp/REToken.java(unicodeAware): New field,
22994 (toLowerCase, toUpperCase): New methods.
22995 * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
22996 gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
22997 Use toLowerCase and toUpperCase defined in REToken instead of
22998 those defined in java.lang.Character.
22999 * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
23000 (initialize): Sets unicodeAware of the generated REToken to false if
23001 REG_ICASE_USASCII is set.
23002 * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
23003 to lower case and keep the original value.
23004 (matchOneString): Use the new method charEquals to compare characters.
23005 (charEquals): New method to compare characters.
23006 * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
23008 2006-04-12 David Gilbert <david.gilbert@object-refinery.com>
23010 * javax/swing/event/InternalFrameEvent.java:
23011 (paramString): Implemented,
23012 updated API docs all over.
23014 2006-04-12 Casey Marshall <csm@gnu.org>
23016 * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
23017 (Generator.setup): call `fillBlock.'
23019 2006-04-12 Casey Marshall <csm@gnu.org>
23021 Fixes PR classpath/24481.
23022 * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
23023 initialize the adaptee.
23024 (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
23025 * gnu/java/security/prng/MDGenerator.java (addRandomByte,
23026 addRandomBytes): new methods.
23028 2006-04-12 Tom Tromey <tromey@redhat.com>
23030 * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
23033 2006-04-12 Lillian Angel <langel@redhat.com>
23035 * gnu/xml/dom/DomDocument.java
23036 (checkNCName): Removed unneeded part of check.
23037 * gnu/xml/dom/DomNode.java
23038 (dispatchEvent): Added code to grow ancestors array
23039 if needed. Changed checks to use depth of node instead.
23040 Fixes an infinite loop and segmentation fault.
23041 * gnu/xml/dom/html2/DomHTMLParser.java
23042 (handleEndTag): No need to use/make a copy of the node.
23043 Causes an infinite loop.
23045 2006-04-12 Tom Tromey <tromey@redhat.com>
23047 PR classpath/27131:
23048 * java/util/BitSet.java (get): Early return if to==from.
23050 2006-04-12 Mark Wielaard <mark@klomp.org>
23052 * java/security/SecureRandom.java (algorithm): New private field.
23053 (SecureRandom): Initialize algorithm.
23054 (SecureRandom(SecureRandomSpi,Provider,String)): New private
23056 (getInstance): Call 3 argument constructor.
23057 (getAlgorithm): New method.
23059 2006-04-12 Mark Wielaard <mark@klomp.org>
23061 Port UncaughtExceptionHandler support from generics branch.
23062 * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
23064 2006-04-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
23066 * java/lang/Thread.java:
23067 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
23068 Added docs and security check.
23069 (getUncaughtExceptionHandler()): Documented.
23070 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
23071 Added docs and security check.
23072 (getDefaultUncaughtExceptionHandler()): Documented.
23073 (getId()): Documented.
23075 2006-04-12 Tom Tromey <tromey@redhat.com>
23077 * vm/reference/java/lang/VMThread.java (run): Use thread's
23079 * java/lang/Thread.java (defaultHandler): New field.
23080 (setDefaultUncaughtExceptionHandler,
23081 getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
23082 getUncaughtExceptionHandler): New methods.
23083 * java/lang/ThreadGroup.java (ThreadGroup): Implements
23084 UncaughtExceptionHandler.
23085 (uncaughtException): Use getDefaultUncaughtExceptionHandler.
23087 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
23089 * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
23090 buffer. Loop only once to determine Utf8 length when possible. Make
23091 the inner loop bounded by buf.length.
23092 (getUTFlength): New private method.
23093 (buf): New private field.
23095 2006-04-11 Lillian Angel <langel@redhat.com>
23097 * gnu/xml/dom/DomNodeIterator.java
23098 (nextNode): Moved line of code to avoid an infinite loop.
23099 * gnu/xml/dom/html2/DomHTMLAppletElement.java
23100 (getCls): New function.
23101 (setCls): Likewise.
23102 (getSrc): Likewise.
23103 (setSrc): Likewise.
23104 * gnu/xml/dom/html2/DomHTMLDocument.java:
23105 Added DomHTMLEmbedElement to map.
23106 (getApplets): Added node name, 'embed'.
23107 * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
23109 * gnu/xml/dom/html2/DomHTMLObjectElement.java
23110 (getJavaCode): New function.
23111 (setJavaCode): Likewise.
23112 (getObject): Likewise.
23113 (setObject): Likewise.
23114 (getJavaObject): Likewise.
23115 (setJavaObject): Likewise.
23116 (getJavaArchive): Likewise.
23117 (setJavaArchive): Likewise.
23118 (getJavaCodeBase): Likewise.
23119 (setJavaCodeBase): Likewise.
23120 (getJavaType): Likewise.
23121 (setJavaType): Likewise.
23122 (setMayscript): Likewise.
23123 (getMayscript): Likewise.
23124 (setScriptable): Likewise.
23125 (getScriptable): Likewise.
23126 * gnu/xml/dom/html2/DomHTMLParser.java
23127 (parseDocument): Should not check for well formedness
23128 when parsing an html document.
23129 * java/awt/Window.java
23130 (dispatchEvent): Added check to avoid NPE.
23132 2006-04-10 Tom Tromey <tromey@redhat.com>
23134 * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
23136 * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
23137 (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23139 2006-04-10 Robert Schuster <robertschuster@fsfe.org>
23141 * javax/swing/plaf/basic/BasicTextUI.java:
23142 (getNextVisualPositionFrom): Marked as stub.
23144 2006-04-10 Roman Kennke <kennke@aicas.com>
23146 * javax/swing/plaf/basic/BasicLookAndFeel.java
23147 (initSystemColorDefaults): Changed to use loadSystemColorDefaults
23148 and create the defaults as strings constants.
23149 (loadSystemColors): Implemented stubbed method.
23151 2006-04-10 Tom Tromey <tromey@redhat.com>
23153 * .settings/org.eclipse.core.resources.prefs: Set encoding for
23156 2006-04-10 Tom Tromey <tromey@redhat.com>
23158 * java/io/CharArrayWriter.java (append): Javadoc fix.
23159 (append): Likewise.
23161 2006-04-10 Tom Tromey <tromey@redhat.com>
23163 * javax/accessibility/AccessibleTextSequence.java: New file.
23164 * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
23166 (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
23167 EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
23168 FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
23169 SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23170 * javax/accessibility/AccessibleExtendedText.java: New file.
23171 * javax/accessibility/AccessibleContext.java
23172 (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
23173 (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
23174 (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
23175 * javax/accessibility/AccessibleAttributeSequence.java: New file.
23176 * javax/accessibility/AccessibleStreamable.java: New file.
23177 * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
23180 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23182 * javax/swing/tree/AbstractLayoutCache.java
23183 (getNodeDimensions, getRowsForPath): Implemented.
23184 * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
23185 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23187 2006-04-10 Roman Kennke <kennke@aicas.com>
23189 * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
23191 2006-04-10 Roman Kennke <kennke@aicas.com>
23193 * javax/swing/JInternalFrame.java
23194 (AccessibleJInternalFrame): Marked all stubbed methods as such
23195 by adding throws NotImplementedException.
23197 2006-04-10 Roman Kennke <kennke@aicas.com>
23199 * javax/swing/JFileChooser.java
23200 (getAccessibleContext): Don't create a new instance on each
23201 call, instead store the accessible context in the
23202 accessibleContext field.
23204 2006-04-10 Roman Kennke <kennke@aicas.com>
23206 * javax/swing/JComboBox.java
23207 (AccessibleJComboBox): Marked all stubbed methods as such
23208 by adding throws NotImplementedException.
23210 2006-04-10 Roman Kennke <kennke@aicas.com>
23212 * javax/swing/ActionMap.java
23213 (readObject): Removed.
23214 (writeObject): Removed.
23216 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23218 * javax/swing/tree/DefaultTreeSelectionModel.java
23219 (addSelectionPaths, setSelectionPaths): Call
23220 insureUniqueness. (clone, setRowMapper): Implemented.
23221 * TreePath (path): Marked final.
23223 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23225 * javax/swing/tree/DefaultTreeSelectionModel.java:
23226 Documented and autoformatted. (insureUniqueness):
23227 Removed stub marking.
23229 2006-04-09 David Gilbert <david.gilbert@object-refinery.com>
23231 * javax/swing/SizeSequence.java
23232 (sizes): Don't initialise here,
23233 (SizeSequence(int, int)): Initialise sizes field,
23234 (SizeSequence(int[])): Clone argument instead of calling setSizes(),
23235 (setSize): Do nothing when index is out of bounds,
23236 (getIndex): Implemented,
23237 (setSizes): Reimplemented,
23238 (getSizes): Likewise,
23239 (insertEntries): Likewise,
23240 (removeEntries): Likewise,
23241 plus added API docs all over.
23243 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org
23245 * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
23246 one way message and retry after any IOException.
23248 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23250 * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
23251 Set the byte order.
23253 2006-04-09 Wolfgang Baer <WBaer@gmx.de>
23255 * org/omg/PortableServer/ServantLocatorPOA.java:
23256 (preinvoke, postinvoke): Remove default implementation.
23257 * org/omg/PortableServer/ServantActivatorPOA.java:
23258 (incarnate, etherealize): Remove default implementation.
23259 * org/omg/PortableInterceptor/ObjectReferenceFactory.java:
23260 Extends from ValueBase and not from ObjectReferenceFactoryOperations.
23261 (make_object): Moved method from ObjectReferenceFactoryOperations.
23262 * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java:
23263 Removed unspecified interface.
23264 * org/omg/DynamicAny/_DynAnyStub.java:
23265 (_DynAnyStub(Delegate)): Removed constructor.
23266 * org/omg/DynamicAny/_DynArrayStub.java,
23267 * org/omg/DynamicAny/_DynAnyFactoryStub.java,
23268 * org/omg/DynamicAny/_DynEnumStub.java,
23269 * org/omg/DynamicAny/_DynFixedStub.java,
23270 * org/omg/DynamicAny/_DynSequenceStub.java,
23271 * org/omg/DynamicAny/_DynStructStub.java,
23272 * org/omg/DynamicAny/_DynUnionStub.java,
23273 * org/omg/DynamicAny/_DynValueStub.java:
23274 Extend from ObjectImpl and not from _DynAnyStub.
23275 (type, next, destroy, copy, rewind, assign, component_count,
23276 current_component, equal, from_any, get_any, get_boolean, get_char,
23277 get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet,
23278 get_reference, get_short, get_string, get_typecode, get_ulong,
23279 get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
23280 insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
23281 insert_long, insert_longlong, insert_octet, insert_reference,
23282 insert_short, insert_string, insert_typecode, insert_ulong,
23283 insert_ulonglong, insert_ushort, insert_val, insert_wchar,
23284 insert_wstring, seek, to_any): New methods copied from _DynAnyStub.
23285 * org/omg/CosNaming/_BindingIteratorStub.java:
23286 (_BindingIteratorStub(Delegate)): Made package private.
23287 * org/omg/CosNaming/_NamingContextExtStub.java:
23288 (_NamingContextExtStub(Delegate)): Made package private.
23289 * org/omg/CosNaming/_NamingContextStub.java:
23290 (_NamingContextStub(Delegate)): Made package private.
23291 (throw4, throw5): Likewise.
23292 * gnu/CORBA/NamingService/NameParser.java (resolve):
23293 Adapt to package private constructor. Use _set_delegate instead.
23294 * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
23295 * org/omg/CORBA/ORB.java:
23296 (create_recursive_sequence_tc): Made abstract.
23297 (get_default_context): Likewise.
23298 * gnu/CORBA/OrbRestricted.java:
23299 (create_recursive_sequence_tc): New moved method.
23300 (get_default_context): Likewise.
23301 * org/omg/CORBA/ParameterMode.java:
23302 (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final.
23304 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23306 * gnu/CORBA/GIOP/MessageHeader.java (write):
23307 More informative exception.
23308 * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
23309 * gnu/CORBA/SocketRepository.java (get_socket):
23310 Removed debugging code.
23312 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23314 * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
23315 one way message, but ignore if EOF was received.
23316 * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
23317 Minor.EOF if the end of file is received instead of the header.
23319 2006-04-09 Roman Kennke <kennke@aicas.com>
23321 * javax/swing/plaf/metal/MetalRootPaneUI.java
23322 (MetalTitlePane.IconifyAction): New inner class.
23323 (MetalTitlePane.MaximizeAction): New inner class.
23324 (MetalTitlePane.createActions): Create iconifyAction and
23326 (MetalRootLayout.titlePane): New field.
23327 (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
23329 (MetalRootLayout.preferredLayoutSize): Changed to not make
23330 assumptions about the actual component order.
23331 (MetalRootLayout.layoutContainer): Changed to not make
23332 assumptions about the actual component order.
23333 (installWindowDecorations): Pass the titlePane as parameter to
23334 the MetalRootLayout constructor.
23335 (uninstallWindowDecorations): Changed to not make
23336 assumptions about the actual component order.
23338 2006-04-08 Roman Kennke <kennke@aicas.com>
23340 * javax/swing/plaf/metal/MetalRootPaneUI.java
23341 (MetalTitlePane.MouseHandler): New inner class to handle dragging
23343 (MetalTitlePane.installListeners): Don't register a focus listener
23344 on the window. This is a potential memory leak and must be
23345 implemented on a different way. Install mouse listener here.
23346 (installWindowDecorations): Fixed assertion condition. Always
23347 insert the window decoration at index#1 in the layered
23350 2006-04-08 Roman Kennke <kennke@aicas.com>
23352 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
23353 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
23354 Only resize window if actual width or height value changes.
23355 Avoids nasty flicker when only setLocation() is beeing called
23358 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23360 * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
23361 exception if the magic sequence does not match.
23363 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23365 * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
23366 response for the one way messages.
23368 2006-04-08 Roman Kennke <kennke@aicas.com>
23370 * javax/swing/MenuSelectionManager.java
23371 (processKeyEvent): Implemented stub method.
23372 * javax/swing/JMenu.java
23373 (processKeyEvent): Implemented stub method.
23374 * javax/swing/JMenu.java
23375 (processKeyEvent): Implemented stub method.
23376 (processMenuKeyEvent): Implemented stub method.
23378 2006-04-08 Roman Kennke <kennke@aicas.com>
23380 * javax/swing/AbstractAction.java
23381 (readObject): Removed unneeded method.
23382 (writeObject): Removed unneeded method.
23384 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23386 * javax/swing/plaf/synth/SynthPainter.java:
23387 (paintSplitPaneDividerBorder): Removed.
23389 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23391 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
23392 (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
23393 No longer constants.
23394 (static_initializer): Added to initialize above fields.
23395 * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY,
23396 MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
23397 (static_initializer): Added to initialize above fields.
23399 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23401 * java/awt/Dialog.java: Improved documentation all over.
23402 (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
23403 (Dialog(Dialog)): Likewise.
23405 2006-04-08 Mark Wielaard <mark@klomp.org>
23407 * java/util/jar/JarFile.java (provider): New static field.
23408 (verify, verifyHashes, EntryInputStream.<init>): Pass provider
23411 2006-04-08 Mark Wielaard <mark@klomp.org>
23414 * java/lang/StackTraceElement.java (toString): Don't add space
23415 between type and source indicator.
23417 2006-04-07 Casey Marshall <csm@gnu.org>
23419 Fixes PR classpath/24464
23420 * java/util/jar/JarFile.java (verify, verifyHashes,
23421 EntryInputStream.<init>): pass the Gnu provider directly to
23424 2006-04-08 Raif S. Naffah <raif@swiftdsl.com.au>
23427 * gnu/java/security/hash/Whirlpool.java: Updated documentation.
23428 (DIGEST0): Use version 3 test vector.
23430 (S_box): New field: Version 3 S-box values.
23431 (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23432 (transform): Formating.
23433 (padBuffer): Likewise.
23434 (getResult): Likewise.
23435 (selfTest): Likewise.
23437 2006-04-07 Tom Tromey <tromey@redhat.com>
23439 * java/util/InvalidPropertiesFormatException.java
23440 (serialVersionUID): New field.
23441 (readObject, writeObject): New methods.
23442 * java/util/Arrays.java (toString): Javadoc fixes.
23443 * java/net/URLConnection.java: Cleaned up imports.
23444 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23445 * java/lang/reflect/MalformedParameterizedTypeException.java
23446 (serialVersionUID): New field.
23447 * java/lang/reflect/GenericSignatureFormatError.java
23448 (serialVersionUID): New field.
23449 * java/lang/Class.java (Class): Javado fixes.
23450 (getComponentType): Likewise.
23451 (getGenericInterfaces): Likewise.
23452 (getTypeParameters): Likewise.
23453 * java/io/CharArrayWriter.java (append): Javadoc fixes.
23454 * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23456 * java/lang/TypeNotPresentException.java (serialVersionUID): New
23458 * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23461 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23463 * java/awt/Dialog.java
23464 (AccessibleAWTDialog): Added api docs
23465 (AccessibleAWTDialog.getAccessibleStateSet):
23466 Renamed from getAccessibleState.
23467 * java/awt/Frame.java
23468 (AccessibleAWTFrame): Added api docs
23469 (AccessibleAWTFrame.getAccessibleStateSet):
23470 Renamed from getAccessibleState.
23472 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23474 * java/awt/Dialog.java: Reformatted.
23476 2006-04-07 Lillian Angel <langel@redhat.com>
23478 * java/awt/Component.java
23479 (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23480 HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23482 2006-04-07 Tom Tromey <tromey@redhat.com>
23484 * java/beans/beancontext/BeanContextMembershipEvent.java
23485 (serialVersionUID): New field.
23486 * java/beans/beancontext/BeanContextServicesSupport.java
23487 (addBeanContextServicesListener): Synchronize.
23488 (addService): Implemented.
23489 (createBCSChild): Implemented.
23490 (BCSSChild): Added arguments.
23491 (fireServiceAdded): Implemented.
23492 (fireServiceRevoked): Implemented.
23493 (getCurrentServiceSelectors): Implemented.
23494 (hasService): Implemented.
23495 (removeBeanContextServicesListener): Implemented.
23496 (serviceAvailable): Implemented.
23497 (serviceRevoked): Implemented.
23498 * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23500 (createBCSChild): Implemented.
23501 (BeanContextSupport):
23502 (addBeanContextMembershipListener): Synchronize.
23503 (fireChildrenAdded): Implemented.
23504 (fireChildrenRemoved): Implemented.
23505 (BeanContextSupport): Use default locale.
23506 (isEmpty): Implemented.
23507 (isDesignTime): Implemented.
23508 (size): Implemented.
23509 (toArray): Synchronized.
23510 (toArray): Likewise.
23511 (iterator): Likewise.
23512 (BCSIterator): Implemented.
23513 (bcsChildren): Implemented.
23514 (validatePendingAdd): Implemented.
23515 (validatePendingRemove): Likewise.
23516 (childJustAddedHook): Implemented.
23517 (childJustRemovedHook): Likewise.
23518 (classEquals): Likewise.
23519 (toArray): Mark as stub.
23520 (setDesignTime): Implemented.
23521 (copyChildren): Implemented.
23522 (containsKey): Implemented.
23523 (contains): Likewise.
23524 (containsAll): Likewise.
23525 (getResource): Implemented.
23526 (getResourceAsStream): Likewise.
23527 (removeBeanContextMembershipListener): Likewise.
23528 * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23529 (serialVersionUID): New field.
23530 * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23531 (serialVersionUID): New field.
23532 * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23535 2006-04-06 Roman Kennke <kennke@aicas.com>
23538 * javax/swing/MenuSelectionManager.java
23539 (setSelectedPath): Search one more item in the loop.
23541 2006-04-06 Tom Tromey <tromey@redhat.com>
23543 * java/awt/image/renderable/RenderableImageProducer.java
23544 (image, context, consumers): New fields.
23545 (RenderableImageProducer): Implemented.
23546 (setRenderContext): Likewise.
23547 (addConsumer): Likewise.
23548 (isConsumer): Likewise.
23549 (removeConsumer): Likewise.
23550 (startProduction): Likewise.
23552 2006-04-06 Roman Kennke <kennke@aicas.com>
23554 * java/awt/Component.java
23555 (AccessibleAWTComponent.getBounds): Return the component
23556 bounds regardless of its showing state.
23557 (AccessibleAWTComponent.getLocation): Return the component
23558 location regardless of its showing state.
23559 (AccessibleAWTComponent.getSize): Return the component
23560 size regardless of its showing state.
23562 2006-04-06 Roman Kennke <kennke@aicas.com>
23564 * javax/swing/JRootPane.java
23565 (getAccessibleContext): New method. Provides an accessibleContext
23568 2006-04-06 Roman Kennke <kennke@aicas.com>
23570 * java/awt/Toolkit.java
23571 (initAccessibility): Use the 'gnu.classpath.home.url' property
23572 to determine the system confiuration directory.
23573 * java/awt/Component.java
23574 (dispatchEvent): Trigger Toolkit dispatching here.
23575 (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23576 so it can't be overridden by subclasses and is performed in
23579 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23581 * javax/naming/Binding.java: Added API docs.
23582 * javax/naming/NameClassPair.java: Added API docs.
23583 (fullName): New field.
23584 (setNameInNamespace): New 1.5 method.
23585 (getNameInNamespace): Likewise.
23587 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23589 * javax/naming/CompositeName.java:
23590 (readObject): New deserialization method.
23591 (writeObject): New serialization method.
23593 2006-03-29 Nektarios K. Papadopoulos <npapadop at inaccessnetworks.com>
23595 * javax/security/auth/x500/X500Principal.java
23596 (readAttributeValue) Check for separator after quoted value was
23597 failing in all cases.
23599 2006-04-06 Mark Wielaard <mark@klomp.org>
23601 * java/lang/Class.java (getClassLoader): Don't do security check
23602 when loader is null.
23604 2006-04-06 Roman Kennke <kennke@aicas.com>
23606 * java/awt/Toolkit.java
23607 (getDefaultToolkit): Initialize accessibility after setting
23609 (initAccessibility): New helper method to setup accessibility.
23611 2006-04-06 Roman Kennke <kennke@aicas.com>
23613 * javax/swing/AbstractButton.java
23614 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23615 (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23617 (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23618 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23619 (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23620 (AccessibleAbstractButton.getCharCount): Implemented stub.
23621 (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23622 (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23623 (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23624 (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23625 (AccessibleAbstractButton.getSelectedText): Implemented stub.
23626 (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23629 2006-04-06 Roman Kennke <kennke@aicas.com>
23631 * java/awt/Component.java
23632 (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23633 state here. This is only done in JComponent.
23634 * javax/swing/JComponent.java
23635 (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23637 (getNextFocusableComponent): Implemented stub method.
23638 (grabFocus): Implemented stub method.
23639 (unregisterKeyboardAction): Implemented stub method.
23640 (setNextFocusableComponent): Implemented stub method.
23641 * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23642 This is a helper class for providing compatibility with the older
23645 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23648 * javax/naming/directory/BasicAttribute.java,
23649 * javax/naming/directory/BasicAttributes.java:
23650 (readObject): New deserialization method.
23651 (writeObject): New serialization method.
23653 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23655 * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23656 (getErrorHandler): Made method abstract.
23657 (setErrorHanlder): Likewise.
23658 * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23659 (getErrorHandler): Implement abstract method from superclass.
23660 (setErrorHandler): Likewise.
23661 (errorHandler): New field.
23662 * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:
23663 (getErrorHandler): Implement abstract method from superclass.
23664 (setErrorHandler): Likewise.
23665 (errorHandler): New field.
23666 * javax/xml/XMLConstants.java: Corrected since tag.
23667 (XMLConstants): Added private constructor.
23668 * javax/xml/datatype/Duration.java: Corrected since tag.
23669 (multiply): Made method abstract.
23670 * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23671 (DatatypeConstants): Added private constructor.
23672 * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23673 (XPathConstants): Added private constructor.
23675 2006-04-05 Tom Tromey <tromey@redhat.com>
23677 * javax/security/auth/kerberos/ServicePermission.java: Now final.
23679 2006-04-05 Tom Tromey <tromey@redhat.com>
23682 * lib/Makefile.am (compile-classes): Touch the output file.
23684 2006-04-05 Roman Kennke <kennke@aicas.com>
23686 * javax/swing/AbstractButton.java
23687 (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23688 of the focused state. This is already done in AccessibleAWTComponent.
23690 2006-04-05 Roman Kennke <kennke@aicas.com>
23692 * javax/swing/JComponent.java
23693 (accessibleContext): Fixed API doc for this field.
23694 (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23695 (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23696 Implemented and added API docs.
23697 (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23698 Implemented and added API docs.
23699 (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23700 (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23701 Implemented and added API docs.
23702 (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23703 Implemented and added API docs.
23704 (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23705 (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23706 (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23707 (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23708 (AccessibleJComponent.getAccessibleStateSet): Simply return
23709 super here. Added comment about this.
23711 2006-04-05 Roman Kennke <kennke@aicas.com>
23713 * javax/swing/JComponent.java
23714 (AccessibleJComponent.addPropertyChangeListener): Install
23715 ContainerHandler and FocusHandler here.
23716 (AccessibleJComponent.removePropertyChangeListener): Uninstall
23717 ContainerHandler and FocusHandler here.
23718 (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23719 by super.getAccessibleChildrenCount().
23720 (AccessibleJComponent.getAccessibleChild): Replaced
23721 by super.getAccessibleChild().
23722 (AccessibleJComponent.getAccessibleStateSet): Implemented by
23723 adding OPAQUE to the supported states.
23724 (AccessibleJComponent.getAccessibleName): Added titled border
23725 and label fallbacks.
23726 (AccessibleJComponent.getAccessibleDescription): Added tooltip
23727 and label fallbacks.
23728 (AccessibleJComponent.getAccessibleRole): Removed TODO.
23729 (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23730 explaining why return null seems correct here.
23731 * javax/swing/JLabel.java
23732 (LABEL_PROPERTY): New constant.
23733 (setLabelFor): Store label in labeled component's client properties
23734 for the AccessibleJComponent to read.
23736 2006-04-05 Tom Tromey <tromey@redhat.com>
23738 * java/util/zip/ZipFile.java (available): Defer to super if
23739 entry's size is unknown.
23741 2006-04-05 Tom Tromey <tromey@redhat.com>
23743 * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23744 property with mime.types name.
23745 * gnu/classpath/SystemProperties.java: Set
23746 gnu.classpath.mime.types.file if not already set.
23747 * java/net/URLConnection.java (defaultFactory): New field.
23748 (guessContentTypeFromStream): Mark as unimplemented.
23749 (getContentHandler): Updated with libgcj's implementation.
23750 * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23753 2006-04-05 Bryce McKinlay <mckinlay@redhat.com>
23757 * java/util/AbstractList.java (hasNext): Don't throw
23758 ConcurrentModificationException. Update Javadoc.
23759 (hasPrevious): Likewise.
23760 (nextIndex): Likewise.
23761 (previousIndex): Likewise.
23762 * java/util/HashMap.java (hasNext): Likewise.
23763 * java/util/Hashtable.java (hasNext): Likewise.
23764 * java/util/IdentityHashMap.java (hasNext): Likewise.
23765 * java/util/LinkedHashMap.java (hasNext): Likewise.
23766 * java/util/LinkedList.java (nextIndex): Likewise.
23767 (previousIndex): Likewise.
23768 (hasNext): Likewise.
23769 (hasPrevious): Likewise.
23770 * java/util/TreeMap.java (hasNext): Likewise.
23771 * java/util/WeakHashMap.java (hasNext): Likewise.
23773 2006-04-05 Roman Kennke <kennke@aicas.com>
23775 * javax/swing/AbstractButton.java
23776 (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23777 (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23778 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23779 (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23780 (AccessibleAbstractButton.getAccessibleActionDescription):
23782 (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23783 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23784 (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23785 (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23786 (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23787 (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23789 2006-04-05 Roman Kennke <kennke@aicas.com>
23791 * javax/swing/JComboBox.java
23792 (selectWithKeyChar): Implemented stubbed method.
23794 2006-04-05 Roman Kennke <kennke@aicas.com>
23796 * javax/swing/LookAndFeel.java
23797 (installProperty): New method. Allows primitive typed properties
23798 to be handled like UIResources.
23799 * javax/swing/AbstractButton.java
23800 (clientBorderPaintedSet): New field.
23801 (clientRolloverEnabledSet): New field.
23802 (clientIconTextGapSet): New field.
23803 (clientContentAreaFilledSet): New field.
23804 (setRolloverEnabled): Set the client field to true.
23805 (setBorderPainted): Likewise.
23806 (setIconTextGap): Likewise.
23807 (setContentAreaFilled): Likewise.
23808 (setUIProperty): New helper method.
23809 * javax/swing/JComponent.java
23810 (clientOpaqueSet): New field.
23811 (clientAutoscrollsSet): New field.
23812 (setAutoscrolls): Set the client field to true.
23813 (setOpaque): Likewise.
23814 (setUIProperty): New helper method.
23815 * javax/swing/JDesktopPane.java
23816 (clientDragModeSet): New field.
23817 (setDragMode): Set the client field to true.
23818 (setUIProperty): New helper method.
23819 * javax/swing/JSplitPane.java
23820 (clientDividerSizeSet): New field.
23821 (clientOneTouchExpandableSet): New field.
23822 (setDividerSize): Set the client field to true.
23823 (setOneTouchExpandable): Likewise.
23824 (setUIProperty): New helper method.
23825 * javax/swing/JTable.java
23826 (clientRowHeightSet): New field.
23827 (setRowHeight): Set the client field to true.
23828 (setUIProperty): New helper method.
23829 * javax/swing/JTree.java
23830 (clientRowHeightSet): New field.
23831 (clientScrollsOnExpandSet): New field.
23832 (clientShowsRootHandlesSet): New field.
23833 (setRowHeight): Set the client field to true.
23834 (setShowsRootHandles): Likewise.
23835 (setScrollsOnExpand): Likewise.
23836 (setUIProperty): New helper method.
23838 2006-04-05 Roman Kennke <kennke@aicas.com>
23840 * java/awt/Component.java
23841 (getFont): Don't request the font from the peer's graphics. The
23842 graphics should instead get the font from the Component, which might
23844 (getFocusCycleAncestor): Don't special case Window.
23845 (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
23846 to here. Correctly determine the focus cycle root.
23847 (transferFocusBackward): Likewise.
23848 (transferFocusUpCycle): Likewise.
23849 * java/awt/Container.java
23850 (transferFocusDownCycle): Moved implementation from
23851 DefaultKeyboardFocusManager to here.
23852 * java/awt/DefaultKeyboardFocusManager.java
23853 (focusPreviousComponent): Moved implementation to
23854 Component.transferFocusBackward().
23855 (focusNextComponent): Moved implementation to
23856 Component.nextFocus().
23857 (upFocusCycle): Moved implementation to
23858 Component.transferFocusUpCycle().
23859 (downFocusCycle): Moved implementation to
23860 Container.transferFocusDownCycle().
23862 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23864 * java/awt/image/ComponentSampleModel.java
23865 (equals): Implemented,
23866 (hashCode): Likewise.
23868 2006-04-05 Jeroen Frijters <jeroen@frijters.net>
23870 * java/lang/Class.java
23871 (cast): New method.
23873 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23875 * java/awt/image/ComponentSampleModel.java
23876 (getBankIndices): Return a copy of the array, not a reference to the
23878 (getBandOffsets): Likewise.
23880 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23882 * java/awt/image/ComponentSampleModel.java: Added API docs all over.
23884 2006-04-04 Tom Tromey <tromey@redhat.com>
23886 * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
23888 2006-04-04 Tom Tromey <tromey@redhat.com>
23890 * java/net/MimeTypeMapper.java (mime_types): No longer static.
23891 (MimeTypeMapper): Initialize.
23892 (fillFromFile): New method.
23893 (main): New method.
23894 (mime_strings): Updated.
23896 2006-04-04 Tom Tromey <tromey@redhat.com>
23898 * lib/gen-classlist.sh.in: Correct handle generated files.
23900 2006-04-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
23902 * gnu/regexp/CharIndexed.java(setAnchor): New method.
23903 * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
23904 * gnu/regexp/CharIndexedCharSequence.java: New file.
23905 * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
23906 gnu.regexp.CharIndexedCharSequence.
23907 * gnu/regexp/CharIndexedString.java: Likewise.
23908 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
23909 * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
23910 using CharIndexedCharSequence. Use setAnchor when the input
23911 object is already a CharIndexed.
23912 * java/util/regex/Matcher.java(inputCharIndexed): New field
23913 to be used as a parameter of the RE#getMatch.
23915 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23917 * java/awt/image/SampleModel.java: Reformatted.
23919 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23921 * java/awt/image/ComponentSampleModel.java
23922 (ComponentSampleModel(int, int, int, int, int[])): Added API
23924 (ComponentSampleModel(int, int, int, int, int[], int[]): Throw
23925 IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
23926 of the bandOffsets and bankIndices arguments, added API documentation,
23927 * java/awt/image/SampleModel.java
23928 (SampleModel(int, int, int, int): Throw IllegalArgumentException for
23929 unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
23930 less than or equal to zero, added API documentation.
23932 2006-04-04 Lillian Angel <langel@redhat.com>
23934 * java/util/zip/ZipFile.java
23935 (getInputStream): Fixed to return size of ZipEntry
23936 minus the total bytes read. This guarantees that the
23937 right value is returned even if some bytes have already
23940 2006-04-04 Thomas Fitzsimmons <fitzsim@redhat.com>
23942 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
23943 Remove static modifier.
23945 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23947 * java/awt/image/ComponentSampleModel.java: Reformatted.
23949 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23951 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
23952 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
23953 retrieval instructions to javadoc header.
23954 * javax/imageio/ImageWriteParam.java: Fix javadoc for
23955 compressionType field.
23956 * lib/Makefile.am (propertydirs): Add javax directory.
23957 (propertyfiles): Likewise.
23958 * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
23961 2006-04-03 Tom Tromey <tromey@redhat.com>
23963 PR classpath/26971:
23964 * javax/naming/directory/BasicAttribute.java: Added missing @since.
23965 (BasicAttributeEnumeration.where): Initialize to 0.
23966 (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
23968 2006-04-03 Lillian Angel <langel@redhat.com>
23970 PR classpath/24596 and PR classpath/26930
23971 * java/util/zip/ZipFile.java
23972 (getInputStream): Override available function for
23973 InflaterInputStream instance.
23975 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23977 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
23979 2006-04-03 Tom Tromey <tromey@redhat.com>
23981 * javax/security/auth/kerberos/ServicePermission.java: New file.
23982 * javax/security/auth/kerberos/DelegationPermission.java: New file.
23983 * javax/security/auth/kerberos/KerberosKey.java: New file.
23984 * javax/security/auth/kerberos/KeyImpl.java: New file.
23985 * javax/security/auth/kerberos/KerberosTicket.java: New file.
23986 * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
23988 2006-04-03 Sven de Marothy <sven@physto.se>
23990 * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
23991 non-GtkImage images.
23993 2006-04-03 Mark Wielaard <mark@klomp.org>
23995 * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
23996 as temporary file name.
23998 2006-04-03 Dalibor Topic <robilad@kaffe.org>
24000 * INSTALL: Documented --with-glibj-zip option.
24002 2006-04-03 Dalibor Topic <robilad@kaffe.org>
24004 Fixed all pscan warnings.
24006 * native/jni/classpath/jcl.c (JCL_ThrowException),
24007 native/jni/classpath/jcl.h (DBG),
24008 native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
24009 native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
24010 Use "%s" format in fprintf and snprintf explicitely when printing a single
24011 string to prevent format string exploits.
24013 * native/jni/java-net/javanet.h (DBG): Removed duplicate
24014 definition. Included jcl.h instead.
24016 2006-04-03 Raif S. Naffah <raif@swiftdsl.com.au>
24018 * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
24019 (provider): Made it protected.
24020 (providerInstalled): New field.
24021 (Main): Made it a 0-arguments constructor.
24022 Removed throws clasue.
24023 (main): Removed throws clause.
24024 Call processArgs(args) after constructing instance.
24025 Call teardown() before existing.
24026 (processArgs): Added javadoc.
24027 Reduced to throws Exception.
24029 (teardown): New method.
24030 (setupCommonParams): Added javadoc.
24031 Install designated provider if not already installed.
24032 (installNewProvider): New method.
24033 (setupSigningParams): Added javadoc.
24034 Instantiate the KeyStore using type only.
24035 * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
24036 Removed unused imports.
24037 (start): Reduced to throws Exception.
24038 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
24039 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
24040 Re-organized imports.
24041 * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
24042 Test ignoring case.
24043 (getNames): Add "dsa" as an algorithm provided by this Factory.
24044 (makeInstance): Construct IllegalArgumentException with 2 arguments.
24046 2006-04-03 Roman Kennke <kennke@aicas.com>
24048 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
24049 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
24050 Replaced g_free() with pango_item_free() to avoid problems
24051 with the allocator.
24053 2006-04-03 Rafael H. Schloming <rafaels@redhat.com>
24056 * java/util/logging/Level.java (parse): Document.
24057 * java/util/logging/LogManager.java (rootLogger): Removed.
24058 (LogManager): Just set loggers to new HashMap.
24059 (getLogManager): Make synchronized. Create and init LogManager if it
24061 (static): Removed block.
24062 (MANAGER_PROPERTY): New private final string.
24063 (makeLogManager): Use new property string, move warning to
24064 createInstance() method.
24065 (CONFIG_PROPERTY): New private final string.
24066 (initLogManager): New method.
24067 (addLogger): Use Logger.root, not rootLogger.
24068 (findAncestor): Likewise.
24069 (readConfiguration): Move warning to createInstance() method.
24070 Add handlers directly to Logger.root. Warn about bad level values.
24071 (getClassProperty): Use new locateClass() method.
24072 (getInstanceProperty): Only catch specific newInstance Errors.
24073 (createInstance): Make private and takes a string to use in warning
24074 messages. Use new locateClass() method and generate appropriate
24076 (warn): New methods.
24077 (locateClass): Locates a class through the context class loader and
24078 system class loader as backup.
24079 * java/util/logging/Logger.java (root): New static final field.
24080 (Logger): Set parent to root.
24081 (setParent): Directly check root field.
24083 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
24085 * java/util/Collections.java:
24086 (binarySearch(List, T)): Fixed signature.
24087 (unmodifiableList(List)): Likewise.
24088 (UnmodifiableList(List)): Fixed constructor.
24089 (UnmodifiableRandomAccessList(List)): Likewise.
24090 (unmodifiableMap(Map)): Fixed signature.
24091 (UnmodifiableMap(Map)): Fixed constructor.
24092 (unmodifiableSortedMap(Map)): Fixed signature.
24093 (UnmodifiableSortedMap(Map)): Fixed constructor.
24095 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
24097 * java/io/ObjectOutputStream.java:
24098 (writeObject(Object)): Added enum support.
24099 (writeClassDescriptor(ObjectStreamClass)): Likewise.
24100 * java/io/ObjectStreamClass.java:
24101 (isEnum()): New package-private method.
24102 (setFlags(Class)): Added enum support.
24103 * java/io/ObjectStreamConstants.java:
24106 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24108 * javax/swing/text/Segment.java:
24109 (setPosition): Make exception message more verbose.
24110 * javax/swing/text/WrappedPlainView.java:
24111 (insertUpdate): Removed unneeded repaint call.
24112 (changeUpdate): Dito.
24113 (removeUpdate): Dito.
24114 (WrappedLine.determineNumLines): Do not return numLines, break
24115 from loop if no new break point has been calculated.
24116 (WrappedLine.updateDamage): Rewritten.
24117 (WrappedLine.insertUpdate): Removed unneeded update code.
24118 (WrappedLine.removeUpdate): Removed unneeded update code, added
24121 2006-04-02 Dalibor Topic <robilad@kaffe.org>
24123 * configure.ac (with-glibj-zip): Added new option.
24125 * examples/Makefile.am,
24127 tools/Makefile.am: Adapted build classpath to use glibj.zip,
24128 in addition to classes in lib directory.
24130 2006-04-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24132 * tools/gnu/classpath/tools/giop/GRMIC.java,
24133 tools/gnu/classpath/tools/giop/IorParser.java,
24134 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
24135 tools/gnu/classpath/tools/giop/grmic/Generator.java,
24136 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
24137 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
24138 tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
24139 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
24140 tools/gnu/classpath/tools/rmi/RMIC.java,
24141 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
24142 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
24143 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
24144 linking exception from the licensing header.
24145 * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24146 Added licensing header.
24148 2006-04-02 Mark Wielaard <mark@klomp.org>
24150 * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
24151 (jarsigner): Removed.
24153 2006-04-02 Dalibor Topic <robilad@kaffe.org>
24155 * configure.ac: don't check for isnan function.
24156 * native/fdlibm/fdlibm.h: Always use the isnan macro.
24158 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
24160 * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
24161 * tools/Makefile.am: Generate jarsigner shell script.
24162 * tools/jarsigner.sh.in: New template.
24163 * tools/.cvsignore: Added jarsigner.sh.
24165 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
24167 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
24168 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24169 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24170 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24171 * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
24172 Re-organised imports.
24174 2006-04-01 Bernhard Rosenkraenzer <bero@arklinux.org>
24176 PR classpath/25924:
24177 * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
24178 Handle case where alpha==0.
24180 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24183 * javax/swing/text/Utilities.java:
24184 (getTabbedTextOffset): Added check to decrement pos not below zero,
24185 changed '>' comparison to '>='.
24186 * javax/swing/text/WrappedPlainView.java:
24187 (lineHeight): New field.
24188 (calculateBreakPosition): Throw InternalError in catch block, removed
24189 unneeded brackets, use specific version of
24190 Utilities.getTabbedTextOffset.
24191 (paint): Set various properties neccessary for drawing.
24192 (WrappedLine.paint): Removed code to set field of outer class.
24193 (WrappedLine.modelToView): Removed unneeded expression from
24195 (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
24196 -1 from return statement, copy only a subset into the Segment, removed
24197 special handling of mark value - just return it, simplified
24198 incrementation of currLineStart.
24199 (WrappedLine.insertUpdate): Recalculate numLines, report preference
24200 change to parent view.
24201 (WrappedLine.removeUpdate): Dito.
24203 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24205 * javax/swing/text/Segment.java:
24206 (toString): Return empty string when array is null.
24208 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24210 * javax/swing/plaf/basic/BasicTextUI.java:
24211 (damageRange): Use SwingUtilities.computeUnion to avoid
24212 unneccessary Rectangle instantiation.
24214 2006-04-01 Tom Tromey <tromey@redhat.com>
24216 * java/security/cert/Certificate.java (serialVersionUID): Fixed.
24218 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24220 * javax/swing/text/CompositeView.java: Fixed copyright header.
24221 * javax/swing/text/BoxView.java: Fixed copyright header.
24222 * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
24223 * javax/swing/text/Utilities.java: Fixed copyright header.
24225 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24227 * javax/swing/text/CompositeView.java:
24228 (modelToView): Throw BadLocationException when no child
24229 view can be found, restructed to throw exception as early
24231 (viewToModel): Use mutable allocation as argument for viewToModel
24232 call on child view.
24233 * javax/swing/text/BoxView.java:
24234 (getViewAtPoint): Call setBounds() r before method returns with
24235 suitable child view.
24236 * javax/swing/text/Utilities.java:
24237 (getPositionBelow): Added try-catch-block around modelToView call,
24238 added method return when BadLocationException was thrown.
24239 * javax/swing/text/WrappedPlainView.java:
24240 (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
24241 added note about meaning of rect.x and rect.width, removed unneeded
24242 checks, added code to not return the last possible document offset.
24244 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24246 * javax/swing/text/WrappedPlainView.java:
24247 (WrappedLine.viewToModel): Change < to <= in if-statement,
24248 removed addition of currLineStart to return value.
24249 * javax/swing/text/BoxView.java:
24250 (getViewAtPoint): Use copy instead of r for method call
24251 which modifies the second argument.
24253 2006-04-01 Mark Wielaard <mark@klomp.org>
24256 * java/util/jar/Attributes.java: Fully qualify java.util.Map.
24258 2006-03-31 Tom Tromey <tromey@redhat.com>
24260 * lib/split-for-gcj.sh: Updated for multi-field format.
24261 * lib/Makefile.am (CLEANFILES): Added classes.2.
24262 * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and
24263 classes.2 using multiple fields.
24265 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24267 * javax/swing/JTable.java (columnSelectionChanged):
24268 Removed print statement.
24269 * javax/swing/DefaultListSelectionModel.java
24270 (addSelectionInterval, removeSelectionInterval):
24271 Fire the difference between selection. (setLeadSelectionIndex):
24272 Fire the difference and mark current and previous lead
24273 selection indexes for repaint.
24275 2006-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
24277 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
24278 unnecessary copying.
24279 * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
24281 2006-03-31 Lillian Angel <langel@redhat.com>
24283 * java/awt/Component.java
24284 (translateEvent): oldKey should be the value of the
24287 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24289 * javax/swing/JTable.java (columnSelectionChanged):
24290 Treat second repaint parameter as width.
24292 2006-03-31 Lillian Angel <langel@redhat.com>
24295 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
24296 (realize): New native function.
24297 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
24298 Added new function declaration.
24299 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
24300 (realize): New function.
24302 2006-03-31 Robert Schuster <robertschuster@fsfe.org>
24304 * javax/swing/text/GapContent.java:
24305 (replace): Move all Position instances from gap's end to
24306 it's start before increasing the gap start.
24307 * javax/swing/plaf/basic/BasicTextAreaUI.java:
24308 (propertyChanged): Update the view only instead of
24309 indicating a document change.
24311 2006-03-31 Roman Kennke <kennke@aicas.com>
24313 * javax/swing/JTextField.java
24314 (fireActionPerformed): Put the textfields text in the action
24315 instead of the action name.
24317 2006-04-01 Raif S. Naffah <raif@swiftdsl.com.au>
24319 * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
24320 Check for null jar-file argument.
24321 (setupSigningParams): Check for null alias argument.
24323 2006-03-31 Roman Kennke <kennke@aicas.com>
24325 * javax/swing/JComponent.java
24326 (paintChildren): Split up in two cases, depending on the
24327 optimizedDrawingEnabled flag.
24328 (paintChildrenWithOverlap): New method. Paints children when
24329 not optimizedDrawingEnabled. This implements better painting
24330 algorithm for overlapping components, so that the painted
24331 regions are minimized.
24332 (paintChildrenOptimized): New method. Paints children when
24333 when optimizedDrawingEnabled. This implements a painting
24334 algorithm that is optimized for the case when all children
24335 are guaranteed to be tiled.
24337 2006-03-31 Raif S. Naffah <raif@swiftdsl.com.au>
24339 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
24340 Attributes.putValue(String,String).
24341 (finishSigning): Likewise.
24342 * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
24343 (SIGNATURE_VERSION): Likewise.
24344 (readSFManifest): Use local string constant.
24345 (readMainSection): Likewise.
24346 (readVersionInfo): Likewise.
24347 * java/util/jar/Attributes.java (MANIFEST_VERSION):
24348 Redefined using JarUtils constant.
24349 (SIGNATURE_VERSION): Likewise.
24350 (putValue(Name,String)): Made it private.
24352 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24354 * javax/swing/DefaultListSelectionModel.java (fireDifference):
24355 New method. (clearSelection): Rewritten. (setSelectionInterval):
24356 Fire the difference between current and new selection.
24357 * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
24358 Only repaint the region, where selection has been changed.
24359 * javax/swing/plaf/basic/BasicTableUI.java
24360 (TableAction.actionPerformed): Do not change the column selection
24361 when only row selection change is wanted (and in reverse) and
24362 do not call the repaint() here.
24364 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24367 * javax/swing/DefaultComboBoxModel.java
24368 (DefaultComboBoxModel(Vector)): Call getSize() instead of
24370 (addElement): Call list.addElement() rather than list.add(), and only
24371 update selected item if it is currently null,
24372 (removeElementAt): Update selected item, then remove the element.
24374 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24377 * java/awt/geom/Point2D.java
24378 (distanceSq(double, double)): Fixed order of arguments,
24379 (distanceSq(Point2D)): Likewise,
24380 (distance(double, double)): Likewise,
24381 (distance(Point2D)): Likewise.
24383 2006-03-30 Thomas Fitzsimmons <fitzsim@redhat.com>
24385 * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
24386 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
24387 (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
24388 ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
24389 DCLuminanceLengths, DCLuminanceValues): Remove fields.
24391 2006-03-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24393 * javax.swing.JTable (constructor): Initialize column
24394 model column margin and table row margin before setting the
24395 table column model. (initialiseLocalVars): Do not call
24396 setIntercellSpacing.
24398 2006-03-30 Chris Burdess <dog@gnu.org>
24400 * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
24402 * javax/xml/validation/SchemaFactoryLoader.java: New file.
24404 2006-03-30 Mark Wielaard <mark@klomp.org>
24407 * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
24408 adjust bounds. On resize invalidate and validate container.
24409 Always pass on ComponentEvents to Container super class.
24410 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
24411 menuBar and pass to GtkWindowPeer super class.
24412 (postConfigureEvent): Adjust menu bar width. Adjust y and height
24413 bounds and pass to GtkWindowPeer super class.
24414 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
24415 New fields for local bounds.
24416 (getX, getY): New methods.
24417 (getWidth): Don't call into awtComponent.
24418 (getHeight): Likewise.
24419 (create): Cache local bounds.
24420 (setLocation): Documented, made protected and just call
24422 (setLocationUnlocked): Removed unused method.
24423 (setBoundsUnlocked): Likewise.
24424 (setBounds): Check whether bounds actually changed and cache local
24426 (setSize): Documented and made protected.
24427 (setResizable): Documented and cache local bounds.
24428 (postConfigureEvent): Update local bounds. Don't call awtComponent
24429 directly but post ComponentEvents.
24430 (show): Cache local bounds.
24431 (getBounds): Override to return cached bounds.
24433 2006-03-30 Lillian Angel <langel@redhat.com>
24435 * gnu/java/awt/peer/gtk/GdkGraphics.java
24436 (drawImage): Added check to prevent NPE.
24437 (drawImage): Likewise.
24438 (drawImage): Likewise.
24439 * java/awt/Choice.java
24440 (dispatchEventImpl): New function. selectedIndex was
24441 not being updated properly otherwise.
24443 2006-03-30 Roman Kennke <kennke@aicas.com>
24445 * javax/swing/JTabbedPane.java
24446 (removeTabAt): Removed debug code.
24448 2006-03-30 Roman Kennke <kennke@aicas.com>
24451 * javax/swing/plaf/basic/BasicTextUI.java
24452 (installKeyboardActions): Simply call getKeymap() and install this.
24453 (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24455 2006-03-30 Roman Kennke <kennke@aicas.com>
24457 * javax/swing/JTabbedPane.java
24458 (removeTabAt): Adjust selection correctly when removing a tab
24459 before the selected tab. Also remove the component from the
24460 container, not only the tab object. Repaint and revalidate the
24461 component after the removal.
24462 (removeAll): Set selection to -1 before removing the tabs.
24464 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
24466 * java/io/ObjectInputStream.java:
24467 (parseContent(byte)): Added enum support.
24468 * java/io/ObjectStreamConstants.java:
24470 (TC_MAX): Changed to new maximum, TC_ENUM.
24472 2006-03-29 Lillian Angel <langel@redhat.com>
24474 Partial fix for bug #26929
24475 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24476 (updateComponent): Removed. We want to clear the panel
24478 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24479 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24480 Should set the background to the saved background color.
24482 2006-03-29 Mark Wielaard <mark@klomp.org>
24484 Partial fix for bug #26848 (pack).
24485 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24486 Always show instances of Window.
24488 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24490 * javax/swing/JSlider.java
24491 (setPaintLabels): Only create standard labels if labelTable is null,
24492 * javax/swing/plaf/basic/BasicSliderUI.java
24493 (PropertyChangeHandler.propertyChange): Recalculate geometry for
24494 "paintTicks" property change,
24495 (calculateThumbSize): Updated API docs,
24496 (calculateContentRect): Likewise,
24497 (calculateTrackBuffer): Take into account the lowest and highest
24498 labels when calculating buffer space,
24499 (calculateTrackRect): Include labels, if visible, in the calculation of
24500 the trackRect position,
24501 (calculateTickRect): Height is zero if ticks are not painted,
24502 (calculateLabelRect): Use max dimensions of actual labels,
24503 (getWidthOfHighValueLabel): Use preferred size,
24504 (getWidthOfLowValueLabel): Likewise,
24505 (getHeightOfHighValueLabel): Likewise,
24506 (getHeightOfLowValueLabel): Likewise,
24507 (drawInverted): Just return slider setting,
24508 (getHighestValueLabel): Updated API docs,
24509 (paintTicks): Removed redundant (and buggy) code, replaced with calls
24510 to xPositionForValue() and yPositionForValue(),
24511 (paintHorizontalLabel): Removed full qualification of class name,
24512 (paintVerticalLabel): Likewise,
24513 (xPositionForValue): Reimplemented,
24514 (yPositionForValue): Reimplemented,
24515 * javax/swing/plaf/metal/MetalSliderUI.java
24516 (paintTrack): Made track one pixel longer.
24518 2006-03-29 Tom Tromey <tromey@redhat.com>
24521 * tools/Makefile.am (JCOMPILER): Added encoding options.
24522 * examples/Makefile.am (JCOMPILER): Added encoding options.
24524 2006-03-29 Gary Benson <gbenson@redhat.com>
24526 Partial fix for PR classpath/24895
24527 * java/io/FilePermission.java (implies): Canonicalize paths.
24529 2006-03-29 Robert Schuster <robertschuster@fsfe.org>
24532 * javax/swing/text/GapContent.java:
24533 (replace): Added call to resetMarksAtZero.
24535 2006-03-29 Roman Kennke <kennke@aicas.com>
24538 * javax/swing/plaf/basic/BasicMenuItemUI.java
24539 (cachedRect): New field.
24540 (BasicMenuItemUI): Initialize cachedRect field.
24541 (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24542 to determine layout. Store maximum accelerator and text width
24543 in client properties of parent to allow correct alignment
24544 of accelerators among menu items of one menu.
24545 (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24546 method. Align accelerators according to the values calculated
24547 in getPreferredMenuItemSize.
24548 (getAcceleratorString) New helper method.
24549 (layoutMenuItem): New helper method.
24551 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24553 * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24554 * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24555 * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24557 * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass,
24558 readExternal, writeExternal): New methods.
24559 * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24560 two stages, invokeCommon(Remote, ...) and
24561 invokeCommen(UnicastConnection, ...).
24562 * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24563 also the ActivatableRef. toString(): Documented.
24564 * gnu/java/rmi/server/ActivatableRef.java,
24565 tools/gnu/classpath/tools/rmi/Persistent.java,
24566 tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24567 tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24568 tools/gnu/classpath/tools/rmi/REGISTRY.java,
24569 tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24570 tools/gnu/classpath/tools/rmi/RMID.java,
24571 tools/gnu/classpath/tools/rmi/RMID.txt,
24572 tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24573 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24574 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24575 tools/gnu/classpath/tools/rmi/registry/package.html,
24576 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24577 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24579 * tools/README: Documented.
24580 * NEWS: Added entry about the activation.
24582 2006-03-29 Roman Kennke <kennke@aicas.com>
24585 * javax/swing/plaf/basic/BasicMenuItemUI.java
24586 (viewRect): New field.
24587 (textRect): New field.
24588 (accelRect): New field.
24589 (iconRect): New field.
24590 (arrowIconRect): New field.
24591 (checkIconRect): New field.
24592 (BasicMenuItemUI): Initialize new fields.
24593 (paintMenuItem): Rewritten to correctly layout and paint
24594 the menu item in a more straightforward way. Use cached rectangle
24595 objects for layout.
24596 (paintAccelerator): Pulled inside the paintMenuItem method.
24598 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24600 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24601 Do not use initCause with UnexpectedException.
24602 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24605 2006-03-29 Mark Wielaard <mark@klomp.org>
24607 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24608 (setCursorID): Removed unused static variable.
24610 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24612 * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24614 2006-03-29 Mark Wielaard <mark@klomp.org>
24617 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24618 (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24620 2006-03-28 Roman Kennke <kennke@aicas.com>
24622 * javax/swing/UIManager.java
24623 (installLookAndFeel): Implemented.
24624 (setInstalledLookAndFeels): Implemented.
24626 2006-03-28 Roman Kennke <kennke@aicas.com>
24628 * javax/swing/plaf/metal/MetalButtonUI.java
24629 (update): Paint gradient only when the background color
24630 is not a UIResource and if the button is neither armed nor
24631 pressed and if the button is contentAreaFilled.
24633 2006-03-28 Roman Kennke <kennke@aicas.com>
24635 * javax/swing/JLayeredPane.java
24636 (addImpl): Repaint added component.
24638 2006-03-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
24640 * java/util/regex/Matcher.java: Reverted.
24642 2006-03-28 Roman Kennke <kennke@aicas.com>
24644 * javax/swing/text/AsyncBoxView.java
24645 (setEstimatedMajorSpan): Made method protected.
24646 (getEstimatedMajorSpan): Made method protected.
24647 * javax/swing/text/BoxView.java
24648 (flipEastAndWestAtEnds): Fixed typo.
24649 * javax/swing/text/InternationalFormatter.java
24650 (getActions): Made method protected.
24651 * javax/swing/text/Position.java
24652 (Bias): Made class final.
24653 * javax/swing/text/html/HTML.java
24654 (MEDIA): Made field package private. Not specified.
24655 (NOBR): Made field package private. Not specified.
24656 * javax/swing/text/html/NullView.java
24657 Made class package private.
24658 * javax/swing/text/html/parser/Entity.java
24659 Made class non-serializable as specified.
24661 2006-03-28 Roman Kennke <kennke@aicas.com>
24663 * javax/swing/plaf/metal/MetalButtonUI.java
24664 (update): Don't paint gradient if the background color is
24665 no UIResource. Removed double getModel() call. Don't check for
24668 2006-03-28 Roman Kennke <kennke@aicas.com>
24670 * javax/swing/plaf/basic/BasicMenuItemUI.java
24671 (paint): Call paintMenuItem with the selectionBackground as
24673 (paintBackground): Fixed the condition and color for the background
24676 2006-03-28 Roman Kennke <kennke@aicas.com>
24678 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24679 (tabsOpaque): New field.
24680 (paintLeftTabBorder): Paint some parts only when the tabs are
24681 opaque. Determine the tab background using the paintLeftTabBorder()
24683 (paintRightTabBorder): Likewise.
24684 (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24686 2006-03-27 Tom Tromey <tromey@redhat.com>
24688 PR classpath/25189:
24689 * java/lang/Enum.java (valueOf): Ensure that the named field
24690 is an enum constant.
24691 (compareTo): Check class of enum.
24693 2006-03-27 Tom Tromey <tromey@redhat.com>
24695 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24697 2006-03-27 Tom Tromey <tromey@redhat.com>
24699 * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24701 (getModifiersInternal): Renamed from getModifiers.
24702 (getModifiers): New method.
24703 (isBridge): Likewise.
24704 (isSynthetic): Likewise.
24705 (isVarArgs): Likewise.
24706 * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24708 (getModifiersInternal): Renamed from getModifiers.
24709 (getModifiers): New method.
24710 (isSynthetic): Likewise.
24711 (isEnumConstant): Likewise.
24712 * vm/reference/java/lang/reflect/Constructor.java
24713 (getModifiersInternal): Renamed from getModifiers.
24714 (getModifiers): New method
24715 (CONSTRUCTOR_MODIFIERS): New constant.
24716 (isSynthetic): New method.
24717 (isVarArgs): Likewise.
24718 * java/lang/reflect/Member.java (isSynthetic): New method.
24720 2006-03-28 Tom Tromey <tromey@redhat.com>
24722 * java/net/Proxy.java (TYPE): Added missing ";".
24724 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24726 * java/math/RoundingMode.java:
24727 Fixed serialization UID.
24728 * java/net/Proxy.java:
24731 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24733 * java/io/CharArrayWriter.java:
24734 (append(char)): Documented.
24735 (append(CharSequence)): Likewise.
24736 (append(CharSequence,int,int)): Likewise.
24738 2006-03-27 Jeroen Frijters <jeroen@frijters.net>
24740 * vm/reference/java/lang/reflect/Constructor.java
24741 (getTypeParameters): Check return value of getSignature for null.
24742 * vm/reference/java/lang/reflect/Method.java
24743 (getTypeParameters): Check return value of getSignature for null.
24745 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24747 * java/rmi/activation/ActivationGroup_Stub.java:
24750 2006-03-27 Tom Tromey <tromey@redhat.com>
24752 * java/io/CharArrayWriter.java (append): New overloads.
24754 2006-03-27 Lillian Angel <langel@redhat.com>
24756 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24757 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24758 Added check for colormap. Prevents assertion error.
24759 (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24761 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24763 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24765 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24767 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24770 2006-03-27 Dalibor Topic <robilad@kaffe.org>
24772 * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use
24773 AC_MSG_ERROR instead of echoing the error message
24774 that no compiler has been found manually.
24776 2006-03-27 Roman Kennke <kennke@aicas.com>
24778 * javax/swing/RepaintManager.java
24779 (commitBuffer): Use simple drawImage() method instead of the
24782 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24784 * javax/swing/text/PlainView.java:
24785 (drawLine): Use 'endOffset' instead of 'selectionEnd'
24786 for painting the selected line.
24788 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24790 * javax/swing/plaf/basic/BasicSliderUI.java
24791 (getThumbSize): Removed TODO and updated API docs.
24793 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24795 * javax/swing/text/DefaultCaret.java:
24796 (mouseClicked): Word selection rewritten.
24797 (paint): Draw line inside the bounding rectangle.
24798 (damage): Retrieve caret height from line height.
24800 2006-03-28 Raif S. Naffah <raif@swiftdsl.com.au>
24802 * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
24804 Check for -help option.
24805 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
24807 2006-03-27 Roman Kennke <kennke@aicas.com>
24809 * javax/swing/text/FieldView.java
24810 (getPreferredSpan): Don't include trailing newline in
24812 * javax/swing/text/PlainView.java
24813 (drawLine): Don't include trailing newline.
24814 (determineMaxLineLength): Don't include trailing newline.
24815 (getLineBuffer): Made method final.
24817 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24819 * javax/swing/JSlider.java
24820 (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
24821 (AccessibleJSlider.getAccessibleRole): Removed declaration of
24822 NotImplementedException,
24823 (AccessibleJSlider.getAccessibleValue): Updated API docs.
24825 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24827 * java/lang/ProcessBuilder.java:
24830 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24832 * gnu/java/net/protocol/http/Headers.java:
24833 Match layout of file on HEAD.
24834 * gnu/javax/swing/text/html/parser/htmlValidator.java:
24836 * java/awt/datatransfer/DataFlavor.java
24839 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24841 * gnu/java/security/jce/hash/HavalSpi.java,
24842 * gnu/java/security/jce/hash/MD2Spi.java,
24843 * gnu/java/security/jce/hash/MD4Spi.java,
24844 * gnu/java/security/jce/hash/MD5Spi.java,
24845 * gnu/java/security/jce/hash/MessageDigestAdapter.java,
24846 * gnu/java/security/jce/hash/RipeMD128Spi.java,
24847 * gnu/java/security/jce/hash/RipeMD160Spi.java,
24848 * gnu/java/security/jce/hash/Sha160Spi.java,
24849 * gnu/java/security/jce/hash/Sha256Spi.java,
24850 * gnu/java/security/jce/hash/Sha384Spi.java,
24851 * gnu/java/security/jce/hash/Sha512Spi.java,
24852 * gnu/java/security/jce/hash/TigerSpi.java,
24853 * gnu/java/security/jce/hash/WhirlpoolSpi.java,
24854 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
24855 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
24856 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
24857 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
24858 * gnu/java/security/jce/sig/SignatureAdapter.java,
24859 * gnu/java/security/key/IKeyPairCodec.java,
24860 * gnu/java/security/key/IKeyPairGenerator.java,
24861 * gnu/java/security/key/KeyPairGeneratorFactory.java,
24862 * gnu/java/security/key/dss/DSSKey.java,
24863 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
24864 * gnu/java/security/key/dss/DSSPrivateKey.java,
24865 * gnu/java/security/key/dss/DSSPublicKey.java,
24866 * gnu/java/security/key/dss/FIPS186.java,
24867 * gnu/java/security/key/rsa/GnuRSAKey.java,
24868 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
24869 * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
24870 * gnu/java/security/sig/ISignature.java,
24871 * gnu/java/security/sig/ISignatureCodec.java,
24872 * gnu/java/security/sig/dss/DSSSignature.java,
24873 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
24874 * gnu/java/security/sig/rsa/RSAPSSSignature.java,
24875 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
24876 * gnu/java/security/util/Util.java:
24877 Remove CVS revision tags.
24879 2006-03-26 Tom Tromey <tromey@redhat.com>
24881 * java/io/InputStream.java (InputStream): Implements Closeable.
24883 2006-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
24885 * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
24887 * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
24888 getAnchor): New methods.
24889 * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
24890 getAnchor): New methods.
24891 * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
24892 getAnchor): New methods.
24893 * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
24894 getAnchor): New methods.
24895 * gnu/regexp/REMatch.java(start1): New field.
24896 * gnu/regexp/RE.java(initialize): Added support for \z and \G,
24897 (match): set the starting position to start1[] instead of start[],
24898 (getMatchImpl): Set the found REMatch to the input,
24899 (makeCharIndexed): Made public.
24900 * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
24901 * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
24902 set the value of start[] copying from start1[].
24903 * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
24905 * java/util/regex/Matcher.java(inputCharIndexed): New field
24906 to be used as a parameter of the RE#getMatch.
24908 2006-03-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24910 * gnu/java/rmi/activation/DefaultActivationGroup.java:
24911 Documented the default jre spawning strategy (none).
24912 * java/rmi/activation/ActivationGroup.java (currentGroupId,
24913 getSystem): Obtain the acticivation system from the
24914 DefaultActivationSystem.
24916 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24918 * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
24919 Ask user for keystore password if one was not provided.
24921 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24923 * tools/README: Added Security tools section.
24924 Documented the jarsigner tool.
24926 2006-03-25 David Gilbert <david.gilbert@object-refinery.com>
24928 * javax/swing/JScrollBar.java
24929 (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
24930 (AccessibleJScrollBar.getAccessibleRole): Likewise,
24931 (AccessibleJScrollBar.getAccessibleValue): Likewise,
24932 (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
24933 (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
24934 (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
24935 (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
24936 (getAccessibleContext): Updated API docs.
24938 2006-03-25 Tom Tromey <tromey@redhat.com>
24940 * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
24941 change or if generator script changes.
24943 2006-03-25 Tom Tromey <tromey@redhat.com>
24945 * javax/naming/ldap/StartTlsRequest.java: New file.
24946 * javax/naming/ldap/StartTlsResponse.java: New file.
24948 2006-03-25 Olivier Jolly <olivier.jolly@pcedev.com>
24950 * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
24951 to validate all components of a resource path.
24952 (FileURLLoader.walkPathComponents): Helper which ensures that we are
24953 allowed to walk through every component of a resource path.
24955 2006-03-25 Michael Koch <konqueror@gmx.de>
24957 * NEWS: Added item for CLDR 1.3 update.
24959 2006-03-25 Michael Koch <konqueror@gmx.de>
24961 * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
24962 resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
24963 resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
24964 resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
24965 resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
24966 resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
24969 2006-03-25 Michael Koch <konqueror@gmx.de>
24971 * resource/gnu/java/locale/LocaleInformation_az.properties,
24972 resource/gnu/java/locale/LocaleInformation_bs.properties,
24973 resource/gnu/java/locale/LocaleInformation_byn.properties,
24974 resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
24975 resource/gnu/java/locale/LocaleInformation_el_CY.properties,
24976 resource/gnu/java/locale/LocaleInformation_gez.properties,
24977 resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
24978 resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
24979 resource/gnu/java/locale/LocaleInformation_haw.properties,
24980 resource/gnu/java/locale/LocaleInformation_haw_US.properties,
24981 resource/gnu/java/locale/LocaleInformation_kok.properties,
24982 resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
24983 resource/gnu/java/locale/LocaleInformation_sid.properties,
24984 resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
24985 resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
24986 resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
24987 resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
24988 resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
24989 resource/gnu/java/locale/LocaleInformation_syr.properties,
24990 resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
24991 resource/gnu/java/locale/LocaleInformation_tig.properties,
24992 resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
24993 resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
24994 resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
24995 resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
24996 resource/gnu/java/locale/LocaleInformation_wal.properties,
24997 resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
25000 2006-03-25 Michael Koch <konqueror@gmx.de>
25002 * resource/gnu/java/locale/LocaleInformation_fa.properties,
25003 resource/gnu/java/locale/LocaleInformation_kn.properties,
25004 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25005 resource/gnu/java/locale/LocaleInformation_ko.properties,
25006 resource/gnu/java/locale/LocaleInformation_sl.properties,
25007 resource/gnu/java/locale/LocaleInformation_so.properties,
25008 resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
25009 resource/gnu/java/locale/LocaleInformation_so_ET.properties,
25010 resource/gnu/java/locale/LocaleInformation_so_SO.properties,
25011 resource/gnu/java/locale/LocaleInformation_sr.properties:
25012 Random fixes I forgot to commit before.
25014 2006-03-25 Michael Koch <konqueror@gmx.de>
25016 * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
25017 resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
25018 resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
25019 resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
25020 resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
25021 resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
25022 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
25023 resource/gnu/java/locale/LocaleInformation_be_BY.properties,
25024 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
25025 resource/gnu/java/locale/LocaleInformation_en.properties,
25026 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
25027 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
25028 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
25029 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
25030 resource/gnu/java/locale/LocaleInformation_fa.properties,
25031 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
25032 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25033 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25034 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25035 resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
25036 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25037 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
25038 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
25039 resource/gnu/java/locale/LocaleInformation_pa.properties,
25040 resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
25041 resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
25042 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
25043 resource/gnu/java/locale/LocaleInformation_sa.properties,
25044 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
25045 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
25046 resource/gnu/java/locale/LocaleInformation_te_IN.properties:
25047 Updated currency formats.
25049 2006-03-25 Roman Kennke <kennke@aicas.com>
25051 * javax/swing/text/AbstractDocument.java
25052 (getAttributeContext): Made method final.
25053 (getCurrentWriter): Likewise.
25054 (getEndPosition): Likewise.
25055 (getProperty): Likewise.
25056 (getStartPosition): Likewise.
25057 (putProperty): Likewise.
25058 (readLock): Likewise.
25059 (readUnlock): Likewise.
25060 (writeLock): Likewise.
25061 (writeUnlock): Likewise.
25063 2006-03-25 Roman Kennke <kennke@aicas.com>
25065 * javax/swing/InputMap.java
25066 (allKeys): Check if parent keys is null.
25067 * javax/swing/KeyboardManager.java
25068 (registerEntireMap): Also register map's parent keys.
25069 * javax/swing/plaf/metal/MetalRootPaneUI.java
25070 (propertyChange): Also call super.propertyChange().
25072 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25074 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
25075 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
25076 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
25077 * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
25078 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
25079 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
25081 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25083 * gnu/java/util/jar/JarUtils.java: New file.
25084 * java/util/jar/Manifest.java (CRLF): Removed.
25085 (read_main_section): Likewise.
25086 (read_version_info): Likewise.
25087 (expect_header(String,BufferedReader)): Likewise.
25088 (expect_header(String,BufferedReader,String)): Likewise.
25089 (read_header_value): Likewise.
25090 (read_attributes): Likewise.
25091 (read_attribute): Likewise.
25092 (read_individual_sections): Likewise.
25093 (read_section_name): Likewise.
25094 (write_main_section): Likewise.
25095 (write_version_info): Likewise.
25096 (write_header): Likewise.
25097 (write_main_attributes): Likewise.
25098 (write_attribute_entry): Likewise.
25099 (write_individual_sections): Likewise.
25100 (write_entry_attributes): Likewise.
25101 (read): use JarUtils.
25104 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25106 * gnu/java/security/pkcs/SignerInfo.java (log): New field.
25109 (SignerInfo(BERReader)): Updated javadoc.
25111 (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
25113 (encode): New method.
25114 * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
25115 (PKCS7_DATA): Removed.
25118 (PKCS7SignedData(BERReader)): Updated javadoc.
25120 (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
25122 (encode): New method.
25123 * gnu/java/security/pkcs/PKCS7Data.java: New file.
25124 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
25125 (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
25126 (decodePrivateKey): Decode x from an OCTET STRING.
25127 * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
25128 (toString): New method.
25129 * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
25131 (toString): New method.
25132 * gnu/java/security/key/dss/DSSKey.java (str): New Field.
25133 (toString): New method.
25134 * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
25136 2006-03-25 Roman Kennke <kennke@aicas.com>
25138 * java/util/GregorianCalender.java
25139 (computeTime): Fix comparison to correctly calculate the
25142 2006-03-25 Wolfgang Baer <WBaer@gmx.de>
25145 * java/awt/Window.java:
25146 (setFocusCycleRoot): New overriden method.
25147 (isFocusCycleRoot): Likewise.
25148 (getFocusCycleRootAncestor): Likewise.
25149 * java/awt/Container.java:
25150 (getFocusTraversalPolicy): Check also for anchestor == null.
25152 2006-03-25 Mark Wielaard <mark@klomp.org>
25154 Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
25155 * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
25158 2006-03-24 Tom Tromey <tromey@redhat.com>
25160 * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
25162 (writeChar): Removed useless cast.
25163 (writeChars(String)): Implemented.
25164 (writeDouble): Rewrote.
25165 (writeFloat): Likewise.
25166 (writeUTF): Implemented.
25167 * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
25170 2006-03-24 Roman Kennke <kennke@aicas.com>
25172 * javax/swing/JButton.java
25173 (def): Replaced field with defaultCapable field.
25174 (is_def): Removed field.
25175 (JButton): Initialize defaultCapable with true.
25176 (isDefaultButton): Documented and implemented method by querying
25177 the button's root pane if present.
25178 (isDefaultCapable): Changed def field to defaultCapable.
25179 Added documentation.
25180 (paramString): Call isDefaultButton() instead of accessing field,
25182 (setDefaultCapable): Changed def field to defaultCapable.
25183 Added documentation.
25184 * javax/swing/JRootPane.java
25185 (setDefaultButton): Only change the default button if the
25186 new button is defaultCapable.
25187 * javax/swing/plaf/basic/BasicRootPaneUI.java
25188 (DefaultPressAction): New class.
25189 (DefaultReleaseAction): New class.
25190 (installKeyboardActions): Implemented.
25191 (uninstallKeyboardActions): Implemented.
25192 (propertyChange): Implemented.
25193 * javax/swing/plaf/metal/MetalBorders.java
25194 (ButtonBorder.paintBorder): 'Outsourced' default theme
25195 painting to paintDefaultButtonBorder().
25196 (ButtonBorder.paintDefaultButtonBorder): New helper method
25197 to paint the border in the default theme. This also fixes
25198 painting of the border for default buttons.
25199 (ButtonBorder.paintOceanButtonBorder): Added support for
25200 default button painting. Fixed border for pressed/default state.
25201 * javax/swing/plaf/metal/MetalButtonUI.java
25202 (update): Only paint gradient when in OceanTheme and when the
25203 button is not armed.
25205 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25207 * gnu/java/rmi/activation/ActivationSystemTransient.java:
25208 Inherit from Activator.
25210 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25212 * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
25213 Print debug message if debug flag is set.
25214 * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
25215 * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
25216 detail, do not call iniCause(). (exportClass): New method.
25217 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
25218 Ignore null (bootstrap) class loader.
25219 * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
25220 buildMethodHash, findStubSkelClass, getHelperClass): Changed
25221 visibility to protected.
25222 * java/rmi/activation/Activatable.java (export, register): Rewritten.
25223 (toStub): New method.
25224 * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
25225 * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT):
25226 Explained property java.rmi.activation.port.
25228 2006-03-24 Tom Tromey <tromey@redhat.com>
25230 * .externalToolBuilders/CreateLocaleData.launch: Updated.
25231 * gnu/java/locale/.cvsignore: New file.
25232 * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
25233 * java/util/Locale.java (getAvailableLocales): Clone result.
25234 (getISOCountries): Likewise.
25235 (getISOLanguages): Likewise.
25236 * scripts/generate-locale-list.sh: Make class public. Added new
25238 * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
25239 (getLocaleCount): Likewise.
25240 * java/text/Collator.java (getInstance): Javadoc typo fix.
25241 (getAvailableLocales): Wrote.
25243 2006-03-24 Roman Kennke <kennke@aicas.com>
25245 * javax/swing/JTabbedPane.java
25246 (getSelectedComponent): Return null when no component is
25249 2006-03-24 Mark Wielaard <mark@klomp.org>
25251 * NEWS: Add cursor and selection improvements.
25253 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25255 * java/awt/Component.java
25256 (getAccessibleName): Just return accessibleName,
25257 * javax/swing/AbstractButton.java
25258 (getAccessibleStateSet): Mark as stub,
25259 (getAccessibleName): Implemented,
25260 (getAcessibleIcon): Mark as stub,
25261 (getAccessibleRelationSet): Likewise,
25262 (getAccessibleAction): Likewise,
25263 (getAccessibleValue): Likewise,
25264 (getAccessibleActionCount): Likewise,
25265 (getAccessibleActionDescription): Likewise,
25266 (doAccessibleAction): Likewise,
25267 (getCurrentAccessibleValue): Likewise,
25268 (setCurrentAccessibleValue): Likewise,
25269 (getMinimumAccessibleValue): Likewise,
25270 (getMaximumAccessibleValue): Likewise,
25271 (getAccessibleText): Likewise,
25272 (getIndexAtPoint): Likewise,
25273 (getCharacterBounds): Likewise,
25274 (getCharCount): Likewise,
25275 (getCaretPosition): Likewise,
25276 (getAtIndex): Likewise,
25277 (getAfterIndex): Likewise,
25278 (getBeforeIndex): Likewise,
25279 (getCharacterAttribute): Likewise,
25280 (getSelectionStart): Likewise,
25281 (getSelectionEnd): Likewise,
25282 (getSelectedText): Likewise,
25283 (getTextRectangle): Likewise,
25284 (setIconTextGap): Fire PropertyChangeEvent, not state changed,
25285 (getIconTextGap): Added @since 1.4,
25286 (setContentAreaFilled): Reordered code to make event sequence match
25287 reference implementation,
25288 * javax/swing/JButton.java
25289 (getSelectedObjects): Removed,
25290 *javax/swing/JComponent.java
25291 (getAccessibleName): Call super.
25293 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25295 * javax/swing/JProgressBar.java
25296 (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
25297 (AccessibleJProgressBar.getAccessibleRole): Added API docs,
25298 (AccessibleJProgressBar.getAccessibleValue): Implemented,
25299 (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
25300 (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
25301 (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
25302 (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
25303 (getAccessibleContext): Added API docs.
25305 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25307 * javax/swing/plaf/basic/BasicTextUI.java:
25308 (FocusListener.focusLost): Put current selection into the system
25311 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25313 * java/awt/Component.java:
25314 (processMouseEvent): Remove call to consume event.
25315 (dispatchEventImpl): Handle specific events first, do focus request
25316 only when mouse event was not yet consumed.
25317 * javax/swing/text/DefaultCaret.java:
25318 (mousePressed): Rewritten.
25319 (setDot): Changed order of operations.
25322 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25324 * javax/swing/JComponent.java
25325 (AccessibleJComponent.changeSupport): Removed field,
25326 (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
25327 (AccessibleJComponent.addPropertyChangeListener): Call super,
25328 (AccessibleJComponent.removePropertyChangeListener): Likewise,
25329 * javax/swing/JSlider.java
25330 (AccessibleJSlider.getAccessibleStateSet): Implemented,
25331 (AccessibleJSlider.getAccessibleRole): Likewise,
25332 (AccessibleJSlider.getAccessibleValue): Likewise,
25333 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25334 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25335 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25336 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25337 (getAccessibleContext): Added API docs.
25339 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25341 * gnu/java/rmi/activation/ActivationSystemTransient.java
25342 (debug): Made public. (constructor): Made protected.
25343 (activate, getActivationDesc): Throw more informative exceptions.
25344 * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
25346 * gnu/java/rmi/server/UnicastRef.java (remoteToString):
25348 * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
25350 * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
25352 * java/rmi/activation/Activatable.java (obtainId): Use the activation
25353 system, passed in the activation descriptor field.
25354 * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
25355 * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
25356 to package private final. (equals): Compare uid, not the system.
25357 (hashCode): Forward to uid.hashCode(). toString(): New method.
25358 * java/rmi/activation/ActivationID.java (readObject, writeObject):
25359 Rewritten. (equals): Compare UID only. toString(): New method.
25360 * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
25361 UID (space). (hashCode, toString): Rewritten.
25362 * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs):
25363 New method. (invoke): Treat null as an empty array for parameters.
25364 * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
25365 Include count, do not include the static machineId.
25367 2006-03-23 Tom Tromey <tromey@redhat.com>
25369 * java/net/URLConnection.java (getContent(Class[])): Implemented.
25371 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25373 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
25374 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
25375 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
25376 (force): New field. (setForce): New method. (compile): Handle -force.
25377 * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
25378 * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
25380 2006-03-23 Roman Kennke <kennke@aicas.com>
25382 * javax/swing/JTabbedPane.java
25383 (Page.getBackground): Return the JTabbedPane's background,
25384 rather than the page's component background.
25385 (Page.getForeground): Return the JTabbedPane's foreground,
25386 rather than the page's component foreground.
25387 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25388 (uninstallUI): Don't set colors to null.
25389 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25390 (paintTabBackground): Correctly determine the tab background.
25391 (getUnselectedBackground): New helper method to
25392 handle the UI property 'TabbedPane.unselectedBackground'
25395 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25397 * javax/swing/plaf/basic/BasicInternalFrameUI.java
25398 (BorderListener.showingResizeCursor): New field.
25399 (BorderListener.mouseMoved, BorderListner.mouseExited):
25402 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25404 * javax/swing/JComboBox.java
25405 (selectWithKeyChar): Mark as stub,
25406 * javax/swing/JFileChooser.java
25407 (setDragEnabled): Mark as stub,
25408 (getDragEnabled): Likewise,
25409 * javax/swing/JSlider.java
25410 (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
25411 (AccessibleJSlider.getAccessibleRole): Likewise,
25412 (AccessibleJSlider.getAccessibleValue): Likewise,
25413 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25414 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25415 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25416 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25417 * javax/swing/UIManager.java
25418 (installLookAndFeel): Mark as stub,
25419 (setInstalledLookAndFeels): Likewise.
25421 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25423 * javax/swing/filechooser/UnixFileSystemView.java
25424 (getSystemDisplayName): Mark as stub,
25425 (getSystemIcon): Likewise,
25426 (getSystemTypeDescription): Likewise.
25428 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25430 * javax/swing/tree/AbstractLayoutCache.java
25431 (getNodeDimensions): Mark as stub,
25432 (getPreferredHeight): Likewise,
25433 (getPreferredWidth): Likewise,
25434 (getRowsForPaths): Likewise,
25435 (isFixedRowHeight): Likewise,
25436 * javax/swing/tree/DefaultTreeModel.java
25437 (reload()): Mark as stub,
25438 (reload(TreeNode)): Likewise,
25439 (nodeStructureChanged): Likewise,
25440 * javax/swing/tree/DefaultTreeSelectionModel.java
25441 (clone): Mark as stub,
25442 (setRowMapper): Likewise,
25443 (setSelectionPaths): Likewise,
25444 (isRowSelected): Likewise,
25445 (resetRowSelection): Likewise,
25446 (insureRowContinuity): Likewise,
25447 (arePathsContiguous): Likewise,
25448 (canPathsBeAdded): Likewise,
25449 (canPathsBeRemoved): Likewise,
25450 (notifyPathChange): Likewise,
25451 (updateLeadIndex): Likewise,
25452 (insureUniqueness): Likewise,
25453 * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25455 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25457 2006-03-22 Tom Tromey <tromey@redhat.com>
25459 * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25461 (getStaticAttributeKey): Likewise.
25462 (readAttributeSet): Likewise.
25463 (writeAttributeSet): Likewise.
25464 (readAttributes): Likewise.
25465 (writeAttributes): Likewise.
25466 * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25468 * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25470 (fireChangedUpdate): Likewise.
25473 (handleEndOfLineString): Likewise.
25474 (textAreaContent): Likewise.
25475 (preContent): Likewise.
25476 (addSpecialElement): Likewise.
25477 (setInnerHTML): Likewise.
25478 (setOuterHTML): Likewise.
25479 (insertBeforeStart): Likewise.
25480 (insertBeforeEnd): Likewise.
25481 (insertAfterEnd): Likewise.
25482 (insertAfterStart): Likewise.
25483 * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25484 Mark all methods as stub.s
25485 * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25487 (paintHorizontalSeparators): Likewise.
25488 * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25490 * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25492 * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25494 * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25497 2006-03-22 Mark Wielaard <mark@klomp.org>
25499 * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25501 2006-03-22 Mark Wielaard <mark@klomp.org>
25504 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25505 Takes GtkImage, x and y coordinates.
25506 (gtkWidgetSetCursorUnlocked): Likewise.
25507 (GtkComponentPeer): Set cursor when set.
25508 (setCursor): Handle GtkCursor.
25509 * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25511 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25512 (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25513 (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25514 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25516 2006-03-23 Roman Kennke <kennke@aicas.com>
25519 * gnu/java/security/Registry.java
25520 (PKCS5_PAD): Added pad PKCS#5 algorithm.
25521 * gnu/javax/crypto/pad/PadFactory.java
25522 (getInstance): For PKCS#5, also return PKCS#7 pad
25524 (getNames): Added PKCS#5.
25525 * javax/crypto/KeyGenerator.java
25526 (getInstance): Initialize key generator before returning
25529 2006-03-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
25531 * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25532 (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25533 * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25534 if COMMENTS is set.
25536 2006-03-22 Tom Tromey <tromey@redhat.com>
25538 * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25539 (getBoolean): Likewise.
25540 (getString): Likewise.
25541 (getIcon): Likewise.
25543 2006-03-22 Mark Wielaard <mark@klomp.org>
25546 * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25547 (GLightweightPeer(Component)): Install MouseListener.
25548 (setCursor): Implement.
25549 (mouseEntered): New method.
25551 2006-03-22 Tom Tromey <tromey@redhat.com>
25553 * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25555 * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25557 (getFontForState): Likewise.
25558 (getInsets): Added 'result' argument.
25559 (getPainter): Renamed.
25561 2006-03-22 Tom Tromey <tromey@redhat.com>
25563 * javax/swing/plaf/synth/SynthPainter.java
25564 (paintScrollBarThumbBackground): Added 'orientation' argument.
25565 (paintScrollBarThumbBorder): Likewise.
25566 (paintSliderThumbBackground): Likewise.
25567 (paintSliderThumbBorder): Likewise.
25568 (paintTabbedPaneTabBackground): Added 'index' argument.
25569 (paintTabbedPaneTabBorder): Likewise.
25571 2006-03-22 Tom Tromey <tromey@redhat.com>
25573 * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25574 (toString): New method.
25576 2006-03-22 Tom Tromey <tromey@redhat.com>
25578 * doc/hacking.texinfo (Source Code Style Guide): Mention
25579 NotImplementedException.
25580 * javax/imageio/stream/MemoryCacheImageOutputStream.java
25581 (flushBefore): Mark as stub.
25583 * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25585 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25588 (writeBit): Likewise.
25589 (writeChars): Likewise.
25590 (writeUTF): Likewise.
25591 * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25594 * java/net/URLConnection.java (getContent): Mark as stub.
25595 * java/awt/Window.java (applyResourceBundle): Mark as stub.
25596 * java/awt/TexturePaint.java (createContext): Mark as stub.
25597 (getTransparency): Mark as stub.
25598 * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25599 * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25600 * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25602 (getImageCapabilities): Likewise.
25603 * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25604 * java/awt/AlphaComposite.java (createContext): Mark as stub.
25605 * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25607 * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25608 (getAdvanceBetween): Likewise.
25609 (getLayout): Likewise.
25610 (insertChar): Likewise.
25611 (getLineBreakIndex): Likewise.
25612 * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25613 (getAdvance): Likewise.
25614 (getAscent): Likewise.
25615 (getDescent): Likewise.
25616 * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25617 (insertChar): Likewise.
25618 (nextLayout): Likewise.
25619 (nextLayout): Likewise.
25620 (nextOffset): Likewise.
25621 (nextOffset): Likewise.
25622 * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25623 (equals): Likewise.
25624 (getAdvance): Likewise.
25625 (getAscent): Likewise.
25626 (getBounds): Likewise.
25627 (getDescent): Likewise.
25628 (hashCode): Likewise.
25629 (ImageGraphicAttribute): Likewise.
25630 * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25631 (getJustificationInfo): Likewise.
25632 * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25633 (getGlyphCharIndices): Likewise.
25634 (getGlyphOutline): Likewise.
25635 (getGlyphPixelBounds): Likewise.
25636 (getLayoutFlags): Likewise.
25637 (getPixelBounds): Likewise.
25638 * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25639 (getRSB): Likewise.
25640 * java/nio/channels/Channels.java (newWriter): Mark as stub.
25641 * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25642 * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25644 (resetRecognizer): Likewise.
25645 * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25647 (getNativesForFlavor): Likewise.
25648 * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25649 * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25651 (getRegion): Likewise.
25652 (createUI): Likewise.
25653 (initialize): Likewise.
25654 (uninitialize): Likewise.
25655 (getDefaults): Likewise.
25657 (shouldUpdateStyleOnAncestorChanged): Likewise.
25658 * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25660 (getPreferredSize): Likewise.
25661 (getMaximumSize): Likewise.
25662 (paintText): Likewise.
25663 * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25665 * java/text/Collator.java (getAvailableLocales): Mark as stub.
25667 2006-03-22 Wolfgang Baer <WBaer@gmx.de>
25669 * java/io/ObjectStreamConstants.java: Added since tag.
25670 (PROTOCOL_VERSION_1): Added javadoc.
25671 (PROTOCOL_VERSION_2): Likewise.
25672 * java/io/ObjectOutputStream.java:
25673 (setDefaultProtocolVersion): Removed.
25674 (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25676 2006-03-21 Lillian Angel <langel@redhat.com>
25678 * gnu/javax/imageio/bmp/BMPInfoHeader.java
25679 (BMPInfoHeader): Removed debug lines.
25680 * gnu/javax/imageio/bmp/EncodeRLE4.java
25681 (encode): Implemented.
25682 (uncompress): New function implemented to
25683 uncompress the image before encoding.
25684 * gnu/javax/imageio/bmp/EncodeRLE8.java
25685 (encode): Implemented.
25686 (uncompress): New function implemented to
25687 uncompress the image before encoding.
25689 2006-03-21 Roman Kennke <kennke@aicas.com>
25691 * javax/swing/text/html/FormView.java
25692 (getImageData): New helper method.
25694 2006-03-21 Tom Tromey <tromey@redhat.com>
25696 * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25698 (Unsafe): Now final.
25700 2006-03-21 Roman Kennke <kennke@aicas.com>
25702 * javax/swing/text/html/FormView.java
25703 (MouseEventListener): New inner class.
25705 2006-03-21 Roman Kennke <kennke@aicas.com>
25707 * javax/swing/text/html/ListView.java: New file.
25709 2006-03-21 Tom Tromey <tromey@redhat.com>
25711 * java/text/Bidi.java: Completed.
25713 2006-03-21 Anthony Balkissoon <abalkiss@redhat.com>
25715 * javax/swing/JTable.java:
25716 (columnAtPoint): Removed the null check, this method should throw a NPE
25717 if the argument is null.
25719 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25721 * javax/swing/text/DefaultHighlighter.java:
25722 (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25724 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25726 * javax/swing/text/DefaultCaret.java: Added class variable denoting
25727 the textcomponent having a selection.
25728 (clearSelection): Clear 'componentWithSelection' variable.
25729 (handleSelection): Clear selection of current component having a
25730 selection before setting a new selection in another component.
25731 (mouseDragged): Only react on left mouse button.
25732 (mouseClicked): Only react on left mouse button.
25734 2006-03-21 Roman Kennke <kennke@aicas.com>
25736 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25737 (paintContentBorderTopEdge): Implemented.
25738 (paintContentBorderBottomEdge): Implemented.
25739 (paintContentBorderLeftEdge): Implemented.
25740 (paintContentBorderRightEdge): Implemented.
25741 (isLastTabInRun): New helper method.
25743 2006-03-21 Roman Kennke <kennke@aicas.com>
25745 * javax/swing/JTabbedPane.java
25746 (Page.getForeground): Fall back to returning the tabbed pane's
25747 foreground if no foreground has been exclicitly set.
25749 2006-03-21 Roman Kennke <kennke@aicas.com>
25751 * javax/swing/plaf/metal/MetalComboBoxButton.java
25752 (setEnabled): Update colors of button correctly.
25753 * javax/swing/plaf/metal/MetalComboBoxUI.java
25754 (MetalPropertyChangeListener.propertyChange): Update the colors
25755 of the list and the button when any of the color properties
25756 of the ComboBox change.
25758 2006-03-21 Roman Kennke <kennke@aicas.com>
25760 * javax/swing/plaf/basic/BasicButtonUI.java
25761 (uninstallDefaults): Only nullify button colors if they are
25762 not UIResource instances.
25764 2006-03-21 David Gilbert <david.gilbert@object-refinery.com>
25766 * javax/swing/JComponent.java
25767 (AccessibleJComponent.getAccessibleDescription): Call super,
25768 * javax/swing/JToolTip.java: API doc updates all over, plus
25769 (AccessibleJToolTip.getAccessibleDescription): Implemented,
25770 (AccessibleJToolTip.getAccessibleRole): Implemented,
25771 (getAccessibleContext): Implemented,
25772 (paramString): Reimplemented,
25773 (setComponent): Fire PropertyChangeEvent,
25774 (setTipText): Likewise.
25776 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25778 * java/util/Formatter.java:
25779 Make the class final.
25781 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25783 * java/lang/System.java:
25784 (nanoTime()): Documented.
25785 * java/lang/Thread.java:
25786 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25787 Added docs and security check.
25788 (getUncaughtExceptionHandler()): Documented.
25789 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25790 Added docs and security check.
25791 (getDefaultUncaughtExceptionHandler()): Documented.
25792 (getId()): Documented.
25793 (Thread.State): Documented.
25794 * vm/reference/gnu/classpath/Unsafe.java:
25796 (getUnsafe()): Updated to handle security.
25798 2006-03-20 Tom Tromey <tromey@redhat.com>
25800 * java/lang/System.java:
25801 (nanoTime()): Implemented.
25802 * java/lang/Thread.java:
25803 (getId()): Implemented.
25804 * java/util/AbstractMap.java:
25805 (SimpleImmutableEntry): New 1.6 class.
25806 (BasicMapEntry): Modified to be SimpleEntry.
25807 * java/util/Collections.java:
25808 Modified to use SimpleEntry.
25809 * java/util/EnumMap.java: Likewise.
25810 * java/util/HashMap.java: Likewise.
25811 * java/util/Hashtable.java: Likewise.
25812 * java/util/TreeMap.java: Likewise.
25813 * vm/reference/gnu/classpath/Unsafe.java:
25814 New class to handle low-level facilities for concurrency.
25815 * vm/reference/java/lang/VMSystem.java:
25816 (nanoTime()): Implemented.
25818 2006-03-20 Tom Tromey <tromey@redhat.com>
25820 * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
25821 * java/security/cert/CertStoreSpi.java: Added import for javadoc.
25822 (CertStoreSpi): Updated throws clause.
25823 * java/security/cert/CertPathValidatorSpi.java: Added import for
25825 (engineValidate): Updated 'throws' clause.
25826 * java/security/cert/PKIXParameters.java: Javadoc fix.
25827 * java/security/cert/X509CertSelector.java
25828 (setAuthorityKeyIdentifier): Javadoc fix.
25830 2006-03-20 Tom Tromey <tromey@redhat.com>
25832 * .classpath: Build gnu.javax.swing.plaf.
25834 2006-03-20 Lillian Angel <langel@redhat.com>
25836 * gnu/javax/imageio/bmp/BMPDecoder.java:
25837 Removed unneeded import.
25838 * gnu/javax/imageio/bmp/BMPEncoder.java:
25840 * gnu/javax/imageio/bmp/BMPFileHeader.java
25841 (BMPFileHeader): New constructor used to create info header
25842 for an output stream.
25843 (write): Fixed indexes.
25844 * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
25845 Initialized writerSpiNames field.
25846 * gnu/javax/imageio/bmp/BMPImageWriter.java:
25848 * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
25850 * gnu/javax/imageio/bmp/BMPInfoHeader.java:
25851 Change visibility for fields.
25852 (BMPInfoHeader): New constructor used to create
25853 file header for an output stream.
25854 (intToDWord): New method. Converts an int to a
25856 (intToWord): New method. Converts an int to a word.
25857 * gnu/javax/imageio/bmp/DecodeBF32.java:
25858 Removed unneeded imports.
25859 * gnu/javax/imageio/bmp/EncodeRGB1.java:
25861 * gnu/javax/imageio/bmp/EncodeRGB16.java:
25863 * gnu/javax/imageio/bmp/EncodeRGB24.java:
25865 * gnu/javax/imageio/bmp/EncodeRGB32.java:
25867 * gnu/javax/imageio/bmp/EncodeRGB4.java:
25869 * gnu/javax/imageio/bmp/EncodeRGB8.java:
25871 * gnu/javax/imageio/bmp/EncodeRLE4.java:
25873 * gnu/javax/imageio/bmp/EncodeRLE8.java:
25875 * javax/imageio/ImageIO.java:
25878 2006-03-20 Roman Kennke <kennke@aicas.com>
25880 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25881 (TabbedPaneLayout.normalizeTabRuns): New method.
25882 (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
25883 (paintTabBorder): Replaced if-else chain with switch.
25884 (paintTopTabBorder): Rewritten to correctly paint tab. Also support
25886 (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
25888 (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
25890 (paintRightTabBorder): Rewritten to correctly paint tab. Also support
25892 (paintTabBackground): Fetch background color from the TabbedPane.
25893 Fixed painting and improved by not using fillPolygon, and instead
25894 using fillRectangle. Replaced if-else chain with switch.
25895 (calculateMaxTabHeight): Added overridden method with FIXME.
25896 (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
25898 (paintContentBorderTopEdge): Added stub with FIXME.
25899 (paintContentBorderBottomEdge): Added stub with FIXME.
25900 (paintContentBorderLeftEdge): Added stub with FIXME.
25901 (paintContentBorderRightEdge): Added stub with FIXME.
25903 2006-03-20 Roman Kennke <kennke@aicas.com>
25905 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25906 (tabsOpaque): New field.
25907 (installDefaults): Fetch tabsOpaque property from UIManager.
25908 (paintTab): Fill tab background when tabsOpaque property is true.
25909 * javax/swing/plaf/basic/BasicLookAndFeel.java
25910 (initComponentDefaults): Added TabbedPane.tabsOpaque property.
25912 2006-03-20 Roman Kennke <kennke@aicas.com>
25914 * javax/swing/JTabbedPane.java
25915 (Pane.getBackground): When no background was explicitly set, return
25916 the JTabbedPane's background.
25918 2006-03-20 Wolfgang Baer <WBaer@gmx.de>
25920 * org/omg/CORBA/ACTIVITY_COMPLETED.java,
25921 * org/omg/CORBA/ACTIVITY_REQUIRED.java,
25922 * org/omg/CORBA/BAD_INV_ORDER.java,
25923 * org/omg/CORBA/BAD_CONTEXT.java,
25924 * org/omg/CORBA/BAD_OPERATION.java,
25925 * org/omg/CORBA/BAD_PARAM.java,
25926 * org/omg/CORBA/BAD_QOS.java,
25927 * org/omg/CORBA/BAD_TYPECODE.java,
25928 * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
25929 * org/omg/CORBA/COMM_FAILURE.java,
25930 * org/omg/CORBA/CurrentHolder.java,
25931 * org/omg/CORBA/DATA_CONVERSION.java,
25932 * org/omg/CORBA/FREE_MEM.java,
25933 * org/omg/CORBA/IMP_LIMIT.java,
25934 * org/omg/CORBA/INITIALIZE.java,
25935 * org/omg/CORBA/INTERNAL.java,
25936 * org/omg/CORBA/INTF_REPOS.java,
25937 * org/omg/CORBA/INVALID_ACTIVITY.java,
25938 * org/omg/CORBA/INVALID_TRANSACTION.java,
25939 * org/omg/CORBA/INV_FLAG.java,
25940 * org/omg/CORBA/INV_IDENT.java,
25941 * org/omg/CORBA/INV_OBJREF.java,
25942 * org/omg/CORBA/INV_POLICY.java,
25943 * org/omg/CORBA/MARSHAL.java,
25944 * org/omg/CORBA/NO_RESOURCES.java,
25945 * org/omg/CORBA/NO_MEMORY.java,
25946 * org/omg/CORBA/NO_IMPLEMENT.java,
25947 * org/omg/CORBA/NO_PERMISSION.java,
25948 * org/omg/CORBA/NO_RESPONSE.java,
25949 * org/omg/CORBA/OBJECT_NOT_EXIST.java,
25950 * org/omg/CORBA/OBJ_ADAPTER.java,
25951 * org/omg/CORBA/ParameterModeHolder.java,
25952 * org/omg/CORBA/PolicyError.java,
25953 * org/omg/CORBA/PolicyErrorHolder.java,
25954 * org/omg/CORBA/PolicyHolder.java,
25955 * org/omg/CORBA/PolicyListHolder.java,
25956 * org/omg/CORBA/REBIND.java,
25957 * org/omg/CORBA/TIMEOUT.java,
25958 * org/omg/CORBA/TRANSACTION_MODE.java,
25959 * org/omg/CORBA/TRANSACTION_REQUIRED.java,
25960 * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
25961 * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
25962 * org/omg/CORBA/TRANSIENT.java,
25963 * org/omg/CORBA/TypeCodeHolder.java,
25964 * org/omg/CORBA/UNKNOWN.java,
25965 * org/omg/CORBA/UnionMember.java,
25966 * org/omg/CORBA/UnknownUserException.java,
25967 * org/omg/CORBA/UnknownUserExceptionHolder.java,
25968 * org/omg/CORBA/WrongTransactionHolder.java,
25969 * org/omg/IOP/IOR.java,
25970 * org/omg/IOP/IORHolder.java,
25971 * org/omg/IOP/MultipleComponentProfileHolder.java,
25972 * org/omg/IOP/ServiceContextHolder.java,
25973 * org/omg/IOP/ServiceContextListHolder.java,
25974 * org/omg/IOP/TaggedComponentHolder.java,
25975 * org/omg/IOP/TaggedProfileHolder.java,
25976 * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
25977 * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
25978 * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
25979 * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
25980 Made class final, various javadoc fixlets.
25981 * org/omg/CORBA/CompletionStatus.java,
25982 * org/omg/CORBA/PERSIST_STORE.java,
25983 * org/omg/CORBA/ValueMember.java,
25984 * org/omg/PortableInterceptor/ForwardRequest.java,
25985 * org/omg/PortableInterceptor/InvalidSlot.java,
25986 * org/omg/IOP/CodecPackage/TypeMismatch.java,
25987 * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
25988 * org/omg/IOP/CodecPackage/FormatMismatch.java,
25989 * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
25990 * org/omg/IOP/Encoding.java,
25991 * org/omg/IOP/TaggedComponent.java,
25992 * org/omg/IOP/TaggedProfile.java: Made class final.
25993 * org/omg/CORBA/SystemException.java: Made class abstract.
25994 * org/omg/CORBA/UserException.java: Made class abstract.
25995 (UserException): Now protected.
25996 (UserException(String)): Likewise.
25997 * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
25998 (typecode): Removed unused private variable.
26000 2006-03-20 Chris Burdess <dog@gnu.org>
26003 * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
26005 2006-03-20 Roman Kennke <kennke@aicas.com>
26007 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26008 (paintTabArea): Look up tab run indices in tabRuns array instead
26009 of using the index directly.
26011 2006-03-20 Roman Kennke <kennke@aicas.com>
26013 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26014 (paintTab): Fixed painting.
26015 (paintText): Fixed text painting.
26016 (paintFocusIndicator): Fixed painting of the focus rectangle.
26017 (paintContentBorder): Fixed painting of the content area.
26019 2006-03-20 Mark Wielaard <mark@klomp.org>
26021 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
26022 static lock Object field.
26023 (produce): Synchronize on pixbufLock when calling initState(),
26024 pumpBytes() and pumpDone().
26025 (finalize): Likewise when calling finish().
26026 (GdkPixbufWriter.write): Likewise when calling streamImage().
26027 * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
26028 when calling loadPixbuf. Chain exception.
26029 (GtkImage(byte[])): Likewise when calling loadImageFromData.
26030 (GtkImage(URL)): Likewise.
26031 (GtkImage(int,int)): Likewise when calling createPixmap().
26032 (GtkImage(GtkImage,int,int,int)): Likewise when calling
26033 createScaledPixmap().
26034 (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
26035 (setImage): Likewise when calling createPixmap() and setPixels().
26036 (getSource): Likewise when calling getPixels().
26037 (flush): Likewise when calling freePixmap().
26038 (finalize): Likewise.
26039 (drawImage): Likewise when calling drawPixelsScaledFlipped() and
26040 drawPixelsScaledFlipped().
26041 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
26042 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
26043 gdk_threads_enter/leave().
26044 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
26045 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
26046 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
26047 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
26048 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
26049 (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
26050 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
26051 (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
26052 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
26053 (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
26054 (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
26055 (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
26056 (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
26058 2006-03-20 Roman Kennke <kennke@aicas.com>
26060 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26061 (calculateTabHeight): Not need to use SwingUtilities here.
26062 (getTabInsets): Do not rotate insets.
26064 2006-03-20 Roman Kennke <kennke@aicas.com>
26066 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26067 (paint): Make sure the layout is valid before painting.
26068 (paintTabArea): Made tab painting more straightforward and efficient.
26070 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26072 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
26073 (getScrollableUnitIncrement): Rewritten.
26074 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
26075 (getScrollableUnitIncrement): Rewritten.
26076 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26077 (ROWS_PER_WHEEL_CLICK): New field.
26078 (MouseWheelHandler.mouseWheelMoved): Rewritten.
26080 2006-03-20 Roman Kennke <kennke@aicas.com>
26082 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26083 (paint): Make sure the layout is valid before painting.
26084 (paintTabArea): Made tab painting more straightforward and efficient.
26086 2006-03-20 Roman Kennke <kennke@aicas.com>
26088 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26089 (MouseHandler.mousePressed): Rewritten for clearer and simpler
26091 (MouseHandler.mouseEntered): Implemented to set the rollover tab.
26092 (MouseHandler.mouseMoved): Implemented to set the rollover tab.
26093 (MouseHandler.mouseExited): Implemented to unset the rollover tab.
26094 (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
26095 bounds here. That is moved into layoutContainer().
26096 (calculateSize): Correctly respect insets. Made code slightly more
26097 clear and efficient.
26098 (calculateTabRects): Rewritten completely. The old code was
26099 not quite right and unstable in some situations.
26100 (layoutContainer): Moved layout of tabbed pane's subcomponents
26102 (tabRunsDirty): New field.
26103 (rolloverTab): New field.
26104 (tabForCoordinate): Rewritten for simplicity and correctness.
26105 (setRolloverTab): New method.
26106 (getRolloverTab): New method.
26108 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26110 * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
26111 * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
26112 (getScrollableUnitIncrement
26113 * javax/swing/Scrollable.java: Documented.
26114 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26115 (MouseWheelHandler):Rewritten.
26117 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
26119 * doc/vmintegration.texinfo:
26120 Updated with gnu.classpath.Unsafe
26122 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
26125 Updated with VMArray and Unsafe changes.
26127 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26129 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
26130 (getScrollableUnitIncrement): Rewritten.
26131 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
26132 (getScrollableUnitIncrement): Rewritten.
26133 (getScrollableBlockIncrement): Rewritten.
26134 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26135 (MouseWheelHandler): Implemented. (ViewportContainerListener):
26136 New class. (containerListener): New field. (SCROLL_NON_SCROLABLES):
26137 New field. (installListeners): Install wheel listeners.
26138 (uninstallListeners): Uninstall wheel listeners.
26139 * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
26140 of the MouseWheelListener. (installListeners): Do not install wheel
26141 listener. (ROWS_PER_WHEEL_CLICK): Removed.
26143 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
26145 * vm/reference/gnu/classpath/Unsafe.java:
26147 (getUnsafe()): Updated to handle security.
26149 2006-03-19 Tom Tromey <tromey@redhat.com>
26151 * vm/reference/gnu/classpath/Unsafe.java:
26152 New class to handle low-level facilities for concurrency.
26154 2006-03-19 Mark Wielaard <mark@klomp.org>
26156 * include/Makefile.am: Rename PlainDatagramSocketImpl to
26157 VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
26158 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
26159 * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
26161 2006-03-19 Mark Wielaard <mark@klomp.org>
26163 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
26165 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
26167 2006-03-19 Michael Koch <konqueror@gmx.de>
26169 * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
26170 resource/gnu/java/locale/LocaleInformation_am.properties,
26171 resource/gnu/java/locale/LocaleInformation_am_ET.properties,
26172 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
26173 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26174 resource/gnu/java/locale/LocaleInformation_bg.properties,
26175 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
26176 resource/gnu/java/locale/LocaleInformation_ca.properties,
26177 resource/gnu/java/locale/LocaleInformation_cs.properties,
26178 resource/gnu/java/locale/LocaleInformation_cy.properties,
26179 resource/gnu/java/locale/LocaleInformation_da.properties,
26180 resource/gnu/java/locale/LocaleInformation_de.properties,
26181 resource/gnu/java/locale/LocaleInformation_dv.properties,
26182 resource/gnu/java/locale/LocaleInformation_el.properties,
26183 resource/gnu/java/locale/LocaleInformation_en.properties,
26184 resource/gnu/java/locale/LocaleInformation_en_GB.properties,
26185 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
26186 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
26187 resource/gnu/java/locale/LocaleInformation_en_SG.properties,
26188 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
26189 resource/gnu/java/locale/LocaleInformation_es.properties,
26190 resource/gnu/java/locale/LocaleInformation_es_AR.properties,
26191 resource/gnu/java/locale/LocaleInformation_es_BO.properties,
26192 resource/gnu/java/locale/LocaleInformation_es_CL.properties,
26193 resource/gnu/java/locale/LocaleInformation_es_CO.properties,
26194 resource/gnu/java/locale/LocaleInformation_es_CR.properties,
26195 resource/gnu/java/locale/LocaleInformation_es_DO.properties,
26196 resource/gnu/java/locale/LocaleInformation_es_EC.properties,
26197 resource/gnu/java/locale/LocaleInformation_es_ES.properties,
26198 resource/gnu/java/locale/LocaleInformation_es_GT.properties,
26199 resource/gnu/java/locale/LocaleInformation_es_HN.properties,
26200 resource/gnu/java/locale/LocaleInformation_es_MX.properties,
26201 resource/gnu/java/locale/LocaleInformation_es_NI.properties,
26202 resource/gnu/java/locale/LocaleInformation_es_PA.properties,
26203 resource/gnu/java/locale/LocaleInformation_es_PE.properties,
26204 resource/gnu/java/locale/LocaleInformation_es_PR.properties,
26205 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
26206 resource/gnu/java/locale/LocaleInformation_es_SV.properties,
26207 resource/gnu/java/locale/LocaleInformation_es_US.properties,
26208 resource/gnu/java/locale/LocaleInformation_es_UY.properties,
26209 resource/gnu/java/locale/LocaleInformation_es_VE.properties,
26210 resource/gnu/java/locale/LocaleInformation_fa.properties,
26211 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26212 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
26213 resource/gnu/java/locale/LocaleInformation_fi.properties,
26214 resource/gnu/java/locale/LocaleInformation_fr.properties,
26215 resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
26216 resource/gnu/java/locale/LocaleInformation_ga.properties,
26217 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
26218 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
26219 resource/gnu/java/locale/LocaleInformation_hr.properties,
26220 resource/gnu/java/locale/LocaleInformation_hu.properties,
26221 resource/gnu/java/locale/LocaleInformation_id.properties,
26222 resource/gnu/java/locale/LocaleInformation_is.properties,
26223 resource/gnu/java/locale/LocaleInformation_it.properties,
26224 resource/gnu/java/locale/LocaleInformation_ja.properties,
26225 resource/gnu/java/locale/LocaleInformation_kk.properties,
26226 resource/gnu/java/locale/LocaleInformation_kl.properties,
26227 resource/gnu/java/locale/LocaleInformation_km.properties,
26228 resource/gnu/java/locale/LocaleInformation_ky.properties,
26229 resource/gnu/java/locale/LocaleInformation_lo.properties,
26230 resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
26231 resource/gnu/java/locale/LocaleInformation_lt.properties,
26232 resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
26233 resource/gnu/java/locale/LocaleInformation_lv.properties,
26234 resource/gnu/java/locale/LocaleInformation_mk.properties,
26235 resource/gnu/java/locale/LocaleInformation_mn.properties,
26236 resource/gnu/java/locale/LocaleInformation_mr.properties,
26237 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
26238 resource/gnu/java/locale/LocaleInformation_ms.properties,
26239 resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
26240 resource/gnu/java/locale/LocaleInformation_mt.properties,
26241 resource/gnu/java/locale/LocaleInformation_nb.properties,
26242 resource/gnu/java/locale/LocaleInformation_nl.properties,
26243 resource/gnu/java/locale/LocaleInformation_nn.properties,
26244 resource/gnu/java/locale/LocaleInformation_om_ET.properties,
26245 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
26246 resource/gnu/java/locale/LocaleInformation_pa.properties,
26247 resource/gnu/java/locale/LocaleInformation_pl.properties,
26248 resource/gnu/java/locale/LocaleInformation_pt.properties,
26249 resource/gnu/java/locale/LocaleInformation_ru.properties,
26250 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
26251 resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
26252 resource/gnu/java/locale/LocaleInformation_sa.properties,
26253 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
26254 resource/gnu/java/locale/LocaleInformation_sk.properties,
26255 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26256 resource/gnu/java/locale/LocaleInformation_sv.properties,
26257 resource/gnu/java/locale/LocaleInformation_sw.properties,
26258 resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
26259 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
26260 resource/gnu/java/locale/LocaleInformation_te.properties,
26261 resource/gnu/java/locale/LocaleInformation_te_IN.properties,
26262 resource/gnu/java/locale/LocaleInformation_th.properties,
26263 resource/gnu/java/locale/LocaleInformation_ti.properties,
26264 resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
26265 resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
26266 resource/gnu/java/locale/LocaleInformation_tr.properties,
26267 resource/gnu/java/locale/LocaleInformation_tt.properties,
26268 resource/gnu/java/locale/LocaleInformation_uk.properties,
26269 resource/gnu/java/locale/LocaleInformation_ur.properties,
26270 resource/gnu/java/locale/LocaleInformation_uz.properties,
26271 resource/gnu/java/locale/LocaleInformation_zh.properties,
26272 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26273 More updates for CLDR 1.3.
26275 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
26277 * doc/vmintegration.texinfo:
26278 Updated to include VMArray.
26279 * include/Makefile.am:
26280 Replace java_lang_reflect_Array.h with
26281 java_lang_reflect_VMArray.h
26282 * include/java_lang_reflect_VMArray.h:
26283 New autogenerated header.
26284 * include/java_lang_reflect_Array.h:
26286 * java/lang/reflect/Array.java:
26287 (newInstance(Class,int)): Calls VMArray.
26288 (createMultiArray(Class,int[],int)): Likewise.
26289 (createObjectArray(Class,int)): Removed.
26290 * native/jni/java-lang/Makefile.am:
26291 Replaced java_lang_reflect_Array.c with
26292 java_lang_reflect_VMArray.c
26293 * native/jni/java-lang/java_lang_reflect_VMArray.c:
26294 Renamed from java_lang_reflect_Array.c.
26295 * vm/reference/java/lang/reflect/VMArray.java:
26296 (createObjectArray(Class,int)): Native method moved
26297 from java.lang.reflect.Array.
26299 2006-03-19 Roman Kennke <kennke@aicas.com>
26301 * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
26302 * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
26304 * examples/gnu/classpath/examples/swing/Demo.java
26305 (mkButtonBar): Hook up theme editor.
26306 (mkMenuBar): Hook up theme editor.
26308 2006-03-19 Roman Kennke <kennke@aicas.com>
26310 * javax/swing/plaf/basic/BasicFileChooserUI.java
26311 (ApproveSelectionAction.actionPerformed): Added case for when
26312 nothing has been selected but the user has typed a filename
26313 into the textfield.
26314 (getFileName): Return the value of the text field.
26316 2006-03-19 Roman Kennke <kennke@aicas.com>
26318 * javax/swing/JColorChooser.java
26319 (createDialog): Create JDialog instead of ModalDialog. Make this
26320 dialog modal by calling setModal(true).
26321 (ModalDialog): Removed unnecessary inner class.
26323 2006-03-19 Tom Tromey <tromey@redhat.com>
26325 * java/awt/font/NumericShaper.java: Rewrote.
26327 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26329 * javax/swing/plaf/basic/BasicTableUI.java:
26330 Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
26331 New field. MouseInputHandler.mouseWheelMoved): New method.
26332 (installListeners): Register MouseInputHandler as
26333 wheel listener also.
26335 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26338 * javax/swing/ViewportLayout.java (layoutContainer):
26339 If Scrollable tracks dimension, set view size to the port size.
26340 If port is larger than the view, move the view to the top/left.
26342 2006-03-19 Roman Kennke <kennke@aicas.com>
26344 * javax/swing/MenuSelectionManager.java
26345 (isComponentPartOfCurrentMenu): Also consider the first element
26346 in a menu selection list. Make a isDescendentFrom check instead
26347 of simple equals to also catch sub components.
26349 2006-03-19 Roman Kennke <kennke@aicas.com>
26351 * javax/swing/JComboBox.java
26352 (actionPerformed): Fetch selected item directly from the editor
26353 instead of trying to get it from the event.
26355 2006-03-19 Roman Kennke <kennke@aicas.com>
26357 * javax/swing/plaf/basic/BasicComboBoxEditor.java
26358 (listener): Removed field.
26359 (BasicComboBoxEditor): Removed initialization of listener field.
26360 (addActionListener): Add listener directly to editor.
26361 (removeActionListener): Remove listener directly from editor.
26362 (ComboBoxEditorListener): Removed class.
26363 * javax/swing/plaf/basic/BasicComboBoxUI.java
26364 (getPreferredSize): Fixed to return the minimumSize.
26365 (getMinimumSize): Improved code for more clearness.
26366 (getMaximumSize): Return (32767,32767) as requested by the mauve test.
26367 (rectangleForCurrentValue): Correctly respect insets.
26368 (getDefaultSize): Return preferredSize here. Dont override height
26370 (getDisplaySize): Moved around code for more clearness. Added
26371 handling of prototype renderer.
26372 (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
26373 arrowButton bounds since the former depends on the latter.
26374 * javax/swing/plaf/metal/MetalComboBoxButton.java:
26375 (MetalComboBoxButton): Make button rollover disabled.
26376 (isFocusTraversable): Return false unconditionally.
26377 * javax/swing/plaf/metal/MetalComboBoxEditor.java:
26378 (EditorTextField): New class. Fixes the size properties.
26379 (MetalComboBoxEditor): Create instance of EditorTextField.
26380 * javax/swing/plaf/metal/MetalComboBoxUI.java:
26381 (getMinimumSize): Fixed editable size.
26383 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26385 * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
26387 2006-03-18 Roman Kennke <kennke@aicas.com>
26389 * javax/swing/plaf/metal/MetalToolBarUI.java
26390 (update): Added overridden method to support OceanTheme.
26392 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26394 * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped):
26395 Activate the cell editing on character keystroke.
26397 2006-03-18 Mark Wielaard <mark@klomp.org>
26399 * java/awt/Component.java (eventTypeEnabled): Handle
26400 MouseEvent.MOUSE_WHEEL.
26401 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
26402 New callback method.
26403 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
26404 (AWT_MOUSE_WHEEL): New constant.
26405 (AWT_WHEEL_UNIT_SCROLL): Likewise.
26406 (postMouseWheelEventID): New static variable.
26407 (cp_gtk_component_init_jni): Record postMouseWheelEventID.
26408 (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
26409 (button_number): Renamed to ...
26410 (button_number_direction): variable to hold button number or scroll
26412 (component_button_press_cb): Use button_number_direction.
26413 (component_scroll_cb): New static callback function.
26415 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26417 * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
26418 Return without action.
26420 2006-03-18 Mark Wielaard <mark@klomp.org>
26422 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
26423 Don't cast graphics object to GdkGraphics.
26424 (updateComponent): Likewise.
26426 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26428 * examples/gnu/classpath/examples/swing/TableDemo.java
26429 (TModel.getColumnClass): Set second column to Icon.
26430 (TModel.isCellEditable): Say icons are not editable.
26431 (createContent): Fill the in second column with some icons from
26434 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26436 * examples/gnu/classpath/examples/swing/Demo.java
26437 (mkButtonBar): Set maximal button bar height to the preferred height.
26439 2006-03-18 Roman Kennke <kennke@aicas.com>
26441 * javax/swing/plaf/basic/BasicComboPopup.java
26442 (show): Substract insets from scroller width.
26443 (getPopupHeightForRowCount): If height==0, return a default of 100
26444 instead for empty ComboBoxes.
26446 2006-03-18 Roman Kennke <kennke@aicas.com>
26448 * javax/swing/plaf/basic/BasicLookAndFeel.java
26449 (PopupHelper.autoClosePopups): Removed field.
26450 (PopupHelper.mousePressed): Removed processing of registered
26452 (registerForAutoClose): Removed unneeded method.
26453 (autoClosePopups): Removed unneeded method.
26454 (registerForAutoClose): Removed unneeded method.
26456 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26458 * javax.swing.JTable.java (TableTextField): Set border.
26459 (moveToCellBeingEdited): Do not adjust the editor boundaries
26461 2006-03-18 Michael Koch <konqueror@gmx.de>
26463 * resource/gnu/java/locale/LocaleInformation_aa.properties,
26464 resource/gnu/java/locale/LocaleInformation_af.properties,
26465 resource/gnu/java/locale/LocaleInformation_am.properties,
26466 resource/gnu/java/locale/LocaleInformation_ar.properties,
26467 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26468 resource/gnu/java/locale/LocaleInformation_be.properties,
26469 resource/gnu/java/locale/LocaleInformation_bg.properties,
26470 resource/gnu/java/locale/LocaleInformation_bn.properties,
26471 resource/gnu/java/locale/LocaleInformation_ca.properties,
26472 resource/gnu/java/locale/LocaleInformation_cs.properties,
26473 resource/gnu/java/locale/LocaleInformation_cy.properties,
26474 resource/gnu/java/locale/LocaleInformation_da.properties,
26475 resource/gnu/java/locale/LocaleInformation_de.properties,
26476 resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26477 resource/gnu/java/locale/LocaleInformation_dz.properties,
26478 resource/gnu/java/locale/LocaleInformation_en.properties,
26479 resource/gnu/java/locale/LocaleInformation_eo.properties,
26480 resource/gnu/java/locale/LocaleInformation_es.properties,
26481 resource/gnu/java/locale/LocaleInformation_et.properties,
26482 resource/gnu/java/locale/LocaleInformation_eu.properties,
26483 resource/gnu/java/locale/LocaleInformation_fa.properties,
26484 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26485 resource/gnu/java/locale/LocaleInformation_fi.properties,
26486 resource/gnu/java/locale/LocaleInformation_fo.properties,
26487 resource/gnu/java/locale/LocaleInformation_fr.properties,
26488 resource/gnu/java/locale/LocaleInformation_ga.properties,
26489 resource/gnu/java/locale/LocaleInformation_gl.properties,
26490 resource/gnu/java/locale/LocaleInformation_gu.properties,
26491 resource/gnu/java/locale/LocaleInformation_he.properties,
26492 resource/gnu/java/locale/LocaleInformation_hi.properties,
26493 resource/gnu/java/locale/LocaleInformation_hr.properties,
26494 resource/gnu/java/locale/LocaleInformation_hu.properties,
26495 resource/gnu/java/locale/LocaleInformation_hy.properties,
26496 resource/gnu/java/locale/LocaleInformation_id.properties,
26497 resource/gnu/java/locale/LocaleInformation_is.properties,
26498 resource/gnu/java/locale/LocaleInformation_it.properties,
26499 resource/gnu/java/locale/LocaleInformation_ja.properties,
26500 resource/gnu/java/locale/LocaleInformation_ka.properties,
26501 resource/gnu/java/locale/LocaleInformation_km.properties,
26502 resource/gnu/java/locale/LocaleInformation_ko.properties,
26503 resource/gnu/java/locale/LocaleInformation_lo.properties,
26504 resource/gnu/java/locale/LocaleInformation_lt.properties,
26505 resource/gnu/java/locale/LocaleInformation_lv.properties,
26506 resource/gnu/java/locale/LocaleInformation_mk.properties,
26507 resource/gnu/java/locale/LocaleInformation_mr.properties,
26508 resource/gnu/java/locale/LocaleInformation_ms.properties,
26509 resource/gnu/java/locale/LocaleInformation_mt.properties,
26510 resource/gnu/java/locale/LocaleInformation_nb.properties,
26511 resource/gnu/java/locale/LocaleInformation_nl.properties,
26512 resource/gnu/java/locale/LocaleInformation_nn.properties,
26513 resource/gnu/java/locale/LocaleInformation_om.properties,
26514 resource/gnu/java/locale/LocaleInformation_pl.properties,
26515 resource/gnu/java/locale/LocaleInformation_ps.properties,
26516 resource/gnu/java/locale/LocaleInformation_pt.properties,
26517 resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26518 resource/gnu/java/locale/LocaleInformation_ro.properties,
26519 resource/gnu/java/locale/LocaleInformation_ru.properties,
26520 resource/gnu/java/locale/LocaleInformation_sk.properties,
26521 resource/gnu/java/locale/LocaleInformation_sl.properties,
26522 resource/gnu/java/locale/LocaleInformation_so.properties,
26523 resource/gnu/java/locale/LocaleInformation_sq.properties,
26524 resource/gnu/java/locale/LocaleInformation_sr.properties,
26525 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26526 resource/gnu/java/locale/LocaleInformation_sv.properties,
26527 resource/gnu/java/locale/LocaleInformation_sw.properties,
26528 resource/gnu/java/locale/LocaleInformation_ta.properties,
26529 resource/gnu/java/locale/LocaleInformation_te.properties,
26530 resource/gnu/java/locale/LocaleInformation_th.properties,
26531 resource/gnu/java/locale/LocaleInformation_tr.properties,
26532 resource/gnu/java/locale/LocaleInformation_uk.properties,
26533 resource/gnu/java/locale/LocaleInformation_uz.properties,
26534 resource/gnu/java/locale/LocaleInformation_vi.properties,
26535 resource/gnu/java/locale/LocaleInformation_zh.properties,
26536 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26537 Updated to use the new localized strings for currencies, languages,
26538 variants, territories, etc.
26540 2006-03-18 Ito Kazumitsu <kaz@maczuka.gcd.org>
26542 * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26543 (start, end): Added comment about the negative values of them,
26544 (finish): Saves the input text in matchedCharIndexed,
26545 (toString): If the start or end index is out of bounds of the
26546 matched text, get the substring from matchedCharIndexed.
26547 Added special handlings in case start/end index < -1,
26548 (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26549 Added special handlings in case start/end index < -1,
26550 * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26551 found match, but keep the index as the original match.
26552 * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26553 found match, but keep the index as the original match.
26554 * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26555 in case start/end index < -1.
26557 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26559 * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26562 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26564 * javax/swing/text/DefaultCaret.java:
26565 (mouseClicked) Use setDot() and moveDot() instead of
26566 JTextComponent.select().
26568 2006-03-17 Roman Kennke <kennke@aicas.com>
26570 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26571 (MetalComboBoxEditorBorder.paintBorder): Implemented special
26572 border painting for the Ocean theme.
26573 (MetalComboBoxEditor): Create editor directly instead of going
26576 2006-03-17 Roman Kennke <kennke@aicas.com>
26578 * javax/swing/text/JTextComponent.java
26579 (JTextComponent): Make text components opaque.
26581 2006-03-17 Roman Kennke <kennke@aicas.com>
26583 * javax/swing/plaf/metal/MetalComboBoxUI.java
26584 (MetalComboBoxLayoutManager.layoutContainer): Forward to
26586 (MetalPropertyChangeListener.propertyChange): Update focusable
26587 flag according to the enable and editable state.
26588 (editablePropertyChanged): Removed unnecessary code.
26589 (getMinimumSize): Rewritten to correctly compute the
26590 size, respecting the insets of the components and the icon,
26591 the visual properties of the combobox, etc.
26592 (configureEditor): Update listeners correctly.
26593 (unconfigureEditor): Update listeners correctly.
26594 (layoutComboBox): Implemented.
26596 2006-03-17 Roman Kennke <kennke@aicas.com>
26598 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26599 (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26600 instead of Flush3DBorder.
26601 (paintBorder): Fixed border painting.
26602 (editorBorderInsets): Fixed border's insets.
26604 2006-03-17 Roman Kennke <kennke@aicas.com>
26606 * javax/swing/plaf/metal/MetalComboBoxButton.java
26607 (rendererPane): Documented.
26608 (MetalComboBoxButton): Set enabled flag from ComboBox.
26609 Set focusable flag from ComboBox's enabled flag.
26610 (isFocusTraversable): Make button focus traversable if
26611 ComboBox is not editable but enable.
26612 (paintComponent): Fixed painting to correctly adjust
26613 the boxes of the renderer and button.
26615 2006-03-17 Roman Kennke <kennke@aicas.com>
26617 * javax/swing/plaf/basic/BasicButtonUI.java
26618 (installDefaults): Only install UI margin if installed margin.
26619 is null or a UIResource.
26620 (uninstallDefaults): Only uninstall margin if it's
26623 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26625 * javax/swing/text/DefaultCaret.java:
26626 (mouseClicked) Use setDot() and moveDot() instead of
26627 JTextComponent.select().
26629 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26631 * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26632 inner classes into package-private inner classes, added actions
26633 for caret movement and selection to the next and previous word
26634 and an action which selects the whole text.
26636 2006-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
26638 * javax/swing/Spring.java: Uncomment springdebug methods and
26639 rename them toString.
26640 * javax/swing/SpringLayout.java: Likewise.
26642 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26644 * javax/swing/text/FieldView.java:
26645 (viewToModel): Added call to adjust allocation area.
26647 2006-03-17 Roman Kennke <kennke@aicas.com>
26649 * javax/swing/plaf/basic/BasicComboBoxUI.java
26650 (mouseListener): Removed field.
26651 (buttonBackground): Removed field.
26652 (buttonShadow): Removed field.
26653 (buttonDarkShadow): Removed field.
26654 (buttonHighlight): Removed field.
26655 (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26656 (installUI): Initialize and configure renderer and editor here.
26657 (uninstallUI): Close popup before uninitializing.
26658 Message popup that we are uninitializing. Clear layout.
26659 (installDefaults): Install UI border. Don't install colors.
26660 (installListeners): Install listeners fetched from the popup.
26661 Remove handling of mouseListener.
26662 (uninstallDefaults): Uninstall border. Don't handle colors.
26663 (uninstallListeners): Don't handle mouseListener. Uninstall
26664 listener from the popup.
26665 (createMouseListener): Removed method.
26666 (createRenderer): Create UIResource.
26667 (installComponents): Cleaned up.
26668 (uninstallComponents): Only remove renderer when it is
26670 (addEditor): Remove editor before adding new one.
26671 Fetch editor from comboBox.
26672 (removeEditor): Only do something when editor != null. Unconfigure
26673 editor before removing.
26674 (configureEditor): Add key listener. Call comboBox.configureEditor.
26675 (unconfigureEditor): Removed key listener.
26676 (configureArrowButton): Only handle when arrowButton != null.
26677 Add mouse listeners to arrow button.
26678 (unconfigureArrowButton): Remove listeners.
26679 (createArrowButton): Don't handle colors here.
26680 (setPopupVisible): Don't handle focus here.
26681 (paint): Only paint when comboBox is not editable. Update
26683 (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26684 (getMinimumSize): Respect insets here.
26685 (getMaximumSize): Return preferredSize with width of 32767.
26686 (getInsets): Return ComboBox insets.
26687 (paintCurrentValue): Paint using currentValuePane.
26688 Install correct colors. Don't revalidate.
26689 (paintCurrentValueBackground): Implemented.
26690 (getDefaultSize): Reimplemented using a default renderer.
26691 (getDisplaySize): Reimplemented to use renderer.
26692 (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26693 (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26694 (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26695 (FocusHandler.focusGained): Don't invalidate minimumSize.
26696 (FocusHandler.focusLost): Don't invalidate minimumSize.
26697 Only close popup if focus change is not temporary.
26698 (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26699 Reconfigure editor if not null.
26700 (ListDataHandler.contentsChanged): Revalidate and reconfigure
26701 editor if necessary.
26702 (ListDataHandler.intervalAdded): Fixed updating of the display size.
26703 (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26704 (MouseHandler): Removed unnecessary class.
26706 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26708 * examples/gnu/classpath/examples/swing/Demo.java:
26709 (Demo): Set default closing operation to shutdown the runtime.
26711 2006-03-17 Roman Kennke <kennke@aicas.com>
26713 * javax/swing/plaf/basic/BasicComboPopup.java
26714 (BasicComboPopup): Create listeners here.
26715 Configure components here.
26716 (show): Correctly calculate bounds using computePopupBounds().
26717 Make scroller fixed-size. Removed special autocloser handling.
26718 (hide): Rewritten to use MenuSelectionHandler.
26719 (createList): Don't set selection mode here.
26720 (configureList): Correctly install colors and fonts and selectionMode.
26721 (createScroller): Set scrollpane policies.
26722 (configureScroller): Make scroller and scrollbar not-focusable.
26723 (configurePopup): Make popup opaque and borderPainted.
26724 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26725 (delegateFocus): Implemented.
26726 (convertMouseEvent): Implemented.
26727 (updateListBoxSelectionForEvent): Implemented to also handle
26729 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26730 Only open popup on left mouse-click.
26731 (InvocationMouseHandler.mouseReleased): Rewritten.
26732 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26733 support autoscrolling.
26734 (ItemHandler.itemStateChanged): Implemented to sync selection with
26736 (ListMouseHandler.mouseReleased): Fetch selected index directly
26738 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26740 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26741 When model changes, then update listeners correctly.
26742 (uninstallListeners): Don't uninstall list listeners.
26743 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26745 (syncSelection): New helper method.
26747 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26749 * javax/swing/text/PlainView.java:
26750 (drawLine): Rewritten.
26751 (drawSelectedText): Corrected last argument for
26752 Utilities.drawTabbedText() call.
26753 (paint): Store start and end of selection in object variables,
26754 store constant values of for-loop in local variables.
26755 * javax/swing/text/Utilities.java:
26756 (drawTabbedText): Add 'pixelWidth' to the return value, store
26757 constant value of for-loop in local variable.
26759 2006-03-17 Roman Kennke <kennke@aicas.com>
26761 * javax/swing/plaf/basic/BasicComboPopup.java
26762 (BasicComboPopup): Create listeners here.
26763 Configure components here.
26764 (show): Correctly calculate bounds using computePopupBounds().
26765 Make scroller fixed-size. Removed special autocloser handling.
26766 (hide): Rewritten to use MenuSelectionHandler.
26767 (createList): Don't set selection mode here.
26768 (configureList): Correctly install colors and fonts and selectionMode.
26769 (createScroller): Set scrollpane policies.
26770 (configureScroller): Make scroller and scrollbar not-focusable.
26771 (configurePopup): Make popup opaque and borderPainted.
26772 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26773 (delegateFocus): Implemented.
26774 (convertMouseEvent): Implemented.
26775 (updateListBoxSelectionForEvent): Implemented to also handle
26777 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26778 Only open popup on left mouse-click.
26779 (InvocationMouseHandler.mouseReleased): Rewritten.
26780 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26781 support autoscrolling.
26782 (ItemHandler.itemStateChanged): Implemented to sync selection with
26784 (ListMouseHandler.mouseReleased): Fetch selected index directly
26786 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26788 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26789 When model changes, then update listeners correctly.
26790 (uninstallListeners): Don't uninstall list listeners.
26791 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26793 (syncSelection): New helper method.
26795 2006-03-17 Roman Kennke <kennke@aicas.com>
26797 * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26798 (noFocusBorder): Make border with insets of (1,1,1,1).
26799 (BasicComboBoxRenderer): Make renderer opaque.
26800 No need to explicitly set alignment.
26801 (getListCellRendererComponent): Rewritten to correctly initialize
26804 2006-03-17 Roman Kennke <kennke@aicas.com>
26806 * javax/swing/JPopupMenu.java
26807 (setVisible): Handle JPopupMenu opening and closing via
26808 the MenuSelectionHandler.
26810 2006-03-17 Wolfgang Baer <WBaer@gmx.de>
26812 * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
26813 * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
26814 * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java:
26816 * org/omg/CORBA/portable/RemarshalException.java: Likewise
26817 * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
26818 * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
26819 * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
26820 * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
26821 * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
26822 * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
26823 * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
26824 * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
26825 * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
26827 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26829 * java/rmi/activation/Activatable.java: Implemented.
26830 java/rmi/activation/ActivationDesc.java: Implemented.
26831 java/rmi/activation/ActivationGroup.java: Implemented.
26832 java/rmi/activation/ActivationGroupDesc.java: Implemented.
26833 java/rmi/activation/ActivationID.java: Implemented.
26834 java/rmi/activation/ActivationSystem.java: Implemented.
26835 * gnu/java/rmi/server/UnicastServerRef.java
26836 (exportObject, incommingMessageCall): Documented.
26837 * java/rmi/activation/package.html: Documented.
26838 * java/rmi/server/ObjID.java (objNum, space): Made package
26840 * gnu/java/rmi/server/UnicastServer.java: Rewritten.
26841 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
26843 * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
26844 gnu/java/rmi/activation/BidiTable.java: New file.
26845 gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
26846 gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
26847 gnu/java/rmi/server/ActivatableServerRef.java: New file.
26849 2006-03-17 Mark Wielaard <mark@klomp.org>
26851 * java/security/BasicPermission.java (BasicPermission): Check
26852 name equals empty string to force NullPointerException.
26854 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26857 Commit patch by Caolan McNamara <caolanm@redhat.com>
26858 * javax/swing/Spring.java: Complete implementation
26859 * javax/swing/SpringLayout.java: Likewise.
26861 2006-03-16 Keith Seitz <keiths@redhat.com>
26863 * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
26865 (run): Remove catch clause for InterruptedException. It is no
26868 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26870 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26871 (getFontMetrics): Handle monospaced fonts specially.
26873 2006-03-16 Keith Seitz <keiths@redhat.com>
26875 * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
26876 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
26877 (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
26878 Don't suspend the current thread unless it is not part of the JDWP
26881 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26883 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
26885 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
26886 font metrics through toolkit.
26887 * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
26889 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26890 (getFontMetrics): To calculate Java logical ascent and descent
26891 values, average Pango ink and logical values.
26893 2006-03-16 Anthony Balkissoon <abalkiss@redhat.com>
26895 * java/lang/Character.java: Updated header comment.
26897 2006-03-16 Tom Tromey <tromey@redhat.com>
26899 * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
26901 * javax/sound/sampled/FloatControl.java: Now abstract.
26902 * javax/sound/sampled/EnumControl.java: Now abstract.
26903 * javax/sound/sampled/CompoundControl.java: Now abstract.
26904 * javax/sound/sampled/BooleanControl.java: Now abstract.
26906 2006-03-16 Tom Tromey <tromey@redhat.com>
26908 * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
26910 2006-03-16 Roman Kennke <kennke@aicas.com>
26912 * java/util/zip/ZipFile.java
26913 (openFile): New helper method.
26914 (ZipFile): Use new openFile method to ensure the proper
26915 exception is thrown. This applies for all overloaded constructors.
26917 2006-03-16 Roman Kennke <kennke@aicas.com>
26919 * java/text/DateFormatSymbols.java
26920 (setAmPmStrings): Added null check and throw NPE.
26921 (setEras): Likewise.
26922 (setLocalPatternChars): Likewise.
26923 (setMonths): Likewise.
26924 (setShortMonths): Likewise.
26925 (setShortWeekdays): Likewise.
26926 (setWeekdays): Likewise.
26927 (setZoneStrings): Likewise.
26929 2006-03-16 Roman Kennke <kennke@aicas.com>
26931 * javax/swing/DefaultDesktopManager.java
26932 (iconifyFrame): Repaint after removing the frame.
26933 (removeIconFor): Repaint after removing the icon.
26935 2006-03-16 Roman Kennke <kennke@aicas.com>
26937 * javax/swing/JInternalFrame.java
26938 (remove): Respect the rootPaneCheckingEnabled flag here.
26940 2006-03-16 Roman Kennke <kennke@aicas.com>
26942 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
26943 Moved from examples into gnu.javax.swing.. namespace.
26944 * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
26945 Moved to gnu.javax.swing.. namespace.
26946 * examples/gnu/classpath/examples/swing/Demo.java:
26947 (themesMenu): New field. Used to disable theme switch in
26949 (mkMenuBar): Added L&F menu.
26950 (ChangeThemeAction.actionPerformed): Only switch theme when
26952 (ChangeLAFAction): New class used for changing themes.
26953 * javax/swing/UIManager.java
26954 (installed): Added GNU L&F as installed L&F.
26956 2006-03-16 Mark Wielaard <mark@klomp.org>
26958 * examples/gnu/classpath/examples/swing/badge.png: Removed.
26959 * examples/gnu/classpath/examples/icons/badge.png: Added.
26960 * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
26961 from icon directory.
26963 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26965 * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
26967 * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
26968 * examples/gnu/classpath/examples/awt/Demo.java: Add
26969 AnimationApplet demo.
26970 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
26973 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26976 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
26978 (handleEvent): Likewise.
26979 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
26981 (beginNativeRepaint): Remove method.
26982 (endNativeRepaint): Likewise.
26983 (handleEvent): Call paintComponent and updateComponent.
26984 (paintComponent): New method.
26985 (updateComponent): Likewise.
26986 (repaint): Return early if width or height is less than one.
26987 (postExposeEvent): Remove isInRepaint reference.
26988 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
26990 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
26991 from GtkWindowPeer.
26992 (postMouseEvent): Likewise.
26993 (postExposeEvent): Likewise.
26994 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
26995 Override to do nothing.
26996 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
26997 from GtkWindowPeer.
26998 (postMouseEvent): Likewise.
26999 (postExposeEvent): Likewise.
27000 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
27001 paint and update handling from GtkComponentPeer.
27002 (updateComponent): Override to call paintComponent.
27003 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
27004 gdk_flush calls with schedule_flush calls.
27005 (flush): New function.
27006 (schedule_flush): Likewise.
27008 2006-03-15 Tom Tromey <tromey@redhat.com>
27010 * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
27012 (BCSIterator): Likewise.
27013 * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
27015 (BCSSProxyServiceProvider): Likewise.
27016 (BCSSServiceProvider): Likewise.
27018 2006-03-15 Tom Tromey <tromey@redhat.com>
27020 * javax/sound/midi/Track.java (Track): New constructor.
27021 (events): Now package-private.
27022 * javax/sound/midi/MidiUnavailableException.java
27023 (MidiUnavailableException): Removed invalid constructors.
27024 * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
27025 * javax/sound/midi/InvalidMidiDataException.java
27026 (InvalidMidiDataException): Removed invalid constructors.
27027 * javax/sound/midi/Sequencer.java (hashCode): Now final.
27028 * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
27029 * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
27030 (SYSTEM_EXCLUSIVE): Removed.
27031 (getDataLength): Updated.
27032 * javax/sound/midi/MidiDevice.java (Info): Now protected.
27033 (equals): Now final
27034 (getName): Now final.
27035 (getVendor): Now final.
27036 (getDescription): Likewise.
27037 (hashCode): Likewise.
27038 (getVersion): Likewise.
27039 (toString): Likewise.
27040 * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
27041 * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
27042 (getEarlyReflectionDelay): Likewise.
27043 (getEarlyReflectionIntensity): Likewise.
27044 (getLateReflectionDelay): Likewise.
27045 (getLateReflectionIntensity): Likewise.
27046 (toString): Likewise.
27047 * javax/sound/sampled/Port.java (toString): Now final.
27048 * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
27049 (getLine): Likewise.
27050 (getType): Likewise.
27051 * javax/sound/sampled/Mixer.java (Info): Now protected.
27052 (getDescription): Now final.
27053 (getName): Likewise.
27054 (getVendor): Likewise.
27055 (getVersion): Likewise.
27056 (toString): Likewise.
27057 * javax/sound/sampled/Control.java: Now abstract.
27058 (Type.toString): Now final.
27060 2006-03-15 Keith Seitz <keiths@redhat.com>
27062 * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
27063 of this redundant variable.
27064 (LineTable): Assert that the number of line numbers and the number of
27065 code indicies is the same.
27067 2006-03-15 Tom Tromey <tromey@redhat.com>
27069 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
27071 * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
27073 * java/util/zip/ZipFile.java (ENDNRD): New constant.
27074 * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
27075 * java/util/zip/Inflater.java (end): Not deprecated.
27076 * java/util/zip/Deflater.java (end): Not deprecated.
27077 * java/text/Bidi.java (Bidi): Now final.
27078 * java/nio/MappedByteBuffer.java (finalize): Now protected.
27080 2006-03-15 Keith Seitz <keiths@redhat.com>
27082 * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
27083 (Location): Index is a long, not an int.
27084 (getMethod): New method.
27085 (getIndex): New method.
27086 (toString): New method.
27088 2006-03-15 Tom Tromey <tromey@redhat.com>
27090 * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
27091 * java/awt/image/LookupOp.java (filter): Now final.
27092 (getBounds2D): Likewise.
27093 (getPoint2D): Likewise.
27094 (getTable): Likewise.
27095 (getRenderingHints): Likewise.
27096 * java/awt/image/ConvolveOp.java (filter): Now final.
27097 (getBounds2D): Likewise.
27098 (getKernel): Likewise.
27099 (getPoint2D): Likewise.
27100 (getRenderingHints): Likewise.
27101 * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
27102 (getMatrix): Likewise.
27103 (getBounds2D): Likewise.
27104 (getRenderingHints): Likewise.
27105 * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
27106 * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
27108 * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
27110 * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
27112 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
27114 2006-03-15 Keith Seitz <keiths@redhat.com>
27116 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
27118 (matches): Implement.
27120 2006-03-15 Keith Seitz <keiths@redhat.com>
27122 * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
27124 * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
27126 2006-03-15 Tom Tromey <tromey@redhat.com>
27128 * java/lang/StrictMath.java (signum): New methods.
27130 2006-03-15 Tom Tromey <tromey@redhat.com>
27132 * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
27134 2006-03-15 Lillian Angel <langel@redhat.com>
27137 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
27138 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
27139 Added check to avoid segmentation fault.
27141 2006-03-15 Lillian Angel <langel@redhat.com>
27143 * java/awt/Container.java
27144 (getComponentAt): Fixed documentation.
27145 (getComponentAt): Likewise.
27147 2006-03-15 Roman Kennke <kennke@aicas.com>
27149 * javax/swing/JComponent.java
27150 (dragBuffer): New field.
27151 (dragBufferInitialized): New field.
27152 (paint): Added facility for buffered dragging of components.
27153 (initializeDragBuffer): New method.
27154 (getConditionForKeyStroke): Removed deprecated flag. Adjusted
27156 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27157 (BorderListener.mouseDragged): Turn on buffered dragging.
27158 (BorderListener.mouseReleased): Turn off buffered dragging.
27160 2006-03-15 Lillian Angel <langel@redhat.com>
27162 * java/awt/Container.java
27163 (getComponentAt): Fixed documentation.
27164 (getComponentAt): Likewise.
27165 (findComponentAt): Likewise.
27166 (findComponentAt): Likewise.
27168 2006-03-15 Roman Kennke <kennke@aicas.com>
27170 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27171 (PropertyChangeHandler.propertyChange): Call enableActions().
27172 Fixed 'iconable' property name.
27174 2006-03-15 Chris Burdess <dog@gnu.org>
27177 * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
27179 2006-03-15 Roman Kennke <kennke@aicas.com>
27181 * examples/gnu/classpath/examples/swing/Demo.java:
27182 (desktop): New field.
27183 (mkMenuBar): Added new subdemos.
27184 (mkButtonWorld): Removed.
27185 (CheckCellRenderer): Moved to ListDemo.
27186 (LabelCellRenderer): Moved to ListDemo.
27187 (mkTreeWorld): Moved to TreeDemo.
27188 (mkDesktopWorld): Removed.
27189 (mkTabWorld): Moved to TabbedPaneDemo.
27190 (mkTabbedPane): Removed.
27191 (Demo): Replaced 'worlds' tabbed pane with desktop.
27192 (PopupAction): Made class non-static.
27193 (PopupAction.actionPerformed): Bring up subdemos in internal
27195 (mkButtonBar): Added new demos.
27196 (createDesktop): New method.
27197 * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
27198 * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
27199 * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
27200 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
27201 * examples/gnu/classpath/examples/swing/badge.png: New image file.
27203 2006-03-15 Lillian Angel <langel@redhat.com>
27205 * java/awt/Container.java
27206 (getComponentAt): Fixed mistake in comments.
27207 (getComponentAt): Likewise.
27208 (locate): Likewise. Also, handled lightweight components.
27209 Heavyweights take precedence over lightweights, so we should
27210 iterate through the heavyweights first.
27212 2006-03-15 Lillian Angel <langel@redhat.com>
27214 * java/awt/Container.java
27215 (getComponentAt): Added API documentation.
27216 (getComponentAt): Likewise.
27217 (locate): Likewise. Also, removed lines to ignore
27218 invisible components.
27219 (findComponentAt): Added API documentation.
27220 (findComponentAt): Added API documentation.
27221 (findComponentForMouseEvent): Removed, never used.
27223 2006-03-15 Roman Kennke <kennke@aicas.com>
27225 * javax/swing/Popup.java
27226 (LightweightPopup.show): Repaint the panel after showing it.
27228 2006-03-15 Lillian Angel <langel@redhat.com>
27230 * java/awt/Component.java
27231 (show): repaint should only be called if the component
27232 isShowing and isLightweight.
27234 2006-03-15 Roman Kennke <kennke@aicas.com>
27236 * javax/swing/JInternalFrame.java
27237 (setClosable): Made this property bound.
27238 (setResizable): Made this property bound.
27239 (setIconifiable): Made this property bound.
27240 (setMaximizable): Made this property bound.
27242 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
27244 * javax/swing/table/TableColumn.java
27245 (sizeWidthToFit): Implemented.
27247 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
27249 * javax/swing/table/TableColumn.java: API docs updated all over, plus
27250 (setIdentifier): Fire required PropertyChangeEvent,
27251 (setCellEditor): Likewise.
27253 2006-03-15 Roman Kennke <kennke@aicas.com>
27255 * examples/gnu/classpath/examples/swing/ButtonDemo.java,
27256 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
27257 * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
27258 * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
27259 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
27260 * examples/gnu/classpath/examples/swing/SliderDemo.java,
27261 * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
27262 * examples/gnu/classpath/examples/swing/TableDemo.java,
27263 * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
27264 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
27265 Reworked to implemented DemoFactory and lazy loading of Sub-demos.
27266 * examples/gnu/classpath/examples/swing/Demo.java:
27267 Cleaned up. Reworked handling of Sub-demos to load lazily.
27268 * examples/gnu/classpath/examples/swing/DemoFactory.java:
27269 New interface. Used for loading the subdemos lazily.
27271 2006-03-15 Roman Kennke <kennke@aicas.com>
27273 * javax/swing/plaf/basic/BasicToolBarUI.java
27274 (PropertyListener.propertyChange): Added null check to avoid NPE.
27276 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27278 * javax/swing/table/TableColumn.java
27279 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27281 (minWidth): Likewise,
27282 (preferredWidth): Likewise,
27283 (maxWidth): Likewise,
27284 (headerRenderer): Likewise,
27285 (cellRenderer): Likewise,
27286 (cellEditor): Likewise,
27287 (changeSupport): Likewise,
27288 (firePropertyChange(String, Object, Object)): Removed,
27289 (firePropertyChange(String, int. int)): Likewise,
27290 (firePropertyChange(String, boolean, boolean)): Likewise,
27291 (setModelIndex): Fire property change,
27292 (setHeaderValue): Call changeSupport directly to generate event,
27293 (setHeaderRenderer): Likewise,
27294 (setCellRenderer): Likewise,
27295 (setWidth): Likewise,
27296 (setPreferredWidth): Likewise,
27297 (setMinWidth): Likewise,
27298 (setMaxWidth): Likewise,
27299 (createDefaultHeaderRenderer): Added API docs.
27301 2006-03-14 Roman Kennke <kennke@aicas.com>
27303 * examples/gnu/classpath/examples/swing/Demo.java
27304 Removed static initializer.
27305 (mkMenuBar): Made method non-static. Added themes menu.
27306 (ChangeThemeAction): New inner class, used to change themes.
27308 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27310 * javax/swing/table/TableColumn.java
27311 (setMaxWidth): Updated width and preferredWidth if necessary,
27312 (getMaxWidth): Updated API docs.
27314 2006-03-14 Roman Kennke <kennke@aicas.com>
27316 * javax/swing/plaf/basic/BasicSliderUI.java
27317 (TrackListener.mouseDragged): Only process event when slider is
27319 (TrackListener.mouseReleased): Only process event when slider is
27321 (TrackListener.mousePressed): Only process event when slider is
27324 2006-03-14 Roman Kennke <kennke@aicas.com>
27326 * NEWS: Added note about OceanTheme support.
27328 2006-03-14 Roman Kennke <kennke@aicas.com>
27330 * javax/swing/plaf/metal/MetalIconFactory.java
27331 (HorizontalSliderThumbIcon.gradientMask): New field
27332 (HorizontalSliderThumbIcon.paintIcon): Added support for the
27334 (VerticalSliderThumbIcon.gradientMask): New field
27335 (VerticalSliderThumbIcon.paintIcon): Added support for the
27337 * javax/swing/plaf/metal/MetalUtils.java
27338 (paintHorizontalGradient): Fixed painting of 'masked' gradients.
27339 (paintVerticalGradient): Fixed painting of 'masked' gradients.
27341 2006-03-14 Mark Wielaard <mark@klomp.org>
27344 * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
27345 of handleMouseEvent.
27346 (handleMouseEvent): Return boolean to indicate whether we handled the
27347 event by passing it to a lightweight.
27349 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27351 * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
27352 * org/omg/PortableServer/ServantActivatorPOA.java,
27353 * org/omg/PortableServer/ServantLocatorPOA.java:
27354 Make class abstract and minor api docs fixlets.
27355 * org/omg/PortableServer/ForwardRequest.java,
27356 * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java,
27357 * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java,
27358 * org/omg/PortableServer/POAPackage/AdapterNonExistent.java,
27359 * org/omg/PortableServer/POAPackage/InvalidPolicy.java,
27360 * org/omg/PortableServer/POAPackage/NoServant.java,
27361 * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java,
27362 * org/omg/PortableServer/POAPackage/ObjectNotActive.java,
27363 * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java,
27364 * org/omg/PortableServer/POAPackage/ServantNotActive.java,
27365 * org/omg/PortableServer/POAPackage/WrongAdapter.java,
27366 * org/omg/PortableServer/POAPackage/WrongPolicy.java,
27367 * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java,
27368 * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
27369 * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
27370 * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
27372 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27374 * NEWS: Added entry about printing support.
27376 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27378 * javax/swing/table/TableColumn.java
27379 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27380 (isResizable): Likewise,
27381 (setWidth): Likewise,
27382 (getWidth): Likewise,
27383 (setPreferredWidth): Likewise,
27384 (getPreferredWidth): Likewise,
27385 (setMinWidth): Check for negative argument and update width and
27386 preferredWidth if necessary,
27387 (getMinWidth): Updated API docs.
27389 2006-03-14 Lillian Angel <langel@redhat.com>
27391 * java/awt/Container.java
27392 (addImpl): Removed call to repaint. No need to repaint here.
27394 2006-03-14 Roman Kennke <kennke@aicas.com>
27396 * javax/swing/plaf/metal/MetalSliderUI.java
27397 (paintTrack): Added OceanTheme support.
27399 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27401 * javax/swing/table/TableColumn.java
27402 (setResizable): Fire PropertyChangeEvent if the flag value changes,
27403 (isResizable): Updated API docs.
27405 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27407 * javax/swing/LookAndFeel.java: Updated API docs.
27409 2006-03-14 Roman Kennke <kennke@aicas.com>
27411 * javax/swing/plaf/metal/MetalUtils.java
27412 (paintGradient): Added support for 'masked' gradients.
27413 (paintHorizontalGradient): Likewise.
27414 (paintVerticalGradient): Likewise.
27415 * javax/swing/plaf/metal/MetalIconFactory.java
27416 (RadioButtonIcon.gradientMask): New field.
27417 (RadioButtonIcon.paintIcon): Added mask for gradient painting.
27419 2006-03-14 Mark Wielaard <mark@klomp.org>
27422 * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
27424 (removeActionListener): Add listener to ComboBoxEditorListener.
27425 (removeActionListener): Remove listener from ComboBoxEditorListener.
27426 (ComboBoxEditorListener): New static helper class.
27428 2006-03-14 Roman Kennke <kennke@aicas.com>
27430 * javax/swing/plaf/metal/MetalBorders.java
27431 (getToolBarButtonBorder): Don't create a UIResource border
27433 * javax/swing/plaf/metal/MetalToolBarUI.java
27434 (installUI): New overridden method. Installs the rollover property.
27435 (uninstallUI): New overridden method. Resets the rollover property.
27436 * javax/swing/plaf/metal/MetalUtils.java
27437 (paintGradient): Fetch Float values from the UIManager. Adjusted
27438 method signatures accordingly.
27439 (paintHorizontalGradient): Adjusted signature to accept float
27441 (paintVerticalGradient): Adjusted signature to accept float
27443 * javax/swing/plaf/metal/OceanTheme.java
27444 (addCustomEntriesToTable): Added missing UIDefaults entries,
27445 except of Icons. Fixed gradient entries to use Float instead
27448 2006-03-14 Roman Kennke <kennke@aicas.com>
27450 * javax/swing/JInternalFrame.java
27451 (JInternalFrame): Make JInternalFrame opaque.
27452 * javax/swing/JToolBarFrame.java
27453 (JToolBar): Make JToolBar opaque.
27455 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27457 * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27458 * javax/swing/tree/TreePath.java: Likewise.
27460 2006-03-13 Tom Tromey <tromey@redhat.com>
27462 * javax/swing/text/html/StyleSheet.java (removeAttributes):
27464 * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27465 * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27467 2006-03-13 Keith Seitz <keiths@redhat.com>
27469 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27470 (executeMethods): Output number of methods.
27472 2006-03-13 Roman Kennke <kennke@aicas.com>
27474 * javax/swing/plaf/basic/BasicButtonUI.java
27475 (uninstallDefaults): Only uninstall border if it's a UIResource.
27476 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27477 (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27478 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27479 (installUI): Don't touch the opaque flag of the glassPane and
27480 the frame. Don't invalidate.
27481 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27482 (installUI): Don't touch the opaque flag of the glassPane.
27483 * javax/swing/plaf/basic/BasicMenuBarUI.java
27484 (properyChangeListener): Made field private.
27485 (ChangeHandler): Made class private.
27486 (ContainerHandler): Made class private.
27487 (PropertyChangeHandler): Made class private.
27488 * javax/swing/plaf/basic/BasicMenuUI.java
27489 (MenuHandler): Made class private.
27490 (PropertyChangeHandler): Removed unneeded class.
27491 (MenuDragMouseHandler): Made class private.
27492 (MenuKeyHandler): Made class private.
27493 * javax/swing/plaf/basic/BasicPanelUI.java
27494 (installDefaults): Made method protected. Don't set opaque
27496 * javax/swing/plaf/basic/BasicScrollBarUI.java
27497 (TrackListener.shouldScroll): Made method private.
27498 * javax/swing/plaf/basic/BasicSplitPaneUI.java
27499 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27500 Made constructor package private.
27501 * javax/swing/plaf/basic/BasicTableHeaderUI.java
27502 (cellBorder): Made field private.
27503 * javax/swing/plaf/basic/BasicTextUI.java
27504 (installDefaults): Don't make component opaque.
27505 * javax/swing/plaf/basic/BasicToolBarUI.java
27506 (createNonRollOverBorder): Don't create UIResource border.
27507 (createRollOverBorder): Don't create UIResource border.
27508 (installComponents): Moved setRolloverBorders call here.
27509 (installDefaults): Moved setRolloverBorders call from here.
27510 (installUI): Don't make toolbar opaque.
27511 (setBorderToNonRollover): Handle AbstractButton instead of
27513 (uninstallComponents): Don't nullify class fields here.
27515 2006-03-13 David Gilbert <david.gilbert@object-refinery.com>
27517 * javax/swing/SwingUtilities.java
27518 (calculateInnerArea): handle null component, and replace
27519 getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27522 2006-03-13 Roman Kennke <kennke@aicas.com>
27524 * javax/swing/JColorChooser.java
27525 (updateUI): Don't call revalidate().
27526 * javax/swing/JComboBox.java
27527 (updateUI): Don't call invalidate().
27528 * javax/swing/JDesktopPane.java
27529 (updateUI): Don't call invalidate().
27530 * javax/swing/JFileChooser.java
27531 (updateUI): Don't call revalidate().
27532 * javax/swing/JMenu.java
27533 (updateUI): Don't call invalidate().
27534 * javax/swing/JMenuBar.java
27535 (updateUI): Don't call invalidate().
27536 * javax/swing/JMenuItem.java
27537 (updateUI): Don't call invalidate().
27538 * javax/swing/JOptionPane.java
27539 (updateUI): Don't call invalidate().
27540 * javax/swing/JPopupMenu.java
27541 (updateUI): Don't call invalidate().
27542 * javax/swing/JProgressBar.java
27543 (updateUI): Don't call invalidate().
27544 * javax/swing/JScrollBar.java
27545 (updateUI): Don't call invalidate() and repaint().
27546 * javax/swing/JScrollPane.java
27547 (updateUI): Rewritten to be like the other updateUI()
27549 * javax/swing/JSlider.java
27550 (updateUI): Don't call invalidate() and repaint().
27551 * javax/swing/JSplitPane.java
27552 (updateUI): Don't call invalidate() and repaint().
27553 * javax/swing/JTabbedPane.java
27554 (updateUI): Don't call invalidate().
27555 * javax/swing/JTable.java
27556 (updateUI): Don't call revalidate() and repaint().
27557 * javax/swing/JToolBar.java
27558 (updateUI): Don't call revalidate() and repaint().
27559 * javax/swing/JToolTip.java
27560 (updateUI): Don't call revalidate() and repaint().
27562 2006-03-13 Roman Kennke <kennke@aicas.com>
27564 * javax/swing/SwingUtilities.java
27565 (updateComponentTreeUI): Rewritten to be more robust. Handling of
27566 menus and non-Swing components is improved.
27567 (updateComponentTreeUIImpl): New helper method.
27568 (replaceUIActionMap): Added check for uiActionMap==parent to
27570 (replaceUIInputMap): Added check for uiInputMap==parent to
27573 2006-03-13 Wolfgang Baer <WBaer@gmx.de>
27575 * gnu/classpath/debug/Component.java:
27576 (IPP) New component for IPP debugging.
27577 (EVERYTHING): Adapted to include IPP.
27578 * javax/print/PrintServiceLookup.java:
27579 (registerServiceProvider): New method.
27580 (registerService): Likewise.
27581 (lookupPrintServices): Likewise.
27582 (lookupMultiDocPrintServices): Likewise.
27583 (lookupDefaultPrintService): Likewise.
27584 (static_initializer): Likewise.
27585 (printServiceLookups): New field for found service providers.
27586 (printServices): New field for application registered providers.
27587 (systemProvider): New field for the system provider.
27588 * javax/print/ServiceUI.java: New file.
27589 * javax/print/package.html: Added more usage content.
27590 * javax/print/event/package.html: Likewise.
27591 * javax/print/attribute/package.html: Likewise.
27592 * javax/print/attribute/standard/package.html: Likewise.
27593 * gnu/javax/print/PrintUriException.java,
27594 gnu/javax/print/PrintFlavorException.java,
27595 gnu/javax/print/PrinterDialog.java,
27596 gnu/javax/print/PrintAttributeException.java,
27597 gnu/javax/print/CupsPrintServiceLookup.java,
27598 gnu/javax/print/CupsServer.java,
27599 gnu/javax/print/CupsPrintService.java,
27600 gnu/javax/print/CupsMediaMapping.java,
27601 gnu/javax/print/CupsIppOperation.java:
27602 New implementation files of the Java Print Service API.
27603 * gnu/javax/print/ipp/IppValueTag.java,
27604 gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27605 gnu/javax/print/ipp/IppStatusCode.java,
27606 gnu/javax/print/ipp/IppUtilities.java,
27607 gnu/javax/print/ipp/IppResponse.java,
27608 gnu/javax/print/ipp/IppException.java,
27609 gnu/javax/print/ipp/IppPrintService.java,
27610 gnu/javax/print/ipp/IppRequest.java,
27611 gnu/javax/print/ipp/IppMultiDocPrintService.java,
27612 gnu/javax/print/ipp/IppDelimiterTag.java,
27613 gnu/javax/print/ipp/DocPrintJobImpl.java:
27614 New files of the IPP client implementation.
27615 * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27616 gnu/javax/print/ipp/attribute/StatusMessage.java,
27617 gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27618 gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27619 gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27620 gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27621 gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27622 gnu/javax/print/ipp/attribute/CharsetSyntax.java:
27623 New attribute syntax/role files of the printing implementation.
27624 * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27625 gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27626 gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27627 gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27628 gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27629 gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27630 gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27631 gnu/javax/print/ipp/attribute/supported/
27632 OrientationRequestedSupported.java,
27633 gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27634 gnu/javax/print/ipp/attribute/supported/
27635 MultipleDocumentHandlingSupported.java,
27636 gnu/javax/print/ipp/attribute/supported/
27637 MultipleDocumentJobsSupported.java,
27638 gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27639 gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27640 gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27641 gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27642 gnu/javax/print/ipp/attribute/supported/
27643 GeneratedNaturalLanguageSupported.java,
27644 gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27645 gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27646 gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27647 gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27648 New supported attribute files.
27649 * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27650 gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27651 gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27652 gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27653 gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27654 gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27655 gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27656 gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27657 New printer description attribute files.
27658 * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27659 gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27660 gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27661 gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27662 gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27663 gnu/javax/print/ipp/attribute/job/JobId.java,
27664 gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27665 gnu/javax/print/ipp/attribute/job/JobUri.java,
27666 gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27667 New job description attribute files.
27668 * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27669 gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27670 gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27671 gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27672 gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27673 gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27674 gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27675 gnu/javax/print/ipp/attribute/defaults/
27676 MultipleDocumentHandlingDefault.java,
27677 gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27678 gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27679 gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27680 gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27681 gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27682 New default printing attribute files.
27683 * resource/gnu/javax/print/PrinterDialog.properties: New file.
27684 * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27685 * examples/gnu/classpath/examples/print/Demo.java:
27686 New demo application of the current implemented functionality.
27688 2006-03-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27690 * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27691 java/rmi/activation/ActivationDesc.java.java,
27692 java/rmi/activation/ActivationGroup.java,
27693 java/rmi/activation/ActivationID.java,
27694 java/rmi/activation/ActivationMonitor.java,
27695 java/rmi/activation/ActivationSystem.java,
27696 java/rmi/activation/package.html: Documenting.
27698 2006-03-13 Roman Kennke <kennke@aicas.com>
27700 * javax/swing/JInternalFrame.java
27701 (setSelected): Repaint frame when it is showing and the selection
27704 2006-03-13 Roman Kennke <kennke@aicas.com>
27706 * javax/swing/AbstractButton.java
27707 (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27710 2006-03-13 Roman Kennke <kennke@aicas.com>
27712 * javax/accessibility/AccessibleContext.java
27713 (getAccessibleRelationSet): Return empty set instead of null.
27715 2006-03-13 Roman Kennke <kennke@aicas.com>
27717 * javax/swing/ImageIcon.java
27718 (loadImage): Remove completed images from the MediaTracker. This
27719 avoids a potential memory leak.
27721 2006-03-12 Wolfgang Baer <WBaer@gmx.de>
27723 * javax/print/MultiDocPrintService.java,
27724 * javax/print/MultiDocPrintJob.java,
27725 * javax/print/MultiDoc.java: Added and enhanced documentation.
27727 2006-03-12 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27729 * java/rmi/activation/ActivationID.java (uid): New field.
27730 (writeExternal, readExternal): New methods.
27731 (equals, hashCode): Rewritten.
27732 * java/rmi/activation/ActivationInstantiator.java,
27733 * java/rmi/activation/ActivationSystem.java,
27734 * java/rmi/activation/Activator.java,
27735 * java/rmi/activation/Activatable.java,
27736 * java/rmi/activation/ActivationGroup.java,
27737 * java/rmi/activation/ActivationGroupDesc.java:
27738 Documented and autoformatted.
27739 * java/rmi/activation/package.html: Added content.
27741 2006-03-12 Chris Burdess <dog@gnu.org>
27744 * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27745 encoding are specified.
27747 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27749 * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27750 (changeEvent): Initialise in fireStateChange(),
27751 (setSelectedIndex): Check if change is made before firing event,
27752 (clearSelection): Delegate to setSelectedIndex(),
27753 (fireStateChanged): Initialise changeEvent if necessary,
27754 * javax/swing/SingleSelectionModel.java: API docs all over.
27756 2006-03-11 Tom Tromey <tromey@redhat.com>
27758 * java/util/zip/InflaterInputStream.java: Reverted previous
27761 2006-03-11 Mark Wielaard <mark@klomp.org>
27763 * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27766 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27768 * javax/swing/event/TreeSelectionEvent.java
27769 (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27770 not one of the added/removed paths,
27771 (cloneWithSource): Reformatted.
27773 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27775 * javax/swing/tree/TreeCellEditor.java: Added API docs,
27776 * javax/swing/tree/TreeCellRenderer.java: Likewise.
27778 2006-03-10 Casey Marshall <csm@gnu.org>
27781 * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27783 (doFinal, update): new methods.
27784 (init, init, init, init): initialize `state' after trying the
27785 implementation, which can throw an exception.
27786 * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27789 2006-03-11 Ito Kazumitsu <kaz@maczuka.gcd.org>
27791 * gnu/regexp/BacktrackStack.java: New file.
27792 * gnu/regexp/RE.java(findMatch): New method.
27793 * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27794 REMatchList): Removed. (backtrackStack): New field.
27795 * gnu/regexp/REToken.java(match): Changed from an abstract
27796 method to an ordinary method defined with the new method
27797 matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27798 findFixedLengthMatches, backtrack, toString): New methods.
27799 * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27800 * gnu/regexp/RETokenBackRef.java: Likewise.
27801 * gnu/regexp/RETokenChar.java: Likewise.
27802 * gnu/regexp/RETokenEnd.java: Likewise.
27803 * gnu/regexp/RETokenEndSub.java: Likewise.
27804 * gnu/regexp/RETokenIndependent.java: Likewise.
27805 * gnu/regexp/RETokenLookAhead.java: Likewise.
27806 * gnu/regexp/RETokenLookBehind.java: Likewise.
27807 * gnu/regexp/RETokenNamedProperty.java: Likewise.
27808 * gnu/regexp/RETokenPOSIX.java: Likewise.
27809 * gnu/regexp/RETokenRange.java: Likewise.
27810 * gnu/regexp/RETokenStart.java: Likewise.
27811 * gnu/regexp/RETokenWordBoundary.java: Likewise
27812 * gnu/regexp/RETokenOneOf.java: Rewriten.
27813 * gnu/regexp/RETokenRepeated.java: Rewriten.
27815 2006-03-10 Roman Kennke <kennke@aicas.com>
27817 * javax/swing/plaf/metal/MetalBorders.java
27818 (RolloverButtonBorder.paintBorder): Only call super here.
27819 * javax/swing/plaf/metal/MetalButtonListener.java
27820 (propertyChange): Only call super here.
27821 * javax/swing/plaf/metal/MetalButtonUI.java
27822 (update): Changed condition from isOpaque() to isContentAreaFilled()
27823 for the gradient fill.
27824 * javax/swing/plaf/metal/MetalToggleButtonUI.java
27825 (paintText): API doc fix. Makes paintText not deprecated as specified
27826 but adds comment that this is obsolete.
27827 * javax/swing/plaf/metal/MetalUtils.java
27828 (fillMetalPattern): Fixed condition so that the Java2D is not
27829 used when the noGraphics2D property is set.
27831 2006-03-10 Roman Kennke <kennke@aicas.com>
27833 * javax/swing/plaf/metal/MetalLookAndFeel.java
27834 (createDefaultTheme): Set OceanTheme as default metal theme.
27836 2006-03-10 Roman Kennke <kennke@aicas.com>
27838 * javax/swing/text/WrappedPlainView.java
27839 (metrics): Made field package private to avoid accessor method.
27840 (WrappedLine.paint): Call drawLine with y offset of the font ascent.
27841 The drawLine (righly) interprets the y parameter as the baseline.
27842 * javax/swing/text/Utilities.java
27843 (getBreakLocation): Don't consider the offset. The returned value
27844 for getTabbedTextOffset is already relative to the offset.
27846 2006-03-10 Wolfgang Baer <WBaer@gmx.de>
27848 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27849 (dateFormat): Made private.
27850 (put): Replace only the last occurance and the value.
27851 (putAll): Save one iteration. Clarified documentation.
27853 2006-03-10 Tom Tromey <tromey@redhat.com>
27855 * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
27857 * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
27860 2006-03-10 Lillian Angel <langel@redhat.com>
27862 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
27863 (comboboxgroup_get_widget): New function.
27864 (removed): Fixed to use new function to get the correct widget.
27865 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27866 (nativeSetCheckboxGroup): Reverted last patch to use get_widget
27869 2006-03-10 Lillian Angel <langel@redhat.com>
27871 * java/awt/GridBagLayout.java
27872 (ArrangeGrid): Added checks to determine if component
27873 is placed last in a row or column. If so, the location
27874 of the last component should be used to get the location
27875 of the current component.
27877 2006-03-10 Lillian Angel <langel@redhat.com>
27879 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27880 (nativeSetCheckboxGroup): No need to use new function here.
27881 Should just pass in pointer.
27883 2006-03-10 Lillian Angel <langel@redhat.com>
27885 * java/awt/GridBagLayout.java
27886 (distributeSizeAndWeight): Change else if to else. This
27887 allows for components to be added to a new row when
27888 their gridheight is REMAINDER.
27890 2006-03-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27892 * java/rmi/activation/ActivationDesc.java,
27893 java/rmi/activation/ActivationGroupID.java,
27894 java/rmi/activation/Activator.java,
27895 java/rmi/server/Operation.java,
27896 java/rmi/server/RemoteServer.java: Documented and formatted.
27898 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27900 * javax/swing/JToggleButton.java: Fixed API doc tags,
27901 * javax/swing/OverlayLayout.java: Likewise.
27903 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27905 * javax/swing/DefaultCellEditor.java
27906 (cancelCellEditing): Removed spurious API doc tag.
27908 2006-03-10 Lillian Angel <langel@redhat.com>
27910 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27911 (create): Put checkbox widget into an event box so it paints properly.
27912 (connectSignals): Fixed to use new function.
27913 (nativeSetCheckboxGroup): Likewise.
27914 (gtkToggleButtonSetActive): Likewise.
27915 (gtkWidgetModifyFont): Likewise.
27916 (gtkButtonSetLabel): Likewise.
27917 (combobox_get_widget): New function.
27919 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27921 * javax/swing/text/rtf/package.html: New file.
27923 2006-03-10 Roman Kennke <kennke@aicas.com>
27925 * javax/swing/plaf/metal/OceanTheme.java
27926 (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
27927 * javax/swing/plaf/metal/MetalScrollBarUI.java
27928 (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
27929 (paintThumbHorizontal): Added handling of OceanTheme.
27930 (paintThumbVertical): Added handling of OceanTheme.
27932 2006-03-10 Roman Kennke <kennke@aicas.com>
27934 Reported by Fridjof Siebert <siebert@aicas.com>
27935 * java/awt/MediaTracker.java
27936 (removeImage): Only set prev to e when the the images of the
27937 entries are not the same. This avoids a potentially corrupt list.
27939 2006-03-10 Chris Burdess <dog@gnu.org>
27942 * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
27943 checking while reindenting.
27945 2006-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
27947 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
27949 2006-03-09 Tom Tromey <tromey@redhat.com>
27951 PR classpath/26585:
27952 * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
27953 subdir. Added README.
27954 (install-data-local): Removed.
27955 (uninstall-local): Likewise.
27956 (EXTRA_DIST): Removed.
27958 2006-03-09 Tom Tromey <tromey@redhat.com>
27960 PR classpath/26623:
27961 * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27963 * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
27965 * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
27967 * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
27969 * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
27971 * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27973 * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
27975 * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
27977 * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
27979 * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
27981 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
27982 * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
27984 2006-03-09 Keith Seitz <keiths@redhat.com>
27986 * gnu/classpath/jdwp/processor/MethodCommandSet.java
27987 (executeVariableTable): Use VMMethod instead of reflection.
27988 (executeLineTable): Likewise.
27989 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27990 (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
27991 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27992 (getLineTable): Removed. Now resides in VMMethod.
27993 (getVarTable): Likewise.
27994 (getAllClassMethods): New method.
27996 2006-03-09 Keith Seitz <keiths@redhat.com>
27998 * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
27999 * gnu/classpath/jdwp/event/ThreadStartEvent.java
28000 (ThreadStartEvent): Likewise.
28001 * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
28002 * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
28003 (ConditionalFilter): Likewise.
28004 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
28005 (ExceptionOnlyFilter): Likewise.
28006 * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
28007 (FieldOnlyFilter): Likewise.
28008 * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
28009 (getSize): Likewise.
28010 (StepFilter): Likewise.
28011 * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
28012 * gnu/classpath/jdwp/transport/JdwpPacket.java
28013 (JdwpPacket): Likewise.
28014 (fromBytes): Likewise.
28015 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
28016 (JdwpReplyPacket): Likewise.
28017 * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
28018 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
28019 (getReferenceType): Likewise.
28020 (newObjectId): Likewise.
28021 * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
28022 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28023 (getFrames): Fix typo in parameter name and update javadoc.
28024 (getClassMethod): Update javadoc.
28026 2006-03-09 David Gilbert <david.gilbert@object-refinery.com>
28028 * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
28029 * javax/swing/event/TreeSelectionListener.java: Likewise.
28031 2006-03-09 Lillian Angel <langel@redhat.com>
28033 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28034 (getHScrollbarHeight): Fixed property name.
28035 (getVScrollbarHeight): Likewise.
28037 2006-03-09 Lillian Angel <langel@redhat.com>
28039 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
28040 (get_widget): New function.
28041 (gtkWidgetSetParent): Changed to use new function.
28042 (gtkWidgetSetCursorUnlocked): Likewise.
28043 (gtkWidgetSetSensitive): Likewise.
28044 (gtkWidgetRequestFocus): Likewise.
28045 (gtkWindowGetLocationOnScreen): Likewise.
28046 (gtkWidgetGetDimensions): Likewise.
28047 (gtkWidgetGetPreferredDimensions): Likewise.
28048 (setNativeBounds): Likewise.
28049 (gtkWidgetGetBackground): Likewise.
28050 (gtkWidgetGetForeground): Likewise.
28051 (gtkWidgetSetBackground): Likewise.
28052 (gtkWidgetSetForeground): Likewise.
28053 (setVisibleNativeUnlocked): Likewise.
28054 (isEnabled): Likewise.
28055 (isRealized): Likewise.
28056 (setNativeEventMask): Likewise.
28058 2006-03-09 Lillian Angel <langel@redhat.com>
28061 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
28062 (create): Added combobox widget to an event box.
28063 (connectSignals): Added call to choice_get_widget to get the
28064 combobox out of the event box.
28065 (append): Likewise.
28066 (nativeRemoveAll): Likewise.
28067 (nativeRemove): Likwise.
28068 (nativeAdd): Likewise.
28069 (selectNative): Likewise.
28070 (choice_get_widget): New function.
28071 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
28072 (create): Added list scroll window widget to an event box.
28073 (connectSignals): Changed call to use new function to get the
28074 correct widget out of the event box.
28075 (getWidgetModifyFont): Likewise.
28076 (getWidgetRequestFocus): Likewise.
28077 (append): Likewise.
28079 (delItems): Likewise.
28080 (select): Likewise.
28081 (deselect): Likewise.
28082 (getSize): Likewise.
28083 (getSelectedIndexes): Likewise.
28084 (makeVisible): Likewise.
28085 (setMultipleMode): Likewise.
28086 (list_get_widget): New function.
28087 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28088 (create): Added scrollpane to an eventbox.
28089 (setScrollPosition): Changed call to use new function to get the
28090 correct widget out of the event box.
28091 (gtkScrolledWindowSetHScrollIncrement): Likewise.
28092 (gtkScrolledWindowSetVScrollIncrement): Likewise.
28093 (getHScrollbarHeight): Likewise.
28094 (getVScrollbarWidth): Likewise.
28095 (setPolicy): Likewise.
28096 (scrollpane_get_widget): New function.
28097 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
28098 (connectSignals): Changed call to use new function to get the
28099 correct widget out of the event box.
28100 (create): Added scrollbar to an eventbox.
28101 (setLineIncrement): Changed call to use new function to get the
28102 correct widget out of the event box.
28103 (setPageIncrement): Likewise.
28104 (setBarValues): Likewise.
28105 (scrollbar_get_widget): New function.
28106 * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
28107 (create): Added text area scroll window widget to an event box.
28108 (connectSignals): Changed call to use new function to get the
28109 correct widget out of the event box.
28110 (insert): Likewise.
28111 (replaceRange): Likewise.
28112 (gtkWidgetModifyFont): Likewise.
28113 (gtkWidgetRequestFocus): Likewise.
28114 (getHScrollbarHeight): Likewise.
28115 (getVScrollbarWidth): Likewise.
28116 (getCaretPosition): Likewise.
28117 (setCaretPosition):Likewise.
28118 (getSelectionStart): Likewise.
28119 (getSelectionEnd): Likewise.
28120 (select): Likewise.
28121 (setEditable): Likewise.
28122 (getText): Likewise.
28123 (setText): Likewise.
28124 (textarea_get_widget): New function.
28126 2006-03-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28128 * java/rmi/dgc/VMID.java:
28129 (equals, hashCode, static initializer): Rewritten.
28130 * java/rmi/dgc/package.html: Documented.
28132 2006-03-09 Mark Wielaard <mark@klomp.org>
28134 * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
28136 (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
28137 (canCache): Likewise.
28138 (GtkClipboard): Take String argument.
28139 (getInstance): Removed.
28140 (getClipboardInstance, getSelectionInstance): New static methods.
28141 (setSystemContents): Make synchronized. Takes boolean argument.
28142 (initNativeState): Add clipboard and selection.
28143 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
28144 (announceClipboardChange, announcePrimaryChange): New static field.
28145 (announce): Take GtkClipboard as argument.
28146 (run): Check which clipboard to announce change for.
28147 * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
28149 (GtkSelection): Take GtkClipboard as argument.
28150 (requestText, requestImage, requestURIs, requestBytes): Add boolean
28151 clipboard argument.
28152 (requestMimeTypes): Likewise.
28153 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
28155 * java/awt/Toolkit.java (getSystemSelection): Document.
28156 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
28157 (cp_gtk_selection_instance): New var.
28158 (current_selection, owner): Removed.
28159 (clipboard_owner_change_cb): Use clipboard argument.
28160 (initNativeState): Store clipboard and selection instances. Cache
28161 setSystemContentsID, provideContentID, provideTextID, provideImageID,
28163 (clipboard_get_func): Use clipboard argument.
28164 (clipboard_clear_func): Likewise. Always call method.
28165 (advertiseContent): Don't cache method ids here. Check whether to
28166 use clpboard or selection. Don't set owner or current_selection.
28167 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
28168 (requestText, requestImage, requestURIs, requestBytes): Use extra
28169 boolean argument to select clipboard.
28170 * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
28171 (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
28172 * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
28173 * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
28175 2006-03-09 Keith Seitz <keiths@redhat.com>
28177 * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
28178 * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
28179 * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
28180 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
28181 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
28182 * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
28183 * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
28184 * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
28185 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
28187 2006-03-09 Mark Wielaard <mark@klomp.org>
28189 * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
28190 bounds for index is valid.
28191 * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
28193 (getCellBounds): Update documentation.
28195 2006-03-09 Arnaud Vandyck <avdyk@gnu.org>
28197 * .classpath: added exclude pattern on source folders
28198 (Makefiles, README and .cvsignore)
28200 2006-03-08 Michael Koch <konqueror@gmx.de>
28202 * java/net/Proxy.java (NO_PROXY): Made final.
28203 (equals): Likewise.
28204 (hashCode): Likewise.
28206 2006-03-08 Keith Seitz <keiths@redhat.com>
28208 * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
28209 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28210 (getClassMethod): New method.
28212 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28214 * java/rmi/server/UID.java (getMachineId): Include the host IP address.
28216 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28218 * java/rmi/server/ObjID.java: Documented and autoformatted.
28220 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28223 * tools/Makefile.am (install-data-local,
28224 uninstall-local): Install/uninstall the tools/README only.
28225 * tools/gnu/classpath/tools/giop/README: Updated.
28226 * tools/README: New file.
28228 2006-03-08 Lillian Angel <langel@redhat.com>
28230 * java/awt/GridBagLayout.java
28231 (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
28232 then the next item should be set to current_y (not 0).
28234 2006-03-08 Lillian Angel <langel@redhat.com>
28236 * java/awt/GridBagLayout.java
28237 (GetLayoutInfo): If gridy is RELATIVE and there is no component
28238 in the bottom-most spot of the column, we need to place that component
28239 at the y-location of the other components in that row. If there are
28240 no other components in that row, then place it at y = 0.
28242 2006-03-08 David Gilbert <david.gilbert@object-refinery.com>
28244 * javax/swing/ProgressMonitor.java: Updated API docs,
28245 * javax/swing/ProgressMonitorInputStream.java: Likewise.
28247 2006-03-08 Michael Koch <konqueror@gmx.de>
28249 * java/net/InetSocketAddress.java
28250 (InetSocketAddress(String,int,resolve)): New private contructor.
28251 (InetSocketAddress(String,int)): Use new private constructor.
28252 (createUnresolved): New method.
28254 2006-03-07 Michael Koch <konqueror@gmx.de>
28256 * gnu/java/net/DefaultProxySelector.java,
28257 java/net/Proxy.java, java/net/ProxySelector.java:
28260 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28262 * java/rmi/server/UID.java (constructor): Assign last and time fields
28265 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28267 * java/rmi/server/UID.java: New file (replacing).
28269 2006-03-08 Raif S. Naffah <raif@swiftdsl.com.au>
28271 * java/util/jar/Manifest.java: Removed unused imports.
28272 (CRLF): New constant.
28273 (read): Added method documentation.
28274 Use UTF-8 encoding instead of 8859_1.
28275 (write): Added method documentation.
28276 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28277 (write_main_section): Replace PrintWriter arg with OutputStream.
28278 Replace JarException with IOException.
28279 (write_version_info): Likewise.
28280 (write_main_attributes): Likewise.
28281 (write_attribute_entry): Likewise.
28282 (write_individual_sections): Likewise.
28283 (write_entry_attributes): Likewise.
28284 (write_header): Replace PrintWriter arg with OutputStream.
28287 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28289 * javax/swing/tree/DefaultMutableTreeNode.java
28290 (getFirstChild): Updated API docs,
28291 (getLastChild): Likewise,
28292 (getChildAfter): Likewise,
28293 (getChildBefore): Likewise,
28294 (isNodeSibling): Return true if node == this,
28295 (getSiblingCount): Updated API docs,
28296 (getNextSibling): Likewise,
28297 (getPreviousSibling): Likewise,
28298 (isLeaf): Likewise,
28299 (getFirstLeaf): Likewise,
28300 (getLastLeaf): Likewise,
28301 (getNextLeaf): Implemented,
28302 (getPreviousLeaf): Implemented.
28304 2006-03-07 Tom Tromey <tromey@redhat.com>
28306 * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
28307 * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
28308 * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
28309 * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
28312 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28314 * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
28315 (clone): Reimplemented,
28316 (add): Throw IllegalArgumentException if child is an ancestor,
28317 (remove(int)): Set child's parent to null,
28318 (remove(MutableTreeNode)): Check arguments and set child's parent to
28320 (insert): Check allowsChildren flag, check for null argument, and
28321 check for a node that is an ancestor,
28322 (getIndex): Throw IllegalArgumentException for null argument,
28323 (setAllowsChildren): If setting to false, remove existing children,
28324 (removeAllChildren): Set parent to null for removed children.
28326 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28328 * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
28331 2006-03-06 Tom Tromey <tromey@redhat.com>
28333 * java/lang/StrictMath.java (ulp): New methods.
28334 * java/lang/Math.java (ulp): New methods.
28336 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28338 * gnu/java/rmi/server/UnicastRef.java,
28339 * gnu/java/rmi/server/UnicastServer.java: Formatted.
28341 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28343 * gnu/java/rmi/server/CombinedClassLoader.java
28344 (findClass, findLibrary, findResouce, findResources): check
28345 all loaders in array.
28347 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28350 * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
28351 (RefProtector): new inner class. (dirty): Rewritten.
28352 * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
28353 dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
28354 new methods. (readExternal): Create LeaseRenewingTask if non local.
28355 * gnu/java/rmi/server/UnicastServer.java (objects):
28356 Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
28357 (getExported): New method.
28358 * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
28360 2006-03-06 Mark Wielaard <mark@klomp.org>
28362 * doc/www.gnu.org/announce/20060306.wml: New file.
28363 * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
28364 * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
28366 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28368 * javax/swing/plaf/metal/MetalLookAndFeel.java
28369 (initComponentDefaults): Use Boolean.TRUE for
28370 'CheckBoxMenuItem.borderPainted'.
28372 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28374 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28375 (dateFormat): Made private.
28376 (put): Replace only the last occurance and the value.
28377 (putAll): Reimplemented with the put method.
28379 2006-03-06 Lillian Angel <langel@redhat.com>
28382 * java/awt/List.java
28383 (preferredSize): Return the size of the list if the peer is
28385 * gnu/java/awt/peer/gtk/GtkListPeer.java
28386 (preferredSize): Code was returning the minimum size of the
28387 list. Added adjustment to the width of the list so it is a
28390 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28392 * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
28393 (getRequestProperty): Remove duplicated null check.
28394 * java/net/URLConnection.java:
28395 (URLConnection): Javadoc fix.
28396 (addRequestProperty): Likewise.
28397 (getDefaultRequestProperty): Likewise.
28398 (getHeaderField): Likewise.
28399 (getHeaderFieldDate): Likewise.
28400 (getHeaderFieldKey): Likewise.
28401 (getHeaderFields): Likewise.
28402 (getRequestProperties): Likewise.
28403 (getRequestProperty): Likewise.
28404 (setDefaultRequestProperty): Likewise.
28405 (setRequestProperty): Likewise.
28407 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28409 * examples/gnu/classpath/examples/swing/TextArea.java: New file.
28410 * examples/gnu/classpath/examples/swing/Demo.java:
28411 (mkButtonBar): Changed layout manager to GridLayout, added entry for
28413 (mkMenuBar): Added entry for text area example.
28415 2006-03-06 Tom Tromey <tromey@redhat.com>
28417 * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
28418 (FORMATTED_TEXT_FIELD): Likewise.
28420 2006-03-06 Tom Tromey <tromey@redhat.com>
28422 * javax/swing/plaf/synth/SynthPainter.java: Finished.
28424 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28426 * examples/gnu/classpath/examples/swing/Demo.java:
28427 (mkMenuBar): Added menu entry that will display the VM's name,
28428 version and distributor.
28430 2006-03-06 Tom Tromey <tromey@redhat.com>
28432 * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription):
28434 (getName): Likewise.
28436 2006-03-06 Raif S. Naffah <raif@swiftdsl.com.au>
28438 * java/util/jar/Manifest.java: Removed unused imports.
28439 (CRLF): New constant.
28440 (read): Added method documentation.
28441 Use UTF-8 encoding instead of 8859_1.
28442 (write): Added method documentation.
28443 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28444 (write_main_section): Replace PrintWriter arg with OutputStream.
28445 Replace JarException with IOException.
28446 (write_version_info): Likewise.
28447 (write_main_attributes): Likewise.
28448 (write_attribute_entry): Likewise.
28449 (write_individual_sections): Likewise.
28450 (write_entry_attributes): Likewise.
28451 (write_header): Replace PrintWriter arg with OutputStream.
28454 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28457 * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28458 API doc tag warnings,
28459 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28461 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28463 * gnu/java/net/protocol/file/Connection.java (unquote):
28464 Update position in buffer after decoding a unicode character
28465 outside of the basic plane.
28467 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28469 * java/net/URI.java
28470 (quote): Pass Unicode characters outside the basic plane through.
28472 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28474 * javax/swing/plaf/basic/BasicTextUI.java:
28475 (damageRange): Rewritten if-expressions to correctly identify the
28478 2006-03-06 Mark Wielaard <mark@klomp.org>
28480 * configure.ac: Set version to 0.90-generics.
28483 2006-03-06 Mark Wielaard <mark@klomp.org>
28485 Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28486 * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28487 (isnan): Define explicitly isnan if it is not a macro.
28489 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28491 * javax/swing/text/GapContent.java:
28492 (insertString): Throw exception when argument is below
28495 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28497 * javax/swing/text/PlainDocument.java:
28498 (insertUpdate): Extended if-expression, added
28499 code to generate another Element when newly inserted characters
28500 and old ones will be on the same line.
28502 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28504 * javax/swing/text/DefaultCaret.java:
28505 (mouseDragged): Do selection when shift is pressed.
28506 (mouseClicked): Implemented.
28508 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28510 * javax/swing/text/PlainDocument.java: Fix copyright header,
28512 (insertUpdate): Do not copy the whole document any more, added some
28513 more variables to prevent needless method calls.
28515 2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
28517 * configure.ac: Check for FREETYPE2. This is a reverted patch and
28518 is required on Darwin.
28519 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28520 (AM_CFLAGS): Likewise.
28522 2006-03-06 Mark Wielaard <mark@klomp.org>
28524 * NEWS: Add updates for 0.90 release.
28526 2006-03-05 Robert Schuster <robertschuster@fsfe.org>
28528 * javax/swing/text/GapContent.java:
28529 (insertString): Throw exception when argument is below
28532 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28535 * javax/swing/filechooser/FileFilter.java:
28536 (accept): Fixed API doc tag,
28537 (getDescription): Likewise,
28538 * javax/swing/filechooser/FileView.java:
28539 (isTraversable): Fixed API doc tag.
28541 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28543 * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28544 added API docs all over.
28546 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28548 * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28549 and corrected a bad API doc tag.
28551 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28553 * javax/swing/undo/StateEditable.java
28554 (restoreState): Fixed bad API doc tag,
28555 * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28556 AbstractUndoableEdit.java,
28557 * javax/swing/undo/UndoableEditSupport.java
28558 (createCompoundEdit): Fixed bad API doc tag,
28559 * javax/swing/undo/UndoManager.java
28560 (editToBeUndone): Fixed bad API doc tag,
28561 (editToBeRedone): Likewise.
28563 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28565 * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28566 * javax/swing/FocusManager.java: Likewise.
28569 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28572 * javax/swing/plaf/metal/MetalComboBoxButton.java
28573 (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28574 JList)): Fixed API doc tag,
28575 * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28576 (createLayout): Fixed API doc warning.
28578 2006-03-05 Tom Tromey <tromey@redhat.com>
28580 * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28581 ClassHelper.getUserName.
28582 * vm/reference/java/lang/reflect/Method.java (toString): Use
28583 ClassHelper.getUserName.
28584 (getUserTypeName): Removed.
28585 * gnu/java/lang/ClassHelper.java (getUserName): New method.
28586 * vm/reference/java/lang/reflect/Field.java (toString): Use
28587 ClassHelper.getUserName.
28589 2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com>
28592 * java/net/URLClassLoader.java (FileURLLoader.getResource):
28593 Allows directories as valid resources.
28595 2006-03-05 Mark Wielaard <mark@klomp.org>
28597 * configure.ac (VERSION): Set to 0.90-pre-generics.
28598 * Merge with CVS trunk from classpath-0_90-branch-point.
28600 2006-03-04 Tom Tromey <tromey@redhat.com>
28602 * javax/swing/SpringLayout.java (Constraints): New constructor.
28603 * javax/swing/Spring.java (width): New method.
28604 (height): Likewise.
28607 2006-03-04 Mark Wielaard <mark@klomp.org>
28609 * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28610 existing connection from pool before returning.
28612 2006-03-04 Mark Wielaard <mark@klomp.org>
28614 * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28615 exceptions thrown by handlers while cleaning up and rethrow original
28618 2006-03-04 Tom Tromey <tromey@redhat.com>
28620 * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28622 (findConstructor): Likewise.
28623 (instantiateClass): Likewise.
28625 2006-03-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28627 * gnu/java/rmi/dgc/DGCImpl.java: More comments, boilerplate fix.
28628 (dirty): Do not synchronize on Hashtable. Use the passed (requested)
28629 lease value and not always the default one.
28630 (LeaseRecord): Remember the array of objects, marked as dirty.
28631 java/rmi/dgc/Lease.java: Boilerplate fix.
28633 2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au>
28635 * java/util/jar/Attributes.java (putValue): Made it public and updated
28636 method documentation.
28638 2006-03-04 Mark Wielaard <mark@klomp.org>
28640 * java/awt/Container.java (remove(int)): Always call removeNotify()
28641 on removed Component.
28643 2006-03-04 Mark Wielaard <mark@klomp.org>
28645 Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28646 * javax/swing/JEditorPane.java (setText): Check for empty String
28647 with equals(), not equality (==).
28649 2006-03-04 Mark Wielaard <mark@klomp.org>
28651 * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28652 DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28654 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28656 * javax/swing/text/GapContent.java
28657 (getArray): Mark as final.
28659 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28661 * javax/swing/text/StyleConstants.java
28662 (CharacterConstants.Background): Marked final,
28663 (CharacterConstants.BidiLevel): Likewise,
28664 (CharacterConstants.Bold): Likewise,
28665 (CharacterConstants.ComponentAttribute): Likewise,
28666 (CharacterConstants.Family): Likewise,
28667 (CharacterConstants.Size): Likewise,
28668 (CharacterConstants.Foreground): Likewise,
28669 (CharacterConstants.IconAttribute): Likewise,
28670 (CharacterConstants.Italic): Likewise,
28671 (CharacterConstants.StrikeThrough): Likewise,
28672 (CharacterConstants.Subscript): Likewise,
28673 (CharacterConstants.Superscript): Likewise,
28674 (CharacterConstants.Underline): Likewise,
28675 (ColorConstants.Foreground): Likewise,
28676 (ColorConstants.Background): Likewise,
28677 (FontConstants.Bold): Likewise,
28678 (FontConstants.Family): Likewise,
28679 (FontConstants.Italic): Likewise,
28680 (FontConstants.Size): Likewise,
28681 (ParagraphConstants.Alignment): Likewise,
28682 (ParagraphConstants.FirstLineIndent): Likewise,
28683 (ParagraphConstants.LeftIndent): Likewise,
28684 (ParagraphConstants.LineSpacing): Likewise,
28685 (ParagraphConstants.Orientation): Likewise,
28686 (ParagraphConstants.RightIndent): Likewise,
28687 (ParagraphConstants.SpaceAbove): Likewise,
28688 (ParagraphConstants.SpaceBelow): Likewise,
28689 (ParagraphConstants.TabSet): Likewise.
28691 2006-03-03 Tom Tromey <tromey@redhat.com>
28693 * javax/net/ssl/SSLException.java: Added missing @since.
28696 2006-03-03 Tom Tromey <tromey@redhat.com>
28698 * javax/net/ssl/SSLException.java (SSLException): New constructors.
28699 (serialVersionUID): New field.
28701 2006-03-03 Tom Tromey <tromey@redhat.com>
28703 * java/security/spec/InvalidKeySpecException.java
28704 (InvalidKeySpecException): New constructors.
28705 * java/security/cert/CertificateParsingException.java
28706 (CertificateParsingException): New constructors.
28707 * java/security/cert/CertificateEncodingException.java
28708 (CertificateEncodingException): New constructors.
28709 * java/security/cert/CertificateException.java (CertificateException):
28711 * java/security/cert/CRLException.java (CRLException): New
28714 2006-03-03 Tom Tromey <tromey@redhat.com>
28716 * java/security/SignatureException.java (SignatureException): New
28718 * java/security/ProviderException.java (ProviderException): New
28720 * java/security/NoSuchAlgorithmException.java
28721 (NoSuchAlgorithmException): New constructors.
28722 * java/security/KeyStoreException.java (KeyStoreException): New
28724 * java/security/KeyManagementException.java (KeyManagementException):
28726 * java/security/InvalidKeyException.java (InvalidKeyException): New
28728 * java/security/KeyException.java (KeyException): New constructors.
28729 * java/security/InvalidAlgorithmParameterException.java
28730 (InvalidAlgorithmParameterException): New constructors.
28731 * java/security/DigestException.java (DigestException): New
28733 * java/security/GeneralSecurityException.java
28734 (GeneralSecurityException): New constructors.
28736 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28738 * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc
28740 * javax/swing/event/DocumentEvent.java: Likewise,
28741 * javax/swing/event/EventListenerList.java: Likewise,
28742 * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28743 * javax/swing/event/MenuKeyEvent.java: Likewise,
28744 * javax/swing/event/TableColumnModelEvent.java: Likewise,
28745 * javax/swing/event/TreeExpansionEvent.java: Likewise,
28746 * javax/swing/event/TreeModelEvent.java: Likewise,
28747 * javax/swing/event/TreeSelectionEvent.java: Likewise,
28748 * javax/swing/event/UndoableEditEvent.java: Likewise.
28750 2006-03-03 Tom Tromey <tromey@redhat.com>
28752 * java/awt/Insets.java (set): New method.
28753 (equals): Added @since.
28755 2006-03-03 David Daney <ddaney@avtrex.com>
28757 * gnu/java/net/protocol/http/HTTPURLConnection.java
28758 (getRequestProperties): Rewrote.
28759 (addRequestProperty): Rewrote.
28760 (getHeaderFields): Rewrote.
28761 (getHeaderField): Rewrote.
28762 (getHeaderFieldKey): Rewrote.
28763 (getHeaderField): Removed useless cast.
28764 * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28765 * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28767 (notifyHeaderHandlers): Use new Headers interface.
28769 2006-03-03 Tom Tromey <tromey@redhat.com>
28771 * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28772 * javax/naming/spi/ResolveResult.java,
28773 javax/naming/event/NamingExceptionEvent.java,
28774 javax/naming/event/NamingEvent.java,
28775 javax/naming/directory/SearchResult.java,
28776 javax/naming/directory/SearchControls.java,
28777 javax/naming/directory/SchemaViolationException.java,
28778 javax/naming/directory/NoSuchAttributeException.java,
28779 javax/naming/directory/ModificationItem.java,
28780 javax/naming/directory/InvalidSearchFilterException.java,
28781 javax/naming/directory/InvalidSearchControlsException.java,
28782 javax/naming/directory/InvalidAttributesException.java,
28783 javax/naming/directory/InvalidAttributeIdentifierException.java,
28784 javax/naming/directory/AttributeModificationException.java,
28785 javax/naming/directory/AttributeInUseException.java,
28786 javax/naming/TimeLimitExceededException.java,
28787 javax/naming/SizeLimitExceededException.java,
28788 javax/naming/PartialResultException.java,
28789 javax/naming/Reference.java,
28790 javax/naming/ServiceUnavailableException.java,
28791 javax/naming/OperationNotSupportedException.java,
28792 javax/naming/NotContextException.java,
28793 javax/naming/NoPermissionException.java,
28794 javax/naming/NoInitialContextException.java,
28795 javax/naming/NameNotFoundException.java,
28796 javax/naming/NameAlreadyBoundException.java,
28797 javax/naming/NameClassPair.java,
28798 javax/naming/MalformedLinkException.java,
28799 javax/naming/LinkLoopException.java,
28800 javax/naming/LinkException.java,
28801 javax/naming/LimitExceededException.java,
28802 javax/naming/InvalidNameException.java,
28803 javax/naming/InterruptedNamingException.java,
28804 javax/naming/InsufficientResourcesException.java,
28805 javax/naming/ContextNotEmptyException.java,
28806 javax/naming/ConfigurationException.java,
28807 javax/naming/CannotProceedException.java,
28808 javax/naming/CommunicationException.java,
28809 javax/naming/Binding.java,
28810 javax/naming/AuthenticationNotSupportedException.java,
28811 javax/naming/AuthenticationException.java: Added serialVersionUID.
28813 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28815 * javax/swing/event/TableColumnModelEvent.java: Reformatted.
28817 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28819 * javax/swing/event/TableModelListener.java: Updated API docs.
28821 2006-03-03 Mark Wielaard <mark@klomp.org>
28823 * java/awt/Component.java (addNotify): Expand documentation.
28825 2006-03-03 Mark Wielaard <mark@klomp.org>
28827 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
28828 Always call setParentAndBounds().
28829 (setComponentBounds): Always call setBounds().
28830 (setBounds): Call setVisible().
28831 (setVisible): If no pixels are showing then don't make it visible.
28832 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
28833 to call setParentAndBounds() anymore.
28835 2006-03-03 Roman Kennke <kennke@aicas.com>
28837 * javax/swing/JInternalFrame.java
28838 (JInternalFrame): Set frame invisible.
28839 (show): Reformatted.
28840 * javax/swing/plaf/basic/BasicInternalFrameUI.java
28841 (installDefaults): Do not set invisible here.
28843 2006-03-03 Roman Kennke <kennke@aicas.com>
28845 * java/awt/Toolkit.java
28846 (getScreenInsets): Return (0,0,0,0) here.
28848 2006-03-03 Roman Kennke <kennke@aicas.com>
28850 * javax/swing/text/FlowView.java
28851 (FlowStrategy.layoutRow): Added check for rowCount == 0.
28852 (FlowStrategy.getLogicalView): Made method protected.
28854 2006-03-03 Chris Burdess <dog@gnu.org>
28856 * gnu/xml/validation/relaxng/AnyNameNameClass.java,
28857 gnu/xml/validation/relaxng/AttributePattern.java,
28858 gnu/xml/validation/relaxng/ChoiceNameClass.java,
28859 gnu/xml/validation/relaxng/ChoicePattern.java,
28860 gnu/xml/validation/relaxng/DataPattern.java,
28861 gnu/xml/validation/relaxng/Define.java,
28862 gnu/xml/validation/relaxng/ElementPattern.java,
28863 gnu/xml/validation/relaxng/EmptyPattern.java,
28864 gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
28865 gnu/xml/validation/relaxng/Grammar.java,
28866 gnu/xml/validation/relaxng/GrammarException.java,
28867 gnu/xml/validation/relaxng/GrammarValidator.java,
28868 gnu/xml/validation/relaxng/GroupPattern.java,
28869 gnu/xml/validation/relaxng/InterleavePattern.java,
28870 gnu/xml/validation/relaxng/ListPattern.java,
28871 gnu/xml/validation/relaxng/NSNameNameClass.java,
28872 gnu/xml/validation/relaxng/NameClass.java,
28873 gnu/xml/validation/relaxng/NameNameClass.java,
28874 gnu/xml/validation/relaxng/NotAllowedPattern.java,
28875 gnu/xml/validation/relaxng/OneOrMorePattern.java,
28876 gnu/xml/validation/relaxng/Param.java,
28877 gnu/xml/validation/relaxng/Pattern.java,
28878 gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
28879 gnu/xml/validation/relaxng/RefPattern.java,
28880 gnu/xml/validation/relaxng/TextPattern.java,
28881 gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
28882 builder and data model.
28883 * gnu/xml/validation/xmlschema/AnyAttribute.java,
28884 gnu/xml/validation/xmlschema/AttributeDeclaration.java,
28885 gnu/xml/validation/xmlschema/AttributeUse.java,
28886 gnu/xml/validation/xmlschema/ComplexType.java,
28887 gnu/xml/validation/xmlschema/ElementDeclaration.java,
28888 gnu/xml/validation/xmlschema/Particle.java,
28889 gnu/xml/validation/xmlschema/ValidationException.java,
28890 gnu/xml/validation/xmlschema/XMLSchema.java,
28891 gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
28892 gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
28893 gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
28894 gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
28895 gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
28896 gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
28897 gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
28898 gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
28899 W3C XML Schema builder and schema components.
28900 * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
28901 XML Schema namespace URIs.
28903 2006-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
28905 * NEWS: Add entry for --enable-collections.
28906 * configure.ac: Add --enable-collections option.
28907 * lib/Makefile.am (collections.jar): New target.
28908 (glibj_DATA): Add $(COLLECTIONS).
28909 * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
28910 configure substitution.
28911 (classpath): Read from command line.
28912 (javautilclasses): Remove BasicMapEntry. Add RandomAccess.
28914 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28916 * javax/swing/SpringLayout.java: Fixed API doc warnings.
28918 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28920 * javax/swing/event/ListSelectionEvent.java
28921 (toString): Implemented,
28922 plus updated API docs all over.
28924 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28926 * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
28928 * javax/swing/event/ListSelectionListener.java: Updated API docs.
28930 2006-03-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28932 * gnu/java/rmi/dgc/DGCImpl.java,
28933 java/rmi/dgc/DGC.java,
28934 java/rmi/dgc/Lease.java: Formatted and commented.
28936 2006-03-03 Roman Kennke <kennke@aicas.com>
28938 * NEWS: Added comment about text highlighting and copy+paste
28941 2006-03-03 Roman Kennke <kennke@aicas.com>
28943 * javax/swing/JTabbedPane.java
28944 (remove(int)): Call super.remove(int) instead of remove(Component).
28945 Avoids a stack overflow.
28947 2006-03-03 Roman Kennke <kennke@aicas.com>
28949 * javax/swing/JTable.java
28950 (distributeSpillResizing): Avoid ArithmeticException by checking
28953 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28955 * javax/swing/text/package.html: Added package description.
28957 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28959 * javax/swing/CellRendererPane.java: Minor API doc fix,
28960 * javax/swing/ComboBoxModel.java: Updated API docs.
28962 2006-03-03 Chris Burdess <dog@gnu.org>
28965 * gnu/xml/stream/EntityReferenceImpl.java,
28966 gnu/xml/stream/FilteredEventReader.java,
28967 gnu/xml/stream/SAXParser.java,
28968 gnu/xml/stream/XIncludeFilter.java,
28969 gnu/xml/stream/XMLEventAllocatorImpl.java,
28970 gnu/xml/stream/XMLEventFactoryImpl.java,
28971 gnu/xml/stream/XMLEventImpl.java,
28972 gnu/xml/stream/XMLEventReaderImpl.java,
28973 gnu/xml/stream/XMLEventWriterImpl.java,
28974 gnu/xml/stream/XMLInputFactoryImpl.java,
28975 gnu/xml/stream/XMLOutputFactoryImpl.java,
28976 gnu/xml/stream/XMLParser.java,
28977 javax/xml/stream/EventFilter.java,
28978 javax/xml/stream/Location.java,
28979 javax/xml/stream/StreamFilter.java,
28980 javax/xml/stream/XMLEventFactory.java,
28981 javax/xml/stream/XMLEventReader.java,
28982 javax/xml/stream/XMLEventWriter.java,
28983 javax/xml/stream/XMLInputFactory.java,
28984 javax/xml/stream/XMLOutputFactory.java,
28985 javax/xml/stream/XMLReporter.java,
28986 javax/xml/stream/XMLResolver.java,
28987 javax/xml/stream/XMLStreamConstants.java,
28988 javax/xml/stream/XMLStreamReader.java,
28989 javax/xml/stream/events/EntityDeclaration.java,
28990 javax/xml/stream/events/EntityReference.java,
28991 javax/xml/stream/events/XMLEvent.java,
28992 javax/xml/stream/util/EventReaderDelegate.java,
28993 javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
28994 StAX API as specified in JWSDP 2.0.
28995 * gnu/xml/stream/EndEntityImpl.java,
28996 gnu/xml/stream/LocationImpl.java,
28997 gnu/xml/stream/StartEntityImpl.java,
28998 gnu/xml/stream/XMLStreamReaderImpl.java,
28999 javax/xml/stream/XMLFilter.java,
29000 javax/xml/stream/XMLIterator.java,
29001 javax/xml/stream/events/EndEntity.java,
29002 javax/xml/stream/events/StartEntity.java: Removed legacy files.
29004 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29006 * javax/swing/CellEditor.java: API doc updates,
29007 * javax/swing/DefaultCellEditor.java: Likewise.
29009 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29011 * javax/swing/AbstractListModel.java:
29012 (AbstractListModel): Added API docs,
29013 (fireContentsChanged): Minor API doc correction,
29014 (fireIntervalAdded): Likewise,
29015 (fireIntervalRemoved): Likewise.
29017 2006-03-03 Roman Kennke <kennke@aicas.com>
29019 * NEWS: Added paragraph about Swing improvements.
29021 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29023 * javax/swing/AbstractAction.java: Updated API docs all over,
29024 * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
29025 (stopCellEditing): Minor API doc correction,
29026 * javax/swing/UnsupportedLookAndFeelException.java
29027 (UnsupportedLookAndFeelException): Changed argument name, updated API
29030 2006-03-03 Roman Kennke <kennke@aicas.com>
29032 * javax/swing/plaf/metal/MetalUtils.java
29033 (fillMetalPattern): Added switch to not use Graphics2D methods,
29034 even if they are available.
29036 2006-03-03 Roman Kennke <kennke@aicas.com>
29038 * javax/swing/plaf/basic/BasicHTML.java
29039 (isHTMLString): Check for string beeing null.
29040 * javax/swing/plaf/basic/BasicInternalFrameUI.java
29041 (BasicInternalFrameListener.internalFrameActivated): Implemented.
29042 (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
29043 (InternalFrameLayout): Don't touch the glass pane here.
29044 (installUI): Fix handling of glass pane.
29045 * javax/swing/plaf/basic/BasicLabelUI.java
29049 (BasicLabelUI): Initialize new fields.
29050 (getPreferredSize): Avoid creating new Rectangles by using
29051 SwingUtilities method.
29052 (paint): Avoid creating new Rectangles by reusing
29053 new fields. Added some preliminary handling of HTML inside the
29055 (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
29056 (uninstallComponents): Clear HTML renderer.
29057 (propertyChange): Check for HTML text and install renderer if
29059 * javax/swing/plaf/basic/BasicListUI.java
29060 (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
29062 * javax/swing/plaf/basic/BasicTextUI.java
29063 (RootView.getStartOffset): Implemented.
29064 (RootView.getEndOffset): Implemented.
29065 (RootView.getDocument): Implemented.
29067 2006-03-03 Roman Kennke <kennke@aicas.com>
29069 * javax/swing/text/DefaultStyledDocument.java
29070 (ElementBuffer.inserUpdate): Added check for zero-length
29072 * javax/swing/text/DefaultStyledDocument.java
29073 (setIndex): Improved exception message.
29074 * javax/swing/text/TableView.java
29075 Made class abstract.
29076 (TableRow.replace): Probably extend columnRequirements
29078 (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
29079 of super.layoutMajorAxis.
29080 (columnRequirements): Made field package private.
29081 (TableView): Do not load any child views here.
29082 (layoutColumns): Implemented this method.
29083 (updateColumnRequirements): New helper method.
29084 * javax/swing/text/Utilities.java
29085 (getBreakLocation): Also take offset into account when
29086 finding end location.
29087 * javax/swing/text/html/HTMLDocument.java
29088 (HTMLReader.parseStack): New field.
29089 (HTMLReader.blockOpen): Properly handle p-implied tags.
29090 (HTMLReader.blockClose): Properly handle p-implied and empty tags.
29091 (HTMLReader.addContent): Insert p-implied when adding content to
29093 * javax/swing/text/html/HTMLEditorKit.java
29094 (HTMLFactory.create): Create HTMLTableView for <table> tags and
29095 ParagraphView for TD tags. Print out warning for tags that don't have
29096 matching view yet and create NullView for them.
29097 (read): Only set document base when document != null.
29098 * javax/swing/text/html/HTMLTableView.java:
29101 2006-03-03 Roman Kennke <kennke@aicas.com>
29103 * javax/swing/plaf/basic/BasicHTML.java
29104 (HTMLRootView): New inner class.
29105 (createHTMLView): Embed view inside a HTMLRootView.
29107 2006-03-03 Wolfgang Baer <WBaer@gmx.de>
29109 * gnu/java/net/protocol/jar/Connection.java:
29110 (connect): Throw FileNotFoundException.
29111 (getInputStream): Remove duplicated code.
29113 2006-03-03 Roman Kennke <kennke@aicas.com>
29115 * javax/swing/RepaintManager.java
29116 (commitBuffer): Added null check for clip.
29118 2006-03-02 Lillian Angel <langel@redhat.com>
29120 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29121 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
29122 to use GtkWidget instead of GTKMenu.
29124 2006-03-02 Lillian Angel <langel@redhat.com>
29126 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29127 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to
29128 use the submenu to get the list of children. This now works
29129 in the same way as addItem.
29131 2006-03-02 Anthony Balkissoon <abalkiss@redhat.com>
29133 * java/lang/StringBuilder.java:
29134 (codePointAt): New method.
29135 (codePointBefore): Likewise.
29136 (codePointCount): Likewise.
29137 (trimToSize): Likewise.
29139 2006-03-02 Tom Tromey <tromey@redhat.com>
29141 * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
29143 2006-03-02 Tom Tromey <tromey@redhat.com>
29145 * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
29146 (getProviderInstance):
29148 2006-03-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
29150 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
29151 Fix regression caused by move to VM variant.
29152 PR classpath/22926.
29154 2006-03-01 Tom Tromey <tromey@redhat.com>
29156 * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
29157 * vm/reference/java/net/VMInetAddress.java: Organized imports.
29158 * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
29159 imports for javadoc.
29160 (getProxyClass): Javadoc fixes.
29161 (getProxyData): Likewise.
29162 (generateProxyClass): Likewise.
29163 * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
29164 (setOut): Likewise.
29165 (setErr): Likewise.
29166 * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
29167 * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
29169 * vm/reference/java/lang/VMClass.java (getComponentType): Import for
29171 (getModifiers): Likewise.
29172 (getDeclaredClasses): Javadoc fix.
29173 (getDeclaredFields): Likewise.
29174 (getDeclaredMethods): Likewise.
29175 (getDeclaredConstructors): Likewise.
29176 * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
29179 2006-03-01 Tom Tromey <tromey@redhat.com>
29181 * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
29182 * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
29183 (getVersion): Javadoc fix.
29185 * gnu/java/net/protocol/http/Headers.java: Organized imports.
29186 * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
29188 2006-03-01 David Daney <ddaney@avtrex.com>
29190 * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
29191 as relative if it contains a colon but no protocol handler can be
29194 2006-03-01 Roman Kennke <kennke@aicas.com>
29196 * javax/swing/text/AbstractDocument.java
29197 (LeafElement.LeafElement): Handle delta with respect to content
29198 length not document length.
29199 * javax/swing/text/CompositeView.java
29200 (getViewIndex): Handle bias correctly.
29201 * javax/swing/text/DefaultCaret.java
29202 (paint): Align caret position to document bounds to avoid trouble
29203 when removing large portions of content.
29204 * javax/swing/text/DefaultStyledDocument.java
29205 (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
29206 (ElementBuffer.createFracture): Copy old childs attribute. The
29207 ElementSpec usually doesn't carry attribute information.
29208 Use pos instead of offset.
29209 (ElementBuffer.insertFracture): Use pos instead of offset.
29210 (createDefaultRootElement): Don't use create* and instead directly
29211 instantiate the elements.
29212 (handleInsertAfterNewline): Compare the paragraphs startOffset
29213 rather than previous paragraphs endOffset.
29214 * javax/swing/text/JTextComponent.java
29215 (getScrollableTracksViewportWidth): Remove unnecessary cast to
29217 (getScrollableTracksViewportHeight): Remove unnecessary cast to
29219 * javax/swing/text/PlainView.java
29220 (damageLineRange): Avoid creating new Rectangle by using
29222 * javax/swing/text/View.java
29223 (forwardUpdate): Correct the use of bias.
29224 (modelToView): Avoid new Rectangles by using SwingUtilities.
29225 (dump): Made (temprorarily) protected for use in BasicTextUI.
29226 (dump(int)): Dump out the element of the view.
29228 2006-03-01 Lillian Angel <langel@redhat.com>
29230 * NEWS: javax.imageio.plugins.bmp implementation.
29232 2006-03-01 Lillian Angel <langel@redhat.com>
29234 * javax/imageio/ImageWriteParam.java:
29235 Added documentation for fields.
29236 * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
29237 New class implemented.
29239 2006-03-01 Tom Tromey <tromey@redhat.com>
29241 * NEWS: Mention java.util.prefs update.
29243 2006-03-01 Tom Tromey <tromey@redhat.com>
29245 * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
29246 * java/nio/charset/UnmappableCharacterException.java:
29247 (serialVersionUID): New field.
29248 * java/nio/charset/MalformedInputException.java:
29249 (serialVersionUID): New field.
29250 * java/nio/charset/CoderMalfunctionError.java:
29251 (serialVersionUID): New field.
29252 * java/nio/charset/CharacterCodingException.java:
29253 (serialVersionUID): New field.
29254 * java/nio/channels/UnsupportedAddressTypeException.java:
29255 (serialVersionUID): New field.
29256 * java/nio/channels/UnresolvedAddressException.java:
29257 (serialVersionUID): New field.
29258 * java/nio/channels/OverlappingFileLockException.java:
29259 (serialVersionUID): New field.
29260 * java/nio/channels/NotYetConnectedException.java:
29261 (serialVersionUID): New field.
29262 * java/nio/channels/NotYetBoundException.java
29263 (serialVersionUID): New field.
29264 * java/nio/channels/NonWritableChannelException.java
29265 (serialVersionUID): New field.
29266 * java/nio/channels/NonReadableChannelException.java
29267 (serialVersionUID): New field.
29268 * java/nio/channels/NoConnectionPendingException.java
29269 (serialVersionUID): New field.
29270 * java/nio/channels/IllegalSelectorException.java
29271 (serialVersionUID): New field.
29272 * java/nio/channels/IllegalBlockingModeException.java
29273 (serialVersionUID): New field.
29274 * java/nio/channels/FileLockInterruptionException.java
29275 (serialVersionUID): New field.
29276 * java/nio/channels/ConnectionPendingException.java
29277 (serialVersionUID): New field.
29278 * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
29280 * java/nio/channels/ClosedChannelException.java (serialVersionUID):
29282 * java/nio/channels/ClosedByInterruptException.java
29283 (serialVersionUID): New field.
29284 * java/nio/channels/CancelledKeyException.java (serialVersionUID):
29286 * java/nio/channels/AsynchronousCloseException.java
29287 (serialVersionUID): New field.
29288 * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
29290 * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
29291 * java/nio/InvalidMarkException.java (serialVersionUID): New field.
29292 * java/nio/BufferUnderflowException.java (serialVersionUID): New
29294 * java/nio/BufferOverflowException.java (serialVersionUID): New field.
29295 * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
29296 Javadoc fix. Added import.
29297 * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
29298 (validOps): Likewise.
29299 * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
29300 * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
29301 * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
29302 * java/nio/channels/Channels.java: Added import.
29303 * java/nio/channels/FileChannel.java (lock): Typo fix.
29304 (tryLock): Likewise.
29306 2006-03-01 Tom Tromey <tromey@redhat.com>
29308 * java/util/prefs/Preferences.java (defaultFactoryClass): Use
29310 * gnu/java/util/prefs/FileBasedPreferences.java: New file.
29311 * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
29313 (putSpi): Likewise.
29314 (newNode): Likewise.
29316 * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
29317 * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
29319 (systemRoot): Use it.
29320 (userPreferences): New field.
29321 (userRoot): Use it.
29323 2006-03-01 Jeroen Frijters <jeroen@frijters.net>
29325 * java/util/ResourceBundle.java
29326 (tryBundle): Catch and ignore all Exceptions.
29328 2006-02-28 Roman Kennke <kennke@aicas.com>
29330 * javax/swing/plaf/basic/BasicScrollBarUI.java
29331 (getPreferredSize): Fixed add a fixed space between the buttons
29332 instead of something related to min/max.
29333 (installComponents): Create and install buttons here.
29334 (installDefaults): Don't create buttons here.
29335 * javax/swing/plaf/metal/MetalScrollBarUI.java
29336 (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
29337 (getPreferredSize): New method.
29339 2006-02-28 David Gilbert <david.gilbert@object-refinery.com>
29341 * examples/gnu/classpath/examples/swing/Demo.java
29342 (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29343 connected 'Spinner' action to SpinnerDemo,
29344 (mkCheckbox): Removed,
29345 (mkRadio): Likewise,
29346 (mkSpinner): Likewise,
29347 (mkToggle): Likewise,
29348 (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29349 connected 'Spinner' action to SpinnerDemo.
29351 2006-02-28 Wolfgang Baer <WBaer@gmx.de>
29353 * javax/print/ServiceUIFactory.java: Added documentation to class.
29355 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29358 * javax/swing/DefaultListSelectionModel.java:
29359 (addSelectionInterval): Return early if either of the arguments is -1.
29360 (removeSelectionInterval): Likewise.
29361 (setSelectionInterval): Likewise.
29363 2006-02-28 Lillian Angel <langel@redhat.com>
29365 * javax/swing/text/DefaultFormatter.java
29366 (stringToValue): Added NPE check.
29368 2006-02-28 Roman Kennke <kennke@aicas.com>
29371 * javax/swing/JList.java
29372 (getPreferredScrollableViewportSize): Restored specified behaviour.
29373 * javax/swing/plaf/metal/MetalFileChooserUI.java
29374 (createList): Set filelist panel's preferredSize, so that it doesn't
29375 get size into infinity for big lists.
29377 2006-02-28 Lillian Angel <langel@redhat.com>
29379 * javax/swing/ViewportLayout.java
29380 (layoutContainer): Should not extend container to be
29381 minimum size. Mauve test shows that the preferred size
29382 and the size of the viewport can be set smaller than
29385 2006-02-28 Lillian Angel <langel@redhat.com>
29388 * javax/swing/JList.java
29389 (getPreferredScrollableViewportSize): Added a check to determine
29390 if orientation is VERTICAL_WRAP. If it is, we should only
29393 2006-02-28 Lillian Angel <langel@redhat.com>
29396 * javax/swing/ViewportLayout.java:
29397 Patch submitted by Audrius Meskauskas
29398 (addLayoutComponent): Added documentation.
29399 (removeLayoutComponent): Likewise.
29400 (preferredLayoutSize): Likewise.
29401 (minimumLayoutSize): Likewise.
29402 (layoutContainer): Fixed code, so view is set
29403 to the right position when inside a scrollpane.
29405 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29407 * java/math/BigInteger.java:
29408 Committed patch by Rafael:
29409 developer.classpath.org/pipermail/classpath-patches/
29410 2006-February/000473.html
29411 (signum): Return early 0 if words == null and ival == 0.
29412 (readObject): Handle special case of magnitude.length or signum being
29414 (writeObject): If signum is zero return a zero-sized byte[].
29416 2006-02-28 Lillian Angel <langel@redhat.com>
29418 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29419 (create): Initially set the directory to the current working directory.
29420 (setDirectory): Removed else-if. No need for this check.
29422 2006-02-28 Tom Tromey <tromey@redhat.com>
29424 * .project: Run java builder before header generation.
29426 2006-02-28 Tom Tromey <tromey@redhat.com>
29428 * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
29430 * gnu/java/util/prefs/EventDispatcher.java: New file.
29431 * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29432 (NodeWriter): Specify UTF-8.
29433 (writeHeader): Emit DOCTYPE.
29434 * java/util/prefs/Preferences.java (getFactory): Add cause to
29436 (exportNode): Documented.
29437 (exportSubtree): Likewise.
29438 (importPreferences): Likewise.
29439 * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29440 (writeObject): Likewise.
29441 * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29442 (writeObject): Likewise.
29443 * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29444 (nodeListeners): New field.
29445 (preferenceListeners): Likewise.
29446 (addNodeChangeListener): Implemented.
29447 (addPreferenceChangeListener): Likewise.
29448 (removeNodeChangeListener): Likewise.
29449 (removePreferenceChangeListener): Likewise.
29450 (fire): New methods.
29452 (remove): Likewise.
29453 (purge): Likewise. Fixed synchronization.
29454 (removeNode): Fixed synchronization.
29455 (getNode): Fire event.
29456 (flushNode): Fixed synchronization.
29458 2006-02-28 Roman Kennke <kennke@aicas.com>
29460 * javax/swing/text/BranchElement.java
29461 (startOffset): New field.
29462 (endOffset): New field.
29463 (BranchElement): Initialize new fields.
29464 (getEndOffset): Rewritten to possibly return cached values
29465 if element has no children.
29466 (getStartOffset): Rewritten to possibly return cached values
29467 if element has no children.
29468 * javax/swing/text/LeafElement.java
29469 (startDelta): New field.
29470 (endDelta): New field.
29471 (LeafElement): Handle possible delta of start/endOffset when
29472 these parameters lie outside the document range.
29473 (getStartOffset): Handle possible startDelta.
29474 (getEndOffset): Handle possible startDelta.
29476 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29478 * NEWS: Added line about Unicode 4.0.0 support.
29480 2006-02-28 Roman Kennke <kennke@aicas.com>
29482 * javax/swing/SwingUtilities.java
29483 (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29485 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29487 * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29489 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29491 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29492 Amended class documentation.
29493 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29495 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29496 a BIT STRING construct.
29497 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29499 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29501 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29502 a BIT STRING construct.
29503 * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29504 (engineVerify): Added logging.
29506 2006-02-28 Roman Kennke <kennke@aicas.com>
29508 * java/awt/Component.java
29509 (dispatchEventImpl): Let the Toolkit dispatch global events.
29510 * java/awt/Container.java
29511 (dispatchEventImpl): Let the LightweightDispatcher handle events
29513 * java/awt/EventQueue.java
29514 (dispatchEvent): Don't do the global event dispatching here. This
29515 is moved to the Component.
29516 (globalDispatchEvent): Moved this method to Toolkit.
29517 * java/awt/LightweightDispatcher.java
29518 (instances): New field.
29519 (getInstance): New method. Delivers an instance of
29520 LightweightDispatcher.
29521 (LightweightDispatcher): Made default constructor private.
29522 (dispatchEvent): New method. Replaces the eventDispatched method.
29523 This now returns true when the event was actually dispatched.
29524 (eventDispatched): Replaced by dispatchEvent.
29525 (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29526 received the last MOUSE_RELEASED.
29527 * java/awt/Toolkit.java
29528 (Toolkit): Don't register LightweightDispatcher as global event
29530 (globalDispatchEvent): Moved here from EventQueue.
29532 2006-02-27 David Daney <ddaney@avtrex.com>
29535 * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29537 (getRequestProperties): Rewrote.
29539 2006-02-27 David Daney <ddaney@avtrex.com>
29542 * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29544 (ChunkedInputStream): Extend InputStream.
29546 (headers): Moved to top of class.
29547 (constructor): Save referenct to in.
29548 (read(byte[])): Removed method.
29549 (read(byte[], int, int)): Made synchronized and throw IOException
29550 on error parsing chunk header.
29551 (available): New method.
29552 (close): New method.
29554 2006-02-27 David Daney <ddaney@avtrex.com>
29556 * gnu/java/net/protocol/http/HTTPURLConnection.java
29557 (imports): Cleaned up.
29558 (GetHTTPPropertiesAction): Removed, and moved contents to ...
29559 (constructor): ... Here, using SystemProperties instead of System.
29561 2006-02-27 Lillian Angel <langel@redhat.com>
29563 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29564 (setDirectory): GtkFileChooser requires an absolute directory
29565 name. Added a check to make the directory passed to nativeSetDirectory
29568 2006-02-27 Roman Kennke <kennke@aicas.com>
29570 * javax/swing/SwingUtilities.java
29571 (computeIntersection): Changed to store result in rect, instead of
29572 creating new Rectangle instances. Fixed API docs accordingly.
29573 (computeUnion): Changed to store result in rect, instead of
29574 creating new Rectangle instances. Fixed API docs accordingly.
29576 2006-02-27 Roman Kennke <kennke@aicas.com>
29578 * javax/swing/JViewport.java
29579 (static_init): Changed default scrollmode to BLIT.
29580 (paintSimple): Added some clipping to avoid painting problems.
29581 (paintBlit): Added some clipping to avoid painting problems.
29583 2006-02-27 Roman Kennke <kennke@aicas.com>
29585 * javax/swing/JComponent.java
29586 (rectCache): Made field static to save memory.
29587 (getVisibleRect): Don't use rectCache and create new Rectangle
29589 (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29590 (repaint(long,int,int,int,int)): Directly call
29591 RepaintManager.addDirtyRegion(). The visibleRect check is now
29592 performed in the RepaintManager.
29594 2006-02-27 Roman Kennke <kennke@aicas.com>
29596 * javax/swing/RepaintManager.java
29597 (currentRepaintManagers): Made field private.
29598 (rectCache): New field.
29599 (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29600 component. Changed Rectangle handling to avoid unnecessary new
29601 Rectangle instances.
29602 (getOffscreenBuffer): Create buffer with size of the root window.
29603 Respect the maximum buffer size here.
29604 (commitBuffer): Align the regions so that they are inside the buffer
29605 image and inside the clip. This avoids problems with a bug in GTKImage.
29606 Fixed Rectangle handling to avoid creation of new Rectangle instances.
29608 2006-02-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
29610 * native/fdlibm/e_acos.c,
29611 * native/fdlibm/e_asin.c,
29612 * native/fdlibm/e_atan2.c,
29613 * native/fdlibm/e_cosh.c,
29614 * native/fdlibm/e_exp.c,
29615 * native/fdlibm/e_fmod.c,
29616 * native/fdlibm/e_hypot.c,
29617 * native/fdlibm/e_log.c,
29618 * native/fdlibm/e_log10.c,
29619 * native/fdlibm/e_rem_pio2.c,
29620 * native/fdlibm/e_remainder.c,
29621 * native/fdlibm/e_sinh.c,
29622 * native/fdlibm/e_sqrt.c,
29623 * native/fdlibm/k_cos.c,
29624 * native/fdlibm/k_sin.c,
29625 * native/fdlibm/k_tan.c,
29626 * native/fdlibm/s_atan.c,
29627 * native/fdlibm/s_cbrt.c,
29628 * native/fdlibm/s_ceil.c,
29629 * native/fdlibm/s_copysign.c,
29630 * native/fdlibm/s_cos.c,
29631 * native/fdlibm/s_expm1.c,
29632 * native/fdlibm/s_fabs.c,
29633 * native/fdlibm/s_finite.c,
29634 * native/fdlibm/s_floor.c,
29635 * native/fdlibm/s_log1p.c,
29636 * native/fdlibm/s_rint.c,
29637 * native/fdlibm/s_scalbn.c,
29638 * native/fdlibm/s_sin.c,
29639 * native/fdlibm/s_tan.c,
29640 * native/fdlibm/s_tanh.c:
29641 Fixed to call our macros rather than __HI and __LO.
29642 * native/fdlibm/fdlibm.h:
29643 Reintroduced previous extraction code.
29644 (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29645 (GET_HIGH_WORD(i,d)): Readded.
29646 (GET_LOW_WORD(i,d)): Readded.
29647 (INSERT_WORDS(d,ix0,ix1)): Readded.
29648 (SET_HIGH_WORD(d,i)): Readded.
29649 (SET_LOW_WORD(d,i)): Readded.
29650 * native/jni/gtk-peer/gthread-jni.c:
29651 Use Glib macros to convert integers/pointers portably.
29653 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29655 * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29656 as the fallback SPI.
29657 * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29658 ones referencing GNU-CRYPTO classes.
29659 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29660 (engineValidate): Use GNU-CRYPTO class.
29661 * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29662 * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29663 * gnu/java/security/provider/DSAKeyFactory: Likewise.
29664 * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29665 * gnu/java/security/provider/DSAParameters: Likewise.
29666 * gnu/java/security/provider/DSASignature: Likewise.
29667 * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29668 * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29669 * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29670 * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29671 * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29672 * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29673 * gnu/java/security/provider/MD2withRSA: Likewise.
29674 * gnu/java/security/provider/MD4withRSA: Likewise.
29675 * gnu/java/security/provider/MD5: Likewise.
29676 * gnu/java/security/provider/MD5withRSA: Likewise.
29677 * gnu/java/security/provider/RSA: Likewise.
29678 * gnu/java/security/provider/RSAKeyFactory: Likewise.
29679 * gnu/java/security/provider/SHA: Likewise.
29680 * gnu/java/security/provider/SHA1PRNG: Likewise.
29681 * gnu/java/security/provider/SHA1withRSA: Likewise.
29682 * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29684 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29686 * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29687 (engineGeneratePublic): Added logging.
29688 (engineGeneratePrivate): Likewise.
29689 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29690 (encodePublicKey): Added logging.
29691 Clarified in method documentation that params is optional, but is
29692 always NULL if present.
29693 (decodePublicKey): Added logging.
29694 Handle optional NULL element.
29696 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29698 * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29700 2006-03-03 Tom Tromey <tromey@redhat.com>
29702 * java/awt/MenuBar.java (shortcuts): Genericized.
29704 2006-03-03 Tom Tromey <tromey@redhat.com>
29706 * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29708 (getListenerType): Likewise.
29709 * java/beans/Introspector.java (getBeanInfo): Genericized.
29710 * java/beans/DefaultPersistenceDelegate.java (initialize):
29713 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29715 * java/math/BigDecimal.java:
29716 (precision): Fixed overflow problem with large numbers.
29717 (longValueExact): New method.
29718 (intValueExact): Likewise.
29719 (byteValueExact): Likewise.
29720 (shortValueExact): Likewise.
29722 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29724 * java/math/BigDecimal.java:
29725 (remainder(BigDecimal)): New method.
29726 (divideAndRemainder(BigDecimal)): Likewise.
29727 (divideToIntegralValue(BigDecimal)): Likewise.
29728 (floor): New implementation method.
29730 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29732 * java/math/BigDecimal.java:
29733 (divide(BigDecimal, int, RoundingMode)): New method.
29734 (divide(BigDecimal, RoundingMode)): Likewise.
29735 (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29736 when the new scale is < 0.
29737 (setScale(int, RoundingMode)): New method.
29740 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29742 * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29743 with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29744 (add(BigDecimal, MathContext)): New method.
29745 (subtract(BigDecimal, MathContext)): Likewise.
29746 (precision): Fixed to correctly handle BigIntegers with more than 19
29748 (pow(int, MathContext)): New method.
29750 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29752 * java/math/BigDecimal.java: Added @throws clause to constructors.
29753 (mathContext): Removed this unneeded field.
29754 (BigDecimal(int, MathContext)): New constructor.
29755 (BigDecimal(BigInteger, int, MathContext)): Likewise.
29756 (multiply(BigDecimal, MathContext)): New method.
29757 (negate(MathContext)): Likewise.
29758 (plus(MathContext)): Likewise.
29759 (numDigitsInLong): Fixed to properly handle negatives.
29761 2006-02-25 Chris Burdess <dog@gnu.org>
29763 * gnu/java/net/CRLFInputStream.java,
29764 gnu/java/net/LineInputStream.java: Streams that use mark
29765 capabilities on the underlying stream do not expose mark
29766 functionality themselves.
29767 * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29770 2006-02-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
29772 * gnu/regexp/REMatch.java(matchFlags): New int field used as
29773 option flags passed to match methods.
29774 (MF_FIND_ALL): New flag.
29775 * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29776 do not try other possibilties once a match is found.
29777 * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29778 so that all possibilities can be found.
29779 (match): Rewritten using new methods matchMinimum and _match.
29780 (_match): New method which performs a depth-first recursive search.
29781 (matchMinimum): New method.
29782 (initVisited), (visitedContains), (addVisited): New methods for
29783 manipulating an array of icharacter positions which _match has
29786 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29788 * java/math/BigDecimal.java:
29789 (BigDecimal(long, MathContext)): New constructor.
29790 (BigDecimal(BigInteger, MathContext)): Likewise.
29791 (BigDecimal(String, MathContext)): Likewise.
29792 (BigDecimal(double, MathContext)): Likewise.
29793 (round): Fixed a typo where the precision field was used instead of a
29794 call to the precision method, and also store the new precision in the
29795 returned BigDecimal.
29796 (abs(MathContext)): New method.
29798 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29800 * java/math/BigDecimal.java
29801 (toBigInteger): Fixed problem where this method couldn't handle
29802 negative values for scale.
29803 (toBigIntegerExact): New method.
29804 (stripTrailingZeros): Likewise.
29806 2006-02-24 David Daney <ddaney@avtrex.com>
29809 * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
29811 (Pool): New inner class.
29812 (timeLastUsed): New field.
29813 (setPool): Changed parameter type to Pool.
29814 (release): Moved pool management logic to new class Pool.
29815 * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
29817 (maxConnections) : Removed.
29818 (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
29819 (getConnection): Moved pool management logic to HTTPConnection.Pool.
29821 2006-02-24 Lillian Angel <langel@redhat.com>
29823 * java/awt/Container.java:
29824 Added new field. True if Container has been cleared and
29825 heavyweights need to be repainted.
29826 (paint): Fixed comment. Fixed to use backCleared and
29828 (update): Set backCleared to true after the background
29829 of the container has been cleared.
29831 2006-02-24 Lillian Angel <langel@redhat.com>
29833 * java/awt/TextField.java
29834 (addNotify): Added call to super.
29836 2006-02-24 Lillian Angel <langel@redhat.com>
29838 * java/awt/Component.java
29839 (reshape): Reverted last patch. Should have check here.
29840 (addNotify): Added check. If parent is lightweight, then
29841 initialize listener on the parent.
29842 (HeavyweightInLightweightListener): New class.
29844 2006-02-24 Roman Kennke <kennke@aicas.com>
29846 * javax/swing/plaf/basic/BasicComboPopup.java
29847 (show): Register the popup with the autocloser after it has been
29848 opened completely, by putting the registration on the eventqueue.
29850 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29852 * gnu/java/security/prng/BasePRNG.java:
29853 (clone()): Added cast of buffer to byte[].
29854 * gnu/javax/crypto/mac/TMMH16.java:
29855 (clone()): Fixed casting of cloned arrays.
29856 * native/fdlibm/fdlibm.h:
29857 Added missing defines from old fdlibm.h needed by Darwin.
29858 (GET_FLOAT_WORD(i,d)): Re-added.
29859 (SET_FLOAT_WORD(d,i)): Re-added.
29861 2006-02-24 Roman Kennke <kennke@aicas.com>
29863 * java/awt/Container.java:
29864 (dispatcher): Removed field.
29865 (dispatchEventImpl): Removed lightweight dispatching.
29866 (addNotifyContainerChildren): Removed LightweightDispatcher
29868 (LightweightDispatcher): Removed class.
29869 * java/awt/LightweightDispatcher.java: New class.
29870 * java/awt/Toolkit.java
29871 (Toolkit): Install LightweightDispatcher in global listener
29874 2006-02-24 Chris Burdess <dog@gnu.org>
29877 * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
29880 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29882 * NEWS: Mentions the VMMath runtime changes.
29883 * doc/vmintegration.texinfo: Updated to include
29886 2006-02-24 Roman Kennke <kennke@aicas.com>
29888 * javax/swing/plaf/basic/BasicLookAndFeel.java
29889 (PopupHelper.autoClosePopups): New field.
29890 (PopupHelper.mousePressed): Also autoclose any registered popups.
29891 (PopupHelper.registerForAutoClose): New method.
29892 (PopupHelper.autoClosePopups): New method.
29893 (popupHelper): Changed type of field to PopupHelper.
29894 (registerForAutoClose): New method.
29895 * javax/swing/plaf/basic/BasicComboPopup.java
29896 (show): Register this popup for autoclosing.
29898 2006-02-24 Raif S. Naffah <raif@swiftdsl.com.au>
29900 * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
29901 * gnu/java/security/prng/MDGenerator.java (clone): New method.
29902 * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
29904 2006-02-24 Roman Kennke <kennke@aicas.com>
29906 Reported by Ingo Proetel <proetel@aicas.com>
29907 * java/util/logging/LogManager.java
29908 (addLogger): Search the parent loggers for log level
29909 configuration and inherit that.
29910 (readConfiguration): Provide minimal default configuration
29911 if no configuration can be found otherwise.
29913 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29915 * java/math/BigDecimal.java:
29916 (toString): Fixed a problem where the negative sign was being displayed
29917 twice in the exponent.
29918 (toEngineeringString): New method.
29919 (toPlainString): Likewise.
29922 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29924 * java/math/BigDecimal.java:
29925 (toString): Rewrote this method to behave as specified. Added API
29926 comments to explain behaviour.
29927 (scaleByPowerOfTen): New method.
29929 2006-02-23 Roman Kennke <kennke@aicas.com>
29931 * javax/swing/JRootPane.java
29932 (isOptimizedDrawingEnabled): Implemented to return true
29933 when the glassPane is not visible.
29935 2006-02-23 Roman Kennke <kennke@aicas.com>
29937 * javax/swing/plaf/basic/BasicLookAndFeel.java
29938 (PopupHelper): New inner class.
29939 (popupHelper): New field.
29940 (initialize): New method.
29941 (uninitialize): New method.
29942 * javax/swing/plaf/basic/BasicPopupMenuUI.java
29943 (mouseInputListener): Removed field.
29944 (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
29945 handling of GlassPane.
29946 (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
29947 handling of GlassPane.
29948 (MouseInputHandler): Removed class.
29950 2006-02-23 Roman Kennke <kennke@aicas.com>
29952 * java/awt/AWTEvent.java
29953 (eventIdToMask): New utility method.
29954 * java/awt/EventQueue.java
29955 (dispatchEvent): Also globally dispatch events via the toolkit.
29956 (globalDispatchEvent): New method.
29957 * java/awt/Toolkit.java
29958 (awtEventListeners): New field.
29959 (Toolkit()): Initialize new field.
29960 (createComponent): Create GLightweightPeer here.
29961 (addAWTEventListener): Implemented and documented.
29962 (removeAWTEventListener): Implemented and documented.
29963 (getAWTEventListeners): Implemented and documented both method
29965 * java/awt/event/AWTEventListenerProxy.java
29966 (eventDispatched): Don't filter events here.
29968 2006-02-23 Chris Burdess <dog@gnu.org>
29971 * gnu/xml/dom/DomDocumentBuilderFactory.java,
29972 gnu/xml/dom/JAXPFactory.java,
29973 gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
29974 javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
29975 implement DocumentBuilderFactory.get/setFeature methods.
29977 2006-02-23 Lillian Angel <langel@redhat.com>
29979 * gnu/java/awt/peer/GLightweightPeer.java
29980 (repaint): Scott's proposed fix. Send repaint to the
29981 component's parent.
29982 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
29983 (setBounds): Removed next_parent, not needed. Removed
29984 lightweightChild, we always need to compensate for the
29986 * java/awt/Component.java
29987 (setBounds): Removed check. Caused lots of problems, because some
29988 components were not being invalidated. Components should be
29989 invalidated when they are resized or moved, and in some cases,
29990 when a parent is resized/moved, the components do not know
29991 about it and do not adjust.
29992 * java/awt/Graphics.java
29993 (hitClip): Scott's proposed fix. Added check to handle a
29996 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
29998 * javax/print/attribute/standard/MediaSize.java:
29999 (media): Field renamed to mediaName for serialization.
30000 (MediaSize): Adapted to new fieldname.
30001 (getMediaSizeName): Likewise.
30002 * javax/print/attribute/HashAttributeSet.java:
30003 (interfaceName): Field renamed to myInterface for serialization.
30004 (HashAttributeSet): Adapted to the new fieldname.
30006 (addAll): Likewise.
30007 (addInternal): Likewise.
30008 (attributeMap): Made transient.
30009 (readObject): New serialization method.
30010 (writeObject): Likewise.
30011 * javax/print/attribute/AttributeSetUtilities.java:
30012 (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
30013 (SynchronizedAttributeSet.add): Adapted to the new fieldname.
30014 (SynchronizedAttributeSet.addAll): Likewise.
30015 (SynchronizedAttributeSet.clear): Likewise.
30016 (SynchronizedAttributeSet.containsKey): Likewise.
30017 (SynchronizedAttributeSet.containsValue): Likewise.
30018 (SynchronizedAttributeSet.equals): Likewise.
30019 (SynchronizedAttributeSet.get): Likewise.
30020 (SynchronizedAttributeSet.hashCode): Likewise.
30021 (SynchronizedAttributeSet.isEmpty): Likewise.
30022 (SynchronizedAttributeSet.remove): Likewise.
30023 (SynchronizedAttributeSet.size): Likewise.
30024 (SynchronizedAttributeSet.toArray): Likewise.
30025 (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
30026 (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
30027 (UnmodifiableAttributeSet.addAll): Likewise.
30028 (UnmodifiableAttributeSet.clear): Likewise.
30029 (UnmodifiableAttributeSet.containsKey): Likewise.
30030 (UnmodifiableAttributeSet.containsValue): Likewise.
30031 (UnmodifiableAttributeSet.equals): Likewise.
30032 (UnmodifiableAttributeSet.get): Likewise.
30033 (UnmodifiableAttributeSet.hashCode): Likewise.
30034 (UnmodifiableAttributeSet.isEmpty): Likewise.
30035 (UnmodifiableAttributeSet.remove): Likewise.
30036 (UnmodifiableAttributeSet.size): Likewise.
30037 (UnmodifiableAttributeSet.toArray): Likewise.
30038 * javax/print/attribute/standard/MediaPrintableArea.java:
30039 (width): Field renamed to w for serialization.
30040 (height): Field renamed to h for serialization.
30041 (MediaPrintableArea): Adapted to the new fieldnames.
30042 (MediaPrintableArea): Likewise.
30043 (equals): Likewise.
30044 (hashCode): Likewise.
30045 (getHeight): Likewise.
30046 (getWidth): Likewise.
30048 2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
30050 * include/java_lang_VMMath.h:
30051 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
30052 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
30053 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
30054 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
30055 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
30056 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
30057 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
30058 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
30059 * java/lang/Math.java:
30060 (cbrt(double)): Implemented.
30061 (cosh(double)): Implemented.
30062 (expm1(double)): Implemented.
30063 (hypot(double,double)): Implemented.
30064 (log10(double)): Implemented.
30065 (log1p(double)): Implemented.
30066 (signum(double)): Implemented.
30067 (signum(float)): Implemented.
30068 (sinh(double)): Implemented.
30069 (tanh(double)): Implemented.
30070 * native/fdlibm/Makefile.am:
30071 Added new files from fdlibm 5.3.
30072 * native/fdlibm/e_acos.c,
30073 * native/fdlibm/e_asin.c,
30074 * native/fdlibm/e_atan2.c,
30075 * native/fdlibm/e_exp.c,
30076 * native/fdlibm/e_fmod.c,
30077 * native/fdlibm/e_log.c,
30078 * native/fdlibm/e_rem_pio2.c,
30079 * native/fdlibm/e_remainder.c,
30080 * native/fdlibm/e_scalb.c,
30081 * native/fdlibm/e_sqrt.c,
30082 * native/fdlibm/k_cos.c,
30083 * native/fdlibm/k_rem_pio2.c,
30084 * native/fdlibm/k_sin.c,
30085 * native/fdlibm/k_tan.c,
30086 * native/fdlibm/s_atan.c,
30087 * native/fdlibm/s_ceil.c,
30088 * native/fdlibm/s_copysign.c,
30089 * native/fdlibm/s_cos.c,
30090 * native/fdlibm/s_fabs.c,
30091 * native/fdlibm/s_finite.c,
30092 * native/fdlibm/s_floor.c,
30093 * native/fdlibm/s_rint.c,
30094 * native/fdlibm/s_scalbn.c,
30095 * native/fdlibm/s_sin.c,
30096 * native/fdlibm/s_tan.c,
30097 * native/fdlibm/w_acos.c,
30098 * native/fdlibm/w_asin.c,
30099 * native/fdlibm/w_atan2.c,
30100 * native/fdlibm/w_acos.c,
30101 * native/fdlibm/w_exp.c,
30102 * native/fdlibm/w_fmod.c,
30103 * native/fdlibm/w_log.c,
30104 * native/fdlibm/w_pow.c,
30105 * native/fdlibm/w_remainder.c,
30106 * native/fdlibm/w_sqrt.c:
30107 Updated to fdlibm 5.3.
30108 * native/fdlibm/e_cosh.c,
30109 * native/fdlibm/e_hypot.c,
30110 * native/fdlibm/e_log10.c,
30111 * native/fdlibm/e_sinh.c,
30112 * native/fdlibm/s_cbrt.c,
30113 * native/fdlibm/s_expm1.c,
30114 * native/fdlibm/s_log1p.c,
30115 * native/fdlibm/s_tanh.c,
30116 * native/fdlibm/w_cosh.c,
30117 * native/fdlibm/w_hypot.c,
30118 * native/fdlibm/w_log10.c,
30119 * native/fdlibm/w_sinh.c:
30120 Imported from fdlibm 5.3.
30121 * native/fdlibm/fdlibm.h:
30122 Imported from fdlibm 5.3 with Classpath additions.
30123 * native/fdlibm/namespace.h:
30124 Updated from new math_symbols file.
30125 * native/jni/java-lang/java_lang_VMMath.c:
30126 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
30127 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
30128 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
30129 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
30131 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
30132 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
30133 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
30134 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
30135 * scripts/math_symbols:
30136 Added tanh, expm1, log10 and log1p.
30137 * vm/reference/java/lang/VMMath.java:
30138 (cbrt(double)): Implemented.
30139 (cosh(double)): Implemented.
30140 (expm1(double)): Implemented.
30141 (hypot(double,double)): Implemented.
30142 (log10(double)): Implemented.
30143 (log1p(double)): Implemented.
30144 (sinh(double)): Implemented.
30145 (tanh(double)): Implemented.
30147 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
30149 * javax/print/DocFlavor.java: Added documentation all over.
30150 (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
30151 (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
30152 (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
30153 (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
30154 (URL.TEXT_HTML_HOST): Likewise.
30155 (URL.TEXT_PLAIN_HOST): Likewise.
30156 (hostEncoding): Initialize with host default charset encoding.
30157 (mediaSubtype): Made transient.
30158 (mediaType): Likewise.
30159 (params): Made transient. Changed type to TreeMap.
30160 (className): Removed, changed to myClassName.
30161 (myClassName): New field as defined in serialized form.
30162 (DocFlavor): Adapted to new variable types, names.
30163 (parseMimeType): Reimplemented.
30164 (getParameter): Search with lowercase name.
30165 (getRepresentationClassName): Adapted to changed variable name.
30166 (hashCode): Likewise.
30167 (toString): Reimplemented.
30168 (readObject): New method for serialization.
30169 (writeObject): Likewise.
30171 2006-02-23 Roman Kennke <kennke@aicas.com>
30173 * javax/swing/RepaintManager.java
30174 (commitBuffer): Clip the repaint area with the current clip.
30176 2006-02-23 Raif S. Naffah <raif@swiftdsl.com.au>
30178 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
30179 (DEFAULT_PRIME_SIZE): Made public.
30180 (DEFAULT_EXPONENT_SIZE): Likewise.
30181 (setup): Handle DHParameterSpec as well.
30182 * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
30183 defaultFormat instead of Raw.
30184 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
30185 (checkIsConstructed): Removed.
30186 (checkIsBigInteger): Likewise.
30187 (decodePublicKey): Use DerUtil.
30188 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
30189 (checkIsConstructed): Removed.
30190 (checkIsBigInteger): Likewise.
30191 (decodePrivateKey): Use DerUtil.
30192 * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
30194 Added mappings for AlgorithmParameters.DH and
30195 AlgorithmParameterGenerator.DH.
30196 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
30197 * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
30198 * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
30199 * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
30201 (engineGeneratePublic): Likewise.
30202 * gnu/java/security/util/DerUtil.java: New file.
30203 * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
30204 Include only valid RSA PKCS1 (v1.5) signature names.
30205 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
30206 (RSAPKCS1V1_5SignatureX509Codec): Removed.
30207 (checkIsConstructed): Likewise.
30208 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
30209 (checkIsConstructed): Removed.
30210 (checkIsBigInteger): Likewise.
30211 (decodeSignature): Use DerUtil.
30212 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
30213 (checkIsConstructed): Removed.
30214 (checkIsBigInteger): Likewise.
30215 (decodePublicKey): Use DerUtil.
30216 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
30217 (checkIsConstructed): Removed.
30218 (checkIsBigInteger): Likewise.
30219 (decodePrivateKey): Use DerUtil.
30220 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
30221 (checkIsConstructed): Removed.
30222 (checkIsBigInteger): Likewise.
30223 (decodePublicKey): Use DerUtil.
30224 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
30225 (checkIsConstructed): Removed.
30226 (checkIsBigInteger): Likewise.
30227 (decodePrivateKey): Use DerUtil.
30228 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
30229 (DEFAULT_MODULUS_LENGTH): Made it public.
30230 * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
30231 defaultFormat instead of Raw.
30232 * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
30233 * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
30234 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
30236 (engineGeneratePublic): Likewise.
30237 * gnu/javax/crypto/DiffieHellmanImpl: Removed.
30239 2006-02-22 Anthony Balkissoon <abalkiss@redhat.com>
30241 * java/math/BigDecimal.java:
30242 (BigDecimal(char[], int, int, MathContext)): New constructor.
30243 (BigDecimal(char[], MathContext)): Likewise.
30244 (BigDecimal(char[])): Likewise.
30245 (BigDecimal(char[], int, int)): Likewise.
30246 (BigDecimal(String)): Fixed handling of exponent and scale.
30248 2006-02-22 Mark Wielaard <mark@klomp.org>
30250 * java/awt/Checkbox.java (setState): Check that state actually changed
30251 before calling peer.
30252 (dispatchEventImpl): Set new state if ItemEvent.
30253 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
30254 (create): Set currentState.
30255 (setState): Make synchronized, check and set currentState before
30256 calling gtkToggleButtonSetActive.
30257 (postItemEvent): Make synchronized, check and set currentState before
30259 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
30260 (postItemEventID): Method now takes boolean.
30261 (item_toggled_cb): Likewise.
30263 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30265 * javax/swing/text/DefaultHighlighter.java:
30266 (changeHighlight): Added code to minimize the damaged area.
30268 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30270 * javax/swing/text/PlainView.java:
30271 (getPreferredSpan): Added missing 'break'.
30272 statement which corrects an unwanted fall through.
30273 (updateDamage): Update maxLineLength correctly when text is
30274 removed, call preferenceChanged accordingly.
30275 (viewToModel): Restrict line number to be within 0 and the
30276 number of elements-1.
30278 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30280 * javax/swing/text/Utilities.java:
30281 (getPositionAbove): Prefer first value by changing comparison
30283 (getPositionBelow): Dito.
30285 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30287 * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
30288 behavior when magic caret position is null.
30290 2006-02-22 Roman Kennke <kennke@aicas.com>
30292 * javax/swing/JTextField.java
30293 (isValidateRoot): New method.
30295 2006-02-22 Roman Kennke <kennke@aicas.com>
30297 * javax/swing/JEditorPane.java
30298 (getPreferredSize): Rewritten to behave like the reference impl.
30299 (getScrollableTracksViewportWidth): Likewise.
30300 (getScrollableTracksViewportHeight): Likewise.
30302 2006-02-22 Roman Kennke <kennke@aicas.com>
30304 * javax/swing/RepaintManager.java
30305 (addInvalidComponent): Also consider the component itself.
30307 2006-02-22 Mark Wielaard <mark@klomp.org>
30309 * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
30310 qualify AbstractDocument.AttributeContext.
30311 (blockOpen): Likewise.
30313 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30315 * java/math/BigDecimal.java:
30316 (mathContext): New field.
30317 (precision): Likewise.
30318 (BigDecimal(int)): New constructor.
30319 (BigDecimal(long)): Likewise.
30320 (BigDecimal(BigInteger)): Added API docs.
30321 (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
30322 and added API docs.
30323 (plus): New method.
30325 (precision): Likewise.
30326 (valueOf): Likewise.
30327 (numDigitsInLong): New implementation method.
30329 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30331 * java/math/MathContext.java: New class.
30332 * java/math/RoundingMode: New Enum.
30334 2006-02-21 Mark Wielaard <mark@klomp.org>
30336 * java/awt/Component.java (translateEvent): Translate
30337 AdjustmentEvents to 1.0 Events.
30338 * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
30339 Call setValue() before processing event.
30340 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
30341 whether we are currently changing and being called back from the
30342 Scrollbar component.
30343 (setBarValues): New native method.
30344 (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
30345 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
30346 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
30347 Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
30348 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
30350 2006-02-21 Roman Kennke <kennke@aicas.com>
30352 * javax/swing/text/View.java
30353 (setParent): Set child parent to null when disconnecting
30354 the view from the View hierarchy.
30356 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30358 * javax/print/StreamPrintService.java: Added and enhanced documentation.
30360 2006-02-21 Roman Kennke <kennke@aicas.com>
30362 * javax/swing/text/WrappedPlainView.java
30363 (calculateBreakPosition): Changed to use the view's allocation instead
30364 of the container's preferredSize.
30366 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30368 * java/awt/CardLayout.java:
30369 (first): Updated api documentation.
30372 (previous): Likewise.
30373 (show): Clarified api docs. Return if name is null. Throw
30374 IllegalArgumentException if layout of container is not this.
30375 (gotoComponent): Updated api documentation. Throw
30376 IllegalArgumentException if layout of container is not this.
30378 2006-02-21 Roman Kennke <kennke@aicas.com>
30380 * javax/swing/text/NavigationFilter.java
30381 (getNextVisualPositionFrom): New method.
30383 2006-02-21 Roman Kennke <kennke@aicas.com>
30385 * javax/swing/plaf/basic/BasicTextUI.java
30386 (RootView.setView): Call setParent() on the view with this as
30387 argument instead of null.
30388 (setView): Don't set root view's parent here.
30390 2006-02-21 Roman Kennke <kennke@aicas.com>
30392 * javax/swing/text/AbstractDocument.java
30393 (AbstractElement.getAttribute): Use getResolveParent() to fetch
30394 the resolving parent.
30395 (AbstractElement.getResolveParent): Fixed to handle possible null
30397 * javax/swing/text/BoxView.java
30398 (childReqs): New field.
30399 (paint): Added debugging code (commented out).
30400 (getPreferredSpan): Rewritten to use new update* methods.
30401 (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
30402 for the minor axis and preferredSpan for the major axis.
30403 (getMinimumSpan): Rewritten to use new update* methods.
30404 (baselineRequirements): Rewritten to avoid creation of
30405 unnecessary SizeRequirements objects.
30406 (baselineLayout): Rewritten to use new update* methods.
30407 (calculateMajorAxisRequirements): Rewritten to avoid creation of
30408 unnecessary SizeRequirements objects.
30409 (calculateMinorAxisRequirements): Rewritten to avoid creation of
30410 unnecessary SizeRequirements objects.
30411 (layout): Some robustness fixes for the layout. Turned AssertionErrors
30413 (layoutMajorAxis): Rewritten to use new update* methods.
30414 (layoutMinorAxis): Rewritten to use new update* methods.
30415 (getChildRequirements): Replaced by the update* methods.
30416 (getAlignment): Use update* methods.
30417 (updateChildRequirements): New methods. Updates the child requirements
30419 (updateRequirements): New methods. Updates the BoxView requirements
30421 * javax/swing/text/DefaultStyledDocument.java
30422 (ElementBuffer.insert): Added warning for illegal replacement operation.
30423 * javax/swing/text/FlowView.java
30424 (layoutRow): When offset doesn't change, return -1.
30425 (LogicalView): Now subclasses BoxView.
30426 (loadChildren): Let the CompositeView.setParent() load the children
30427 of the logicalView.
30428 (calculateMinorRequirements): New overridden method.
30429 * javax/swing/text/GlyphView.java
30430 (DefaultGlyphPainter.paint): Fixed typo.
30431 (startOffset): Made field private.
30432 (endOffset): Made field private.
30433 (paint): Call getStartOffset() and getEndOffset() instead of the
30435 (isStrikeThrough): Fixed typo.
30436 (breakView): Use Utilities.getBreakLocation() to determine best
30438 (changedUpdate): Call preferencedChange on this instead of parent.
30439 (removeUpdate): Call preferencedChange on this instead of parent.
30440 * javax/swing/text/ParagraphView.java
30441 (Row.getAlignment): For Y_AXIS, call super.
30442 (getAlignment): Likewise.
30443 * javax/swing/text/Utilities.java
30444 (getBreakLocation): Set Segment object directly on the BreakIterator.
30445 * javax/swing/text/html/HTML.java
30446 (Attribute): Made class non-serializable and final as specified.
30447 (Attribute(String)): Made constructor private.
30448 (Attribute.compareTo): Removed.
30449 (Attribute.equals): Removed.
30450 (Attribute.hashCode): Removed.
30451 (Tag): Made class non-comparable and non-serializable as specified.
30452 (Tag.compareTo): Removed.
30453 (Tag.equals): Removed.
30454 (Tag.hashCode): Removed.
30455 * javax/swing/text/html/HTMLDocument.java
30456 (HTMLReader.blockOpen): Add tag as name attribute to element.
30457 * javax/swing/text/html/HTMLEditorKit.java
30458 (HTMLFactory.create): Create NullView for <head> tags, removed unused
30460 * javax/swing/text/html/InlineView.java
30461 (setPropertiesFromAttributes): Call super.
30462 * javax/swing/text/html/NullView.java: New class.
30464 2006-02-21 Roman Kennke <kennke@aicas.com>
30467 * javax/swing/text/GapContent.java
30468 (GapContentPosition): Made class private.
30469 (InsertUndo): Made class private.
30470 (UndoRemove): Made class private.
30471 (WeakPositionComparator): New inner class.
30472 (positions): Made field private.
30473 (createPosition): Clear up GC'ed positions before creating
30474 a new one. Store position as WeakReference.
30475 (getPositionsInRange): Changed to handle WeakReference
30477 (setPositionsInRange): Changed to handle WeakReference
30479 (adjustPositionsInRange): Changed to handle WeakReference
30481 (dumpPositions): Handle WeakReference positions.
30482 (clearPositionReferences): New method.
30484 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
30486 * javax/swing/plaf/basic/BasicTextUI.java:
30487 (paint): Remove unneccessary part of the if-expression.
30488 (damageRange): Added case where the range spans multiple lines.
30489 * javax/swing/text/DefaultCaret.java:
30490 (clearHighlight): New method.
30491 (handleHighlight): Removed unneccessary part of the if-expression.
30492 (setDot): Use clearHighlight method.
30493 * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30495 (paint): Prevented calling size() on every loop iteration, fixed
30496 calculation of allocation area bounds.
30497 (getHighlights): Implemented.
30498 (removeHighlight): Mark damaged area in textcomponent.
30499 (addHighlight): Mark damaged area in textcomponent.
30500 (changeHighlight): Mark damaged area in textcomponent.
30501 (DefaultHighlighter.HighlightEntry): Made it a real
30502 Highlighter.Highlight implementation.
30503 (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30506 2006-02-20 Stuart Ballard <stuart.a.ballard@gmail.com>
30508 * java/util/zip/ZipConstants.java
30509 (LOCSIG): Change type to long.
30510 (EXTSIG): Likewise.
30511 (CENSIG): Likewise.
30512 (ENDSIG): Likewise.
30513 * java/util/zip/ZipOutputStream.java
30514 (writeLeInt(long)): New method.
30516 2006-02-21 Michael Koch <konqueror@gmx.de>
30518 * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30520 2006-02-20 Mark Wielaard <mark@klomp.org>
30522 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30523 (begin_drawing_operation): Output stacktrace and return on bad cairo
30525 (end_drawing_operation): Likewise. And reset cairo_t.
30527 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30529 * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30530 in backward selection action.
30532 2006-02-20 Olivier Jolly <olivier.jolly@pcedev.com>
30534 * java/lang/reflect/Proxy.java:
30535 (ProxyData.getProxyData): Skipped overriding of core methods.
30536 (ProxyData.isCoreObjectMethod): New method.
30538 2006-02-20 Mark Wielaard <mark@klomp.org>
30540 * gnu/java/nio/charset/Provider.java (Provider): Package private.
30542 2006-02-20 Roman Kennke <kennke@aicas.com>
30544 * javax/swing/text/html/Option.java: New class.
30546 2006-02-20 Lillian Angel <langel@redhat.com>
30548 * java/swt/Window.java
30549 (show): Calling show() on the owned windows caused problems.
30550 Changed back to get the peer and call setVisible.
30552 2006-02-20 Roman Kennke <kennke@aicas.com>
30554 * javax/swing/plaf/basic/BasicTextUI.java
30555 (damageRange): Implemented this method.
30557 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30559 * javax/swing/text/GapContent.java:
30560 (shiftGapEndUp): Corrected new mark value.
30561 * javax/swing/text/AbstractDocument.java:
30562 (remove): Changed order of operations.
30564 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30566 * javax/swing/text/GapContent.java:
30567 (shiftGapEndUp): Reverted.
30568 * javax/swing/text/AbstractDocument.java:
30569 (remove): Reverted.
30571 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30573 * javax/swing/text/GapContent.java:
30574 (shiftGapEndUp): Corrected new mark value.
30575 * javax/swing/text/AbstractDocument.java:
30576 (remove): Changed order of operations.
30578 2006-02-20 Mark Wielaard <mark@klomp.org>
30580 * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30582 (insert): Likewise.
30583 (addNotify): Add the item after addNotifying it.
30584 * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30585 there is a peer. Use getParent() and setParent() to manipulate parent
30587 (add(Menu)): Use getParent() and setParent() to manipulate parent
30588 field. Call addNotify() and addMenu() when there is a peer.
30589 (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30590 (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30591 when there is a peer.
30592 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30593 (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30594 (setFont): Call setFont(Font).
30595 (setFont(Font)): Document. Only set font when not null.
30596 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30598 (connectSignals): Likewise.
30599 (GtkMenuItemPeer): Document. Don't try to add item. Always call
30601 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30603 (postMenuActionEvent): Document.
30604 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30606 (addItem): Document. Made private.
30607 (addTearOff): Made private.
30608 (connectSignals): New protected overridden method.
30609 (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30610 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30611 (create): Document.
30612 (addMenu): Made private, take GtkMenuPeer as argument and document.
30613 (GtkMenuBarPeer): Document.
30614 (nativeSetHelpMenu): Removed.
30615 (addHelpMenu): Implement.
30616 (delMenu): Document.
30617 (addMenu): Implement.
30618 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30619 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30620 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30621 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30624 2006-02-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30626 * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30627 Expect that proxy interfaces may have different class loaders.
30628 * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30629 * java/rmi/registry/Registry.java,
30630 * java/rmi/server/UnicastRemoteObject.java:
30631 Documented about proxy stubs.
30632 * gnu/java/rmi/server/CombinedClassLoader.java,
30633 java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30634 * NEWS: Added entry.
30636 2006-02-19 Mark Wielaard <mark@klomp.org>
30638 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30639 Parent and Bounds of our children if either or parent is showing, or
30640 we are a Window and are showing ourselves now.
30642 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30644 * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName):
30646 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav:
30647 Another stub name fix.
30649 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30651 * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30652 Call convertStubName. (convertStubName): New method.
30653 * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30654 * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java
30655 (convertStubName): New method.
30656 (getMethodHashCode):
30657 Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30658 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30660 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30662 * java/rmi/server/UnicastRemoteObject.java: Documenting.
30664 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30666 * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30668 2006-02-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30670 * javax/swing/JViewport.java (paintBackingStore): If the component has
30671 not been scrolled, only repaint the buffer part, indicated by
30672 the parameter graphics clip.
30674 2006-02-19 Raif S. Naffah <raif@swiftdsl.com.au>
30676 * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30678 (writePrivateKey): Likewise.
30679 (writeKey): New method.
30680 (getKeyType): Likewise.
30681 * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30683 (readPrivateKey): Likewise.
30684 (getKeyPairCodec): New method.
30685 * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30686 * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30687 * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30688 (RSA_PSS_ENCODING): Likewise..
30689 (RSA_PKCS1_V1_5_ENCODING): Likewise.
30690 (RSA_PSS_SIG): Redefined using other constants.
30691 (RSA_PKCS1_V1_5_SIG): Likewise.
30692 (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30693 * gnu/java/security/util/FormatUtil.java: New file.
30694 * gnu/java/security/sig/SignatureFactory.java (names): New field.
30695 (getInstance): Let RSASignatureFactory handle RSA signature names.
30696 (getNames): Handle new RSA signature (with format) names.
30697 * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30698 * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30700 (name): Include hash algorithm name.
30701 * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30702 * gnu/java/security/sig/rsa/RSAPSSSignature.java
30703 (RSAPSSSignature): Call constructor with IMessageDigest.
30704 (RSAPSSSignature(ImessageDigest,int)): New constructor.
30705 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30707 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30709 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30710 (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30711 (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30712 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30713 hash algorithm name to exception.
30714 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30715 * gnu/java/security/key/KeyPairCodecFactory.java
30716 (names): New class field.
30717 (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30718 (getInstance(String,String)): New method.
30719 (getInstance(String,int)): New method.
30720 (getInstance(byte[])): Removed.
30721 (getInstance(Key)): Handle new formats.
30722 (getNames): Likewise.
30723 (getEncodingName(int)): Moved to FormatUtil.
30724 (getEncodingShortName(int)): Likewise.
30725 (getRawCodec(String)): New method.
30726 (getX509Codec(String)): Likewise.
30727 (getPKCS8Codec(String)): Likewise.
30728 (getRawCodec(Key)): Likewise.
30729 (getX509Codec(Key)): Likewise.
30730 (getPKCS8Codec(Key)): Likewise.
30731 * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30732 * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30733 * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30734 * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30735 * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30736 * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30737 * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30738 * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30739 * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30741 2006-02-18 Mark Wielaard <mark@klomp.org>
30743 * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30745 (NoDragGestureRecognizer): New static class.
30746 (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30747 Toolkit doesn't support drag and drop.
30749 2006-02-18 Mark Wielaard <mark@klomp.org>
30751 * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30752 (AbstractAction(String)): Just call putValue() for NAME.
30753 (putValue): Nothing to do is old and new value are both null.
30755 2006-02-18 Mark Wielaard <mark@klomp.org>
30757 * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30758 through getContentPane().
30759 (preferredLayoutSize): Likewise.
30761 2006-02-18 Mark Wielaard <mark@klomp.org>
30763 * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30764 actually set before painting.
30766 2006-02-18 Mark Wielaard <mark@klomp.org>
30768 * javax/swing/text/html/HTMLDocument.java (addContent):
30769 Fully qualify AbstractDocument.AttributeContext and
30770 DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30772 2006-02-18 Mark Wielaard <mark@klomp.org>
30774 * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30775 (getRepresentationClassFromMime): Add exception cause to
30776 IllegalArgumentException.
30778 2006-02-17 Lillian Angel <langel@redhat.com>
30780 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30781 Removed unneeded import.
30782 * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30783 Removed unneeded imports.
30784 * java/awt/BorderLayout.java:
30785 Fixed comment, this is not yet handled in the JDK 1.5.
30786 * java/awt/Container.java:
30787 Removed unneeded import.
30789 2006-02-17 Lillian Angel <langel@redhat.com>
30791 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30792 (setBounds): Removed check. Coordinates should always be changed
30793 to incorporate the parent's coordinates.
30794 * gnu/java/awt/peer/gtk/GtkFramePeer.java
30795 (setMenuBar): Added checks. Don't validate component if it has
30796 not been validated yet, it will be validated later. Only validate
30797 if it has already been validated, in that case it needs to be
30799 * java/awt/Window.java
30800 (show): Added check. If the window is visible, then bring it to the
30801 front. Otherwise, iterate through all its children windows and show them.
30802 No need to do both.
30804 2006-02-17 Roman Kennke <kennke@aicas.com>
30806 * javax/swing/text/html/ParagraphView.java: New file.
30808 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30810 * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
30811 is included. (moveToCellBeingEdited): Adjusted to start editing at the
30812 same location where was the initial text.
30813 * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
30815 2006-02-17 Chris Burdess <dog@gnu.org>
30817 Fixes PRs 26319, 26320, 26321, 26322, 26325
30818 * gnu/xml/stream/SAXParser.java: On error, reset parser before
30819 rethrowing exception.
30820 * gnu/xml/stream/XMLParser.java: Only report "illegal use of
30821 1.1-style prefix unbinding in 1.0 document" error for xmlns
30822 prefixes, not xmlns attributes. Fix a problem with empty namespace
30823 stack at the end of a document. Permit parameter entity references
30824 in element and attribute-list definition name area. Corrected
30825 normalisation of whitespace character entity references in CDATA
30826 attribute values. Fixed number of characters read following a
30827 reset when detecting end of character data with characters after a
30828 Unicode surrogate pair.
30830 2006-02-17 Roman Kennke <kennke@aicas.com>
30832 * javax/swing/text/html/HTMLEditorKit.java
30833 (HTMLFactory.create): Create InlineView for content tags.
30834 * javax/swing/text/html/HTMLDocument.java
30835 (HTMLReader.flush): Call create() on first flush and insert
30836 on subsequent flushes.
30838 2006-02-17 Roman Kennke <kennke@aicas.com>
30840 * javax/swing/text/AbstractDocument.java
30841 (BranchElement.getStartOffset): Implemented workaround for wrong
30843 (BranchElement.getEndOffset): Implemented workaround for wrong
30845 (ElementBuffer.split): Use createBranchElement() instead of
30846 new BranchElement().
30847 (ElementBuffer.insertFracture): Use createBranchElement() instead of
30848 new BranchElement().
30849 (ElementBuffer.recreateAfterFracture): Use createBranchElement()
30850 instead of new BranchElement().
30851 (createDefaultRoot): Use createBranchElement() and createLeafElement
30852 instead of the constructors.
30853 (create): Rewritten.
30855 2006-02-17 Keith Seitz <keiths@redhat.com>
30857 * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
30858 (SIZE): New constant.
30859 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30860 (executeIDsizes): Use SIZE constant.
30861 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
30862 (SIZE): New constant.
30864 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30866 * javax/swing/JTable.java (IconCellRenderer): Set the component
30867 text to empty string. (createDefaultRenderers): Register
30868 IconCellRenderer also for ImageIcon.
30869 (getCellEditor(int, int), getCellRenderer(int, int)):
30870 Use model index for data model and column index for column model.
30871 (getColumnClass): Convert to model index before requesting class
30874 2006-02-17 Roman Kennke <kennke@aicas.com>
30876 * javax/swing/text/html/HTMLDocument.java
30877 (createDefaultRoot): Implemented.
30878 (createLeafElement): Implemented.
30879 (createBranchElement): Implemented.
30880 (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
30881 (RunElement.getName): Fixed to handle HTML.Tag objects as name.
30882 (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
30883 (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
30884 (HTMLReader.blockOpen): Add name attribute with the current tag.
30885 (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
30887 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30889 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30891 * javax/swing/table/JTableHeader.java: Documenting related methods.
30893 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30896 * gnu/java/net/protocol/ftp/FTPURLConnection.java
30897 (connect): Changed to use SystemProperties.
30898 (getInputStream): Try changeWorkingDirectory to figure out if
30899 url is a directory, if not use retrieve.
30900 (getOutputStream): Don't worry about directories, simply always
30903 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30905 * gnu/java/net/protocol/ftp/ActiveModeDTP.java
30906 (ActiveModeDTP): Mark accept thread as daemon.
30908 2006-02-17 Michael Koch <konqueror@gmx.de>
30910 * tools/.cvsignore: Ignore tools.zip.
30912 2006-02-16 Keith Seitz <keiths@redhat.com>
30914 * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
30915 Set the ID's reference.
30916 (<clinit>): Remove comments for field, method, and frame ID types,
30917 which will not be handled by VMIdManager.
30919 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30921 * javax/swing/JTable.java (getCellEditor, getCellRenderer):
30922 Use model index, not the column number.
30923 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30924 Rewritten. (draggingHeaderRect): New field. (paint): Animate column
30925 movement by painting draggingHeaderRect.
30926 * NEWS: Added entry about JTable columns.
30928 2006-02-16 Keith Seitz <keiths@redhat.com>
30930 * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
30931 default size of eight bytes.
30932 * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
30933 * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
30934 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30935 (executeIDsizes): Use new static methods.
30936 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
30939 2006-02-16 David Daney <ddaney@avtrex.com>
30942 * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
30943 return value with 0xff.
30945 2006-02-16 Keith Seitz <keiths@redhat.com>
30947 * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
30948 (matches): Use Iterator instead of ListIterator.
30950 2006-02-16 Keith Seitz <keiths@redhat.com>
30952 * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
30953 processor thread for easier debugging.
30954 (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
30957 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30959 * javax/swing/JTable.java
30960 (TableColumnPropertyChangeHandler.propertyChange): Return without
30961 action if table header resizing column in not null. (doLayout):
30962 Only repaint the header if it is not null.
30963 * javax/swing/plaf/basic/BasicTableHeaderUI.java
30964 (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
30965 Rewritten. (MouseInputHandler.endResizing): New method.
30967 2006-02-16 Roman Kennke <kennke@aicas.com>
30969 * javax/swing/text/html/InlineView.java: New file.
30971 2006-02-16 Roman Kennke <kennke@aicas.com>
30973 * javax/swing/JTabbedPane.java
30974 (AccessibleJTable.getAccessibleChild): Implemented to return
30975 the Page instance for the specified index.
30976 (Page): Changed to implement Accessible and extend
30978 (Page.getAccessibleContext): New method.
30979 (Page.getAccessibleRole): New method.
30980 (Page.getAccessibleStateSet): New method.
30981 (Page.getAccessibleIndexInParent): New method.
30982 (Page.getAccessibleChildrenCount): New method.
30983 (Page.getAccessibleChild): New methdod.
30984 (Page.getLocale): New method.
30986 2006-02-16 Roman Kennke <kennke@aicas.com>
30988 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
30989 (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
30990 tabCount gets greater than tabRuns.length.
30991 (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
30992 when tabCount gets greater than tabRuns.length.
30993 (paintTabArea): Don't set tabCount == runCount.
30995 2006-02-16 Roman Kennke <kennke@aicas.com>
30997 * javax/swing/plaf/basic/BasicTextUI.java
30998 (installUI): Moved installation of PropertyChangeListener
30999 to installListeners(). Call modelChanged() after everything is
31001 (installListeners): Install PropertyChangeListener here.
31002 (uninstallUI): Moved uninstallation of PropertyChangeListener
31003 to uninstallListeners.
31004 (uninstallListeners): Uninstall PropertyChangeListener here.
31006 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31008 * javax/swing/JTable.java (doLayout):
31009 case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
31011 javax/swing/plaf/basic/BasicTableHeaderUI.java
31012 (MouseInputHandler.mouseDragged): Do not repaint the header.
31014 2006-02-16 Roman Kennke <kennke@aicas.com>
31016 * javax/swing/JViewport.java
31017 (static_initializer): Set default scrollMode to backingstore.
31019 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31021 * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
31022 returned by getCellRect. To not translate the component.
31024 2006-02-16 Roman Kennke <kennke@aicas.com>
31026 * javax/swing/JComponent.java
31027 (rectCache): Made field non-static to avoid nasty interferences.
31028 (computeVisibleRect): Avoid creation of new Rectangles and double
31029 calculations on ints by using Swing.computeIntersection() instead
31030 of Rectangle2D.intersect().
31031 (repaint): Interect the dirty region with the visible rectangle
31032 of this component to avoid unnecessary painting.
31034 2006-02-16 Gary Benson <gbenson@redhat.com>
31036 * java/lang/Thread.java (stop): Add a missing access check.
31038 2006-02-16 Robert Schuster <robertschuster@fsfe.org>
31040 * javax/swing/text/JTextComponent.java:
31041 (replaceSelection): Added code to update the magic caret position.
31042 * javax/swing/text/DefaultEditorKit.java: Added code to update
31043 the magic caret position of the text component in all relevant
31044 movement actions, make use of the magic caret position in up
31045 and down movements and selections, simplified some actions
31048 2006-02-15 Anthony Balkissoon <abalkiss@redhat.com>
31050 * gnu/java/lang/CharData.java: Regenerated from
31051 doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
31052 and scripts/unicode-muncher.pl.
31053 * java/lang/Character.java:
31054 (PrivateUseCharacters): New private static class.
31055 (UnassignedCharacters): Likewise.
31056 (blocks): Changed from char[] to char[][] to reflect the changes in
31057 gnu/java/lang/CharData. There is now one char[] per Unicode code
31060 (numValue): Likewise.
31063 (direction): Likewise.
31064 (readChar): Replaced this method with new method readCodePoint.
31065 (readCodePoint): New method.
31066 (isLowerCase(char)): Redirected to new isLowerCase(int).
31067 (isLowerCase(int)): New method.
31068 (isUpperCase(char)): Redirected to new isUpperCase(int).
31069 (isUpperCase(int)): New method.
31070 (isTitleCase(char)): Redirected to new isTitleCase(int).
31071 (isTitleCase(int)): New method.
31072 (isDigit(char)): Redirected to new isDigit(int).
31073 (isDigit(int)): New method.
31074 (isDefined(char)): Redirected to new isDefined(int).
31075 (isDefined(int)): New method.
31076 (isLetter(char)): Redirected to new isLetter(int).
31077 (isLetter(int)): New method.
31078 (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
31079 (isLetterOrDigit(int)): New method.
31080 (isJavaIdentifierStart(char)): Redirected to new
31081 isJavaIdentifierStart(int).
31082 (isJavaIdentifierStart(int)): New method.
31083 (isJavaIdentifierPart(char)): Redirected to new
31084 isJavaIdentifierPart(int).
31085 (isJavaIdentifierPart(int)): New method.
31086 (isUnicodeIdentifierStart(char)): Redirected to new
31087 isUnicodeIdentifierStart(int).
31088 (isUnicodeIdentifierStart(int)): New method.
31089 (isUnicodeIdentifierPart(char)): Redirected to new
31090 isUnicodeIdentifierPart(int).
31091 (isUnicodeIdentifierPart(int)): New method.
31092 (isIdentifierIgnorable(char)): Redirected to new
31093 isIdentifierIgnorable(int).
31094 (isIdentifierIgnorable(int)): New method.
31095 (toLowerCase(char)): Changed access to lower to correspond with new
31096 char[][] type of lower.
31097 (toLowerCase(int)) New method.
31098 (toUpperCase(char)): Changed access to upper to correspond with new
31099 char[][] type of upper.
31100 (toUpperCase(int)): New method.
31101 (toTitleCase(int)): New method.
31102 (digit(char, int)): Replaced call to readChar with call to
31103 readCodePoint and changed access to numValue to reflect new char[][]
31105 (digit(int, int)): New method.
31106 (getNumericValue(char)): Changed access to numValue to reflect new
31107 char[][] type of numValue.
31108 (getNumericValue(int)): New method.
31109 (isSpaceChar(char)): Redirected to new isSpaceChar(int).
31110 (isSpaceChar(int)): New method.
31111 (isWhitespace(char)): Redirected to new isWhitespace(int).
31112 (isWhitespace(int)): New method.
31113 (isISOControl(char)): Redirected to new isISOControl(int).
31114 (isISOControl(int)): New method.
31115 (getType(char)): Redirected to new getType(int).
31116 (getType(int)): New method.
31117 (getDirectionality(char)): Redirected to new getDirectionality(int).
31118 (getDirectionality(int)): New method.
31119 (isMirrored(char)): Changed call to readChar to readCodePoint.
31120 (isMirrored(int)): New method.
31121 * java/lang/String.java:
31122 (upperCaseExpansion): Changed access to Character.direction to reflect
31123 new char[][] type of direction.
31124 (offsetByCodePoints): New method.
31125 * scripts/unicode-muncher.pl: Adapted this script to handle Unicode
31126 4.0.0 which introduced supplementary character assignments.
31128 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31130 * javax/swing/JTable.java,
31131 javax/swing/plaf/basic/BasicTableHeaderUI.java,
31132 javax/swing/table/DefaultTableModel.java: Documented.
31134 2006-02-15 Lillian Angel <langel@redhat.com>
31136 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
31137 Removed duplicate methods.
31139 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31141 * javax/swing/JTable.java (distributeSpillResizing): New method.
31142 (doLayout): Use distributeSpillResizing when resizing.
31143 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31144 Rewritten. (installListeners): Add mouse motion listener.
31145 (uninstallListeners): Remove mouse motion listener.
31147 2006-02-15 Lillian Angel <langel@redhat.com>
31149 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31150 (setVisible): Removed method.
31151 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31152 (setLocation): New method.
31153 (setLocationUnlocked): New method.
31154 (show): Changed to use setLocation instead of setBounds.
31155 * java/awt/Component.java
31156 (show): Should call peer.show(), not peer.setVisible(), so the
31157 location of the component is correctly set.
31158 (preferredSize): Added curly braces so else statements are
31159 properly associated with if's.
31160 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31161 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation):
31163 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
31164 LocationUnlocked): New function.
31165 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
31166 Added declarations for Java_gnu_java_awt_peer_gtk_
31167 GtkWindowPeer_nativeSetLocation and
31168 Java_gnu_java_awt_peer_gtk_GtkWindowPeer
31169 _nativeSetLocationUnlocked.
31171 2006-02-15 Mark Wielaard <mark@klomp.org>
31173 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31174 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31175 Downcast gtk_plug_new result when used.
31177 2006-02-15 Olivier Jolly <olivier.jolly@pcedev.com>
31179 * java/io/ObjectOutputStream.java (writeClassDescriptor):
31180 Call assignNewHandle() after writing Proxy class.
31182 2006-02-15 Olivier jolly <olivier.jolly@pcedev.com>
31185 * java/io/ObjectInputStream.java (readClassDescriptor):
31186 Class doesn't have to be abstract for first_nonserial.
31188 2006-02-15 Roman Kennke <kennke@aicas.com>
31190 * javax/swing/JInternalFrame.java
31191 (setClosed): Call dispose to actually make the frame invisible
31194 2006-02-15 Roman Kennke <kennke@aicas.com>
31196 * javax/swing/JInternalFrame.java
31197 (dispose): Call setVisible(false) instead of hide.
31198 (doDefaultCloseOperation): Likewise.
31200 2006-02-15 Roman Kennke <kennke@aicas.com>
31202 * javax/swing/JComponent.java
31203 (paintChildren): Also check for the visibility of a child component
31204 to avoid artifacts.
31205 (repaint): Simply add this component to the RepaintManager rather than
31206 trying to do useless optimization here.
31208 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
31210 * javax/swing/JSpinner.java
31211 (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a
31212 PropertyChangeListener,
31213 (DefaultEditor.getSpinner): Updated API docs,
31214 (DefaultEditor.dismiss): Likewise,
31215 (DefaultEditor.getTextField): Likewise,
31216 (DefaultEditor.layoutContainer): Likewise,
31217 (DefaultEditor.minimumLayoutSize): Likewise,
31218 (DefaultEditor.preferredLayoutSize): Likewise,
31219 (DefaultEditor.propertyChange): Implemented,
31220 (DefaultEditor.stateChanged): Implemented,
31221 (DefaultEditor.removeLayoutComponent): Updated API docs,
31222 (DefaultEditor.addLayoutComponent): Likewise,
31223 (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
31224 (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
31225 (NumberEditor.getFormat): Implemented,
31226 (NumberEditor.getModel): Updated API docs,
31227 (NumberEditorFormatter): New static inner class,
31228 (ListEditor.getModel): Updated API docs,
31229 (DateEditor.dateFormat): Removed,
31230 (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
31231 (DateEditor.DateEditor(JSpinner, String)): Likewise,
31232 (DateEditor.init): Removed,
31233 (DateEditor.getFormat): Reimplemented,
31234 (DateEditorFormatter): New static inner class,
31235 (ModelListener): New inner class,
31236 (model): Updated API docs,
31237 (editor): Likewise,
31238 (listener): Removed,
31239 (JSpinner()): Updated API docs,
31240 (JSpinner(SpinnerModel)): Set up ModelListener,
31241 (setEditor): Fire property change,
31242 (getModel): Updated API docs,
31243 (setModel): Removed check for null editor,
31244 (setValue): Updated API docs,
31245 (getUIClassID): Updated API docs,
31246 (createEditor): Handle SpinnerListModel case,
31247 * javax/swing/plaf/basic/BasicSpinnerUI.java
31248 (createUI): Updated API docs,
31249 (createPropertyChangeListener): Added FIXME,
31250 (installDefaults): Set text field border to null,
31251 (DefaultLayoutManager): Updated API docs,
31252 (DefaultLayoutManager.layoutContainer): Modified layout,
31253 (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
31254 (DefaultLayoutManager.preferredLayoutSize): Likewise,
31255 (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
31256 (DefaultLayoutManager.addLayoutComponent): Likewise,
31257 (DefaultLayoutManager.minSize): Renamed prefSize,
31258 (DefaultLayoutManager.setBounds): Reformatted,
31259 (DefaultLayoutManager.editor): Added API docs,
31260 (DefaultLayoutManager.next): Likewise,
31261 (DefaultLayoutManager.previous): Likewise,
31262 * javax/swing/plaf/metal/MetalLookAndFeel.java
31263 (initComponentDefaults): Added entry for 'Spinner.border',
31264 * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
31266 2006-02-15 Chris Burdess <dog@gnu.org>
31268 * gnu/xml/validation/datatype/BooleanType.java,
31269 gnu/xml/validation/datatype/ByteType.java,
31270 gnu/xml/validation/datatype/DateTimeType.java,
31271 gnu/xml/validation/datatype/DateType.java,
31272 gnu/xml/validation/datatype/DecimalType.java,
31273 gnu/xml/validation/datatype/DoubleType.java,
31274 gnu/xml/validation/datatype/DurationType.java,
31275 gnu/xml/validation/datatype/FloatType.java,
31276 gnu/xml/validation/datatype/GDayType.java,
31277 gnu/xml/validation/datatype/GMonthDayType.java,
31278 gnu/xml/validation/datatype/GMonthType.java,
31279 gnu/xml/validation/datatype/GYearMonthType.java,
31280 gnu/xml/validation/datatype/GYearType.java,
31281 gnu/xml/validation/datatype/IntType.java,
31282 gnu/xml/validation/datatype/IntegerType.java,
31283 gnu/xml/validation/datatype/LongType.java,
31284 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31285 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31286 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31287 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31288 gnu/xml/validation/datatype/NegativeIntegerType.java,
31289 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31290 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31291 gnu/xml/validation/datatype/PositiveIntegerType.java,
31292 gnu/xml/validation/datatype/ShortType.java,
31293 gnu/xml/validation/datatype/SimpleType.java,
31294 gnu/xml/validation/datatype/TimeType.java,
31295 gnu/xml/validation/datatype/TypeBuilder.java,
31296 gnu/xml/validation/datatype/UnsignedByteType.java,
31297 gnu/xml/validation/datatype/UnsignedIntType.java,
31298 gnu/xml/validation/datatype/UnsignedLongType.java,
31299 gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
31300 objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
31301 minInclusive facets use the value space of the base type, and
31304 2006-02-15 Mark Wielaard <mark@klomp.org>
31306 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31307 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31308 gtk_plug_new() returns a GtkWindow.
31310 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
31312 * javax/swing/SpinnerNumberModel.java
31313 (getNextValue): Check for null maximum,
31314 (getPreviousValue): Check for null minimum.
31316 2006-02-15 Roman Kennke <kennke@aicas.com>
31318 * javax/swing/plaf/basic/BasicTableUI.java
31319 (paint): Paint vertical and horizontal lines one pixel shifted
31322 2006-02-15 Jeroen Frijters <jeroen@frijters.net>
31324 * java/util/zip/ZipFile.java
31325 (checkZipFile): Inlined readLeInt and rewritten for robustness.
31326 (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
31327 readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
31328 (readEntries): Rewritten to use PartialInputStream.
31329 (locBuf, checkLocalHeader): Removed.
31330 (getInputStream): Rewritten to use new PartialInputStream.
31331 (PartialInputStream): Rewritten to do buffering.
31333 2006-02-15 Michael Koch <konqueror@gmx.de>
31335 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31336 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31337 Make sure the embedded window gets no decorations.
31338 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31339 (window_get_frame_extents): Return early of the window has no
31342 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31344 * examples/gnu/classpath/examples/swing/TableDemo.java
31345 (TModel, createContent): Explain which value appears in the header.
31346 * javax/swing/JTable.java (setColumnModel): Only set the
31347 column header value if the getHeaderValue() returns null.
31349 2006-02-14 Mark Wielaard <mark@klomp.org>
31352 * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
31353 (getErrorImage): New static method.
31354 * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
31355 (bufferedImageOrError): Renamed to ...
31356 (imageOrError): Renamed from bufferedImageOrError, takes Image.
31357 Returns GtkImage.getErrorImage() when argument null.
31358 (createImage(String)): Always use imageOrError.
31359 (createImage(URL)): Likewise.
31360 (createImage(ImageProducer)): Likewise.
31361 (createImage(byte[],int,int)): Likewise.
31363 2006-02-14 Roman Kennke <kennke@aicas.com>
31365 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
31367 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
31368 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
31369 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
31370 * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
31371 * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
31373 2006-02-14 Roman Kennke <kennke@aicas.com>
31375 * javax/swing/text/AsyncBoxView.java
31376 (ChildState.locator): Removed wrong field.
31377 (ChildState): Removed initialization of removed field.
31378 (locator): Changed access modifier to be protected as specified.
31380 2006-02-14 Roman Kennke <kennke@aicas.com>
31382 * javax/swing/ToolTipManager.java: Removed unneeded imports.
31383 * javax/swing/Timer.java: Some small reindention.
31384 (task): Made package private to avoid synthetic accessor method.
31386 2006-02-14 Roman Kennke <kennke@aicas.com>
31388 * javax/swing/SwingUtilities.java
31389 (layoutCompoundLabel): Dont set textIconGap to 0 when there is
31392 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31394 * examples/gnu/classpath/examples/swing/TableDemo.java:
31395 Making the columns variable width.
31396 * javax/swing/JTable.java (distributeSpill, doLayout):
31397 Call getPreferredSize and not getSize().
31399 2006-02-14 Roman Kennke <kennke@aicas.com>
31401 * javax/swing/DefaultCellEditor.java
31402 (DefaultCellEditor): API doc fixlet.
31404 2006-02-14 Roman Kennke <kennke@aicas.com>
31406 * javax/swing/JViewport.java
31407 (isPaintRoot): New field.
31408 (repaint): Only call super here. Also added a comment regarding
31409 the diversion from the JDK.
31410 (paintBlit): Implemented real blitting.
31411 (paintImmediately2): New method. Overrides the same package private
31412 method in JComponent.
31414 2006-02-14 Roman Kennke <kennke@aicas.com>
31416 * javax/swing/plaf/basic/BasicTableUI.java
31417 (paint): Check for boundary cases when determining the painting
31420 2006-02-14 Mark Wielaard <mark@klomp.org>
31422 * java/awt/Menu.java (add): Always set parent of item to this. Call
31423 addNotify() on item when we have a MenuPeer already.
31424 (insert): Always adjust parent for item. Call addNotify() on item if
31425 we already have a peer.
31426 (remove(int)): Always clear item parent. Call removeNotify() on item
31429 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31431 * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed
31432 row == getRowCount().
31434 2006-02-14 Lillian Angel <langel@redhat.com>
31436 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31437 (setVisible): New method to override super. Need to set the
31438 native bounds of the component, so it appears at the
31441 2006-02-14 Mark Wielaard <mark@klomp.org>
31443 * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31444 (remove): If menu component is the current MenuBar remove it,
31445 otherwise call super.remove().
31446 * java/awt/MenuBar.java (frame): Remove field.
31447 * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31449 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31451 * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31452 to NameServicePersistent.
31453 * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31454 * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31456 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31458 * NEWS: Updated tool status.
31459 * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31460 (constructor, bind, rebind): Rewritten.
31461 * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31462 * tools/gnu/classpath/tools/giop/README: Updated.
31463 * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31464 tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31465 tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31466 tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31467 tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:
31470 2006-02-14 David Gilbert <david.gilbert@object-refinery.com>
31472 * javax/swing/JComponent.java
31473 (getListeners): Check for PropertyChangeListener.class and delegate to
31474 getPropertyChangeListeners() for that case.
31476 2006-02-13 Roman Kennke <kennke@aicas.com>
31478 * javax/swing/plaf/basic/BasicTableUI.java
31479 (paint): Determine the cells that need painting based on the
31480 current clip. Use getCellRect() for calculating the cell
31483 2006-02-13 Roman Kennke <kennke@aicas.com>
31485 * javax/swing/JTable.java
31486 (rectCache): New field.
31487 (getCellRect): Returns cached Rectangle instance.
31489 2006-02-13 Roman Kennke <kennke@aicas.com>
31491 * javax/swing/JLayeredPane.java
31492 (removeAll): New method. Avoid potential memory leak.
31493 (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31496 2006-02-14 Stuart Ballard <stuart.a.ballard@gmail.com>
31498 * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31499 * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31501 2006-02-13 Tom Tromey <tromey@redhat.com>
31503 * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31504 * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31506 2006-02-13 Roman Kennke <kennke@aicas.com>
31508 * javax/swing/RepaintManager.java
31509 (offscreenBuffers): New field.
31510 (doubleBuffer): Removed field.
31511 (repaintUnderway): New field.
31512 (commitRequests): New field.
31513 (RepaintManager): Initialize new fields.
31514 (paintDirtyRegions): Handle repaintUnderway flag. Commit
31516 (getOffscreenBuffer): Returns the offscreen buffer for the
31517 corresponding root component.
31518 (commitBuffer): New method.
31519 (commitRemainingBuffers): New method.
31520 * javax/swing/JComponent.java
31521 (paint): Call paintDoubleBuffered with the current clip.
31522 (paintImmediately2): Don't paint on screen here.
31523 (paintDoubleBuffered): Rewritten for real double buffering.
31524 (paintSimple): Draw to screen in this method.
31526 2006-02-13 Roman Kennke <kennke@aicas.com>
31528 * javax/swing/JRootPane.java
31529 (JRootPane): Set opaque property to true.
31531 2006-02-13 Tom Tromey <tromey@redhat.com>
31533 * .classpath: Updated for external/relaxngDatatype.
31535 2006-02-13 Chris Burdess <dog@gnu.org>
31537 * gnu/xml/stream/UnicodeReader.java,
31538 gnu/xml/validation/datatype/Annotation.java,
31539 gnu/xml/validation/datatype/AnySimpleType.java,
31540 gnu/xml/validation/datatype/AnyType.java,
31541 gnu/xml/validation/datatype/AnyURIType.java,
31542 gnu/xml/validation/datatype/AtomicSimpleType.java,
31543 gnu/xml/validation/datatype/Base64BinaryType.java,
31544 gnu/xml/validation/datatype/BooleanType.java,
31545 gnu/xml/validation/datatype/ByteType.java,
31546 gnu/xml/validation/datatype/DateTimeType.java,
31547 gnu/xml/validation/datatype/DateType.java,
31548 gnu/xml/validation/datatype/DecimalType.java,
31549 gnu/xml/validation/datatype/DoubleType.java,
31550 gnu/xml/validation/datatype/DurationType.java,
31551 gnu/xml/validation/datatype/EntitiesType.java,
31552 gnu/xml/validation/datatype/EntityType.java,
31553 gnu/xml/validation/datatype/EnumerationFacet.java,
31554 gnu/xml/validation/datatype/Facet.java,
31555 gnu/xml/validation/datatype/FloatType.java,
31556 gnu/xml/validation/datatype/FractionDigitsFacet.java,
31557 gnu/xml/validation/datatype/GDayType.java,
31558 gnu/xml/validation/datatype/GMonthDayType.java,
31559 gnu/xml/validation/datatype/GMonthType.java,
31560 gnu/xml/validation/datatype/GYearMonthType.java,
31561 gnu/xml/validation/datatype/GYearType.java,
31562 gnu/xml/validation/datatype/HexBinaryType.java,
31563 gnu/xml/validation/datatype/IDRefType.java,
31564 gnu/xml/validation/datatype/IDRefsType.java,
31565 gnu/xml/validation/datatype/IDType.java,
31566 gnu/xml/validation/datatype/IntType.java,
31567 gnu/xml/validation/datatype/IntegerType.java,
31568 gnu/xml/validation/datatype/LanguageType.java,
31569 gnu/xml/validation/datatype/LengthFacet.java,
31570 gnu/xml/validation/datatype/ListSimpleType.java,
31571 gnu/xml/validation/datatype/LongType.java,
31572 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31573 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31574 gnu/xml/validation/datatype/MaxLengthFacet.java,
31575 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31576 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31577 gnu/xml/validation/datatype/MinLengthFacet.java,
31578 gnu/xml/validation/datatype/NCNameType.java,
31579 gnu/xml/validation/datatype/NMTokenType.java,
31580 gnu/xml/validation/datatype/NMTokensType.java,
31581 gnu/xml/validation/datatype/NameType.java,
31582 gnu/xml/validation/datatype/NegativeIntegerType.java,
31583 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31584 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31585 gnu/xml/validation/datatype/NormalizedStringType.java,
31586 gnu/xml/validation/datatype/NotationType.java,
31587 gnu/xml/validation/datatype/PatternFacet.java,
31588 gnu/xml/validation/datatype/PositiveIntegerType.java,
31589 gnu/xml/validation/datatype/QNameType.java,
31590 gnu/xml/validation/datatype/ShortType.java,
31591 gnu/xml/validation/datatype/SimpleType.java,
31592 gnu/xml/validation/datatype/StringType.java,
31593 gnu/xml/validation/datatype/TimeType.java,
31594 gnu/xml/validation/datatype/TokenType.java,
31595 gnu/xml/validation/datatype/TotalDigitsFacet.java,
31596 gnu/xml/validation/datatype/Type.java,
31597 gnu/xml/validation/datatype/TypeBuilder.java,
31598 gnu/xml/validation/datatype/TypeLibrary.java,
31599 gnu/xml/validation/datatype/TypeLibraryFactory.java,
31600 gnu/xml/validation/datatype/UnionSimpleType.java,
31601 gnu/xml/validation/datatype/UnsignedByteType.java,
31602 gnu/xml/validation/datatype/UnsignedIntType.java,
31603 gnu/xml/validation/datatype/UnsignedLongType.java,
31604 gnu/xml/validation/datatype/UnsignedShortType.java,
31605 gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31606 resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31607 RELAX NG datatype library implementation for XML Schema Datatypes.
31609 2006-02-13 Chris Burdess <dog@gnu.org>
31615 external/Makefile.am,
31616 external/relaxngDatatype/.cvsignore,
31617 external/relaxngDatatype/Makefile.am,
31618 external/relaxngDatatype/README.txt,
31619 external/relaxngDatatype/copying.txt,
31620 external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31621 external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31622 external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31623 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31624 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31625 external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31626 external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31627 external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31628 external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31629 external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31631 lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31632 datatypes library API.
31634 2006-02-13 Mark Wielaard <mark@klomp.org>
31636 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31638 (gtkWidgetModifyFont(Font)): New protected helper method.
31639 (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31640 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31641 protected and document.
31642 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31644 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31646 * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31648 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31649 (setFont): Removed method. Done in GtkMenuComponent.
31650 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31651 abstract and protected.
31652 (setFont): Made private, add implementation.
31653 (setFont(Font)): Implemented.
31654 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31655 Made protected and document.
31656 (create): Made protected.
31657 (setFont): Removed method. Done in GtkMenuComponent.
31658 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31659 (gtkWidgetModifyFont): Made protected and document.
31660 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31661 Removed, similar to GtkGenericPeer super class implementation.
31662 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31663 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31664 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31667 2006-02-13 Mark Wielaard <mark@klomp.org>
31669 * java/lang/Math.java (static): Explicitly call
31670 System.loadLibrary("javalang").
31672 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31674 * javax/print/StreamPrintServiceFactory.java: New file.
31676 2006-02-13 Tom Tromey <tromey@redhat.com>
31678 * tools/.cvsignore: Added Makefile.
31680 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31682 * java/awt/print/PrinterGraphics.java: Reformatted.
31683 * java/awt/print/Paper.java: Likewise.
31684 * java/awt/print/PageFormat.java: Likewise.
31685 * java/awt/print/Pageable.java: Likewise.
31687 2006-02-13 Lillian Angel <langel@redhat.com>
31689 * java/awt/BorderLayout.java
31690 (layoutContainer): Rewrote part of this function to
31691 properly set the bounds of the components.
31692 (setBounds): Removed method, not needed.
31694 2006-02-13 Roman Kennke <kennke@aicas.com>
31696 * javax/swing/text/DefaultStyledDocument.java
31697 (ElementBuffer.clone): Fixed replace call.
31698 (clone): Removed method.
31700 2006-02-13 Roman Kennke <kennke@aicas.com>
31702 * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31704 2006-02-13 Roman Kennke <kennke@aicas.com>
31706 * java/rmi/server/UnicastRemoteObject.java
31707 (exportObject(Remote)): Forward method call to export(Remote,int).
31709 2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
31711 * include/Makefile.am:
31712 Swapped Math.h for VMMath.h
31713 * include/java_lang_Math.h:
31715 * include/java_lang_VMMath.h:
31716 New autogenerated header for the new class.
31717 * java/lang/Math.java:
31718 (sin(double)): Changed to link to VMMath.
31719 (cos(double)): Changed to link to VMMath.
31720 (tan(double)): Changed to link to VMMath.
31721 (asin(double)): Changed to link to VMMath.
31722 (acos(double)): Changed to link to VMMath.
31723 (atan(double)): Changed to link to VMMath.
31724 (atan2(double)): Changed to link to VMMath.
31725 (exp(double)): Changed to link to VMMath.
31726 (log(double)): Changed to link to VMMath.
31727 (sqrt(double)): Changed to link to VMMath.
31728 (pow(double,double)): Changed to link to VMMath.
31729 (IEEEremainder(double,double)): Changed to link to VMMath.
31730 (ceil(double)): Changed to link to VMMath.
31731 (floor(double)): Changed to link to VMMath.
31732 (rint(double)): Changed to link to VMMath.
31733 * native/jni/java-lang/Makefile.am:
31734 Replaced java_lang_Math.c with java_lang_VMMath.c
31735 * native/jni/java-lang/java_lang_Math.c:
31737 * native/jni/java-lang/java_lang_VMMath.c:
31738 Renamed from java_lang_Math.c.
31739 * vm/reference/java/lang/VMMath.java:
31741 (sin(double)): New native method.
31742 (cos(double)): New native method.
31743 (tan(double)): New native method.
31744 (asin(double)): New native method.
31745 (acos(double)): New native method.
31746 (atan(double)): New native method.
31747 (atan2(double)): New native method.
31748 (exp(double)): New native method.
31749 (log(double)): New native method.
31750 (sqrt(double)): New native method.
31751 (pow(double,double)): New native method.
31752 (IEEEremainder(double,double)): New native method.
31753 (ceil(double)): New native method.
31754 (floor(double)): New native method.
31755 (rint(double)): New native method.
31757 2006-02-13 Lillian Angel <langel@redhat.com>
31759 * java/awt/Component.java
31760 (repaint): No need to call isShowing, it is done in the other repaint call.
31761 (repaint): Likewise.
31762 (repaint): Likewise.
31764 2006-02-13 Lillian Angel <langel@redhat.com>
31766 * java/awt/Component.java
31767 (repaint): Reverted last change.
31768 (repaint): Likewise.
31769 (repaint): Likewise.
31771 2006-02-13 Lillian Angel <langel@redhat.com>
31773 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31774 (handleEvent): Made more efficent by handling paint event and
31775 setting the clip for the graphics.
31776 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31777 (handleEvent): Likewise.
31778 * java/awt/Component.java
31779 (repaint): No need to call isShowing, it is done in the other repaint call.
31780 (repaint): Likewise.
31781 (repaint): Likewise.
31783 2006-02-13 Roman Kennke <kennke@aicas.com>
31785 * javax/swing/text/AbstractDocument.java
31786 (setParent): Added API docs. Call setParent(null) on children before
31787 disconnecting this view from the View hierarchy.
31789 2006-02-13 Roman Kennke <kennke@aicas.com>
31791 * javax/swing/text/AbstractDocument.java
31792 (readUnlock): Don't attempt to unlock when the current threads also
31793 holds a write lock.
31795 2006-02-13 David Gilbert <david.gilbert@object-refinery.com>
31797 * javax/swing/plaf/metal/MetalBorders.java
31798 (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31799 (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31801 (Flush3DBorder.borderInsets): New field,
31802 (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
31803 (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for
31804 null insets argument, and populate result from borderInsets,
31805 (PaletteBorder.borderInsets): New field,
31806 (PaletteBorder.getBorderInsets(Component)): Return insets directly,
31807 (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for
31808 null insets argument, and populate result from borderInsets,
31809 (InternalFrameBorder.borderInsets): New field,
31810 (InternalFrameBorder.getBorderInsets(Component)): Return insets
31812 (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check
31813 for null insets argument, and populate result from borderInsets,
31814 (MenuItemBorder.borderInsets): Initialise to correct value.
31816 2006-02-13 Roman Kennke <kennke@aicas.com>
31818 * javax/swing/text/AsyncBoxView.java: New file.
31820 2006-02-13 Ito Kazumitsu <kaz@maczuka.gcd.org>
31823 * gnu/regexp/RE.java(initialize): Parsing of character class expression
31824 was moved to a new method parseCharClass.
31825 (parseCharClass): New method originally in initialize. Added parsing
31826 of nested character classes.
31827 (ParseCharClassResult): New inner class used as a return value of
31829 (getCharExpression),(getNamedProperty): Made static.
31830 * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
31831 * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
31832 nested character classes.
31833 (RETokenOneOf): New constructor accepting the Vector addition.
31834 (getMinimumLength), (getMaximumLength): Returns 1 if the token
31835 stands for only one character.
31836 (match): Added the processing of the Vector addition.
31837 (matchN), (matchP): Do not check next token if addition is used.
31839 2006-02-12 Olivier Jolly <olivier.jolly@pcedev.com>
31841 * AUTHORS: add self.
31843 2006-02-12 Tom Tromey <tromey@redhat.com>
31845 * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
31846 * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
31847 (securityContext): Likewise.
31850 2006-02-12 Dalibor Topic <robilad@kaffe.org>
31854 * gnu/java/net/protocol/file/Connection.java (unquote):
31855 Convert Unicode characters outside basic plane to UTF-8,
31856 rather than throwing an exception.
31858 2006-02-12 Tom Tromey <tromey@redhat.com>
31860 * javax/sound/sampled/LineEvent.java (readObject): New method.
31861 (writeObject): Likewise.
31862 (serialVersionUID): New field.
31864 2006-02-12 Mark Wielaard <mark@klomp.org>
31866 * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
31867 Silently ignores null listener.
31868 (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
31869 (getPropertyChangeListeners): Returns empty PropertyChangeListener
31870 array for null propertyName.
31872 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31874 * java/rmi/MarshalledObject.java: Added api docs to the class.
31875 * java/rmi/Remote.java: Added interface api docs.
31876 * java/rmi/package.html: Added package description.
31877 * java/rmi/AccessException.java: Minor api doc fixes.
31878 * java/rmi/NoSuchObjectException.java: Likewise.
31879 * java/rmi/AlreadyBoundException.java: Likewise.
31880 * java/rmi/RemoteException.java: Likewise.
31881 * java/rmi/NotBoundException.java: Likewise.
31882 * java/rmi/RMISecurityException.java: Likewise.
31883 * java/rmi/StubNotFoundException.java: Likewise.
31885 2006-02-12 Mark Wielaard <mark@klomp.org>
31887 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
31888 q() to get EventQueue.
31889 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
31890 (enableQueue): Remove static method.
31891 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
31892 Don't call GtkGenericPeer.enableQueue().
31894 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31896 * java/rmi/MarshalledObject.java: Reformatted.
31897 * java/rmi/Naming.java: Likewise.
31899 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31901 * java/io/InputStream.java
31902 (read(byte[],int,int)): Changed argument validation to prevent
31903 integer overflow. Remove redundant check.
31905 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31908 * java/io/InputStreamReader.java
31909 (InputStreamReader(InputStream)): Use SystemProperties.
31910 (InputStreamReader(InputStream,Charset)): Corrected @since tag.
31911 Throw NullPointerException if in is null.
31912 Added maxBytesPerChar initialisation.
31913 (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
31914 Throw NullPointerException if in is null.
31916 2006-02-12 Raif S. Naffah <raif@swiftdsl.com.au>
31918 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
31919 (GnuDHPublicKey(4)): Call constructor with 5 arguments.
31920 (GnuDHPublicKey): New constructor.
31921 (getEncoded): Removed.
31922 (valueOf): Added support for ASN.1 encoding.
31923 (getEncoded(int)): Likewise.
31924 (equals): New method.
31925 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
31926 (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
31927 (GnuDHPrivateKey(5)): New constructor.
31928 (getEncoded): Removed.
31929 (valueOf): Added support for ASN.1 encoding.
31930 (getEncoded(int)): Likewise.
31931 (equals): New method.
31932 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
31933 (PREFERRED_ENCODING_FORMAT): New constant.
31934 (DEFAULT_ENCODING_FORMAT): Likewise.
31935 (preferredFormat): New field.
31936 (setup): Handle preferred encoding format identifier.
31937 (generate): Call constructors with format identifier.
31938 * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
31939 (GnuDHKey): Added an int argument.
31940 (getEncoded): New method.
31941 (getFormat): New implementation.
31942 (getEncoded(int)): New abstract method.
31943 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
31944 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
31945 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
31946 key-pair generator and key-factory.
31947 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
31948 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
31949 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
31950 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31951 (invokeConstructor): New method.
31952 (getConcreteClass): Likewise.
31953 (getConcreteCtor): Likewise.
31954 (invokeValueOf): Likewise.
31955 (getValueOfMethod): Likewise.
31956 (engineGeneratePublic): Add support for DH keys.
31957 (engineGeneratePrivate): Likewise.
31958 (decodeDHPublicKey(DHPublicKeySpec)): New method.
31959 (decodeDHPublicKey(byte[])): Likewise.
31960 (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
31961 (decodeDHPrivateKey(byte[])): Likewise.
31963 2006-02-11 Mark Wielaard <mark@klomp.org>
31965 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
31967 (repaint): Immediately post to queue when tm <= 0, otherwise call
31968 RepaintTimerTask.schedule().
31969 (RepaintTimerTask): Make static.
31970 (RepaintTimerTask.repaintTimer): New static final field.
31971 (RepaintTimerTask.awtComponent): New field.
31972 (schedule): New static method.
31974 2006-02-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31976 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
31977 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
31978 * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
31979 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
31980 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
31982 * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
31984 2006-02-11 Raif S. Naffah <raif@swiftdsl.com.au>
31986 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31987 (engineGeneratePublic): Added support for raw key-specifications.
31988 (engineGeneratePrivate): Likewise.
31989 (decodeDSSPublicKey): New method.
31990 (decodeRSAPublicKey): Likewise.
31991 (decodeDSSPrivateKey): Likewise.
31992 (decodeRSAPrivateKey): Likewise.
31993 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
31994 (encodePrivateKey): Throw InvalidParameterException.
31995 (decodePublicKey): Likewise.
31996 (decodePrivateKey): Likewise.
31997 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
31998 (encodePublicKey): Likewise.
31999 (encodePrivateKey): Likewise.
32000 (decodePublicKey): Likewise.
32001 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
32002 (encodePrivateKey): Likewise.
32003 (decodePublicKey): Likewise.
32004 (decodePrivateKey): Likewise.
32005 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32006 (encodePublicKey): Likewise.
32007 (encodePrivateKey): Likewise.
32008 (decodePublicKey): Likewise.
32010 2006-02-10 Roman Kennke <kennke@aicas.com>
32012 * javax/swing/text/StyleContext.java
32013 (registerStaticAttributeKey): New static method.
32015 2006-02-10 Roman Kennke <kennke@aicas.com>
32017 * javax/swing/text/DefaultStyledDocument.java
32018 (ElementBuffer.clone): New method.
32020 2006-02-10 Roman Kennke <kennke@aicas.com>
32022 * javax/swing/text/ParagraphView.java
32023 (findOffsetToCharactersInString): New method.
32024 (getClosestPositionTo): New method.
32025 (getPartialSize): New method.
32026 (getTabBase): New method.
32027 (adjustRow): New method.
32028 (breakView): New method.
32029 (getBreakWeight): New method.
32031 2006-02-10 Roman Kennke <kennke@aicas.com>
32033 * javax/swing/text/GapContent.java
32034 (updateUndoPositions): New method.
32035 * javax/swing/text/StringContent.java
32036 (updateUndoPositions): New method.
32038 2006-02-10 Raif S. Naffah <raif@swiftdsl.com.au>
32040 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
32042 * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
32043 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
32044 Added support for encoded key specifications.
32045 (engineGeneratePrivate): Likewise.
32046 (engineGetKeySpec): Likewise.
32047 (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
32049 2006-02-10 Robert Schuster <robertschuster@fsfe.org>
32051 * javax/swing/text/Utilities.java:
32052 (getTabbedTextOffset): Fixed usage of variable p0.
32053 (getPositionAbove): Rewritten.
32054 (getPositionBelow): Rewritten.
32056 2006-02-09 Roman Kennke <kennke@aicas.com>
32058 * javax/swing/text/BoxView.java
32059 (getAxis): Added @since tag.
32060 (setAxis): Added @since tag.
32061 (layoutChanged): Added @since tag.
32062 (isLayoutValid): Added @since tag.
32063 (paint): Don't call setSize here. This is done in RootView already.
32064 (getMaximumSpan): Reimplemented to return the requirements'
32065 maximum size. Added API docs.
32066 (getMinimumSpan): New method.
32067 (layout): Fixed layout order.
32068 (modelToView): Call layout instead of setSize here.
32069 (getResizeWeight): New method.
32070 (getChildAllocation): New method.
32071 (forwardUpdate): New method.
32072 (viewToModel): New method.
32073 (flipEastEndWestEnds): New method.
32074 * javax/swing/text/CompositeView.java
32075 (modelToView): Made this method more robust by returning a default
32076 location if it's not possible to calculate one via the children.
32077 This default location returns the left or right edge of this
32079 (createDefaultLocation): New helper method.
32080 * javax/swing/text/IconView.java
32081 (modelToView): Don't throw BadLocationException. This should
32082 really only be thrown if the position is outside the document
32083 model, not if it's outside the view's boundary.
32085 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32087 * tools/Makefile.am: Handle rmi and giop folders separately.
32089 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
32091 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
32092 * javax/swing/SpinnerNumberModel.java: Likewise.
32094 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
32096 * javax/swing/SpinnerDateModel.java: Removed tabs,
32097 * javax/swing/SpinnerNumberModel.java: Likewise.
32099 2006-02-09 Anthony Balkissoon <abalkiss@redhat.com>
32101 * doc/unicode/SpecialCasing-4.0.0.txt: New file.
32102 * doc/unicode/UnicodeData-4.0.0.txt: New file.
32104 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32107 * gnu/java/net/protocol/http/HTTPURLConnection.java:
32108 (isRedirect): Removed, moved to Response.java.
32109 (connect): If error condition redirect responseSink to errorSink.
32110 (getInputStream): If error condition throw IOException, for the error
32111 codes 404 and 410 throw a FileNotFoundException.
32112 * gnu/java/net/protocol/http/Response.java (isError): New method.
32113 (isRedirect): New method, moved from HTTPURLConnection.java.
32115 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32117 * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
32118 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
32119 * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource):
32121 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
32123 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
32124 AbstractMethodGenerator.
32125 * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
32126 tools/gnu/classpath/tools/rmi/RMIC.java,
32127 tools/gnu/classpath/tools/rmi/RMIC.txt,
32128 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
32129 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
32130 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
32131 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
32132 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
32133 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
32135 * NEWS: Corrected entry about the tools.
32137 2006-02-09 Lillian Angel <langel@redhat.com>
32139 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32140 (handleEvent): Added more to check to prevent assertion errors.
32141 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32142 (handleEvent): Likewise.
32143 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32144 (handleEvent): Likewise.
32146 2006-02-09 Mark Wielaard <mark@klomp.org>
32148 * javax/swing/JTable.java (tableChanged): Interpret null event as
32149 "everything changed".
32151 2006-02-09 Roman Kennke <kennke@aicas.com>
32153 * javax/swing/text/DefaultCaret.java
32154 (DocumentHandler.removeUpdate): When update policy is
32155 'on eventqueue', and the update doesn't come from the
32156 event queue, check if the current dot location is still
32158 (moveDot): Make sure the new dot location is valid.
32159 (setDot): Set the mark the same as the dot.
32161 2006-02-09 Roman Kennke <kennke@aicas.com>
32163 * javax/swing/text/AbstractDocument.java
32164 (remove): Perform all operations within a write lock and in the
32167 2006-02-09 Mark Wielaard <mark@klomp.org>
32169 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
32170 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
32171 creater than min, adjusting page_size if necessary.
32172 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
32174 2006-02-09 Lillian Angel <langel@redhat.com>
32176 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32177 (handleEvent): Added code to handle PaintEvent.UPDATE.
32178 Sun does not call update(Graphics g) on Panels.
32179 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32180 (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
32181 Sun does not call update(Graphics g) on Panels.
32183 2006-02-09 Roman Kennke <kennke@aicas.com>
32185 * javax/swing/text/BoxView.java
32186 (myAxis): Made field private.
32187 (xLayoutValid): Replaced by layoutValid array.
32188 (yLayoutValid): Replaced by layoutValid array.
32189 (layoutValid): New field.
32190 (spansX): Replaced by spans array.
32191 (spansY): Replaced by spans array.
32192 (spans): New field.
32193 (offsetsX): Replaced by offsets array.
32194 (offsetsY): Replaced by offsets array.
32195 (offsets): New field.
32196 (requirements): New field.
32197 (BoxView): Initialize new fields.
32198 (layoutChanged): Rewritten to use the layoutValid array.
32199 (isLayoutValid): Rewritten to use the layoutValid array.
32200 (replace): Use the new arrays.
32201 (getPreferredSpan): Rewritten to call calculateXXXRequirements
32202 instead of baselineRequirements.
32203 (baselineRequirements): Rewritten to calculate baseline requirements.
32204 (baselineLayout): Rewritten to calculate baseline layout.
32205 (childAllocation): Use new arrays.
32206 (layout): Rewritten. Only update the layout if necessary.
32207 (layoutMajorAxis): Directly set layoutValid.
32208 (layoutMinorAxis): Directly set layoutValid. Use cached size
32210 (getWidth): Use new span array.
32211 (getHeight): Likewise.
32212 (setSize): Rewritten to simply call layout().
32213 (validateLayout): Removed unneeded method.
32214 (getSpan): Use new arrays.
32215 (getOffset): Use new arrays.
32216 (getAlignment): Use cached requirements if possible.
32217 (preferenceChanged): Use new arrays.
32218 * javax/swing/text/FlowView.java
32219 (FlowStrategy.insertUpdate): Do nothing here.
32220 (FlowStrategy.removeUpdate): Do nothing here.
32221 (FlowStrategy.changedUpdate): Do nothing here.
32222 (FlowStrategy.layoutRow): Rewritten.
32223 (FlowStrategy.createView): Rewritten.
32224 (FlowStrategy.adjustRow): New method.
32225 (LogicalView.getViewIndex): Fixed condition for finding child
32227 (layoutDirty): New field indicating the state of the layout.
32228 (FlowView): Initialize new field.
32229 (loadChildren): Set parent on logical view so that preferenceChanges
32230 get propagated upwards.
32231 (layout): Rewritten to match the specs.
32232 (insertUpdate): Set layout to dirty.
32233 (removeUpdate): Set layout to dirty.
32234 (changedUpdate): Set layout to dirty.
32235 * javax/swing/text/GlyphView.java
32236 (getBreakWeight): Rewritten to use the Utilities class. Commented
32237 out though because that is broken.
32238 (insertUpdate): Call preferenceChanged on this object instead of
32240 * javax/swing/text/ParagraphView.java
32241 (Row.loadChildren): Overridden to be a noop to prevent initial
32242 creation of child views. This is carried out by the flow layout.
32243 * javax/swing/text/View.java
32244 (getPreferredSpan): Added API docs.
32245 (getResizeWeight): Added API docs.
32246 (getMaximumSpan): Added API docs. Rewritten to only have one exit
32248 (getMinimumSpan): Added API docs. Rewritten to return 0 when
32249 resizable instead of Integer.MAX_VALUE.
32250 (getAlignment): Added API docs.
32251 (replace): Added API docs.
32252 (forwardUpdate): Rewritten to only notify child views that need to
32255 2006-02-09 Roman Kennke <kennke@aicas.com>
32257 * javax/swing/plaf/basic/BasicTextUI.java
32258 (RootView.paint): Call setSize() before painting the view.
32260 2006-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
32263 * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
32264 flag which enables backslash escape in a replacement.
32265 (getReplacement): New public static method.
32266 (substituteImpl),(substituteAllImpl): Use getReplacement.
32267 * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
32268 * java/util/regex/Matcher.java(appendReplacement)
32269 Use RE#getReplacement.
32270 (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
32272 2006-02-09 Raif S. Naffah <raif@swiftdsl.com.au>
32274 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
32275 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
32276 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
32277 (PREFERRED_ENCODING_FORMAT): New constant.
32278 (DEFAULT_ENCODING_FORMAT): Likewise.
32279 (preferredFormat): New field.
32280 (setup): Add support for preferred encoding format.
32281 (generate): Call key constructors with explicit format identifier.
32282 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)):
32283 Call constructor with 3 arguments..
32284 (GnuRSAPublicKey(3)): New constructor.
32285 (valueOf): Added support for ASN.1 format.
32286 (getEncoded): Likewise.
32287 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
32288 Call constructor with 5 arguments.
32289 (GnuRSAPrivateKey(5)): New constructor.
32290 (GnuRSAPrivateKey(9)): New constructor.
32291 (valueOf): Added support for ASN.1 format.
32292 (getEncoded): Likewise.
32293 * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
32294 (GnuRSAKey): Modified constructor.
32295 (getFormat): Return preferred format identifier.
32296 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32297 (decodePrivateKey): Fixed documentation.
32298 Check Version field.
32299 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
32300 (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
32302 (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
32303 * gnu/java/security/jce/sig/EncodedKeyFactory.java
32304 (engineGeneratePublic): Added support for RSA.
32305 (engineGeneratePrivate): Likewise.
32307 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32309 * java/net/URLConnection.java:
32310 (setAllowUserInteraction): Throw IllegalStateException if connected.
32311 (getRequestProperty): Document return value if key is null.
32312 * gnu/java/net/protocol/http/HTTPURLConnection.java:
32313 (getRequestProperty): Return null if key is null.
32314 (getRequestProperties): Throw IllegalStateException if connected.
32315 (setRequestProperty): Call super method for exception tests.
32316 (addRequestProperty): Likewise.
32318 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32320 * gnu/java/net/protocol/http/Request.java:
32321 (Request): Remove initialization of removed field.
32322 (requestBodyNegotiationThreshold): Removed now unused field.
32323 (setRequestBodyNegotiationThreshold): Remove now unused method.
32324 (dispatch): Do not use 'Expect 100-continue' header if content-length
32325 is over a treshold. If user specified 'Expect 100-continue' still
32326 initialize the expectingContinue variable.
32328 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32330 * javax/swing/SpinnerNumberModel.java
32331 (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow
32332 maximum and minimum to take null values,
32333 (setValue): Only fire ChangeEvent if new value is different to old
32335 (setMinimum): Fixed test for updating value,
32336 (setMaximum): Likewise,
32337 (setStepSize): Likewise.
32339 2006-02-08 Tom Tromey <tromey@redhat.com>
32341 * tools/.cvsignore: Added Makefile.in.
32343 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32345 * java/rmi/server/RemoteRef.java,
32346 java/rmi/server/RemoteStub.java: Commented.
32348 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32350 * javax/swing/SpinnerDateModel.java
32351 (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
32353 (getPreviousValue): Check result against start, not end,
32354 (setValue): Check that value actually changes before firing
32357 2006-02-08 Lillian Angel <langel@redhat.com>
32359 * java/awt/Choice.java
32360 (select): Fixed up code, added some checks to prevent errors.
32361 (dispatchEventImpl): Removed. This function is not needed. It
32362 causes several assertion errors.
32364 2006-02-08 Roman Kennke <kennke@aicas.com>
32366 * javax/swing/text/PlainView.java
32367 (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
32368 drawing unnecessary characters.
32370 2006-02-08 Lillian Angel <langel@redhat.com>
32372 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32373 (handleEvent): Fixed check to determine if height or
32374 width is less than 1.
32376 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32378 *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
32380 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32382 * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
32383 examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
32384 Documenting the code generator.
32385 * gnu/CORBA/IOR.java (toStringFormatted,
32386 CodeSet_component.toStringFormatted): New methods.
32387 * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
32388 * tools/gnu/classpath/tools/giop/README: Rewritten.
32389 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten.
32390 (printHelpAndExit): Removed.
32391 *tools/gnu/classpath/tools/giop/IorParser.java,
32392 tools/gnu/classpath/tools/giop/IorParser.txt,
32393 tools/gnu/classpath/tools/giop/NameService.java,
32394 tools/gnu/classpath/tools/giop/NamingService.txt,
32395 tools/gnu/classpath/tools/HelpPrinter.java: New files.
32396 NEWS: Added note about GIOP tools.
32398 2006-02-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32400 * .classpath: New source patch (tools).
32401 * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
32402 * configure.ac (AC_CONFIG_FILES): added tools/Makefile
32403 * tools/gnu/classpath/tools/Makefile.am,
32404 tools/gnu/classpath/tools/giop/GRMIC.java
32405 tools/gnu/classpath/tools/giop/GRMIC.txt,
32406 tools/gnu/classpath/tools/giop/README,
32407 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
32408 tools/gnu/classpath/tools/giop/grmic/Generator.java,
32409 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
32410 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
32411 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
32412 tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
32413 tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
32414 tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
32415 tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
32416 tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32417 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32418 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
32420 2006-02-07 David Gilbert <david.gilbert@object-refinery.com>
32422 * java/awt/BasicStroke.java: Updated API docs all over,
32423 * java/awt/doc-files/capjoin.png: New file.
32425 2006-02-07 Lillian Angel <langel@redhat.com>
32427 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32428 (handleEvent): Added check. Should not paint or update the
32429 component if it's width and height are both 0.
32431 2006-02-07 Roman Kennke <kennke@aicas.com>
32433 * javax/swing/text/AbstractDocument.java
32434 (insertString): Enclose locking/unlocking in try-finally block
32435 and also keep locked while notifying the listeners.
32437 2006-02-07 Roman Kennke <kennke@aicas.com>
32439 * javax/swing/text/GlyphView.java
32440 (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32442 (getStartOffset): Return element boundary if startOffset < 0.
32443 (getEndOffset): Return element boundary if endOffset < 0.
32444 (createFragment): Set startOffset and endOffset fields of fragment
32445 if one of p0 or p1 is not at the element boundary.
32447 2006-02-07 Roman Kennke <kennke@aicas.com>
32449 * javax/swing/CellRendererPane.java
32450 (paintComponent): Enclosed painting in try finally to properly
32451 clean up even when throwing an exception.
32453 2006-02-07 Roman Kennke <kennke@aicas.com>
32455 * javax/swing/UIManager.java
32456 (listeners): Made this an instance of
32457 java.beans.PropertyChangeSupport instead of the obsoleted
32458 SwingPropertyChangeSupport.
32460 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32462 * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32463 of actions "delete-next" and "delete-previous", added new TextAction
32464 implementations for "selection-begin", "selection-begin-line",
32465 "selection-end" and "selection-end-line".
32467 2006-02-07 Roman Kennke <kennke@aicas.com>
32469 * javax/swing/plaf/basic/BasicTextUI.java
32470 (paint): Acquire read lock on the document before calling
32472 (paintSafely): Added comment about what this method does.
32473 (paintBackground): Implemented to actually paint the background.
32474 (update): Overridden to _not_ paint the background. This is done
32475 in paintBackground in this UI.
32477 2006-02-07 Roman Kennke <kennke@aicas.com>
32479 * javax/swing/text/View.java
32480 (forwardUpdate): Don't notify newly added child views as specified.
32482 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32484 * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32486 2006-02-07 Roman Kennke <kennke@aicas.com>
32488 * javax/swing/text/DefaultStyledDocument.java
32489 (ElementBuffer.insert): Only register change when the element
32492 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32494 * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32496 (getEncodingShortName): Likewise.
32497 * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32498 (PKCS8_FORMAT): Likewise.
32499 (ASN1_FORMAT): Likewise.
32500 * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32501 constructor with 5 arguments.
32502 (DSSPublicKey(5)): New constructor.
32503 (valueOf): Handle ASN.1 encoding.
32504 (getEncoded): Likewise.
32505 * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32506 constructor with 5 arguments.
32507 (DSSPrivateKey(5)): New constructor.
32508 (valueOf): Handle ASN.1 encoding.
32509 (getEncoded): Likewise.
32510 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32511 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32512 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32513 (PREFERRED_ENCODING_FORMAT): New constant.
32514 (DEFAULT_ENCODING_FORMAT): Likewise.
32515 (preferredFormat): New field.
32516 (setup): Handle preferred format ID.
32517 (generate): Use new ctors with 5 arguments.
32518 * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32519 ID as an additional argument.
32520 (defaultFormat): new field.
32521 (getFormat): Returns the preferred format as a short string.
32522 * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32523 * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32525 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32526 (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32528 (initialize(int,boolean,SecureRandom)): Likewise.
32529 * gnu/java/security/der/DERWriter.java (writeBitString): Use
32530 writeLength() instead of write().
32531 return buf.length + 1 instead of buf.length.
32533 2006-02-07 Roman Kennke <kennke@aicas.com>
32535 * javax/swing/plaf/basic/BasicTextUI.java
32536 (RootView.preferenceChange): Changed view parameter to view so
32537 that it doesn't hide a field of that class.
32538 (RootView.getViewCount): Rewritten to clean up ECJ warning.
32539 (RootView.modelToView): Removed unnecessary cast from View to View.
32540 (PropertyChangeHandler): Made inner class private.
32541 (updateHandler): Made field private.
32542 (getVisibleEditorRect): Removed unneeded local variable that
32543 shadowed a field with the same name and purpose.
32545 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32547 * javax/swing/text/JTextComponent.java:
32548 (getSelectedText): Calculate offset and use that as
32551 2006-02-07 Roman Kennke <kennke@aicas.com>
32553 * javax/swing/JTextPane.java
32554 (setCharacterAttributes): Replace input attributes when
32557 2006-02-07 Roman Kennke <kennke@aicas.com>
32559 * java/awt/Component.java
32560 (firePropertyChange(String,byte,byte)): Made method public.
32561 (firePropertyChange(String,char,char)): Made method public.
32562 (firePropertyChange(String,short,short)): Made method public.
32563 (firePropertyChange(String,long,long)): Made method public.
32564 (firePropertyChange(String,float,float)): Made method public.
32565 (firePropertyChange(String,double,double)): Made method public.
32567 2006-02-06 Tom Tromey <tromey@redhat.com>
32569 * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32571 * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32573 2006-02-06 Anthony Green <green@redhat.com>
32575 * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32577 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32579 * .settings/org.eclipse.jdt.core.prefs:
32580 Force a line split on extends and implements.
32581 Force a white-space after unary operators.
32582 Don't force a new-line after @params.
32583 Add new-line at end-of-file.
32584 * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32586 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32588 * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32590 * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32592 * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32594 * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32596 * gnu/java/security/provider/EncodedKeyFactory.java
32597 (ID_DSA): Redefined in terms of Registry constant.
32598 (ID_DSA): Redefined in terms of Registry constant.
32599 (ID_DH): Redefined in terms of Registry constant.
32600 * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32601 (PKCS8_ENCODING): Likewise.
32602 (ASN1_ENCODING): Likewise.
32603 (RAW_ENCODING_SHORT_NAME): Likewise.
32604 (X509_ENCODING_SORT_NAME): Likewise.
32605 (PKCS8_ENCODING_SHORT_NAME): Likewise.
32606 (ASN1_ENCODING_SHORT_NAME): Likewise.
32607 (X509_ENCODING_ID): Likewise.
32608 (PKCS8_ENCODING_ID): Likewise.
32609 (ASN1_ENCODING_ID): Likewise.
32610 (DSA_OID_STRING): Likewise.
32611 (RSA_OID_STRING): Likewise.
32612 (DH_OID_STRING): Likewise.
32614 2006-02-06 Roman Kennke <kennke@aicas.com>
32616 * javax/swing/text/GlyphView.java:
32617 (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32618 Only fill background if there is a background set on the view.
32619 Call Utilities.drawTabbedText with the baseline height, rather than
32620 the upper left corner of the view rectangle.
32621 (getBackground): Return null if no background is set.
32622 * javax/swing/text/GlyphView.java:
32623 (setPropertiesFromAttributes): Use null for background when no
32624 background is set. StyleConstants.getBackground() doesn't work
32625 for this, because it returns Color.BLACK in that case.
32627 2006-02-06 Roman Kennke <kennke@aicas.com>
32629 * java/awt/Container.java
32630 (changeSupport): Removed duplicate (from Component) field.
32631 (addPropertyChangeListener): Call super.
32633 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32635 * java/util/regex/Matcher.java(matches):
32636 set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32638 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32641 * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32642 * gnu/regexp/CharIndexedCharArray.java
32643 (lookBehind),(length): Implemented.
32644 * gnu/regexp/CharIndexedInputStream.java: Likewise.
32645 * gnu/regexp/CharIndexedString.java: Likewise.
32646 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32647 * gnu/regexp/REToken.java(getMaximumLength): New method.
32648 * gnu/regexp/RE.java(internal constructor RE): Added new argument
32650 (initialize): Parse (?<=X), (?<!X), (?>X).
32651 (getMaximumLength): Implemented.
32652 * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32653 * gnu/regexp/RETokenChar.java: Likewise.
32654 * gnu/regexp/RETokenEnd.java: Likewise.
32655 * gnu/regexp/RETokenEndSub.java: Likewise.
32656 * gnu/regexp/RETokenLookAhead.java: Likewise.
32657 * gnu/regexp/RETokenNamedProperty.java: Likewise.
32658 * gnu/regexp/RETokenOneOf.java: Likewise.
32659 * gnu/regexp/RETokenPOSIX.java: Likewise.
32660 * gnu/regexp/RETokenRange.java: Likewise.
32661 * gnu/regexp/RETokenRepeated.java: Likewise.
32662 * gnu/regexp/RETokenStart.java: Likewise.
32663 * gnu/regexp/RETokenWordBoundary.java: Likewise.
32664 * gnu/regexp/RETokenIndependent.java: New file.
32665 * gnu/regexp/RETokenLookBehind.java: New file.
32667 2006-02-06 Roman Kennke <kennke@aicas.com>
32669 * java/awt/Component.java
32670 (firePropertyChange(String,byte,byte)): New method.
32671 (firePropertyChange(String,char,char)): New method.
32672 (firePropertyChange(String,short,short)): New method.
32673 (firePropertyChange(String,long,long)): New method.
32674 (firePropertyChange(String,float,float)): New method.
32675 (firePropertyChange(String,double,double)): New method.
32677 2006-02-06 Roman Kennke <kennke@aicas.com>
32679 * javax/swing/JComponent.java
32680 (AccessibleJComponent.changeSupport): Changed to be a
32681 java.beans.PropertyChangeSupport rather than
32682 SwingPropertyChangeSupport.
32683 (AccessibleJComponent.AccessibleJComponent()): Change initialization
32685 (changeSupport): Removed unneeded field.
32686 (removePropertyChangeListener): Removed unneeded methods.
32687 (addPropertyChangeListener): Removed unneeded methods.
32688 (getPropertyChangeListeners): Removed unneeded methods.
32689 (firePropertyChange(String,boolean,boolean)): Changed to simply
32690 call super. Added specnote.
32691 (firePropertyChange(String,char,char)): Changed to simply
32692 call super. Added specnote.
32693 (firePropertyChange(String,int,int)): Changed to simply
32694 call super. Added specnote.
32695 (firePropertyChange(String,byte,byte)): Removed.
32696 (firePropertyChange(String,Object,Object)): Removed.
32697 (firePropertyChange(String,double,double)): Removed.
32698 (firePropertyChange(String,float,float)): Removed.
32699 (firePropertyChange(String,long,long)): Removed.
32700 (firePropertyChange(String,short,short)): Removed.
32702 2006-02-06 Roman Kennke <kennke@aicas.com>
32704 * javax/swing/event/SwingPropertyChangeSupport.java
32705 (listeners): Removed field.
32706 (propertyListeners): Removed field.
32707 (source): Removed field.
32708 (SwingPropertyChangeSupport()): Removed initialization of removed
32710 (addPropertyChangeListener): Removed methods.
32711 (removePropertyChangeListener): Removed methods.
32712 (getPropertyChangeListeners): Removed methods.
32713 (firePropertyChange): Removed methods.
32714 (hasListeners): Removed methods.
32716 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32719 * java/net/InetAddress.java
32720 (readResolve): Implemented.
32722 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32725 * java/io/ObjectInputStream.java
32726 (readNextBlock()): Handle TC_RESET.
32728 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32730 * javax/print/attribute/standard/Compression.java,
32731 * javax/print/attribute/standard/Finishings.java,
32732 * javax/print/attribute/standard/JobMediaSheets.java,
32733 * javax/print/attribute/standard/JobSheets.java,
32734 * javax/print/attribute/standard/JobState.java,
32735 * javax/print/attribute/standard/JobStateReason.java,
32736 * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32737 * javax/print/attribute/standard/PrintQuality.java,
32738 * javax/print/attribute/standard/Media.java,
32739 * javax/print/attribute/standard/MultipleDocumentHandling.java,
32740 * javax/print/attribute/standard/PrinterStateReason.java,
32741 * javax/print/attribute/standard/PDLOverrideSupported.java:
32742 (getName): Make method final.
32743 (getCategory): Likewise.
32744 * javax/print/attribute/standard/MediaSize.java:
32745 (getName): Make method final.
32746 (getCategory): Likewise.
32747 (ISO): Added private default constructor.
32751 (Engineering): Likewise.
32753 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32755 * native/jni/java-net/javanet.c (_javanet_connect):
32756 Throw ConnectException instead of IOException if connection failed.
32757 * native/jni/java-net/javanet.h:
32758 Add a define for java.net.ConnectException
32760 2006-02-05 Mark Wielaard <mark@klomp.org>
32763 reported by Egon Willighagen <egon.willighagen@gmail.com>
32764 * javax/swing/DefaultListCellRenderer.java
32765 (getListCellRendererComponent): Turn null value into empty string.
32767 2006-02-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
32769 * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32770 a Unicode block if the name starts with "In".
32771 (UnicodeBlockHandler): New inner class.
32773 2006-02-04 Roman Kennke <kennke@aicas.com>
32775 * java/awt/Container.java
32776 (getComponentZOrder): New method.
32777 (setComponentZOrder): New method.
32778 * javax/swing/JLayeredPane.java
32779 (setPosition): Reimplemented to use setComponentZOrder().
32780 (getIndexOf): Reimplemented to use getComponentZOrder().
32781 (addImpl): Pass layerContraint to super call. Important for possibly
32782 installed layout managers.
32783 (swapComponents): Remove unneeded method.
32785 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32787 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32788 DSAKeyPairGenerator.
32789 (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32790 (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32792 Surround call to adaptee in a try/catch.
32793 (initialize((DSAParams,SecureRandom)): New method.
32794 (initialize(int,boolean,SecureRandom)): New method.
32795 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32796 KeyPairGenerator rather than KeyPairGeneratorSpi.
32797 (KeyPairGeneratorAdapter): Call super with algorithm name.
32799 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32801 * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
32802 (getDefaultPRNG): New method.
32803 (parseO): Use method above.
32804 * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
32805 (getDefaultPRNG): New method.
32806 (createO): Use method above.
32807 * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
32808 (nextByte): Use above field.
32809 * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
32810 * gnu/java/security/sig/rsa/RSA.java: New class field.
32811 (newR): Use above field
32812 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
32813 (encode): Use field.above.
32814 * gnu/java/security/key/dss/FIPS186.java (prng): New field.
32815 (getDefaultPRNG): new method.
32816 (nextRandomBytes): Use above method.
32817 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
32818 * gnu/java/security/sig/BaseSignature.java: Likewise.
32819 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
32820 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
32821 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
32822 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
32823 * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
32824 (getDefaultPRNG): new method.
32825 (nextRandomBytes): Use above method.
32826 (STRICT_DEFAULTS): new class field.
32827 (USE_DEFAULTS): more documentation to clarify behavior.
32828 (setup): amended to handle new attribute.
32829 * gnu/java/security/util/PRNG.java: New file.
32831 2006-02-03 Lillian Angel <langel@redhat.com>
32833 * javax/swing/plaf/basic/BasicColorChooserUI.java:
32834 chooser field should be protected, not package-private.
32836 2006-02-03 Lillian Angel <langel@redhat.com>
32838 * javax/swing/text/DefaultStyledDocument.java
32839 (changeUpdate): Cleaned up code.
32841 (insertUpdate): Set offset to be equal to pos after
32842 insertContentTag call.
32843 (insertContentTag): If paragraph has no children, should use
32844 replace instead of Edit.
32845 (insertFracture): Moved around code to prevent any exception. Also,
32846 left side of tree should not be recreated if it has already been
32847 edited. In that case, we should only be creating a new right branch
32849 (getEditForParagraphAndIndex): No need to check index. We should
32850 use the same edit for each paragraph.
32852 2006-02-03 Mark Wielaard <mark@klomp.org>
32854 * javax/swing/event/SwingPropertyChangeSupport.java
32855 (propertyListeners): Change type to HashMap.
32856 (SwingPropertyChangeSupport): Allocate HashMap.
32858 2006-02-03 Raif S. Naffah <raif@swiftdsl.com.au>
32860 * java/security/KeyPairGenerator.java (getInstance): Test for
32861 instanceof KeyPairGenerator before KeyPairGeneratorSpi.
32863 2006-02-02 Roman Kennke <kennke@aicas.com>
32865 * javax/swing/RepaintManager.java
32866 Made fields private.
32867 (RepaintWorker.run): Enclosed work stuff in try finally block in
32868 order to clean up correctly if invalidation or painting fails,
32869 otherwise we would get no more RepaintWorkers onto the EventQueue.
32870 Also, now the RepaintWorker is marked 'dead' only after it has
32871 finished its work, avoid more than one RepaintWorker on the queue.
32872 (ComponentComparator.compareTo): Compare dirty rectangle sizes
32873 instead of hierarchy depths.
32874 (workDirtyComponents): Removed unused field.
32875 (repaintOrder): Removed unused field.
32876 (workRepaintOrder): Removed unused field.
32877 (workInvalidComponents): Removed unused field.
32878 (RepaintManager()): Removed initialization of removed fields.
32879 (addInvalidComponent): Fine tuned synchronization.
32880 (removeInvalidComponent): Fine tune synchronization.
32881 (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
32882 synchronization. Don't manager repaintOrder here.
32883 (insertRepaintOrder): Removed method.
32884 (markCompletelyClean): Fine tuned synchronization.
32885 (validateInvalidComponents): Dont use a working copy of the
32886 invalidComponents list, instead fine tuned synchronization on this
32887 list. Also, don't search validateRoot, this is already done in
32888 addInvalidComponent().
32889 (paintDirtyRegions): Compute repaint order here, based on size of
32890 damaged regions. Fine tuned synchronization. Avoid use of working
32891 copies of dirtyComponent.
32893 2006-02-02 Lillian Angel <langel@redhat.com>
32895 * javax/swing/text/DefaultStyledDocument.java
32896 (insertUpdate): JoinNextDirection should push the
32897 'next' paragraph on the stack.
32899 2006-02-02 Lillian Angel <langel@redhat.com>
32901 * javax/swing/text/DefaultStyledDocument.java
32902 (insertUpdate): Rewrote code for Originate. This prevents
32903 leaves being created multiple times. If it is on the last
32904 ElementSpec, the leaves need to be created right then;
32905 otherwise, only a branch is created.
32906 (insertContentTag): Rewrote to add new leaf directly if
32907 this is a branch with no children. Otherwise, it
32908 recreates the remainder of the tree as before.
32910 2006-02-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
32912 * gnu/regexp/REMatch.java(REMatchList): New inner utility class
32913 for making a list of REMatch instances.
32914 * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
32915 * gnu/regexp/RETokenRepeated.java(findDoables): New method.
32916 (match): Rewritten using REMatchList.
32917 (matchRest): Rewritten using REMatchList.
32919 2006-02-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32921 * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
32922 (friendsMove): Call repaint() only after endOfGame is assigned.
32924 2006-02-02 Mark Wielaard <mark@klomp.org>
32926 Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
32927 * java/util/AbstractCollection.java (toString): Only use Iterator,
32928 check whether collection contains itself.
32930 2006-02-01 Casey Marshall <csm@gnu.org>
32932 Partial fix for PR classpath/25143.
32933 * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
32934 (<init>): fill in `algName,' derive `algOid' from `algName.'
32935 (getOid): new method.
32936 (encode): embed NULL value for parameters if `params' is `null.'
32938 2006-02-01 Casey Marshall <csm@gnu.org>
32940 Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
32941 <monoman@gmail.com>.
32942 * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
32943 check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
32945 2006-02-01 Casey Marshall <csm@gnu.org>
32947 toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
32948 * gnu/java/security/der/DERValue.java
32949 (getLength, getEncoded, getEncodedLength): throw an exception,
32950 don't initialize `encoded' to a bogus value.
32951 (toString): return a more helpful string.
32953 Partial fix for PR classpath/25144.
32954 * gnu/java/security/der/DERWriter.java (write): if the value is
32955 the pseudo-value used for CONSTRUCTED, write the encoded value
32958 2006-02-01 Tom Tromey <tromey@redhat.com>
32960 * java/security/Security.java (loadProviders): Use system class
32963 2006-02-01 Mark Wielaard <mark@klomp.org>
32965 * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
32966 * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
32967 SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
32968 (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
32969 (UnicodeCategoriesHandler): New private static class.
32971 2006-02-01 Lillian Angel <langel@redhat.com>
32973 * javax/swing/text/DefaultStyledDocument.java:
32974 Removed unneeded fields.
32975 (insertUpdate): Removed field initialization.
32976 (insertContentTag): Rewrote part of function. Still
32979 2006-02-01 Lillian Angel <langel@redhat.com>
32981 * javax/swing/text/DefaultStyledDocument.java
32982 (insertParagraph): Cleaned up code.
32983 (insertFirstContentTag): Fixed call to recreateLeaves.
32984 (insertContentTag): Added check to code to determine where
32985 content should be inserted with respect to next element.
32986 (createFracture): Removed check, recreateLeaves is called in
32987 other places when needed.
32988 (recreateLeaves): Added new parameter for paragraph instead
32989 of checking the stack. Removed editing for newBranch, replaced
32990 with a replace call.
32992 2006-02-01 Anthony Balkissoon <abalkiss@redhat.com>
32994 * doc/unicode/Blocks-4.0.0.txt: New file.
32995 * java/lang/Character.java: Regenerated inner class UnicodeBlock from
32996 scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
32997 * scripts/unicode-blocks.pl: Copied this over from the generics branch
32998 but replaced some 1.5-only features (such as enum).
33000 2006-01-31 Roman Kennke <kennke@aicas.com>
33002 * javax/swing/text/PasswordView.java
33003 (drawSelectedText): Use drawEchoCharacter() method to draw echo
33005 (drawUnselectedText): Use drawEchoCharacter() method to draw echo
33008 2006-01-31 Roman Kennke <kennke@aicas.com>
33010 * javax/swing/JTextField.java
33011 (getPreferredSize): Also include textfield's insets in width
33014 2006-01-31 Roman Kennke <kennke@aicas.com>
33016 * javax/swing/plaf/basic/BasicTextUI.java
33017 (getPreferredSize): Include the textcomponent's insets in
33020 2006-01-31 Roman Kennke <kennke@aicas.com>
33022 * javax/swing/table/DefaultTableCellRenderer.java
33023 (getTableCellRendererComponent): Moved setting of the value into
33024 setValue(). Removed (bogus) special handling of JTextField values.
33025 (setValue): Made ?: statement more clear by rewriting it
33028 2006-01-31 Roman Kennke <kennke@aicas.com>
33030 * javax/swing/JLayeredPane.java
33031 (insertIndexForLayer): Fixed algorithm to correctly determine
33032 inser index for positions >= 0.
33033 (addImpl): Fixed API docs for the index parameter.
33035 2006-01-31 Mark Wielaard <mark@klomp.org>
33037 * java/net/URI.java (getURIGroup): Check for null to see whether
33038 group actually exists.
33040 2006-01-31 Lillian Angel <langel@redhat.com>
33042 * javax/swing/text/DefaultStyledDocument.java
33043 (changeUpdate): Fixed calls to split to incorporate
33045 (insertParagraph): Likewise. Uses 0 as editIndex
33046 because inserting into a new paragraph.
33047 (insertContentTag): Fixed check to use
33048 recreateLeaves. Added a FIXME comment.
33049 (split): Added a new parameter for edits.
33051 2006-01-31 Roman Kennke <kennke@aicas.com>
33053 * javax/swing/plaf/basic/BasicRootPaneUI.java
33054 (installDefaults): Don't install a background color here.
33056 2006-01-31 Lillian Angel <langel@redhat.com>
33058 * javax/swing/text/DefaultStyledDocument.java
33059 (insert): Removed comment.
33060 (insertUpdate): Added comment.
33061 (recreateLeaves): Removed call to push newBranch onto the
33062 stack. This does not need to be done here.
33064 2006-01-31 Chris Burdess <dog@gnu.org>
33066 * gnu/xml/stream/SAXParser.java,
33067 gnu/xml/stream/UnicodeReader.java,
33068 gnu/xml/stream/XIncludeFilter.java,
33069 gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
33070 only resolved the system ID not the stream. Make some utility methods
33071 public and static for use by other private XML APIs.
33072 * java/lang/ClassNotFoundException.java: Ensure that initCause can be
33073 called without throwing IllegalStateException.
33074 * java/util/logging/SimpleFormatter.java: Write thrown exception if
33077 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
33080 * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
33081 for an invalid index and return null for a skipped group.
33083 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
33086 * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
33087 (NamedProperty): New inner class.
33088 (getNamedProperty): New method.
33089 (getRETokenNamedProperty): New Method.
33090 * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
33091 * gnu/regexp/RETokenNamedProperty.java: New file.
33093 2006-01-31 Roman Kennke <kennke@aicas.com>
33095 * javax/swing/plaf/PlainView.java
33096 (paint): Call drawLine with baseline coordinates.
33097 (drawLine): Documented and indented this method.
33098 (drawUnselecetedText): Documented and indented this method.
33099 * javax/swing/plaf/text/Utilites.java
33100 (drawTabbedText): The coordinates denote the baseline of the text
33101 not the upper left corner.
33103 2006-01-31 Roman Kennke <kennke@aicas.com>
33105 * javax/swing/plaf/basic/BasicTextUI.java
33106 (createKeymap): Don't store KeyBindings[] as focusInputMap in
33107 UIManager. Added FIXME regarding the implementation of this method.
33109 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
33111 * examples/gnu/classpath/examples/swing/ButtonDemo.java
33112 (ButtonDemo): Move content initialisation to new method,
33113 (initFrameContent): New method,
33114 (main): Call initFrameContent(),
33115 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
33116 * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
33117 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
33118 * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
33119 * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
33121 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
33123 * examples/gnu/classpath/examples/swing/Demo.java
33124 (Demo): Set frame size,
33125 (mkButtonBar): Removed stacked sub-panels.
33127 2006-01-30 Lillian Angel <langel@redhat.com>
33129 * javax/swing/text/DefaultStyledDocument.java:
33131 (insert): Initialized fields. Removed call to addEdit,
33132 and created ElementEdit instead.
33133 (insertUpdate): Added check for fracturing. If the
33134 fracturing was not successful, we should push the
33135 last element back on the stack.
33136 (insertParagraph): Fixed call to getEditForParagraphAndIndex.
33137 Also, changed replace calls to use Edit.
33138 (insertFirstContentTag): Removed unneeded check and fixed call
33140 (insertContent): Fixed check to use new fields. Added code in
33141 to check if leaves overlap.
33142 (createFracture): Fixed call to recreateLeaves.
33143 (recreateLeaves): Fixed code and cleaned it up a bit.
33144 (insertFracture): Set fracNotCreated field.
33145 (addEdit): Removed, this method is not needed.
33147 2006-01-30 Roman Kennke <kennke@aicas.com>
33149 * javax/swing/JRootPane.java
33150 (RootLayout.prefSize): Removed caching for preferredSize.
33151 (RootLayout.invalidateLayout): Likewise.
33152 (RootLayout.preferredLayoutSize): Likewise.
33154 2006-01-30 Roman Kennke <kennke@aicas.com>
33157 * javax/swing/JFrame.java
33158 (frameInit): Handle the defaultLookAndFeelDecorated flag.
33159 * javax/swing/plaf/metal/MetalRootPaneUI.java
33160 (MetalFrameBorder): New inner class, provides the border for
33161 top level containers with L&F decorations.
33162 (MetalTitlePane): New inner class, provides the title pane for
33163 top level containers with L&F decorations.
33164 (MetalRootLayout): New inner class. Used to layout the root pane
33165 when L&F window decorations are enabled.
33166 (installUI): New method. Handles window decorations.
33167 (uninstallUI): New method. Handles window decorations.
33168 (propertyChange): Handles window decorations.
33169 (installWindowDecorations): New method. Handles window
33171 (uninstallWindowDecorations): New method. Handles window
33173 * javax/swing/plaf/metal/MetalLookAndFeel.java
33174 (getSupportsWindowDecorations): Overridden to return true.
33176 2006-01-30 Mark Wielaard <mark@klomp.org>
33178 * javax/swing/JProgressBar.java (JProgressBar(int)): Document
33179 IllegalArgumentException when orientation is illegal.
33180 (JProgressBar(int, int, int)): Likewise and throw exception.
33181 (setOrientation): Likewise.
33183 2006-01-30 Roman Kennke <kennke@aicas.com>
33185 * javax/swing/ViewportLayout.java
33186 (minimumLayoutSize): Rewritten to unconditionally return (4,4).
33188 2006-01-30 Mark Wielaard <mark@klomp.org>
33190 * javax/swing/JProgressBar.java (orientation): Always set by
33192 (JProgressBar(int)): Document default on 'illegal' value.
33193 (JProgressBar(int, int, int)): Likewise and set orientation to
33194 HORIZONTAL when 'illegal'.
33195 (setOrientation): Likewise.
33197 2006-01-30 Roman Kennke <kennke@aicas.com>
33199 * javax/swing/plaf/basic/BasicListUI.java
33200 (ListDataHandler.contentsChanged): Update the
33201 updateLayoutStateNeeded flag.
33202 (ListDataHandler.intervalAdded): Update the
33203 updateLayoutStateNeeded flag.
33204 (ListDataHandler.intervalRemoved): Update the
33205 updateLayoutStateNeeded flag.
33206 (PropertyChangeHandler.propertyChange): Correctly update the
33207 listeners on new list model.
33208 (maybeUpdateLayoutState): Don't consider the validation state
33211 2006-01-30 Mark Wielaard <mark@klomp.org>
33213 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
33216 2006-01-30 Roman Kennke <kennke@aicas.com>
33218 * javax/swing/JLayeredPane.java
33219 (insertIndexForLayer): Fixed algorithm to correctly insert
33220 components within different layers and -1 position.
33222 2006-01-30 Mark Wielaard <mark@klomp.org>
33224 * doc/api/Makefile.am (create_html): Add -validhtml.
33226 2006-01-30 Roman Kennke <kennke@aicas.com>
33228 * javax/swing/JLayeredPane.java
33229 (insertIndexForLayer): Fixed algorithm to correctly insert
33230 components within same layer and -1 position.
33232 2006-01-30 Ito Kazumitsu <kaz@maczuka.gcd.org>
33235 * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
33236 New execution flag.
33237 (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
33238 implicit RETokenEnd at the end of the regexp chain.
33239 Do not select the longest match, but select the first match.
33240 (match): Do not take care of REMatch.empty.
33241 * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
33242 * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
33243 * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
33244 * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
33245 Do not take care of REMatch.empty. Set and check REMatch.empty
33246 when trying to match the single token.
33248 2006-01-30 Mark Wielaard <mark@klomp.org>
33250 * java/awt/Cursor.java (toString): Include name and type.
33252 2006-01-30 Raif S. Naffah <raif@swiftdsl.com.au>
33254 * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
33256 * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
33258 2006-01-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33261 * javax/swing/plaf/basic/BasicListUI.java (maybeUpdateLayoutState):
33262 Consider the validation state of the list.
33264 2006-01-29 Robert Schuster <robertschuster@fsfe.org>
33266 * gnu/java/beans/DefaultExceptionListener.java: Constant public field
33268 * java/beans/XMLDecoder.java:
33269 (setExceptionListener): Use shared DefaultExceptionListener
33271 * java/beans/Encoder.java:
33272 (setExceptionListener): Use shared DefaultExceptionListener
33275 2006-01-29 Roman Kennke <kennke@aicas.com>
33277 * javax/swing/ScrollPaneLayout.java
33278 (minimumLayoutSize): Rewritten to match JDKs behaviour.
33280 2006-01-29 Mark Wielaard <mark@klomp.org>
33282 * java/net/SocketPermission.java (setActions): Trim and lower case
33285 2006-01-29 Raif S. Naffah <raif@swiftdsl.com.au>
33287 * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
33288 incorrectly failing primality test for some known primes. Fixed.
33289 (passFermatLittleTheorem): Removed.
33290 (passMillerRabin): Removed.
33291 (isProbablePrime): Cache primes that pass the primality tests.
33292 Use BigInteger.isProbablePrime(int) for primality tests.
33293 (debugBI): New static debugging method.
33295 2006-01-28 Roman Kennke <kennke@aicas.com>
33297 * javax/swing/plaf/basic/BasicListUI.java
33298 (updateLayoutState): Removed unneeded special case for VERTICAL.
33300 2006-01-28 Roman Kennke <kennke@aicas.com>
33302 * javax/swing/plaf/basic/BasicListUI.java
33303 (getCellBounds): Determine correct list width when having a
33304 layoutOrientation of VERTICAL.
33305 (maybeUpdateLayoutState): Don't consider the validation state of
33308 2006-01-28 Mark Wielaard <mark@klomp.org>
33310 Reported by Dimitri Fontaine <dimitri@dalibo.com>
33311 * java/awt/print/NoPrinterJob.java: New (fake) class.
33312 * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
33314 2006-01-28 Mark Wielaard <mark@klomp.org>
33316 * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
33318 2006-01-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33320 * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
33321 (addChildren): New method.
33323 2006-01-28 Raif S. Naffah <raif@swiftdsl.com.au>
33325 * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
33326 constructor for cloning purposes.
33327 (clone): New implementation that ensures cloning.
33328 * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
33329 * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
33332 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33334 * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
33335 Call updateCurrentVisiblePath.
33337 2006-01-27 Roman Kennke <kennke@aicas.com>
33339 * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
33341 2006-01-27 Roman Kennke <kennke@aicas.com>
33343 * examples/gnu/classpath/examples/swing/ButtonDemo.java
33344 (createContent): Only create new content if we don't have one
33346 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
33347 (createContent): Only create new content if we don't have one
33349 * examples/gnu/classpath/examples/swing/FileChooserDemo.java
33350 (createContent): Only create new content if we don't have one
33352 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
33353 (createContent): Only create new content if we don't have one
33355 * examples/gnu/classpath/examples/swing/SliderDemo.java
33356 (createContent): Only create new content if we don't have one
33358 * examples/gnu/classpath/examples/swing/TableDemo.java
33359 (createContent): Only create new content if we don't have one
33361 * examples/gnu/classpath/examples/swing/TextFieldDemo.java
33362 (createContent): Only create new content if we don't have one
33365 2006-01-27 Lillian Angel <langel@redhat.com>
33367 * javax/swing/text/DefaultStyledDocument.java
33368 (insertFirstContentTag): Removed check, not needed. This
33369 still needs to be fixed for some cases. Added call to
33371 (createFracture): Added call to recreateLeaves.
33372 (recreateLeaves): New method used to recreate all the
33373 leaves after the initial insertion. This still needs
33375 (handleInsertAfterNewline): Removed else, not needed.
33377 2006-01-27 Roman Kennke <kennke@aicas.com>
33379 * javax/swing/JLayeredPane.java
33380 (inserIndexForLayer): Fixed direction of search.
33382 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33384 * javax/swing/JTree.java (constructor): Put EXPANDED for the root
33385 node into nodeStates.
33387 2006-01-27 Roman Kennke <kennke@aicas.com>
33389 * javax/swing/JLayeredPane.java
33390 (FRAME_CONTENT_LAYER): Made field final.
33391 (componentToLayer): Made field private.
33392 (rectCache): Removed field.
33393 (layers): Removed field.
33394 (JLayeredPane()): Removed initialization of removed fields.
33395 (getLayer): Rewritten to make use of client properties in
33396 JComponents and to be more straighforward.
33397 (static getLayer): Rewritten to make use of client properties in
33399 (layerToRange): Removed method.
33400 (incrLayer): Removed method.
33401 (decrLayer): Removed method.
33402 (highestLayer): Rewritten to be more straightforward.
33403 (lowestLayer): Rewritten to be more straightforward.
33404 (getPosition): Rewritten to be more straightforward.
33405 (getComponentsInLayer): Rewritten to be more straightforward.
33406 (getComponentCountInLayer): Rewritten to be more straightforward.
33407 (getIndexOf): Rewritten to be more straightforward.
33408 (inserIndexForLayer): Rewritten to be more straightforward.
33409 (remove): Rewritten to be more straightforward.
33410 (setLayer): Rewritten to be more straightforward.
33411 (addImpl): Rewritten to be more straightforward.
33412 (putLayer): Rewritten to be more straightforward.
33414 2006-01-27 Anthony Balkissoon <abalkiss@redhat.com>
33416 * java/lang/Character.java:
33417 (offsetByCodePoints(CharSequence, int, int)): New API method.
33418 (offsetByCodePoints(char[], int, int, int, int)): Likewise.
33419 (toChars): Throw the Exception that the docs say we throw.
33420 (codePointAt): Fixed an off-by-one error in the bounds of the if
33422 * java/lang/String.java:
33423 (String(int[], int, int)): New API constructor.
33425 2006-01-27 Lillian Angel <langel@redhat.com>
33427 * javax/swing/text/DefaultStyledDocument.java
33428 (insert): Moved this loop to insertUpdate.
33429 (insertUpdate): Likewise. Fixed variable
33430 names. Incremented pos if new paragraph
33432 (split): Changed edits to use replace instead. Prevents
33434 (insertFirstContentTag): Removed else.
33435 (insertContentTag): Implemented else for JoinNextDirection.
33436 (createFracture): Fixed up code, still not fully complete.
33437 (insertFracture): Fixed to use return value from
33438 recreateAfterFracture.
33439 (recreateAfterFracture): Changed to return an array of the
33440 elements to be added. This prevents an assertion error.
33441 (contains): New function checks if an element is already in
33442 the Vector. Vector's contain function was not enough to use.
33443 (addAddedElement): Changed to use new contains function.
33444 (addAddedElements): Likewise.
33445 (addRemovedElement): Likewise.
33446 (addRemovedElements): Likewise.
33448 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33451 * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33452 If no user class loaders found on the stack, return the thread
33453 context class loader. (currentClassLoader): Explained.
33455 2006-01-27 Roman Kennke <kennke@aicas.com>
33457 * java/awt/Container.java
33458 (swapComponents): Removed unspecified method.
33459 * javax/swing/JLayeredPane.java
33460 (setPosition): Reimplemented correctly.
33461 (swapComponents): New helper method.
33463 2006-01-27 Mark Wielaard <mark@klomp.org>
33465 * configure.ac: Set version to 0.21-pre.
33467 2006-01-27 Roman Kennke <kennke@aicas.com>
33470 * javax/swing/JComponent.java
33471 (findOverlapFreeParent): Improved the algorithm to make better use
33472 of the optimizedDrawingEnabled flag.
33473 * javax/swing/JLayeredPane.java
33474 (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33475 * javax/swing/JViewport.java
33476 (computeBlit): Fixed check to decide if blitting is possible or not,
33477 so that it doesn't blit if nothing was scrolled (in order to
33478 update the buffer when the view updates itself).
33480 2006-01-27 Roman Kennke <kennke@aicas.com>
33482 * javax/swing/plaf/metal/MetalFileChooserUI.java
33483 (createList): Don't set scrollbar policy.
33485 2006-01-27 Roman Kennke <kennke@aicas.com>
33487 * javax/swing/plaf/basic/BasicPopupMenuUI.java
33488 (PopupMenuHandler.popupMenuWillBecomeInvisible):
33489 Fixed to also handle non-Swing toplevel containers.
33490 (PopupMenuHandler.popupMenuWillBecomeVisible):
33491 Fixed to also handle non-Swing toplevel containers.
33492 * javax/swing/Popup.java
33493 (JWindowPopup.JWindowPopup()): Correctly set parent window on
33496 2006-01-27 Roman Kennke <kennke@aicas.com>
33498 * javax/swing/plaf/basic/BasicInternalFrameUI.java
33499 (InternalFramePropertyChangeListener): Don't implement
33500 VetoableChangeListener.
33501 (InternalFramePropertyChangeListener.vetoableChange): Removed.
33502 (internalFrameVetoableChangeListener): Removed unneeded field.
33503 (installListeners): Don't install vetoableChangeListener.
33504 * javax/swing/event/DocumentEvent.java
33505 (EventType): Made class final.
33507 2006-01-27 Roman Kennke <kennke@aicas.com>
33509 * javax/swing/SwingUtilities.java
33510 (calculateInsetArea): Removed unneeded method. The method
33511 calculateInnerArea has the same purpose and is actually specified.
33512 (calculateInnerArea): Rewritten to not use calculateInsetArea.
33513 * javax/swing/plaf/basic/BasicMenuItemUI.java
33514 (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33515 of SwingUtilities.calculateInsetArea().
33517 2006-01-27 Roman Kennke <kennke@aicas.com>
33519 * javax/swing/plaf/basic/BasicTreeUI.java
33520 (installDefaults): Removed requestFocusInWindow() call.
33521 * javax/swing/JComponent.java
33522 (requestFocusInWindow(boolean)): Made method protected.
33523 (printComponent): Made method protected.
33524 (printChildren): Made method protected.
33525 (printComponent): Made method protected.
33526 (printBorder): Made method protected.
33528 2006-01-27 Roman Kennke <kennke@aicas.com>
33530 * javax/swing/AbstractButton.java
33531 (ButtonChangeListener.ButtonChangeListener()): Made constructor
33533 * javax/swing/ImageIcon.java
33534 (component): Made field final.
33535 (tracker): Made field final.
33536 * javax/swing/JApplet.java
33537 (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33538 * javax/swing/JCheckBox.java
33539 (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33541 * javax/swing/JDialog.java
33542 (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33543 * javax/swing/JFrame.java
33544 (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33545 * javax/swing/JLayeredPane.java
33546 (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33548 (DEFAULT_LAYER): Made field final.
33549 (PALETTE_LAYER): Made field final.
33550 (MODAL_LAYER): Made field final.
33551 (POPUP_LAYER): Made field final.
33552 (DRAG_LAYER): Made field final.
33553 * javax/swing/JMenu.java
33554 (ActionChangeListener): Made class private.
33555 * javax/swing/JOptionPane.java
33556 (UNITITIALIZED_VALUE): Made field final.
33557 * javax/swing/JPanel.java
33558 (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33559 * javax/swing/JPopupMenu.java
33560 (ActionChangeListener): Made class private.
33561 * javax/swing/JTree.java
33562 (paramString): Made method protected.
33563 * javax/swing/JViewport.java
33564 (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33565 * javax/swing/JWindow.java
33566 (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33567 * javax/swing/RepaintManager.java
33568 (RepaintWorker): Made class private.
33570 2006-01-27 Roman Kennke <kennke@aicas.com>
33572 * gnu/java/awt/peer/swing/SwingComponentPeer.java
33573 (handleEvent): Removed debug statement.
33575 2006-01-27 Roman Kennke <kennke@aicas.com>
33577 * java/awt/Component.java
33578 (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33579 more than it helps.
33581 2006-01-26 Lillian Angel <langel@redhat.com>
33583 * javax/swing/text/DefaultStyledDocument.java
33584 (createFracture): Commented out a known problem,
33587 2006-01-26 Lillian Angel <langel@redhat.com>
33589 * javax/swing/text/DefaultStyledDocument.java
33590 (ElementBuffer): Added fields.
33591 (remove): Initialized pos.
33592 (change): Likewise.
33593 (insert): Likewise.
33594 (insertUpdate): Incremented pos. Fixed check, createFracture should
33595 be called on first tag if it is not ContentType.
33596 (insertFirstContentTag): Reworked to use proper offsets and
33597 set offset accordingly. This might need more work in the future.
33598 (insertContentTag): Likewise. Fixed to use pos, instead of
33600 (createFracture): Fixed to recreate other leaves. Still needs
33602 (insertFracture): Reimplemented.
33603 (recreateAfterFracture): New method.
33604 (getParagraphElement): Reimplemented, more efficent.
33606 2006-01-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
33608 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33609 (doubleToRawLongBits, longBitsToDouble): Swap the byte
33610 ordering for little-endian arms without VFP.
33612 2006-01-26 Raif S. Naffah <raif@swiftdsl.com.au>
33615 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33617 2006-01-26 Mark Wielaard <mark@klomp.org>
33619 Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33620 * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33621 Add trailing zeros to the fraction of the decimal with the smallest
33624 2006-01-26 Roman Kennke <kennke@aicas.com>
33626 * javax/swing/text/html/ObjectView.java: New file.
33628 2006-01-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33630 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
33631 Call startEditing when appropriate.
33632 (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33633 (startEditing): Always edit if directly ordered from
33634 MouseHandler.mousePressed.
33635 * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START):
33636 New field. (createTreeCellEditor): Set click count to start.
33637 (getTreeCellEditorComponent): Assing realEditor directly.
33639 2006-01-25 Casey Marshall <csm@gnu.org>
33641 Merging GNU Crypto and Jessie.
33643 * NEWS: mention the merge in the 0.21 notes.
33644 * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33645 (SSL_RECORD_LAYER): new constants.
33646 * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33648 * resource/java/security/classpath.security: add new providers.
33649 * gnu/javax/crypto/assembly/Assembly.java,
33650 gnu/javax/crypto/assembly/Cascade.java,
33651 gnu/javax/crypto/assembly/CascadeStage.java,
33652 gnu/javax/crypto/assembly/CascadeTransformer.java,
33653 gnu/javax/crypto/assembly/DeflateTransformer.java,
33654 gnu/javax/crypto/assembly/Direction.java,
33655 gnu/javax/crypto/assembly/LoopbackTransformer.java,
33656 gnu/javax/crypto/assembly/ModeStage.java,
33657 gnu/javax/crypto/assembly/Operation.java,
33658 gnu/javax/crypto/assembly/PaddingTransformer.java,
33659 gnu/javax/crypto/assembly/Stage.java,
33660 gnu/javax/crypto/assembly/Transformer.java,
33661 gnu/javax/crypto/assembly/TransformerException.java,
33662 gnu/javax/crypto/cipher/Anubis.java,
33663 gnu/javax/crypto/cipher/BaseCipher.java,
33664 gnu/javax/crypto/cipher/Blowfish.java,
33665 gnu/javax/crypto/cipher/Cast5.java,
33666 gnu/javax/crypto/cipher/CipherFactory.java,
33667 gnu/javax/crypto/cipher/DES.java,
33668 gnu/javax/crypto/cipher/IBlockCipher.java,
33669 gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33670 gnu/javax/crypto/cipher/Khazad.java,
33671 gnu/javax/crypto/cipher/NullCipher.java,
33672 gnu/javax/crypto/cipher/Rijndael.java,
33673 gnu/javax/crypto/cipher/Serpent.java,
33674 gnu/javax/crypto/cipher/Square.java,
33675 gnu/javax/crypto/cipher/TripleDES.java,
33676 gnu/javax/crypto/cipher/Twofish.java,
33677 gnu/javax/crypto/cipher/WeakKeyException.java,
33678 gnu/javax/crypto/jce/GnuCrypto.java,
33679 gnu/javax/crypto/jce/GnuSasl.java,
33680 gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33681 gnu/javax/crypto/jce/cipher/AESSpi.java,
33682 gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33683 gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33684 gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33685 gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33686 gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33687 gnu/javax/crypto/jce/cipher/DESSpi.java,
33688 gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33689 gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33690 gnu/javax/crypto/jce/cipher/PBES2.java,
33691 gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33692 gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33693 gnu/javax/crypto/jce/cipher/SquareSpi.java,
33694 gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33695 gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33696 gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33697 gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33698 gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33699 gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33700 gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33701 gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33702 gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33703 gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33704 gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33705 gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33706 gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33707 gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33708 gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33709 gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33710 gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33711 gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33712 gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33713 gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33714 gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33715 gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33716 gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33717 gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33718 gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33719 gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33720 gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33721 gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33722 gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33723 gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33724 gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33725 gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33726 gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33727 gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33728 gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33729 gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33730 gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33731 gnu/javax/crypto/jce/mac/MacAdapter.java,
33732 gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33733 gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33734 gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33735 gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33736 gnu/javax/crypto/jce/mac/OMacImpl.java,
33737 gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33738 gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33739 gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33740 gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33741 gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33742 gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33743 gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33744 gnu/javax/crypto/jce/mac/UHash32Spi.java,
33745 gnu/javax/crypto/jce/mac/UMac32Spi.java,
33746 gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33747 gnu/javax/crypto/jce/params/DEREncodingException.java,
33748 gnu/javax/crypto/jce/params/DERReader.java,
33749 gnu/javax/crypto/jce/params/DERWriter.java,
33750 gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33751 gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33752 gnu/javax/crypto/jce/prng/FortunaImpl.java,
33753 gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33754 gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33755 gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33756 gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33757 gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33758 gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33759 gnu/javax/crypto/key/GnuSecretKey.java,
33760 gnu/javax/crypto/key/IKeyAgreementParty.java,
33761 gnu/javax/crypto/key/IncomingMessage.java,
33762 gnu/javax/crypto/key/KeyAgreementException.java,
33763 gnu/javax/crypto/key/KeyAgreementFactory.java,
33764 gnu/javax/crypto/key/OutgoingMessage.java,
33765 gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33766 gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33767 gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33768 gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33769 gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33770 gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33771 gnu/javax/crypto/key/dh/ElGamalSender.java,
33772 gnu/javax/crypto/key/dh/GnuDHKey.java,
33773 gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33774 gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33775 gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33776 gnu/javax/crypto/key/dh/RFC2631.java,
33777 gnu/javax/crypto/key/srp6/SRP6Host.java,
33778 gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33779 gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33780 gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33781 gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33782 gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33783 gnu/javax/crypto/key/srp6/SRP6User.java,
33784 gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33785 gnu/javax/crypto/key/srp6/SRPKey.java,
33786 gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33787 gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33788 gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33789 gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33790 gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33791 gnu/javax/crypto/keyring/BaseKeyring.java,
33792 gnu/javax/crypto/keyring/BinaryDataEntry.java,
33793 gnu/javax/crypto/keyring/CertPathEntry.java,
33794 gnu/javax/crypto/keyring/CertificateEntry.java,
33795 gnu/javax/crypto/keyring/CompressedEntry.java,
33796 gnu/javax/crypto/keyring/EncryptedEntry.java,
33797 gnu/javax/crypto/keyring/Entry.java,
33798 gnu/javax/crypto/keyring/EnvelopeEntry.java,
33799 gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33800 gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33801 gnu/javax/crypto/keyring/IKeyring.java,
33802 gnu/javax/crypto/keyring/IPrivateKeyring.java,
33803 gnu/javax/crypto/keyring/IPublicKeyring.java,
33804 gnu/javax/crypto/keyring/MalformedKeyringException.java,
33805 gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
33806 gnu/javax/crypto/keyring/MeteredInputStream.java,
33807 gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
33808 gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
33809 gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
33810 gnu/javax/crypto/keyring/PrimitiveEntry.java,
33811 gnu/javax/crypto/keyring/PrivateKeyEntry.java,
33812 gnu/javax/crypto/keyring/Properties.java,
33813 gnu/javax/crypto/keyring/PublicKeyEntry.java,
33814 gnu/javax/crypto/mac/BaseMac.java,
33815 gnu/javax/crypto/mac/HMac.java,
33816 gnu/javax/crypto/mac/HMacFactory.java,
33817 gnu/javax/crypto/mac/IMac.java,
33818 gnu/javax/crypto/mac/MacFactory.java,
33819 gnu/javax/crypto/mac/MacInputStream.java,
33820 gnu/javax/crypto/mac/MacOutputStream.java,
33821 gnu/javax/crypto/mac/OMAC.java,
33822 gnu/javax/crypto/mac/TMMH16.java,
33823 gnu/javax/crypto/mac/UHash32.java,
33824 gnu/javax/crypto/mac/UMac32.java,
33825 gnu/javax/crypto/mode/BaseMode.java,
33826 gnu/javax/crypto/mode/CBC.java,
33827 gnu/javax/crypto/mode/CFB.java,
33828 gnu/javax/crypto/mode/CTR.java,
33829 gnu/javax/crypto/mode/EAX.java,
33830 gnu/javax/crypto/mode/ECB.java,
33831 gnu/javax/crypto/mode/IAuthenticatedMode.java,
33832 gnu/javax/crypto/mode/ICM.java,
33833 gnu/javax/crypto/mode/IMode.java,
33834 gnu/javax/crypto/mode/ModeFactory.java,
33835 gnu/javax/crypto/mode/OFB.java,
33836 gnu/javax/crypto/pad/BasePad.java,
33837 gnu/javax/crypto/pad/IPad.java,
33838 gnu/javax/crypto/pad/PKCS1_V1_5.java,
33839 gnu/javax/crypto/pad/PKCS7.java,
33840 gnu/javax/crypto/pad/PadFactory.java,
33841 gnu/javax/crypto/pad/SSL3.java,
33842 gnu/javax/crypto/pad/TBC.java,
33843 gnu/javax/crypto/pad/TLS1.java,
33844 gnu/javax/crypto/pad/WrongPaddingException.java,
33845 gnu/javax/crypto/prng/ARCFour.java,
33846 gnu/javax/crypto/prng/CSPRNG.java,
33847 gnu/javax/crypto/prng/Fortuna.java,
33848 gnu/javax/crypto/prng/ICMGenerator.java,
33849 gnu/javax/crypto/prng/IPBE.java,
33850 gnu/javax/crypto/prng/PBKDF2.java,
33851 gnu/javax/crypto/prng/PRNGFactory.java,
33852 gnu/javax/crypto/prng/UMacGenerator.java,
33853 gnu/javax/crypto/sasl/AuthInfo.java,
33854 gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
33855 gnu/javax/crypto/sasl/ClientFactory.java,
33856 gnu/javax/crypto/sasl/ClientMechanism.java,
33857 gnu/javax/crypto/sasl/ConfidentialityException.java,
33858 gnu/javax/crypto/sasl/IAuthInfoProvider.java,
33859 gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
33860 gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
33861 gnu/javax/crypto/sasl/InputBuffer.java,
33862 gnu/javax/crypto/sasl/IntegrityException.java,
33863 gnu/javax/crypto/sasl/NoSuchMechanismException.java,
33864 gnu/javax/crypto/sasl/NoSuchUserException.java,
33865 gnu/javax/crypto/sasl/OutputBuffer.java,
33866 gnu/javax/crypto/sasl/SaslEncodingException.java,
33867 gnu/javax/crypto/sasl/SaslInputStream.java,
33868 gnu/javax/crypto/sasl/SaslOutputStream.java,
33869 gnu/javax/crypto/sasl/SaslUtil.java,
33870 gnu/javax/crypto/sasl/ServerFactory.java,
33871 gnu/javax/crypto/sasl/ServerMechanism.java,
33872 gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
33873 gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
33874 gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
33875 gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
33876 gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
33877 gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
33878 gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
33879 gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
33880 gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
33881 gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
33882 gnu/javax/crypto/sasl/plain/PasswordFile.java,
33883 gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
33884 gnu/javax/crypto/sasl/plain/PlainClient.java,
33885 gnu/javax/crypto/sasl/plain/PlainRegistry.java,
33886 gnu/javax/crypto/sasl/plain/PlainServer.java,
33887 gnu/javax/crypto/sasl/srp/CALG.java,
33888 gnu/javax/crypto/sasl/srp/ClientStore.java,
33889 gnu/javax/crypto/sasl/srp/IALG.java,
33890 gnu/javax/crypto/sasl/srp/KDF.java,
33891 gnu/javax/crypto/sasl/srp/PasswordFile.java,
33892 gnu/javax/crypto/sasl/srp/SRP.java,
33893 gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
33894 gnu/javax/crypto/sasl/srp/SRPClient.java,
33895 gnu/javax/crypto/sasl/srp/SRPRegistry.java,
33896 gnu/javax/crypto/sasl/srp/SRPServer.java,
33897 gnu/javax/crypto/sasl/srp/SecurityContext.java,
33898 gnu/javax/crypto/sasl/srp/ServerStore.java,
33899 gnu/javax/crypto/sasl/srp/StoreEntry.java,
33900 gnu/javax/net/ssl/Base64.java,
33901 gnu/javax/net/ssl/EntropySource.java,
33902 gnu/javax/net/ssl/NullManagerParameters.java,
33903 gnu/javax/net/ssl/PrivateCredentials.java,
33904 gnu/javax/net/ssl/SRPManagerParameters.java,
33905 gnu/javax/net/ssl/SRPTrustManager.java,
33906 gnu/javax/net/ssl/StaticTrustAnchors.java,
33907 gnu/javax/net/ssl/provider/Alert.java,
33908 gnu/javax/net/ssl/provider/AlertException.java,
33909 gnu/javax/net/ssl/provider/Certificate.java,
33910 gnu/javax/net/ssl/provider/CertificateRequest.java,
33911 gnu/javax/net/ssl/provider/CertificateType.java,
33912 gnu/javax/net/ssl/provider/CertificateVerify.java,
33913 gnu/javax/net/ssl/provider/CipherSuite.java,
33914 gnu/javax/net/ssl/provider/ClientHello.java,
33915 gnu/javax/net/ssl/provider/ClientKeyExchange.java,
33916 gnu/javax/net/ssl/provider/CompressionMethod.java,
33917 gnu/javax/net/ssl/provider/Constructed.java,
33918 gnu/javax/net/ssl/provider/ContentType.java,
33919 gnu/javax/net/ssl/provider/Context.java,
33920 gnu/javax/net/ssl/provider/DiffieHellman.java,
33921 gnu/javax/net/ssl/provider/DigestInputStream.java,
33922 gnu/javax/net/ssl/provider/DigestOutputStream.java,
33923 gnu/javax/net/ssl/provider/Enumerated.java,
33924 gnu/javax/net/ssl/provider/Extension.java,
33925 gnu/javax/net/ssl/provider/Extensions.java,
33926 gnu/javax/net/ssl/provider/Finished.java,
33927 gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
33928 gnu/javax/net/ssl/provider/Handshake.java,
33929 gnu/javax/net/ssl/provider/JCESecurityParameters.java,
33930 gnu/javax/net/ssl/provider/JDBCSessionContext.java,
33931 gnu/javax/net/ssl/provider/Jessie.java,
33932 gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
33933 gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
33934 gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
33935 gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
33936 gnu/javax/net/ssl/provider/KeyPool.java,
33937 gnu/javax/net/ssl/provider/MacException.java,
33938 gnu/javax/net/ssl/provider/OverflowException.java,
33939 gnu/javax/net/ssl/provider/PRNG.java,
33940 gnu/javax/net/ssl/provider/ProtocolVersion.java,
33941 gnu/javax/net/ssl/provider/Random.java,
33942 gnu/javax/net/ssl/provider/RecordInput.java,
33943 gnu/javax/net/ssl/provider/RecordInputStream.java,
33944 gnu/javax/net/ssl/provider/RecordOutputStream.java,
33945 gnu/javax/net/ssl/provider/RecordingInputStream.java,
33946 gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
33947 gnu/javax/net/ssl/provider/SSLHMac.java,
33948 gnu/javax/net/ssl/provider/SSLRSASignature.java,
33949 gnu/javax/net/ssl/provider/SSLRandom.java,
33950 gnu/javax/net/ssl/provider/SSLServerSocket.java,
33951 gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
33952 gnu/javax/net/ssl/provider/SSLSocket.java,
33953 gnu/javax/net/ssl/provider/SSLSocketFactory.java,
33954 gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
33955 gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
33956 gnu/javax/net/ssl/provider/SecurityParameters.java,
33957 gnu/javax/net/ssl/provider/ServerHello.java,
33958 gnu/javax/net/ssl/provider/ServerKeyExchange.java,
33959 gnu/javax/net/ssl/provider/Session.java,
33960 gnu/javax/net/ssl/provider/SessionContext.java,
33961 gnu/javax/net/ssl/provider/Signature.java,
33962 gnu/javax/net/ssl/provider/SynchronizedRandom.java,
33963 gnu/javax/net/ssl/provider/TLSHMac.java,
33964 gnu/javax/net/ssl/provider/TLSRandom.java,
33965 gnu/javax/net/ssl/provider/Util.java,
33966 gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
33967 gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
33968 gnu/javax/net/ssl/provider/XMLSessionContext.java,
33969 gnu/javax/security/auth/Password.java,
33970 gnu/javax/security/auth/callback/AWTCallbackHandler.java,
33971 gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
33972 gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
33973 gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
33974 gnu/javax/security/auth/callback/GnuCallbacks.java,
33975 gnu/javax/security/auth/callback/SwingCallbackHandler.java,
33976 gnu/java/security/Registry.java,
33977 gnu/java/security/Properties.java,
33978 gnu/java/security/hash/BaseHash.java,
33979 gnu/java/security/hash/HashFactory.java,
33980 gnu/java/security/hash/Haval.java,
33981 gnu/java/security/hash/IMessageDigest.java,
33982 gnu/java/security/hash/MD2.java,
33983 gnu/java/security/hash/MD4.java,
33984 gnu/java/security/hash/MD5.java,
33985 gnu/java/security/hash/RipeMD128.java,
33986 gnu/java/security/hash/RipeMD160.java,
33987 gnu/java/security/hash/Sha160.java,
33988 gnu/java/security/hash/Sha256.java,
33989 gnu/java/security/hash/Sha384.java,
33990 gnu/java/security/hash/Sha512.java,
33991 gnu/java/security/hash/Tiger.java,
33992 gnu/java/security/hash/Whirlpool.java,
33993 gnu/java/security/jce/hash/HavalSpi.java,
33994 gnu/java/security/jce/hash/MD2Spi.java,
33995 gnu/java/security/jce/hash/MD4Spi.java,
33996 gnu/java/security/jce/hash/MD5Spi.java,
33997 gnu/java/security/jce/hash/MessageDigestAdapter.java,
33998 gnu/java/security/jce/hash/RipeMD128Spi.java,
33999 gnu/java/security/jce/hash/RipeMD160Spi.java,
34000 gnu/java/security/jce/hash/Sha160Spi.java,
34001 gnu/java/security/jce/hash/Sha256Spi.java,
34002 gnu/java/security/jce/hash/Sha384Spi.java,
34003 gnu/java/security/jce/hash/Sha512Spi.java,
34004 gnu/java/security/jce/hash/TigerSpi.java,
34005 gnu/java/security/jce/hash/WhirlpoolSpi.java,
34006 gnu/java/security/jce/prng/HavalRandomSpi.java,
34007 gnu/java/security/jce/prng/MD2RandomSpi.java,
34008 gnu/java/security/jce/prng/MD4RandomSpi.java,
34009 gnu/java/security/jce/prng/MD5RandomSpi.java,
34010 gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
34011 gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
34012 gnu/java/security/jce/prng/SecureRandomAdapter.java,
34013 gnu/java/security/jce/prng/Sha160RandomSpi.java,
34014 gnu/java/security/jce/prng/Sha256RandomSpi.java,
34015 gnu/java/security/jce/prng/Sha384RandomSpi.java,
34016 gnu/java/security/jce/prng/Sha512RandomSpi.java,
34017 gnu/java/security/jce/prng/TigerRandomSpi.java,
34018 gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
34019 gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
34020 gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
34021 gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
34022 gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
34023 gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
34024 gnu/java/security/jce/sig/SignatureAdapter.java,
34025 gnu/java/security/key/IKeyPairCodec.java,
34026 gnu/java/security/key/IKeyPairGenerator.java,
34027 gnu/java/security/key/KeyPairCodecFactory.java,
34028 gnu/java/security/key/KeyPairGeneratorFactory.java,
34029 gnu/java/security/key/dss/DSSKey.java,
34030 gnu/java/security/key/dss/DSSKeyPairGenerator.java,
34031 gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
34032 gnu/java/security/key/dss/DSSPrivateKey.java,
34033 gnu/java/security/key/dss/DSSPublicKey.java,
34034 gnu/java/security/key/dss/FIPS186.java,
34035 gnu/java/security/key/rsa/GnuRSAKey.java,
34036 gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
34037 gnu/java/security/key/rsa/GnuRSAPublicKey.java,
34038 gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
34039 gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
34040 gnu/java/security/prng/BasePRNG.java,
34041 gnu/java/security/prng/EntropySource.java,
34042 gnu/java/security/prng/IRandom.java,
34043 gnu/java/security/prng/LimitReachedException.java,
34044 gnu/java/security/prng/MDGenerator.java,
34045 gnu/java/security/prng/PRNGFactory.java,
34046 gnu/java/security/prng/RandomEvent.java,
34047 gnu/java/security/prng/RandomEventListener.java,
34048 gnu/java/security/sig/BaseSignature.java,
34049 gnu/java/security/sig/ISignature.java,
34050 gnu/java/security/sig/ISignatureCodec.java,
34051 gnu/java/security/sig/SignatureFactory.java,
34052 gnu/java/security/sig/dss/DSSSignature.java,
34053 gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
34054 gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
34055 gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
34056 gnu/java/security/sig/rsa/EMSA_PSS.java,
34057 gnu/java/security/sig/rsa/RSA.java,
34058 gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
34059 gnu/java/security/sig/rsa/RSAPSSSignature.java,
34060 gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
34061 gnu/java/security/util/Base64.java,
34062 gnu/java/security/util/ExpirableObject.java,
34063 gnu/java/security/util/Prime2.java,
34064 gnu/java/security/util/Sequence.java,
34065 gnu/java/security/util/SimpleList.java,
34066 gnu/java/security/util/Util.java,
34067 resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
34068 new files imported from GNU Crypto and Jessie.
34070 2006-01-25 Tom Tromey <tromey@redhat.com>
34072 * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
34073 Fixed calculation of number of bytes to read.
34074 (size, count, meta, eof): Document.
34076 2006-01-25 Anthony Balkissoon <abalkiss@redhat.com>
34078 * java/lang/Character.java:
34079 (codePointCount(char[], int, int)): New API method.
34080 (codePointCount(CharSequence, int, int)): Likewise.
34082 2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34085 * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent):
34087 * javax/swing/JTree.java (stopEditing, cancelEditing): Return without
34088 action if not editing.
34089 * javax/swing/plaf/basic/BasicTreeUI.java
34090 (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
34091 (CellEditorHandler.editingStopped): Delegate to stopEditing.
34092 (EditorUpdateTimer): Removed.
34093 (TreeAction.actionPerformed): Stop and not cancel the current editing
34094 when starting editing another node.
34095 (editorTimer, newVal): Removed.
34096 (cancelEditing): Do not send the cancel message.
34097 (completeEditing): Obtain the edited value from the editor.
34098 (finish): New method.
34099 (paintRow): Do not paint the editing component here.
34100 (startEditing, stopEditing): Rewritten.
34101 * javax/swing/tree/DefaultTreeCellEditor.java
34102 (DefaultTextField): Added SVUID.
34103 (EditorContainer): Rewritten.
34104 (RealEditorListener): New inner class.
34105 (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
34106 (constructor): Add cell editor listener. Do not instantiate timer.
34107 (actionPerformed): Return without action.
34108 (cancelCellEditing): Rewritten.
34109 (createTreeCellEditor): Add cell editor listener to the editor.
34110 (getCellEditorValue): Request the value from the realEditor.
34111 (isCellEditable): Removed timer management.
34112 (prepareForEditing): Remove all components befor adding the
34114 (startEditingTimer): Start only if it is not null.
34115 (stopCellEditing): Rewritten.
34116 (stopEditingTimer): New method.
34117 (valueChanged): Do not configure editing component here.
34119 2006-01-25 Roman Kennke <kennke@aicas.com>
34121 * javax/swing/text/html/FormView.java: New file.
34123 2006-01-25 Roman Kennke <kennke@aicas.com>
34125 * javax/swing/JSplitPane.java
34126 (addImpl): Call resetToPreferredSizes() when no dividerLocation
34127 has been set in order to set an initial layout.
34128 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34129 (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
34130 layout of the right component.
34131 (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
34132 dividerLocation to the size of the left component.
34133 (createDefaultNonContinuousLayoutDivider): Fetch the color from
34135 (setDividerLocation): Don't validate the location here. Sometimes
34136 the divider needs to be set to an invalid location.
34137 (startDragging): Don't revalidate and repaint here.
34138 (finishDraggingTo): Don't repaint here. Also, don't call
34139 dragDividerTo() here.
34140 * javax/swing/plaf/basic/BasicLookAndFeel.java
34141 (initComponentDefaults): Added SplitPaneDivider.draggingColor
34144 2006-01-25 Roman Kennke <kennke@aicas.com>
34146 * javax/swing/JSplitPane.java
34147 (addImpl): Removed invalidate() and layout() call.
34148 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34149 (PropertyHandler.propertyChange): Remove layoutContainer() and
34152 2006-01-25 Roman Kennke <kennke@aicas.com>
34155 * native/Makefile.am
34156 * native/jni/classpath/Makefile.am
34157 * native/jni/classpath/jcl.c
34158 * native/jni/classpath/jcl.h
34159 * native/jni/classpath/native_state.c
34160 * native/jni/gtk-peer/Makefile.am
34161 * native/jni/java-io/Makefile.am
34162 * native/jni/java-io/java_io_VMFile.c
34163 * native/jni/java-io/java_io_VMObjectStreamClass.c
34164 * native/jni/java-lang/Makefile.am
34165 * native/jni/java-net/Makefile.am
34166 * native/jni/java-net/java_net_VMInetAddress.c
34167 * native/jni/java-net/javanet.c
34168 * native/jni/java-net/javanet.h
34169 * native/jni/java-nio/Makefile.am
34170 * native/jni/java-nio/gnu_java_nio_VMPipe.c
34171 * native/jni/java-nio/gnu_java_nio_VMSelector.c
34172 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
34173 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
34174 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
34175 * native/jni/java-util/Makefile.am
34176 * native/jni/java-util/java_util_VMTimeZone.c
34177 * native/jni/midi-dssi/Makefile.am
34178 * native/jni/xmlj/Makefile.am
34179 * native/target/Makefile.am
34180 * native/target/Linux/target_native_math.h
34181 * native/target/Linux/target_native_memory.h
34182 * native/target/Linux/Makefile.am
34183 * native/target/Linux/target_native_io.h
34184 * native/target/Linux/target_native_math_float.h
34185 * native/target/Linux/target_native_math_int.h
34186 * native/target/generic/target_generic.c
34187 * native/target/generic/target_generic_io.c
34188 * native/target/generic/target_generic_math.h
34189 * native/target/generic/target_generic_memory.h
34190 * native/target/generic/target_generic_misc.c
34191 * native/target/generic/target_generic_network.c
34192 * native/target/generic/Makefile.am
34193 * native/target/generic/target_generic.h
34194 * native/target/generic/target_generic_file.h
34195 * native/target/generic/target_generic_io.h
34196 * native/target/generic/target_generic_math_float.h
34197 * native/target/generic/target_generic_math_int.h
34198 * native/target/generic/target_generic_misc.h
34199 * native/target/generic/target_generic_network.h:
34200 Reverted target native related changes back to the state of the
34202 * native/target/MinGW/.cvsignore
34203 * native/target/MinGW/Makefile.am
34204 * native/target/MinGW/target_native.h
34205 * native/target/MinGW/target_native_file.h
34206 * native/target/MinGW/target_native_io.h
34207 * native/target/MinGW/target_native_math.h
34208 * native/target/MinGW/target_native_memory.h
34209 * native/target/MinGW/target_native_misc.h
34210 * native/target/MinGW/target_native_network.h
34211 * native/target/RTEMS/.cvsignore
34212 * native/target/RTEMS/Makefile.am
34213 * native/target/RTEMS/target_native.h
34214 * native/target/RTEMS/target_native_file.h
34215 * native/target/RTEMS/target_native_io.h
34216 * native/target/RTEMS/target_native_math.h
34217 * native/target/RTEMS/target_native_memory.h
34218 * native/target/RTEMS/target_native_misc.h
34219 * native/target/RTEMS/target_native_network.h
34220 * native/target/SunOS/.cvsignore
34221 * native/target/SunOS/Makefile.am
34222 * native/target/SunOS/target_native.h
34223 * native/target/SunOS/target_native_file.h
34224 * native/target/SunOS/target_native_io.h
34225 * native/target/SunOS/target_native_math.h
34226 * native/target/SunOS/target_native_memory.h
34227 * native/target/SunOS/target_native_misc.h
34228 * native/target/SunOS/target_native_network.h
34229 * native/target/embOS/.cvsignore
34230 * native/target/embOS/Makefile.am
34231 * native/target/embOS/target_native.h
34232 * native/target/embOS/target_native_file.h
34233 * native/target/embOS/target_native_io.c
34234 * native/target/embOS/target_native_io.h
34235 * native/target/embOS/target_native_math.h
34236 * native/target/embOS/target_native_memory.h
34237 * native/target/embOS/target_native_misc.h
34238 * native/target/embOS/target_native_network.h
34239 * native/target/posix/.cvsignore
34240 * native/target/posix/Makefile.am
34241 * native/target/posix/target_posix.c
34242 * native/target/posix/target_posix.h
34243 * native/target/posix/target_posix_file.c
34244 * native/target/posix/target_posix_file.h
34245 * native/target/posix/target_posix_io.c
34246 * native/target/posix/target_posix_io.h
34247 * native/target/posix/target_posix_math.c
34248 * native/target/posix/target_posix_math.h
34249 * native/target/posix/target_posix_memory.c
34250 * native/target/posix/target_posix_memory.h
34251 * native/target/posix/target_posix_misc.c
34252 * native/target/posix/target_posix_misc.h
34253 * native/target/posix/target_posix_network.c
34254 * native/target/posix/target_posix_network.h:
34257 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
34259 * javax/print/PrintService.java,
34260 * javax/print/DocPrintJob.java,
34261 * javax/print/CancelablePrintJob.java:
34262 Added and enhanced api documentation for class and methods.
34264 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
34266 * javax/print/SimpleDoc.java: Make class final.
34267 * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
34268 * javax/print/attribute/DateTimeSyntax.java:
34269 (toString): New overridden method.
34270 * javax/print/attribute/standard/JobStateReasons.java:
34271 (add): Use the super.add method to avoid recursion.
34272 * javax/print/attribute/standard/PrinterStateReasons.java:
34273 (put): Use the super.put method to avoid recursion.
34275 2006-01-24 Robert Schuster <robertschuster@fsfe.org>
34277 * java/beans/XMLEncoder.java:
34278 (writeExpression): Added early return (fixes PR #25941).
34279 (setExceptionListener, anonymous Class): Removed printStackTrace
34281 * java/beans/Encoder: Removed unused imports.
34282 (setupDefaultPersistenceDelegates): Removed unneccessary
34283 PersistenceDelegates for subclasses.
34284 * java/beans/PersistenceDelegate:
34285 (initialize): Use local variable as first argument as it was
34287 * java/beans/DefaultPersistenceDelegate:
34288 (initialize): Added call to superclass' implementation, added
34291 2006-01-24 Tom Tromey <tromey@redhat.com>
34293 * java/util/regex/PatternSyntaxException.java: Added @since.
34294 * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
34295 * java/util/regex/MatchResult.java: New file.
34297 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34299 * javax/swing/text/StringContent.java: Added API docs all over, plus
34300 minor reformatting.
34302 2006-01-24 Gary Benson <gbenson@redhat.com>
34304 * java/net/SocketPermission.java: Implemented serialization.
34306 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34308 * javax/swing/text/StringContent.java
34309 (remove): Modified argument check to prevent removal of last character,
34310 (getChars): Removed null argument check to allow NullPointerException,
34312 (checkLocation): Added API docs and white space.
34314 2006-01-23 Lillian Angel <langel@redhat.com>
34316 * javax/swing/text/DefaultStyledDocument.java
34317 (insertUpdate): Should only call createFracture with
34318 StartTagType. Added check.
34319 (insertContentTag): Should use the tags length for splitting.
34320 Also, added a check to determine if current's start and end offset are
34321 equal to the offset and endOffset. If so, only one leaf element
34323 (createFracture): Removed FIXME. This function is complete.
34324 (split): Added calls to replace. Changed so the child is
34325 added immediately to the paragraph. Prevents NPEs.
34327 2006-01-23 Mark Wielaard <mark@klomp.org>
34329 * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
34331 2006-01-23 Tom Tromey <tromey@redhat.com>
34333 * gnu/java/security/x509/X509Certificate.java (parse):
34334 Unconditionally read value; for version==1 case when reading
34337 2006-01-23 Roman Kennke <kennke@aicas.com>
34339 * javax/swing/plaf/synth/ColorType.java,
34340 * javax/swing/plaf/synth/Region.java,
34341 * javax/swing/plaf/synth/SynthConstants.java,
34342 * javax/swing/plaf/synth/SynthContext.java
34343 * javax/swing/plaf/synth/SynthGraphicsUtils.java,
34344 * javax/swing/plaf/synth/SynthLookAndFeel.java,
34345 * javax/swing/plaf/synth/SynthPainter.java,
34346 * javax/swing/plaf/synth/SynthStyle.java,
34347 * javax/swing/plaf/synth/SynthStyleFactory.java,
34348 * javax/swing/plaf/synth/package.html:
34349 New files. Added the public API and framework classes for the
34350 Synth look and feel.
34352 2006-01-23 David Gilbert <david.gilbert@object-refinery.com>
34354 * javax/swing/text/Segment.java: API docs all over.
34356 2006-01-23 Lillian Angel <langel@redhat.com>
34358 * javax/swing/text/DefaultStyledDocument.java
34359 (split): Should not use createLeafElement and createBranchElement here.
34360 We should just instaniate the LeafElements and BranchElements instead
34361 to avoid the case where create*Element is overridden.
34363 2006-01-23 Lillian Angel <langel@redhat.com>
34365 * javax/swing/text/DefaultStyledDocument.java
34366 (insertFirstContentTag): Moved check outside of if-statement.
34367 This should be checked before creating the new leaf element.
34368 (insertFracture): Fixed check to prevent an NPE. The previous
34369 leaf should only be recreated if it has been created by
34370 insertFirstContentTag. Also, fixed up code: if the endOffset is
34371 greater than the offset, then we need to create a temp leaf
34372 as a place holder. Otherwise, the leaf elements should be
34375 2006-01-23 Gary Benson <gbenson@redhat.com>
34377 * java/net/SocketPermission.java: Almost completely rewritten.
34379 2006-01-23 Lillian Angel <langel@redhat.com>
34381 * javax/swing/text/DefaultStyledDocument.java
34382 (insertFracture): Set temp leaf's attributes to prevent an NPE.
34384 2006-01-23 Lillian Angel <langel@redhat.com>
34386 * javax/swing/text/DefaultStyledDocument.java:
34387 Formatted ElementBuffer and added new fields.
34388 (remove): Added check to determine if length is 0.
34389 (insertFirstContentTag): Initialized firstCreated to the element that is created
34390 by the first tag encountered. Removed check in JoinPreviousDirection case, no
34391 longer needed. In OriginateDirection case, added a loop to remove all old leafs
34392 that have been recreated.
34393 (insertContentTag): Cleaned up code. Removed checks that did not do anything.
34394 (insertFracture): Fixed up code, removed unneeded objects and checks. Added
34395 FIXME tags to the lines that need to be rewritten.
34397 2006-01-23 Mark Wielaard <mark@klomp.org>
34399 * examples/Makefile.am: Add support for fastjar.
34401 2006-01-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
34403 * gnu/regexp/REToken.java(empty): Made Cloneable.
34404 * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
34405 Use separate methods matchN and matchP depending on the
34407 (matchN): New method used when negative. Done as before.
34408 (matchP): New method used when not negative. Each token is
34409 tried not by itself but by a clone of it.
34411 2006-01-23 Chris Burdess <dog@gnu.org>
34414 * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
34415 class to avoid getLength method contention.
34416 * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
34418 2006-01-23 Chris Burdess <dog@gnu.org>
34420 * native/jni/java-util/Makefile.am: Include library required
34421 explicitly by BSD systems.
34422 * native/target/generic/target_generic_misc.h: Remove old commented
34424 * native/target/generic/target_generic_network.h: Fallbacks (to
34425 SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
34427 2006-01-22 Tom Tromey <tromey@redhat.com>
34429 * native/target/posix/.cvsignore: Added .deps.
34431 2006-01-22 Mark Wielaard <mark@klomp.org>
34434 reported by James Damour <James.Damour@corp.request.com>
34435 * java/awt/Container.java (addImpl): Use empty string as name when
34436 null constraints for LayoutManager.addLayoutComponent().
34438 2006-01-22 Chris Burdess <dog@gnu.org>
34441 * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34442 representing current directory as base for relative URLs.
34444 2006-01-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
34447 * gnu/regexp/REMatch.java(empty): New boolean indicating
34448 an empty string matched.
34449 * gnu/regexp/RE.java(match): Sets empty flag when an empty
34451 (initialize): Support back reference \10, \11, and so on.
34452 (parseInt): renamed from getEscapedChar and returns int.
34453 * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34454 when an empty string matched. Fixed a bug of the case where
34455 an empty string matched. Added special handling of {0}.
34456 * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34457 when an empty string matched. Fixed the case insensitive matching.
34459 2006-01-21 Roman Kennke <kennke@aicas.com>
34461 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34462 (paint): Added painting of border if one is installed.
34464 2006-01-21 Roman Kennke <kennke@aicas.com>
34466 PR classpath/25843:
34467 * javax/swing/plaf/basic/BasicBorders.java
34468 (getSplitPaneDividerBorder): Use new border constructor
34470 (SplitPaneDividerBorder.highlight): Removed unneeded field.
34471 (SplitPaneDividerBorder.shadow): Removed unneeded field.
34472 (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34473 colors are fetched dynamically in the paintBorder method.
34474 (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34476 (SplitPaneDividerBorder.isBorderOpaque): Returns true
34478 * javax/swing/plaf/basic/BasicLookAndFeel.java
34479 (initComponentDefaults): Added default for SplitPaneDivider.border.
34480 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34481 (tmpBorder): Removed unneeded inner class.
34482 (BasicSplitPaneDivider): Removed setting of border.
34483 (setSplitPaneUI): Don't add the mouse handler to the splitpane
34485 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34486 (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34487 to get behaviour right.
34488 (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34489 implementation. This must be rewritten since the layout now works
34490 slightly different (basically, it shouldn't modify the sizes[]
34491 here but instead the dividerLocation.
34492 (dividerLocation): New field.
34493 (installDefaults): Initialize border on divider.
34494 (uninstallDefaults): Only remove background color and border from
34495 splitPane if they are instances of UIDefaults (== not set by
34497 (setDividerLocation): Set the dividerLocation field instead of
34498 doing stunt acts here.
34499 (getDividerLocation): Return dividerLocation field.
34500 (getMinimumDividerLocation): Fixed calculation of minimum location.
34502 2006-01-21 Guilhem Lavaux <guilhem@kaffe.org>
34505 (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34507 * lib/Makefile.am: Likewise.
34509 2006-01-21 Roman Kennke <kennke@aicas.com>
34511 * javax/swing/PopupFactory.java
34512 (getPopup): If there is no Swing root found in any way, use a
34513 heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34514 for the Swing AWT peers.
34516 2006-01-20 Tom Tromey <tromey@redhat.com>
34518 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34519 Read response body for redirect.
34521 2006-01-20 Chris Burdess <dog@gnu.org>
34523 * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34526 2006-01-20 Lillian Angel <langel@redhat.com>
34528 * javax/swing/text/DefaultStyledDocument.java
34529 (pad): Removed, not needed.
34530 (printElements): Likewise.
34531 (printEdit): Likewise.
34533 2006-01-20 Roman Kennke <kennke@aicas.com>
34535 * javax/swing/text/DefaultFormatter.java
34536 (DefaultFormatter): Don't set a value class.
34538 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34540 * javax/swing/DefaultCellEditor.java: Commented.
34542 2006-01-19 Roman Kennke <kennke@aicas.com>
34544 * javax/swing/JOptionPane.java
34545 Added cast to Frame for JDialog constructor.
34547 2006-01-19 Roman Kennke <kennke@aicas.com>
34549 * javax/swing/JWindow.java
34550 (JWindow(Window)): Fixed to accept null owner argument.
34551 (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34553 * javax/swing/SwingUtilities.java
34554 (getOwnerFrame): Owner parameter and return value are fixed to
34555 be of type Window for compatibity with the above JWindow
34557 * javax/swing/JDialog.java
34558 (JDialog): Added cast to Frame to make sure the correct constructor
34560 * javax/swing/JFileChooser.java
34561 (createDialog): Added cast to Frame for JDialog constructor.
34563 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34565 * javax/swing/JTable.java (rowAtPoint): Rewritten.
34567 2006-01-19 Roman Kennke <kennke@aicas.com>
34569 * javax/swing/JWindow.java: Added API docs to the constructors.
34571 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34573 * javax/swing/JTable.java: Commenting method headers.
34574 (EditorUpdateTimer): Removed.
34576 2006-01-19 Roman Kennke <kennke@aicas.com>
34578 * javax/swing/JDialog.java
34579 (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34580 (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34581 SwingUtilities.getOwnerFrame() with the owner argument.
34582 * javax/swing/JFileChooser.java
34583 (showOpenDialog(Component)): Call pack() on the dialog instead of
34584 setting a fixed height.
34585 (showSaveDialog()): Likewise.
34586 (showDialog()): Likewise.
34587 (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34588 * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34590 * javax/swing/JWindow.java
34591 (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34592 (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34594 * javax/swing/SwingUtilities.java
34595 (getOwnerFrame): Changed to take a owner parameter that is returned
34596 as owner frame when not null.
34598 2006-01-19 Roman Kennke <kennke@aicas.com>
34600 * gnu/java/awt/peer/swing/SwingFramePeer.java
34601 (handleMouseEvent): Fixed handling of mouse events.
34602 (handleMouseMotionEvent): Fixed handling of mouse events.
34604 2006-01-19 Roman Kennke <kennke@aicas.com>
34606 * native/target/generic/target_generic_misc.c:
34607 (targetGenericMisc_formatString): Added missing method.
34609 2006-01-19 Wolfgang Baer <WBaer@gmx.de>
34611 * m4/acinclude.m4: Test also for ecj found before exiting configure
34612 with no javac found error message.
34614 2006-01-19 Ito Kazumitsu <kaz@maczuka.gcd.org>
34617 * gnu/regexp/RE.java(initialize): Support escaped characters such as
34618 \0123, \x1B, \u1234.
34619 (getEscapedChar): New method.
34620 (CharExpression): New inner class.
34621 (getCharExpression): New Method.
34622 * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34623 RE_UNICODE_CHAR): New syntax bits.
34625 2006-01-19 Roman Kennke <kennke@aicas.com>
34627 * native/target/Makefile.am: Fixed so that posix stuff is really
34628 only built when requested.
34630 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34632 * javax/swing/JTable.java (editingStopped, editingCancelled):
34633 Repaint the edited cell.
34634 (setValueAt): Do not add the value object to this container.
34635 (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34636 (editingStopped): Use editingRow, editingColumn and not
34637 rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34638 (doLayout): Move the editor component, if present, into the new
34639 location and call repaint(). (moveToCellBeingEdited): new method.
34640 (TableTextField): new inner class.
34641 (getDefaultEditor): Instantiante TableTextField, not JTextField.
34642 (setValueAt): Repaint the changed segment.
34643 (createDefaultEditors): Implemented.
34644 (BooleanCellRenderer): Center the checkbox and use the default foreground
34645 and background colors.
34646 * javax/swing/plaf/basic/BasicTableUI.java
34647 (paintCell): Do not paint the caret here. Do not accept unused parameters.
34648 (paint): No need to allocate rectangle for each cell.
34649 * javax/swing/DefaultCellEditor.java: Rewritten.
34650 * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34651 Use TableDemo.java table example.
34652 * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34654 2006-01-19 Roman Kennke <kennke@aicas.com>
34656 * configure.ac: Added/fixed --enable-posix-layer option to enable
34657 build of posix layer.
34658 * native/target/Makefile.am: Added build for posix layer.
34660 2006-01-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
34662 * configure.ac: Set TARGET to Linux per default.
34663 * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34665 * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34666 * native/target/generic/Makefile.am (INCLUDES): Renamed to
34669 2006-01-19 Raif S. Naffah <raif@swiftdsl.com.au>
34671 * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34672 what looked like proprietary documentation with original or new one.
34673 * java/security/spec/PSSParameterSpec.java: Likewise.
34674 * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34675 * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34676 * java/security/AlgorithmParameterGenerator.java: Likewise.
34677 * java/security/AlgorithmParameters.java: Likewise.
34678 * java/security/Identity.java: Likewise.
34679 * java/security/IdentityScope.java: Likewise.
34680 * java/security/KeyFactory.java: Likewise.
34681 * java/security/KeyPairGenerator.java: Likewise.
34682 * java/security/MessageDigest.java: Likewise.
34683 * java/security/Policy.java: Likewise.
34684 * java/security/ProtectionDomain.java: Likewise.
34685 * java/security/Security.java: Likewise.
34686 * java/security/Signature.java: Likewise.
34687 * java/security/SignatureSpi.java: Likewise.
34688 * java/security/SignedObject.java: Likewise.
34689 * java/security/Signer.java: Likewise.
34691 2006-01-18 Roman Kennke <kennke@aicas.com>
34693 * configure.ac: Added --enable-posix-layer option to enable
34694 build of the posix target layer.
34696 2006-01-18 Roman Kennke <kennke@aicas.com>
34698 * native/jni/java-net/java_net_VMInetAddress.c
34699 (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34702 2006-01-18 Roman Kennke <kennke@aicas.com>
34704 * native/jni/java-util/java_util_VMTimeZone.c:
34705 (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34706 to use target native layer.
34707 (jint_to_charbuf): Removed unneeded helper function.
34709 2006-01-18 Roman Kennke <kennke@aicas.com>
34711 * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34712 Removed unnecessary include.
34713 * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34714 Reorganized includes to only include sys/* headers when available.
34715 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34716 (get_pagesize): Return 0 when nothing else works.
34717 (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34718 Replaced munmap() and strerror() with corresponding target macros.
34719 (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34720 Replaced strerror() with corresponding target macro.
34721 (Java_java_nio_MappedByteBufferImpl_forceImpl):
34722 Replaced strerror() with corresponding target macro.
34723 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34724 (Java_java_nio_VMDirectByteBuffer_allocate):
34725 Replaced malloc() with the corresponding target macro.
34726 (Java_java_nio_VMDirectByteBuffer_free):
34727 Replaced free() with the corresponding target macro.
34728 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34729 Add index to pointer when assigning the value.
34730 (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34731 Replaced memcpy with corresponding target macro. Add index when
34732 doing the memcpy, not when fetching the pointer.
34733 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34734 Replaced memcpy with corresponding target macro.
34735 (Java_java_nio_VMDirectByteBuffer_shiftDown):
34736 Replaced memmove with the corresponding target macro.
34738 2006-01-17 Tom Tromey <tromey@redhat.com>
34740 PR classpath/20198:
34741 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34742 (JarURLLoader): Likewise.
34743 (addURLImpl): Canonicalize file URLs.
34745 2006-01-17 Christian Thalinger <twisti@complang.tuwien.ac.at>
34747 * configure.ac: Set TARGET.
34748 * native/Makefile.am, native/jni/classpath/Makefile.am,
34749 native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34750 native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34751 native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34752 native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34753 native/target/Linux/Makefile.am,
34754 native/target/generic/Makefile.am,
34755 native/target/posix/Makefile.am: Build libclasspath.so with jcl
34756 and target stuff linked in and link it against lib*.so libraries.
34758 2006-01-17 Roman Kennke <kennke@aicas.com>
34760 * native/jni/java-net/javanet.c:
34761 (_javanet_connect): Changed type of some local variables to jint.
34762 Fixed error handling to throw a SocketTimeoutException if the
34763 connection attempt times out.
34764 (_javanet_bind): Changed type of some local variables to jint.
34765 (_javanet_accept): Likewise.
34766 (_javanet_recvfrom): Likewise.
34767 (_javanet_sendto): Fixed error handling to throw a
34768 PortUnreachableException when connection is refused.
34769 (_javanet_get_option): Changed type of some local variables to jint.
34770 Implemented SOCKOPT_SO_BROADCAST.
34771 (_javanet_shutdownInput): Replaced shutdown call with corresponding
34772 target native macro.
34773 (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34774 target native macro.
34775 * native/jni/java-net/javanet.h:
34776 Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34777 SOCKOPT_SO_BROADCAST.
34779 2006-01-17 Lillian Angel <langel@redhat.com>
34781 * javax/swing/text/DefaultStyledDocument.java
34782 (insert): Cleaned up loop. No need to make so many calls
34783 to getAddedElements and getRemovedElements.
34784 (insertFracture): Removed unneeded array.
34786 2006-01-17 Lillian Angel <langel@redhat.com>
34788 * javax/swing/text/JTextComponent.java
34789 (AccessibleJTextComponent): Implemented.
34790 (getCaretPosition): Implemented.
34791 (getSelectedText): Implemented.
34792 (getSelectionStart): Implemented.
34793 (getSelectionEnd): Implemented.
34794 (getSelectionEnd): Implemented.
34795 (getCharCount): Implemented.
34796 (insertTextAtIndex): Implemented.
34797 (getTextRange): Implemented.
34798 (delete): Implemented.
34799 (cut): Implemented.
34800 (paste): Implemented.
34801 (replaceText): Implemented.
34802 (selectText): Implemented.
34804 2006-01-17 Anthony Balkissoon <abalkiss@redhat.com>
34806 * javax/swing/text/DefaultStyledDocument.java:
34807 (pad): New debugging method.
34808 (printElements): Likewise.
34809 (printPendingEdits): Likewise.
34810 (printElement): Likewise.
34811 (Edit): Improved docs, moved this class to be an inner class of
34812 ElementBuffer since it only applies within that scope. Changed added
34813 and removed to be Vectors instead of arrays because we need to be able
34814 to add to them after construction.
34815 (ElementBuffer): Updated docs with link to article that helped in this
34816 classes implementation.
34817 (ElementBuffer.Edit.getRemovedElements): New method.
34818 (ElementBuffer.Edit.getAddedElements): Likewise.
34819 (ElementBuffer.Edit.addRemovedElement): Likewise.
34820 (ElementBuffer.Edit.addRemovedElements): Likewise.
34821 (ElementBuffer.Edit.addAddedElement): Likewise.
34822 (ElementBuffer.Edit.addAddedElements): Likewise.
34823 (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and
34825 (ElementBuffer.getEditForParagraphAndIndex): New method.
34826 (ElementBuffer.removeUpdate): Changed type of paragraph to
34827 BranchElement. Corrected style of adding the edit to use the new Edit
34829 (ElementBuffer.changeUpdate): Changed style of adding the edit to use
34830 the new Edit facilities.
34831 (ElementBuffer.split): Likewise.
34832 (ElementBuffer.insertParagraph): Likewise.
34833 (ElementBuffer.insertContentTag): Likewise.
34834 (ElementBuffer.insert): Push all BranchElements until the deepest one,
34835 not just the root and the first one. Apply the structural changes to
34836 the tree at the same time as updating the DocumentEvent.
34837 (ElementBuffer.insertUpdate): Fixed docs. Removed the special case
34838 handling of EndTags as the first ElementSpec. Instead have to handle
34839 ContentTags as a special case if they are the first ElementSpec and if
34840 not have to fracture the tree.
34841 (ElementBuffer.createFracture): New method. May not be complete yet.
34842 Added FIXME indicating what may remain to be done.
34843 (ElementBuffer.insertFirstContentTag): New method.
34844 (ElementBuffer.insertFracture): Added FIXME explaining what remains to
34845 be done. Changed the adding of edits to use the new Edit facilities.
34846 Removed the adding of edits for Elements that weren't in the tree prior
34848 (insertUpdate): Removed incorrect condition for setting a StartTag's
34849 direction to JoinNextDirection.
34850 * javax/swing/text/StyleContent.java:
34851 (SmallAttributeSet.toString): Fixed an off-by-one error in the loop
34852 that was causing an ArrayOutOfBoundsException.
34854 2006-01-17 Roman Kennke <kennke@aicas.com>
34856 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34857 (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
34858 exception messages a little.
34859 (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
34860 alternative implementation for systems without filesystems.
34861 Replaced snprintf with the corresponding target native macro.
34862 (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
34863 Only do something when we have a filesystem.
34864 (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
34865 alternative implementation for systems without filesystems.
34866 (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
34867 alternative implementation for systems without filesystems.
34868 (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
34869 alternative implementation for systems without filesystems.
34870 (Java_gnu_java_nio_channels_FileChannelImpl_seek):
34871 Only do something when we have a filesystem.
34872 (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
34873 Only do something when we have a filesystem.
34874 (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
34875 alternative implementation for systems without filesystems.
34876 (Java_gnu_java_nio_channels_FileChannelImpl_read__):
34877 Replaced ssize_t variables with jint. Provided
34878 alternative implementation for systems without filesystems.
34879 (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
34880 Replaced ssize_t variables with jint. Provided
34881 alternative implementation for systems without filesystems.
34882 (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
34883 Replaced ssize_t variables with jint. Provided
34884 alternative implementation for systems without filesystems.
34885 (Java_gnu_java_nio_channels_FileChannelImpl_force):
34886 Only do something when we have a filesystem.
34887 (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
34888 Replaced ssize_t variables with jint. Provided
34889 alternative implementation for systems without filesystems.
34890 (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
34891 to use the corresponding target native macro.
34892 (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
34893 to use the corresponding target native macro.
34895 2006-01-17 Lillian Angel <langel@redhat.com>
34897 * javax/swing/text/DefaultTextUI.java:
34898 Added deprecated tag.
34899 * javax/swing/text/JTextComponent.java
34900 (AccessibleJTextComponent): Fixed API doc and
34901 partiall9 implemented.
34902 (getCaretPosition): Fixed API doc and implemented.
34903 (getSelectedText): Fixed API doc.
34904 (getSelectionStart): Likewise.
34905 (getSelectionEnd): Likewise.
34906 (caretUpdate): Fixed API doc and
34907 partially implemented.
34908 (getAccessibleStateSet): Likewise.
34909 (getAccessibleRole): Fixed API doc and implemented.
34910 (getAccessibleEditableText): Implemented.
34911 (getAccessibleText): Fixed API doc and implemented.
34912 (insertUpdate): Fixed API doc.
34913 (changedUpdate): Likewise.
34914 (getIndexAtPoint): Likewise.
34915 (getRootEditorRect): Removed.
34916 (getCharacterBounds): Fixed API doc.
34917 (getCharCount): Likewise.
34918 (getCharacterAttribute): Likewise.
34919 (getAtIndex): Likewise.
34920 (getAfterIndex): Likewise.
34921 (getBeforeIndex): Likewise.
34922 (getAccessibleActionCount): Added function stub.
34923 (getAccessibleActionDescription): Added function,
34924 partially implemented.
34925 (doAccessibleAction): Added function stub.
34926 (setTextContents): Likewise.
34927 (insertTextAtIndex): Likewise.
34928 (delete): Likewise.
34931 (replaceText): Likewise.
34932 (selectText): Likewise.
34933 (setAttributes): Likewise.
34934 (getAccessibleContext): Implemented.
34936 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34939 * gnu/regexp/RETokenRange.java(constructor):
34940 Keep lo and hi as they are.
34941 (match): Changed the case insensitive comparison.
34943 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34945 * gnu/regexp/RETokenChar.java(chain):
34946 Do not concatenate tokens whose insens flags are diffent.
34948 2006-01-17 Roman Kennke <kennke@aicas.com>
34950 * native/target/generic/target_generic_network.c:
34951 (targetGenericNetwork_receive): Fixed signature to match the
34952 corresponding .h file.
34953 (targetGenericNetwork_receiveWithAddressPort): Fixed signature
34954 to match the corresponding .h file.
34956 2006-01-17 Roman Kennke <kennke@aicas.com>
34958 * native/jni/classpath/jcl.c:
34959 (JCL_malloc): Replaced calls to malloc with the corresponding
34960 target layer macro.
34961 (JCL_free): Replaced calls to free with the corresponding
34962 target layer macro.
34963 * native/jni/classpath/native_state.c:
34964 (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
34965 calloc with the corresponding target layer macro.
34966 (remove_node): Replaced calls to free with the corresponding
34967 target layer macro.
34968 (add_node): Replaced calls to malloc with the corresponding
34969 target layer macro.
34971 2006-01-17 Roman Kennke <kennke@aicas.com>
34973 * native/jni/java-io/java_io_VMObjectStreamClass.c:
34974 (getFieldReference): Use MALLOC/FREE macros for portability instead
34975 of direct call to malloc() and free().
34977 2006-01-17 Roman Kennke <kennke@aicas.com>
34979 * native/jni/classpath/jcl.c: Added missing imports.
34980 (JCL_realloc): Fixed signature to include oldsize. This is needed
34981 for some targets. Make this function use the MEMORY_REALLOC macro
34983 * native/jni/classpath/jcl.h
34984 (JCL_realloc): Adjusted signature.
34985 * native/jni/java-io/java_io_VMFile.c:
34986 (Java_java_io_VMFile_create): Use target layer macro for handling
34987 errno, for portability.
34988 (Java_java_io_VMFile_length): Release filename string in error cases
34990 (Java_java_io_VMFile_list): Initialize filename variable. Use new
34991 version of JCL_realloc.
34992 * native/jni/java-net/java_net_VMInetAddress.c:
34993 (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
34994 TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
34995 * native/jni/java-net/javanet.c:
34996 (_javanet_bind): Make errorstr variable const to avoid compiler
34998 (_javanet_set_option): Fixed typo.
34999 (_javanet_get_option): Fixed typo.
35000 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35001 (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
35002 error_string variable const to avoid compiler warning.
35003 * native/target/generic/target_generic_file.h:
35004 Replaced // comments with /* */ comments to avoid compiler warnings.
35005 Added some spaces to make code better readable.
35006 * native/target/generic/target_generic_memory.h:
35007 Replaced // comments with /* */ comments to avoid compiler warnings.
35008 * native/target/generic/target_generic_misc.c:
35009 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35010 compiler warnings due to use of varargs.
35011 * native/target/generic/target_generic_misc.h:
35012 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35013 compiler warnings due to use of varargs.
35014 * native/target/generic/target_generic_network.h:
35015 Replaced // comments with /* */ comments to avoid compiler warnings.
35016 (targetGenericNetwork_receive): Fixed signature to use signed chars
35017 for buffer parameter to avoid warning when passing a jbyte to the
35020 2006-01-17 David Gilbert <david.gilbert@object-refinery.com>
35022 * javax/swing/text/StyleConstants.java
35023 (getAlignment): Removed isDefined() check, so that resolving parent is
35025 (getBackground): Likewise, plus changed default value to Color.BLACK,
35026 (getBidiLevel): Removed isDefined() check,
35027 (getComponent): Likewise,
35028 (getFirstLineIndent): Likewise,
35029 (getFontFamily): Likewise,
35030 (getFontSize): Likewise,
35031 (getForeground): Likewise,
35032 (getIcon): Likewise,
35033 (getLeftIndent): Likewise,
35034 (getLineSpacing): Likewise,
35035 (getRightIndent): Likewise,
35036 (getSpaceAbove): Likewise,
35037 (getSpaceBelow): Likewise,
35038 (getTabSet): Likewise,
35039 (isBold): Likewise,
35040 (isItalic): Likewise,
35041 (isStrikeThrough): Likewise,
35042 (isSubscript): Likewise,
35043 (isSuperscript): Likewise,
35044 (isUnderline): Likewise.
35046 2006-01-17 Gary Benson <gbenson@redhat.com>
35048 * java/lang/System.java (setSecurityManager): Catch
35049 ClassNotFoundException not Throwable.
35051 2006-01-16 Anthony Green <green@redhat.com>
35054 * gnu/java/net/protocol/http/Request.java
35055 (createResponseBodyStream): Remove Content-Encoding for
35056 compressed streams.
35058 2006-01-16 Chris Burdess <dog@gnu.org>
35060 * gnu/xml/stream/XMLParser.java,
35061 gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
35062 XMLStreamWriter arguments for conformance to the XML specifications.
35063 * gnu/xml/transform/Stylesheet.java,
35064 gnu/xml/transform/Template.java,
35065 gnu/xml/transform/TransformerImpl.java,
35066 gnu/xml/xpath/LangFunction.java,
35067 gnu/xml/xpath/Selector.java: better handling of template priorities;
35068 fix indents when pretty-printing; recursive tests for xml:lang.
35069 * gnu/xml/util/XHTMLWriter.java,
35070 gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
35072 2006-01-16 Roman Kennke <kennke@aicas.com>
35074 * native/target/MinGW/.cvsignore: New file.
35075 * native/target/RTEMS/.cvsignore: New file.
35076 * native/target/SunOS/.cvsignore: New file.
35077 * native/target/embOS/.cvsignore: New file.
35078 * native/target/posix/.cvsignore: New file.
35080 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35082 * javax/swing/text/StyleConstants.java: Updated API docs all over.
35084 2006-01-16 Roman Kennke <kennke@aicas.com>
35086 * configure.ac: Include new target native directories in build.
35088 2006-01-16 Roman Kennke <kennke@aicas.com>
35090 * native/target/generic/target_generic_file.h: Added missing
35092 * native/target/generic/target_generic_network.c: Fixed several
35093 typos and includes.
35094 * native/target/generic/target_generic_network.h: Likewise.
35096 2006-01-16 Roman Kennke <kennke@aicas.com>
35098 * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
35099 to include the new targets.
35100 * native/target/posix/Makefile.am: Fixed filenames.
35102 2006-01-16 Roman Kennke <kennke@aicas.com>
35104 * native/target/Makefile.am: Include new targets.
35105 * native/target/Linux/Makefile.am: Include new memory layer.
35106 * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
35107 * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
35108 * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
35109 * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
35110 * native/target/generic/Makefile.am: Include new memory and math
35112 * native/target/posix/Makefile.am: New file. Includes posix in dist.
35114 2006-01-16 Ito Kazumitsu <kaz@maczuka.gcd.org>
35117 * gnu/regexp/RE.java(initialize): Parse embedded flags.
35118 * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
35120 2006-01-16 Roman Kennke <kennke@aicas.com>
35122 * native/target/generic/target_generic_network.c: Fixed typo.
35123 * native/target/generic/target_generic_network.h: Fixed typo.
35125 2006-01-16 Nicolas Geoffray <nicolas.geoffray@menlina.com>
35127 * doc/vmintegration.texinfo: Updated subsection of the
35128 java.lang.InstrumentationImpl documentation.
35130 2006-01-16 Roman Kennke <kennke@aicas.com>
35132 * native/target/RTEMS/target_native.h,
35133 * native/target/RTEMS/target_native_file.h,
35134 * native/target/RTEMS/target_native_io.h,
35135 * native/target/RTEMS/target_native_math.h,
35136 * native/target/RTEMS/target_native_memory.h,
35137 * native/target/RTEMS/target_native_misc.h,
35138 * native/target/RTEMS/target_native_network.h:
35139 New files. Implement the target native layer for the RTEMS platform.
35141 2006-01-16 Roman Kennke <kennke@aicas.com>
35143 * native/target/SunOS/target_native.h,
35144 * native/target/SunOS/target_native_file.h,
35145 * native/target/SunOS/target_native_io.h,
35146 * native/target/SunOS/target_native_math.h,
35147 * native/target/SunOS/target_native_memory.h,
35148 * native/target/SunOS/target_native_misc.h,
35149 * native/target/SunOS/target_native_network.h:
35150 New files. Implement the target native layer for the SunOS platform.
35152 2006-01-16 Roman Kennke <kennke@aicas.com>
35154 * native/target/MinGW/target_native.h,
35155 * native/target/MinGW/target_native_file.h,
35156 * native/target/MinGW/target_native_io.h,
35157 * native/target/MinGW/target_native_math.h,
35158 * native/target/MinGW/target_native_memory.h,
35159 * native/target/MinGW/target_native_misc.h,
35160 * native/target/MinGW/target_native_network.h:
35161 New files. Implement the target native layer for the MinGW
35164 2006-01-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35167 * javax/swing/DefaultCellEditor.java
35168 (delegate): Assign new instance immediately.
35169 (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
35170 (getTableCellEditorComponent): Rewritten.
35171 (prepareAsJTextField):New method (add listener only once).
35172 * javax/swing/JTable.java
35173 (editingCanceled): Rewritten.
35174 (editingStopped ): Rewritten.
35175 (rowAtPoint): Mind row margin.
35176 (getCellRect): Mind row margin.
35177 (getDefaultEditor): Removing JTextComponent border.
35178 (editCellAt): Rewritten.
35179 * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
35180 Activate editing mode by the mouse clicks.
35181 (getMaximumSize): Mind row margin.
35182 (getPreferredSize): Mind row margin.
35183 (TableAction): Added 'stop editing' command.
35185 2006-01-16 Roman Kennke <kennke@aicas.com>
35187 * jni/java-io/java_io_VMFile.c
35188 (Java_java_io_VMFile_list): Use new 4 argument version of
35189 TARGET_NATIVE_FILE_READ_DIR macro.
35190 * target/Linux/target_native_io.h: Fixed comment at #endif.
35191 * target/Linux/target_native_memory.h: New file. Contains
35192 portability macros for memory operations.
35193 * target/generic/target_generic.c: New file. Contains some functions
35195 * target/generic/target_generic.h: Use posix target and shorter macro
35196 names if CP_NEW is set.
35197 * target/generic/target_generic_file.h: Use posix target and shorter
35198 macro names if CP_NEW is set.
35199 (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
35200 * target/generic/target_generic_io.c: New file. Contains some
35201 functions for IO portability.
35202 * target/generic/target_generic_io.h: Use posix target and shorter
35203 macro names if CP_NEW is set.
35204 * target/generic/target_generic_misc.c: New file. Contains some
35205 functions for miscallaneaous portability issues.
35206 * target/generic/target_generic_misc.h: Use posix target and shorter
35207 macro names if CP_NEW is set.
35208 * target/generic/target_generic_network.c: New file. Contains some
35209 functions for networking portability.
35210 * target/generic/target_generic_network.h: Use posix target and
35211 shorter macro names if CP_NEW is set.
35212 * target/posix/Makefile.am,
35213 * target/posix/target_posix.c,
35214 * target/posix/target_posix.h,
35215 * target/posix/target_posix_file.c,
35216 * target/posix/target_posix_file.h,
35217 * target/posix/target_posix_io.c,
35218 * target/posix/target_posix_io.h,
35219 * target/posix/target_posix_math.c,
35220 * target/posix/target_posix_math.h,
35221 * target/posix/target_posix_memory.c,
35222 * target/posix/target_posix_memory.h,
35223 * target/posix/target_posix_misc.c,
35224 * target/posix/target_posix_misc.h,
35225 * target/posix/target_posix_network.c,
35226 * target/posix/target_posix_network.h:
35227 New files. This implements the target native layer macros for
35228 Posix-like systems.
35230 2006-01-16 Gary Benson <gbenson@redhat.com>
35232 * java/net/SocketPermission.java (implies): Fix action checks.
35234 2006-01-16 Roman Kennke <kennke@aicas.com>
35236 * native/target/generic/target_generic_math_float.h: Removed. This
35237 file has been replaced by target_generic_math.h.
35238 * native/target/generic/target_generic_math_int.h: Removed. This
35239 file has been replaced by target_generic_math.h.
35240 * native/target/generic/target_generic_math.h: New file. Replaces
35241 the old _int and _float versions.
35242 * native/target/Linux/target_native_math_float.h: Removed. This
35243 file has been replaced by target_native_math.h.
35244 * native/target/Linux/target_native_math_int.h: Removed. This
35245 file has been replaced by target_native_math.h.
35246 * native/target/Linux/target_native_math.h: New file. Replaces
35247 the old _int and _float versions.
35248 * native/target/Linux/Makefile.am: Adjusted for the changed
35250 * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
35251 instead of target_native_math_int.h.
35252 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35254 * native/target/generic/target_generic_file.h: Likewise.
35256 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35258 * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
35260 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35262 * javax/swing/text/SimpleAttributeSet.java
35263 (SimpleAttributeSet()): Initialise storage directly,
35264 (SimpleAttributeSet(AttributeSet)): Removed null check and documented
35265 NullPointerException,
35266 (containsAttribute): If key is found locally, don't check resolving
35267 parent if the value doesn't match,
35268 (getAttribute): Removed redundant instanceof and cast.
35270 2006-01-16 Gary Benson <gbenson@redhat.com>
35272 * java/lang/System.java (setSecurityManager): Ensure policy
35273 files are loaded before a security manager is put in place.
35275 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35277 * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
35279 2006-01-16 Wolfgang Baer <WBaer@gmx.de>
35281 * javax/print/attribute/standard/MediaSize.java:
35282 (static_initializer): Added comment.
35283 (MediaSize): Added javadoc to mention cache registration.
35284 (MediaSize): Likewise.
35285 (MediaSize): Likewise.
35286 (MediaSize): Likewise.
35288 2006-01-16 Raif S. Naffah <raif@swiftdsl.com.au>
35291 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
35292 * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
35293 * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
35294 * javax/security/auth/login/AppConfigurationEntry.java: Updated
35296 (toString): Added method implementation.
35297 (LoginModuleControlFlag.toString): Removed class name from result.
35298 * javax/security/auth/login/Configuration.java: Updated copyright year.
35299 (getConfig(): replaced calls to NullConfiguration with
35302 2006-01-15 Tom Tromey <tromey@redhat.com>
35304 * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
35305 * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
35306 * java/beans/PersistenceDelegate.java (initialize): Genericized.
35307 * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
35308 (setPersistenceDelegate): Likewise.
35310 2006-01-15 Wolfgang Baer <WBaer@gmx.de>
35312 * javax/print/attribute/standard/PrinterStateReasons.java:
35313 (printerStateReasonSet): Genericize the return type.
35315 2006-01-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35317 * javax/swing/table/DefaultTableCellRenderer.java
35318 (getTableCellRendererComponent): Render null as the empty cell.
35320 2006-01-14 Anthony Green <green@redhat.com>
35322 * java/net/ServerSocket.java (accept): Remove bogus
35324 (implAccept): Add FIXME comment.
35326 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35329 * javax/print/Doc.java: Added and enhanced documentation.
35330 * javax/print/SimpleDoc.java: New file.
35332 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35334 * javax/print/attribute/standard/MediaSize.java:
35335 (Other.TABLOID): New MediaSize added in 1.5
35337 2006-01-14 Chris Burdess <dog@gnu.org>
35339 * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
35340 correctly when I/O and runtime exceptions occur during parsing.
35342 2006-01-13 Roman Kennke <kennke@aicas.com>
35344 * gnu/java/awt/peer/swing/SwingButtonPeer.java,
35345 * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
35346 * gnu/java/awt/peer/swing/SwingComponent.java,
35347 * gnu/java/awt/peer/swing/SwingComponentPeer.java,
35348 * gnu/java/awt/peer/swing/SwingContainerPeer.java,
35349 * gnu/java/awt/peer/swing/SwingFramePeer.java,
35350 * gnu/java/awt/peer/swing/SwingLabelPeer.java,
35351 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
35352 * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
35353 * gnu/java/awt/peer/swing/SwingMenuPeer.java,
35354 * gnu/java/awt/peer/swing/SwingPanelPeer.java,
35355 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
35356 * gnu/java/awt/peer/swing/SwingToolkit.java,
35357 * gnu/java/awt/peer/swing/SwingWindowPeer.java,
35358 * gnu/java/awt/peer/swing/package.html:
35359 New files. Implemented some basic AWT peers based on Swing.
35361 2006-01-13 Roman Kennke <kennke@aicas.com>
35363 * java/awt/peer/ComponentPeer.java: Added API docs all over.
35365 2006-01-13 Roman Kennke <kennke@aicas.com>
35367 * java/awt/MenuComponent.java: Reformatted to better match our
35370 2006-01-13 Roman Kennke <kennke@aicas.com>
35372 * java/awt/Frame.java: Reformatted to better match our
35375 2006-01-13 Roman Kennke <kennke@aicas.com>
35377 * java/awt/MenuBar.java
35378 (accessibleContext): Removed unnecessary field. This is already
35379 defined in MenuComponent.
35380 (setHelpMenu): Renamed the peer variable to myPeer because it was
35381 hiding a field of MenuComponent.
35382 (addNotify): Removed unnecessary cast.
35384 2006-01-13 Roman Kennke <kennke@aicas.com>
35386 * java/awt/MenuBar.java: Reformatted to better match our
35389 2006-01-13 Roman Kennke <kennke@aicas.com>
35391 * java/awt/MenuBar.java
35392 (frame): New field.
35393 (removeNotify): Clear frame field when beeing removed from the
35395 * java/awt/Frame.java
35396 (setMenuBar): Store a reference of the frame in the MenuBar.
35397 * java/awt/MenuComponent.java
35398 (postEvent): Implemented to forward the call to the parent until
35399 a parent can handle the event.
35400 (dispatchEvent): Moved handling of old style events from
35401 dispatchEventImpl() to here.
35402 (dispatchEventImpl): Moved handling of old style events to
35405 2006-01-13 Roman Kennke <kennke@aicas.com>
35407 * java/awt/Component.java
35408 (dispatchEvent): Moved handling of old style events from
35409 dispatchEventImpl() to this method.
35410 (translateEvent): Removed unnecessary cast.
35411 (dispatchEventImpl): Moved handling of old style events to
35414 2006-01-13 Lillian Angel <langel@redhat.com>
35416 * javax/swing/text/DefaultStyledDocument.java
35417 (createDefaultRoot): Removed FIXME.
35418 (setLogicalStyle): Added fireUndoableEditUpdate call and
35421 2006-01-13 Lillian Angel <langel@redhat.com>
35423 * javax/swing/text/DefaultStyledDocument.java
35424 (Edit): New inner class.
35425 (changeUpdate): Changed addEdit call to add a new
35426 instance of Edit to the edits Vector, so addEdits can
35429 (insertParagraph): Likewise.
35430 (insertFracture): Likewise.
35431 (insertContentTag): Likewise.
35432 (insert): Added loop to go through edits Vector and perform
35433 addEdit on each object.
35435 2006-01-13 Chris Burdess <dog@gnu.org>
35437 * gnu/xml/transform/AbstractNumberNode.java,
35438 gnu/xml/transform/ApplyImportsNode.java,
35439 gnu/xml/transform/ApplyTemplatesNode.java,
35440 gnu/xml/transform/AttributeNode.java,
35441 gnu/xml/transform/CallTemplateNode.java,
35442 gnu/xml/transform/ChooseNode.java,
35443 gnu/xml/transform/CommentNode.java,
35444 gnu/xml/transform/CopyNode.java,
35445 gnu/xml/transform/CopyOfNode.java,
35446 gnu/xml/transform/DocumentFunction.java,
35447 gnu/xml/transform/ElementNode.java,
35448 gnu/xml/transform/ForEachNode.java,
35449 gnu/xml/transform/IfNode.java,
35450 gnu/xml/transform/LiteralNode.java,
35451 gnu/xml/transform/MessageNode.java,
35452 gnu/xml/transform/OtherwiseNode.java,
35453 gnu/xml/transform/ParameterNode.java,
35454 gnu/xml/transform/ProcessingInstructionNode.java,
35455 gnu/xml/transform/Stylesheet.java,
35456 gnu/xml/transform/Template.java,
35457 gnu/xml/transform/TemplateNode.java,
35458 gnu/xml/transform/TextNode.java,
35459 gnu/xml/transform/TransformerImpl.java,
35460 gnu/xml/transform/ValueOfNode.java,
35461 gnu/xml/transform/WhenNode.java,
35462 gnu/xml/xpath/NodeTypeTest.java,
35463 gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35464 with-param parameters when template does not define parameters; apply
35465 conflict resolution for templates; strip whitespace on documents
35466 retrieved via document() function; allow node() to match document
35469 2006-01-13 Mark Wielaard <mark@klomp.org>
35471 * doc/www.gnu.org/announce/20060113.wml: New file.
35472 * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35473 * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35475 2006-01-13 Lillian Angel <langel@redhat.com>
35477 * javax/swing/text/DefaultStyledDocument.java:
35478 Removed unused fields.
35479 (insert): Removed unused fields.
35480 (endEdit): Removed, not needed.
35481 (insertUpdate): Removed call to endEdit.
35482 (prepareContentInsertion): Removed, not needed.
35483 (insertContentTag): Removed call to prepareContentInsertion.
35484 (printElements): Removed, not needed.
35485 (attributeSetsAreSame): Removed, not needed.
35487 2005-01-13 Mark Wielaard <mark@klomp.org>
35489 * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35490 Duplicate of toString(int, StringBuilder).
35492 2005-01-13 Mark Wielaard <mark@klomp.org>
35494 * configure.ac: Set version to 0.20.
35495 * NEWS: Add entries for all the new work done.
35497 2005-01-13 Mark Wielaard <mark@klomp.org>
35499 * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35501 2005-01-13 Mark Wielaard <mark@klomp.org>
35503 * java/util/regex/Pattern.java (Pattern): Chain REException.
35505 2006-01-13 Chris Burdess <dog@gnu.org>
35507 * gnu/xml/xpath/NameTest.java: Removed debugging output.
35509 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35511 * java/security/Security.java
35512 (getProperty): Added hack to skip security check when trusted
35513 code is direct caller.
35515 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35517 * java/io/PrintStream.java
35518 (line_separator, PrintStream(OutputStream,boolean)): Use
35521 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35523 * gnu/java/nio/charset/Provider.java: Added comment about its
35524 special relation with CharsetProvider.
35526 * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35527 its special relation with CharsetProvider.
35529 * java/nio/charset/spi/CharsetProvider.java
35530 (CharsetProvider): Add special case to skip security check for
35531 built in providers.
35533 2005-01-13 Mark Wielaard <mark@klomp.org>
35535 * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35536 name, accel, mnemonic and command are defined before setting.
35538 2005-01-12 Mark Wielaard <mark@klomp.org>
35540 * javax/swing/plaf/metal/MetalFileChooserUI.java
35541 (FileRenderer.getListCellRendererComponent): Set empty name and null
35542 icon when File is null.
35544 2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35546 * gnu/java/rmi/server/UnicastRef.java (newCall):
35547 Throw ConnectException after catching IOException.
35549 2006-01-12 Lillian Angel <langel@redhat.com>
35551 * javax/swing/text/DefaultStyledDocument.java
35552 (insertUpdate): Removed unneeded check.
35554 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35556 * javax/swing/text/DefaultStyledDocument.java:
35557 (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35558 and we haven't come immediately after a fracture, adjust the Element
35559 offsets. Added comment explaining the situation.
35560 (insert): Return early if no ElementSpecs passed in. Removed redundant
35561 call to insertUpdate. Fired the UndoableEditUpdate.
35563 2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
35566 * gnu/regexp/RE.java(initialize): Fixed the parsing of
35567 character classes within a subexpression.
35569 2006-12-12 Lillian Angel <langel@redhat.com>
35571 * javax/swing/text/DefaultStyledDocument.java
35572 (insertUpdate): Added check to check if attribute set is
35574 (insertUpdate): Added check to determine if last character
35575 is a newline. If it is, we should not be fracturing.
35576 (insert): Added check to determine if attribute set is empty.
35577 If it is, insertUpdate should not be called.
35579 2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
35581 * configure.ac: Check for isnan.
35583 * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35586 2006-01-12 Chris Burdess <dog@gnu.org>
35588 * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35589 1.1 character ranges.
35591 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35593 * javax/swing/TransferHandler.java:
35594 (TransferAction<init>): Call super constructor. Fixes Mauve regression
35595 gnu/testlet/javax/swing/JTextField/CopyPaste.
35597 2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
35599 * resource/Makefile.am: Install
35600 logging.properties into $(prefix)/lib.
35601 * resource/Makefile.am (securitydir): Changed to
35602 $(prefix)/lib/security.
35604 2006-01-12 Roman Kennke <kennke@aicas.com>
35606 * javax/swing/JTextField.java
35607 (createDefaultModel): Moved installation of the filterNewlines
35608 property to setDocument().
35609 (setDocument): New method. Installs the filterNewlines property
35612 2006-01-12 Chris Burdess <dog@gnu.org>
35614 * gnu/xml/dom/DomNode.java,
35615 gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35617 * gnu/xml/xpath/NameTest.java,
35618 gnu/xml/xpath/NamespaceTest.java,
35619 gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35621 * gnu/xml/transform/MessageNode.java: Use standard logging system
35622 for outputting messages.
35624 2006-01-12 Tom Tromey <tromey@redhat.com>
35626 * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35627 (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35628 (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35629 (static initializer): Removed cache code.
35630 (checkCacheFor, addToCache): Removed.
35631 (getAllByName): Removed cache code.
35632 (lookup_time): Removed.
35633 (InetAddress): Updated.
35635 2006-01-12 Chris Burdess <dog@gnu.org>
35637 * gnu/xml/dom/DomDocument.java,
35638 gnu/xml/dom/DomElement.java,
35639 gnu/xml/dom/DomNode.java,
35640 gnu/xml/stream/XMLParser.java,
35641 gnu/xml/transform/Bindings.java,
35642 gnu/xml/transform/ElementAvailableFunction.java,
35643 gnu/xml/transform/ElementNode.java,
35644 gnu/xml/transform/FunctionAvailableFunction.java,
35645 gnu/xml/transform/NamespaceProxy.java,
35646 gnu/xml/transform/StreamSerializer.java,
35647 gnu/xml/transform/Stylesheet.java,
35648 gnu/xml/transform/TransformerImpl.java,
35649 gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35650 document and element nodes; correct coalescing semantics when parsing;
35651 attribute-sets can only refer to top-level variables and parameters;
35652 fix namespace retrieval during element-available and
35653 function-available functions; implement xsl:fallback for extension
35654 elements; tokenize whitespace correctly during whitespace stripping;
35655 correct following and previous node axes selectors.
35657 2006-01-12 Roman Kennke <kennke@aicas.com>
35659 * java/util/Hashtable.java
35660 (KeyEnumerator.nextElement): Added null check to avoid NPE.
35661 (ValueEnumerator.nextElement): Added null check to avoid NPE.
35663 2006-01-12 Lillian Angel <langel@redhat.com>
35665 * javax/swing/text/GapContent.java
35666 (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35668 2006-01-12 Mark Wielaard <mark@klomp.org>
35670 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35671 Throw UnknowHostException when name could not be resolved.
35673 2006-01-12 Jeroen Frijters <jeroen@frijters.net>
35675 * java/net/URL.java
35676 (static, getURLStreamHandler): Use SystemProperties.
35678 2006-01-12 Mark Wielaard <mark@klomp.org>
35680 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35681 Use packet.getLength().
35682 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35683 (nativeReceive): Check whether the receiver wants zero bytes.
35685 2006-01-12 Mark Wielaard <mark@klomp.org>
35687 * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35688 other side orderly closed connection.
35689 * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35690 (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35691 when end of stream reached.
35693 2006-01-12 Mark Wielaard <mark@klomp.org>
35695 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35697 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35698 * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35699 * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35700 * native/jni/java-net/javanet.c: Likewise.
35702 2006-01-12 Mark Wielaard <mark@klomp.org>
35704 * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35705 PR classpath/23863.
35707 2006-01-11 Chris Burdess <dog@gnu.org>
35709 * gnu/xml/transform/AttributeNode.java,
35710 gnu/xml/transform/ElementNode.java,
35711 gnu/xml/transform/LiteralNode.java,
35712 gnu/xml/transform/StreamSerializer.java,
35713 gnu/xml/transform/StrippingInstruction.java,
35714 gnu/xml/transform/Stylesheet.java,
35715 gnu/xml/transform/TransformerImpl.java,
35716 gnu/xml/transform/ValueOfNode.java,
35717 gnu/xml/xpath/Expr.java,
35718 gnu/xml/xpath/LocalNameFunction.java,
35719 gnu/xml/xpath/NameFunction.java,
35720 gnu/xml/xpath/NameTest.java,
35721 gnu/xml/xpath/NamespaceUriFunction.java,
35722 gnu/xml/xpath/NodeTypeTest.java,
35723 gnu/xml/xpath/SubstringFunction.java,
35724 javax/xml/namespace/QName.java: don't determine element namespace
35725 from namespace aliases when specified; better namespace handling
35726 when serializing elements; don't create HTML meta element unless
35727 head element exists; correct encoding of CDATA sections containing
35728 ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35729 default encoding for HTML output; rewrite of XSLT
35730 strip-space/preserve-space handling; correct doctype-public and
35731 doctype-system output attributes; insert generated doctype before
35732 document element; fixed result tree whitespace stripping
35733 algorithm; fixed semantics of XPath name, local-name, and
35734 namespace-uri functions; name tests handle XML/XMLNS namespaces
35735 correctly; fixed semantics of processing-instruction node test.
35736 * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35739 2006-01-11 Lillian Angel <langel@redhat.com>
35741 * javax/swing/text/DefaultStyledDocument.java
35742 (insertFracture): Added calls to addEdit for each time a structure
35743 is changed. addEdit is called on the newBranch, previous, and parent
35746 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35748 * javax/swing/text/DefaultStyledDocument.java:
35749 (ElementBuffer.insertContentTag): Don't adjust the structure here.
35750 This will have been taken care of in insertFracture. Added a comment
35751 explaining that we need to add edits to the DocumentEvent and that
35752 this may be the place to do it.
35754 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35756 * javax/swing/text/DefaultStyledDocument.java:
35757 (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35758 tag is an end tag. Avoid NPE by pushing the proper Element on to the
35759 elementStack when there is a start tag with JoinNextDirection.
35761 2006-01-11 Roman Kennke <kennke@aicas.com>
35763 Reported by: Fridjof Siebert <siebert@aicas.com>
35764 * java/util/Hashtable.java
35765 (KEYS): Removed unneeded field.
35766 (VALUES): Removed unneeded field.
35767 (ENTRIES): Removed unneeded field.
35768 (keys): Return a KeyEnumerator instance.
35769 (elements): Returns a ValueEnumerator instance.
35770 (toString): Use an EntryIterator instance.
35771 (keySet): Return a KeyIterator instance.
35772 (values): Return a ValueIterator instance.
35773 (entrySet): Return an EntryIterator instance.
35774 (hashCode): Use EntryIterator instance.
35775 (rehash): Changed this loop to avoid redundant reads and make
35776 it obvious that null checking is not needed.
35777 (writeObject): Use EntryIterator instance.
35778 (HashIterator): Removed class.
35779 (Enumerator): Removed class.
35780 (EntryIterator): New class.
35781 (KeyIterator): New class.
35782 (ValueIterator): New class.
35783 (EntryEnumerator): New class.
35784 (KeyEnumerator): New class.
35785 (ValueEnumerator): New class.
35787 2006-01-11 Lillian Angel <langel@redhat.com>
35789 * javax/swing/text/DefaultStyledDocument.java
35790 (toString): Shouldn't append the '>' character here.
35791 (createDefaultRoot): Should not set the resolve parent. This
35792 causes problems when comparing attribute sets.
35794 2006-01-10 Anthony Balkissoon <abalkiss@redhat.com>
35796 * javax/swing/text/DefaultStyledDocument.java:
35797 (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35799 (ElementBuffer.insertFracture): New method.
35800 (ElementBuffer.insertContentTag): Removed unnecessary case for
35801 JoinFractureDirection - this only applies to start tags, not content
35803 (insertUpdate): Corrected conditions for setting direction to
35806 2006-01-10 Roman Kennke <kennke@aicas.com>
35808 * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
35809 * ChangeLog-2005: New File.
35811 2006-01-10 Roman Kennke <kennke@aicas.com>
35813 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
35814 (get): Release the array with the correct pointer.
35815 (put): Release the array with the correct pointer. Copy the array
35816 around _before_ releasing it.
35818 2006-01-10 Roman Kennke <kennke@aicas.com>
35820 * javax/swing/ViewportLayout.java
35821 (layoutContainer): Fixed condition, to avoid ClasscastException.
35823 2006-01-10 Roman Kennke <kennke@aicas.com>
35825 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35826 (MouseHandler.mousePressed): Fixed indendation.
35827 (MouseHandler.mouseDragged): Fixed indendation.
35829 2006-01-10 Roman Kennke <kennke@aicas.com>
35831 * javax/swing/plaf/basic/BasicLookAndFeel.java
35832 (playSound): Added @since 1.4 to the API docs.
35834 2006-01-10 Roman Kennke <kennke@aicas.com>
35836 * javax/swing/plaf/basic/BasicListUI.java
35837 (maybeUpdateLayoutState): Also update the layout state, if the
35838 list has been invalidated since the last update.
35840 2006-01-10 Roman Kennke <kennke@aicas.com>
35842 * javax/swing/plaf/ComponentUI.java
35843 (update): Fixed indendation.
35845 2006-01-10 Roman Kennke <kennke@aicas.com>
35847 * javax/swing/ViewportLayout.java
35848 (layoutContainer): Fixed condition, so that Scrollable components
35849 are always forced to have to Viewport size, when they
35850 return true for getScrollableTracksViewportHeight() and ..Width().
35852 2006-01-10 Roman Kennke <kennke@aicas.com>
35854 * javax/swing/RepaintManager.java
35855 (validateInvalidComponents): Fixed condition to avoid NPE.
35857 2006-01-10 Roman Kennke <kennke@aicas.com>
35859 * javax/swing/JViewport.java:
35860 (static_initializer): Removed unused variable myScrollMode.
35862 2006-01-10 Roman Kennke <kennke@aicas.com>
35864 * javax/swing/JTabbedPane.java:
35865 Cleared API docs a little.
35867 2006-01-10 Roman Kennke <kennke@aicas.com>
35869 * java/util/StringTokenizer.java
35870 (StringTokenizer(String, String, boolean)):
35871 Don't trigger NPE here for conformance with the spec.
35873 2006-01-10 Roman Kennke <kennke@aicas.com>
35875 * java/util/ArrayList.java
35876 (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
35878 2006-01-10 Roman Kennke <kennke@aicas.com>
35880 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
35881 (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
35882 field to avoid NPE.
35884 2006-01-10 Roman Kennke <kennke@aicas.com>
35886 * native/jni/java-net/javanet.c
35887 (_javanet_shutdownOutput): Replaced strerror() with
35888 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35889 (_javanet_shutdownInput): Replaced strerror() with
35890 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35892 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35894 * java/beans/EventSetDescriptor.java: Reformatted and
35897 2006-01-10 Roman Kennke <kennke@aicas.com>
35899 * java/lang/SecurityManager.java
35900 Fully qualified AWT class references in API docs.
35902 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35904 * java/beans/EventSetDescriptor.java:
35905 (getGetListenerMethod): New method.
35907 2006-01-10 Mark Wielaard <mark@klomp.org>
35909 * lib/Makefile.am (GCJX): Add -g to get linenumber info.
35911 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35914 * java/util/Hashtable.java
35915 (contains): Call equals on existing value.
35916 (containsKey, get, put, remove): Call equals on existing key.
35917 (getEntry): Call equals on existing entry.
35919 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35922 * java/util/AbstractMap.java
35923 (equals(Object,Object)): Test for identity first.
35924 * java/util/WeakHashMap.java
35925 (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
35926 (WeakBucket.WeakEntry.toString): Fixed string representation of
35928 (internalGet): Use helper method to determine equality.
35930 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35932 * java/beans/EventSetDescriptor.java: Implemented the two 1.4
35935 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35937 * javax/swing/text/PlainDocument.java:
35938 (insertUpdate): Handle special case of an insertion immediately
35939 following a newline character.
35941 2006-01-09 Roman Kennke <kennke@aicas.com>
35943 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
35944 (connect): Added stream parameter to _connect() call.
35945 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35946 (connect): Added stream parameter to _connect() call.
35947 * native/jni/java-net/javanet.c
35948 (_javanet_create_localfd): Added stream parameter. Look up
35949 fd field based on the stream parameter either in SocketImpl or
35950 in DatagramSocketImpl.
35951 (_javanet_connect): Added stream parameter. Call create_localfd
35952 using this stream parameter. Set localPort field either in
35953 SocketImpl or in DatagramSocketImpl, depending on the stream
35955 * native/jni/java-net/javanet.c
35956 (_javanet_connect): Added stream parameter.
35958 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35960 * javax.management.Attribute.java: Grammar and
35963 2006-01-09 Mark Wielaard <mark@klomp.org>
35965 * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
35966 exception when channel is not readable or writable.
35967 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
35968 (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
35969 there is enough space to mmap().
35971 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35973 * java/beans/Introspector.java:
35974 (getBeanInfo(Class, int)): New method.
35975 (getBeanInfo(Class, Class): Moved common code in a new method.
35976 (merge): New method.
35978 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35980 * java/beans/XMLEncoder.java: Fix spelling mistakes.
35982 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35984 * javax/swing/text/DefaultStyledDocument.java:
35985 (insertUpdate): Removed call to checkForInsertAfterNewline and instead
35986 inlined this method because it needs to change the value of the
35987 finalStartTag and finalStartDirection variables.
35988 (checkForInsertAfterNewline): Removed this method.
35989 (handleInsertAfterNewline): Added case for making the start tag's
35990 direction JoinNextDirection.
35992 2006-01-09 Lillian Angel <langel@redhat.com>
35994 * javax/swing/plaf/basic/BasicTreeUI.java:
35996 (setRowHeight): Row height is set to the max height of
35997 all the nodes, or 20 as a default value.
35998 (getPathBounds): Cleaned up code.
35999 (getMaxHeight): New helper function that gets the max
36000 height of all the rows.
36001 (getClosestPathForLocation): Fixed to use getMaxHeight.
36002 (updateCachedPreferredSize): Likewise.
36003 (installUI): Shouldn't expand tree on startup.
36004 (getNodeDimensions): Fixed to use getMaxHeight.
36006 2006-01-09 Mark Wielaard <mark@klomp.org>
36008 * javax/swing/JList.java (setSelectedIndex): Clear selection when
36009 argument is negative.
36011 2006-01-08 Mark Wielaard <mark@klomp.org>
36013 * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
36015 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36017 * javax.management.Attribute.java: New file.
36019 2006-01-09 Roman Kennke <kennke@aicas.com>
36021 * java/net/DatagramSocketImpl.java
36022 (localPort): Renamed to localport for correct access from native
36025 2006-01-09 Roman Kennke <kennke@aicas.com>
36027 * javax/swing/Popup.java
36028 (LightweightPopup.hide): Repaint the layered pane when popup is
36031 2006-01-09 Roman Kennke <kennke@aicas.com>
36033 * java/awt/Container.java
36034 (remove): Don't repaint the container here.
36036 2006-01-08 Tom Tromey <tromey@redhat.com>
36038 * java/lang/InheritableThreadLocal.java: Organized imports.
36040 2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org>
36043 * gnu/regexp/RETokenRepeated.java(match): Optimized the case
36044 when an empty string matched an empty token.
36046 2006-01-08 Chris Burdess <dog@gnu.org>
36048 * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
36049 content models from external entities.
36050 * gnu/xml/stream/UnicodeReader.java: Report error instead of
36051 attempting to continue with unpaired surrogates.
36052 * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
36053 resolving entities with character entity references; better
36054 checking of valid character ranges; don't report an error for URI
36055 fragments in notation declarations; check unbound namespace
36056 prefixes for elements and attributes, including XML 1.1 unbinding
36057 syntax; namespace-aware checking of attribute duplicates.
36059 2006-01-08 Robert Schuster <robertschuster@fsfe.org>
36061 * java/beans/Statement.java: Doc fixes.
36062 (doExecute): Workaround for Class.forName call.
36063 (toString): Made output look more like on the JDK.
36064 * java/beans/Expression.java: Doc fixes.
36065 (toString): Made output look more like on the JDK.
36066 * java/beans/PersistenceDelegate.java,
36067 java/beans/DefaultPersistenceDelegate.java,
36068 java/beans/Encoder.java,
36069 java/beans/XMLEncoder.java: New file.
36070 * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
36071 gnu/java/beans/encoder/ClassPersistenceDelegate.java,
36072 gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
36073 gnu/java/beans/encoder/Context.java,
36074 gnu/java/beans/encoder/GenericScannerState.java,
36075 gnu/java/beans/encoder/IgnoringScannerState.java,
36076 gnu/java/beans/encoder/MapPersistenceDelegate.java,
36077 gnu/java/beans/encoder/ObjectId.java,
36078 gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
36079 gnu/java/beans/encoder/ReportingScannerState.java,
36080 gnu/java/beans/encoder/Root.java,
36081 gnu/java/beans/encoder/ScanEngine.java,
36082 gnu/java/beans/encoder/ScannerState.java,
36083 gnu/java/beans/encoder/StAXWriter.java,
36084 gnu/java/beans/encoder/Writer.java: New file.
36085 * gnu/java/beans/encoder/elements/Array_Get.java,
36086 gnu/java/beans/encoder/elements/Element.java,
36087 gnu/java/beans/encoder/elements/List_Set.java,
36088 gnu/java/beans/encoder/elements/Array_Set.java,
36089 gnu/java/beans/encoder/elements/NullObject.java,
36090 gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
36091 gnu/java/beans/encoder/elements/StaticFieldAccess.java,
36092 gnu/java/beans/encoder/elements/StringReference.java,
36093 gnu/java/beans/encoder/elements/ClassResolution.java,
36094 gnu/java/beans/encoder/elements/ArrayInstantiation.java,
36095 gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
36096 gnu/java/beans/encoder/elements/ObjectReference.java,
36097 gnu/java/beans/encoder/elements/ObjectInstantiation.java,
36098 gnu/java/beans/encoder/elements/List_Get.java,
36099 gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
36101 2006-01-08 Chris Burdess <dog@gnu.org>
36103 * java/lang/Character.java (toChars,toCodePoint): Correct these
36104 methods to use algorithms from Unicode specification.
36106 2006-01-08 Mark Wielaard <mark@klomp.org>
36108 * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
36110 2006-01-07 Paul Jenner <psj@harker.dyndns.org>
36113 * examples/Makefile.am: Corrected DESTDIR install paths.
36115 2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36117 * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non -
36118 ASCII character (line 46).
36120 2006-01-07 Roman Kennke <kennke@aicas.com>
36122 * javax/swing/text/TableView.java: New file.
36124 2006-01-07 Chris Burdess <dog@gnu.org>
36126 * gnu/xml/stream/BufferedReader.java: Removed commented out code.
36127 * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
36128 * gnu/xml/stream/XMLParser.java: Make additional StAX properties
36129 available; correct handling of unparsed entity references;
36130 absolutize all base URIs; remove commented out code.
36132 2006-01-07 Chris Burdess <dog@gnu.org>
36134 * gnu/xml/stream/SAXParser.java,
36135 gnu/xml/stream/XMLParser.java: Add SAX property to return base
36136 URI of the current event.
36138 2006-01-07 Chris Burdess <dog@gnu.org>
36140 * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
36143 2006-01-07 Chris Burdess <dog@gnu.org>
36145 * gnu/xml/stream/SAXParser.java,
36146 gnu/xml/stream/XIncludeFilter.java,
36147 gnu/xml/stream/XMLParser.java: Updated documentation.
36149 2006-01-07 Chris Burdess <dog@gnu.org>
36151 * AUTHORS: add self.
36153 2006-01-06 Casey Marshall <csm@gnu.org>
36155 * AUTHORS: add myself.
36157 2006-01-06 Casey Marshall <csm@gnu.org>
36160 * javax/crypto/CipherInputStream.java (logger): new constant.
36161 (cipher): make final.
36162 (outLength, inBuffer, inLength): removed.
36163 (isStream): make final.
36164 (VIRGIN, LIVING, DYING, DEAD, state): removed.
36166 (<init>): call `super,' not `this;' remove `inBuffer' and
36167 `outBuffer' initialization; init `eof;' add debug logging.
36168 (<init>): call `this' with a new null cipher.
36169 (available): fix javadoc to reflect the real semantics; if we
36170 don't have a buffer, call `nextBlock.'
36171 (close): synchronize.
36172 (read): synchronize; fix testing for buffered data.
36173 (read): synchronize; add `skip' semantics if first argument is
36174 `null;' decrypt stream cipher data only if there is any; fix tests
36176 (skip): stop using `available' to see how many data are buffered.
36177 (nextBlock): simplify to use cipher-allocated output buffers
36178 instead of internally allocated ones.
36180 2006-01-06 Tom Tromey <tromey@redhat.com>
36182 * java/lang/String.java (codePointCount): Fixed javadoc.
36184 2006-01-06 Tom Tromey <tromey@redhat.com>
36186 * java/lang/String.java (contains): Added @since.
36188 2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
36191 * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
36192 * gnu/regexp/RETokenRepeated.java(match): Break the loop
36193 when an empty string matched an empty token.
36195 2006-01-06 Jeroen Frijters <jeroen@frijters.net>
36198 * gnu/java/util/WeakIdentityHashMap.java: New file.
36199 * java/lang/InheritableThreadLocal.java
36200 (newChildThread): Modified to remove key indirection.
36201 * java/lang/Thread.java
36202 (locals): Changed type to WeakIdentityHashMap.
36203 (getThreadLocals): Instantiate WeakIdentityHashMap instead of
36205 * java/lang/ThreadLocal.java
36206 (key, Key): Removed.
36207 (get, set): Changed to use "this" instead of "key".
36209 2006-01-06 Dalibor Topic <robilad@kaffe.org>
36211 * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
36213 * native/fdlibm/java-assert.h: Removed file.
36215 * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
36216 Replaced use of JvAssert by assert.
36218 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
36220 * javax/swing/text/DefaultCaret.java:
36221 (setDot): Fixed paramater to Math.max to be this.dot and not the
36224 2006-01-05 Roman Kennke <kennke@aicas.com>
36226 * javax/swing/plaf/basic/BasicListUI.java
36227 (getCellHeight): New helper method.
36228 (getCellBounds): Use new helper method for determining the cell
36230 (paint): Don't call list.indexToLocation() but instead call
36231 directly into the same UI method.
36232 (locationToIndex): Fixed calculation of # visible rows and handling
36234 (indexToLocation): Fixed calculation of # visible rows and handling
36237 2006-01-05 Roman Kennke <kennke@aicas.com>
36239 * javax/swing/plaf/metal/MetalFileChooserUI.java
36240 (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
36241 in the file chooser.
36243 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
36245 * javax/swing/JTextPane.java:
36246 (replaceSelection): If the document is an AbstractDocument, use replace
36247 rather than remove and insert.
36248 * javax/swing/event/EventListenerList.java:
36249 (getListeners): Reversed the order of the listeners to match the
36250 reference implementation.
36251 * javax/swing/text/AbstractDocument.java:
36252 (insertString): Add the UndoableEdit from the content.insertString call
36253 to the DocumentEvent.
36254 (DefaultDocumentEvent.toString): Implemented.
36255 * javax/swing/text/DefaultCaret.java:
36256 (setDot): Make sure dot is > 0 and less than the length of the
36258 * javax/swing/text/DefaultStyledDocument.java:
36259 (ElementBuffer.insertUpdate): Set the modified tag of the document
36260 event when we get start and end tags. This ensures that we create the
36261 proper BranchElements in endEdit().
36262 (ElementBuffer.insertUpdate): Added FIXME to handle
36263 JoinFractureDirection case.
36264 (insertUpdate): Added code to check if we're inserting immediately
36265 after a newline and to handle this case (create start and end tags).
36266 Only change the direction of the first and last tags if they are of
36268 (checkForInsertAfterNewline): New helper method.
36269 (handleInsertAfterNewline): Likewise.
36270 * javax/swing/text/View.java:
36271 (updateLayout): Avoid NPE by checking if shape is null. Repaint
36274 2006-01-05 Mark Wielaard <mark@klomp.org>
36276 * newsitems.txt: Add fosdem meeting.
36277 * events/events.wml: Likewise.
36278 * events/fosdem06.wml: New file.
36280 2006-01-05 Lillian Angel <langel@redhat.com>
36282 * javax/swing/text/GapContent.java
36283 (createPosition): No positions should be created inside the
36284 gap. Fixed check to ensure this does not happen.
36286 2006-01-05 Roman Kennke <kennke@aicas.com>
36288 * javax/swing/RepaintManager.java
36289 (validateInvalidComponents): Search for the validate root
36290 and start validating there.
36292 2006-01-05 Roman Kennke <kennke@aicas.com>
36294 * javax/swing/plaf/basic/BasicListUI.java
36295 (ComponentHandler): Removed unneeded class.
36296 (ListDataHandler.contentsChanged): Revalidate instead of calling
36298 (ListDataHandler.intervalAdded): Revalidate instead of calling
36300 (ListDataHandler.intervalRemoved): Revalidate instead of calling
36302 (PropertyChangeHandler.propertyChange): Or flags together instead
36303 of adding them. Don't call damageLayout().
36304 (componentListener): Removed unnecessary field.
36305 (damageLayout): Removed unnecessary method.
36306 (installListeners): Don't install unnecessary listeners.
36307 (uninstallListeners): Dito.
36308 (getPreferredSize): Don't ask for the real list height and
36309 calculate with the previously calculated list height.
36310 (locationToIndex): Renamed list parameter to l so that it doesn't
36311 shadow the field with the same name.
36312 (indexToLocation): Renamed list parameter to l so that it doesn't
36313 shadow the field with the same name.
36315 2006-01-04 Tom Tromey <tromey@redhat.com>
36317 * include/.cvsignore: Ignore config-int.h.
36319 2006-01-04 Roman Kennke <kennke@aicas.com>
36321 * javax/swing/plaf/basic/BasicListUI.java
36322 (getPreferredSize): Rewritten to match the specs.
36324 2006-01-04 Roman Kennke <kennke@aicas.com>
36326 * javax/swing/JFileChooser.java
36327 (showOpenDialog): Set fixed width on the dialog.
36328 (showSaveDialog): Set fixed width on the dialog.
36329 (showDialog): Set fixed width on the dialog.
36331 2006-01-04 Roman Kennke <kennke@aicas.com>
36333 * javax/swing/plaf/basic/BasicListUI.java
36334 (locationToIndex): Added FIXME about getVisibleRowCount() usage.
36335 Adjusted iteration to not use visibleRowCount and instead iterate
36336 over the real number of elements in cellHeights.
36337 (indexToLocation): Added FIXME about getVisibleRowCount() usage.
36338 Adjusted iteration to not use visibleRowCount and instead iterate
36339 over the real number of elements in cellHeights.
36341 2006-01-04 Roman Kennke <kennke@aicas.com>
36343 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
36344 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36345 Added __attribute__((__unused__)) macros to avoid gcc warnings.
36347 2006-01-04 Roman Kennke <kennke@aicas.com>
36349 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
36350 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
36352 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
36353 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36355 * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
36357 * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
36358 * native/jni/java-net/Makefile.am: Adjusted for new source files.
36359 * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
36360 * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
36361 * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
36362 * include/gnu_java_net_PlainSocketImpl.h: Removed.
36363 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
36364 * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
36366 2006-01-04 Lillian Angel <langel@redhat.com>
36368 * javax/swing/plaf/metal/MetalFileChooserUI.java
36369 (propertyChange): Fixed to change the combo box label
36370 appropriately. Also, fixed to set the textfield's text
36372 (editFile): Fixed size of editing field.
36373 (installComponents): Correctly aligned all panels.
36374 (installStrings): Fixed to set the label's text
36375 appropriately depending on the dialog type.
36377 2006-01-04 Lillian Angel <langel@redhat.com>
36381 * javax/swing/JTree.java
36382 (JTree): Because some L&F defaults have been updated,
36383 the selectionMode for the tree needed to be set to SINGLE.
36384 * javax/swing/plaf/basic/BasicFileChooserUI.java:
36385 Initialized accessoryPanel.
36386 * javax/swing/plaf/metal/MetalFileChooserUI.java
36387 (installComponents): Added accessoryPanel to the filechooser.
36389 2006-01-04 Dalibor Topic <robilad@kaffe.org>
36391 * configure.ac: Added AX_CREATE_STDINT_H
36393 * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
36395 * m4/ax_create_stdint_h.m4: New file.
36397 * native/fdlibm/mprec.h: Include config-int.h. Removed C99
36398 typedefs. Removed stdint.h and inttypes.h includes.
36400 2006-01-03 Mark Wielaard <mark@klomp.org>
36402 * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
36403 register keyboard action when accelerator is not null.
36404 * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
36405 re-register accelerator if not null.
36406 (installKeyboardActions): Only put accelerator in map when not null.
36408 2006-01-04 Lillian Angel <langel@redhat.com>
36410 * javax/swing/plaf/basic/BasicLookAndFeel.java
36411 (initComponentDefaults): Removed unneeded default.
36412 * javax/swing/plaf/metal/MetalLookAndFeel.java
36413 (initComponentDefaults): Added and fixed several defaults.
36415 2006-01-04 Roman Kennke <kennke@aicas.com>
36417 * javax/swing/plaf/basic/BasicHTML.java: New class.
36419 2006-01-03 Tom Tromey <tromey@redhat.com>
36421 * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
36422 * java/io/InputStreamReader.java (InputStreamReader): Added @since.
36424 2006-01-03 Mark Wielaard <mark@klomp.org>
36426 * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
36428 2006-01-03 Mark Wielaard <mark@klomp.org>
36430 * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36431 Always call createDefaultTheme().
36432 (createDefaultTheme): Check whether theme is still null.
36434 2006-01-03 Mark Wielaard <mark@klomp.org>
36436 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36437 Color.WHITE if null.
36439 2006-01-03 Lillian Angel <langel@redhat.com>
36441 * javax/swing/plaf/metal/MetalLookAndFeel.java
36442 (getDescription): Fixed to return the correct string.
36444 (getName): Likewise.
36445 (getDefaults): Added check to avoid NPE.
36446 (getAcceleratorForeground): Likewise.
36447 (getAcceleratorSelectedForeground): Likewise.
36448 (getBlack): Likewise.
36449 (getControl): Likewise.
36450 (getControlDarkShadow): Likewise.
36451 (getControlDisabled): Likewise.
36452 (getControlHighlight): Likewise.
36453 (getControlInfo): Likewise.
36454 (getControlShadow): Likewise.
36455 (getControlTextColor): Likewise.
36456 (getControlTextFont): Likewise.
36457 (getDesktopColor): Likewise.
36458 (getFocusColor): Likewise.
36459 (getHighlightedTextColor): Likewise.
36460 (getInactiveControlTextColor): Likewise.
36461 (getInactiveSystemTextColor): Likewise.
36462 (getMenuBackground): Likewise.
36463 (getMenuDisabledForeground): Likewise.
36464 (getMenuForeground): Likewise.
36465 (getMenuSelectedBackground): Likewise.
36466 (getMenuSelectedForeground): Likewise.
36467 (getMenuTextFont): Likewise.
36468 (getPrimaryControl): Likewise.
36469 (getPrimaryControlDarkShadow): Likewise.
36470 (getPrimaryControlHighlight): Likewise.
36471 (getPrimaryControlInfo): Likewise.
36472 (getPrimaryControlShadow): Likewise.
36473 (getSeparatorBackground): Likewise.
36474 (getSeparatorForeground): Likewise.
36475 (getSubTextFont): Likewise.
36476 (getSystemTextColor): Likewise.
36477 (getSystemTextFont): Likewise.
36478 (getTextHighlightColor): Likewise.
36479 (getUserTextColor): Likewise.
36480 (getUserTextFont): Likewise.
36481 (getWhite): Likewise.
36482 (getWindowBackground): Likewise.
36483 (getWindowTitleBackground): Likewise.
36484 (getWindowTitleFont): Likewise.
36485 (getWindowTitleForeground): Likewise.
36486 (getWindowTitleInactiveBackground): Likewise.
36487 (getWindowTitleInactiveForeground): Likewise.
36489 2006-01-03 Mark Wielaard <mark@klomp.org>
36491 * javax/swing/JTextArea.java
36492 (JTextArea(Document,text,int,int)): Only call setText() when text is
36495 2006-01-03 Lillian Angel <langel@redhat.com>
36497 * javax/swing/plaf/basic/BasicFileChooserUI.java
36498 (installStrings): Fixed installation of defaults that
36499 were changed in BasicLookAndFeel.
36500 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36501 (installDefaults): Fixed installation of defaults that
36502 were changed in BasicLookAndFeel.
36504 2006-01-03 Lillian Angel <langel@redhat.com>
36506 * javax/swing/plaf/basic/BasicLookAndFeel.java
36507 (initComponentDefaults): Fixed several defaults that differed
36510 2006-01-03 Lillian Angel <langel@redhat.com>
36512 * javax/swing/tree/DefaultTreeSelectionModel.java
36513 (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36515 2006-01-03 Lillian Angel <langel@redhat.com>
36517 * javax/swing/AbstractAction.java
36518 (AbstractAction): Fixed to pass in null. Should not be
36519 an empty string. Removed TODO comment.
36520 (AbstractAction): Removed TODO comment.
36521 * javax/swing/JList.java
36522 (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36523 * javax/swing/JMenuItem.java
36524 (JMenuItem): Set all defaults if the action passed in is not null.
36525 * javax/swing/JProgressBar.java
36526 (JProgressBar): Added check to prevent NPE.
36528 2006-01-03 Lillian Angel <langel@redhat.com>
36530 * javax/swing/plaf/basic/BasicListUI.java
36531 (getPreferredSize): The JDK adds some extra space to
36532 the list, so we should as well.
36533 * javax/swing/plaf/metal/MetalFileChooserUI.java
36534 (getPreferredSize): Should only take the fileListPanel's
36535 width into account when getting the size. Also, the buttonPanel's
36536 size should not be checked, since it is in the bottomPanel already.
36537 (getMinimumSize): Likewise.
36539 2006-01-03 Lillian Angel <langel@redhat.com>
36541 * javax/swing/JList.java
36542 (init): visibleRowCount should be 7, like the JDK.
36543 * javax/swing/plaf/metal/MetalFileChooserUI.java
36544 (installComponents): No need to add the fileFilterCombo
36545 to a panel. It can be added to the row directly.
36547 2006-01-03 Lillian Angel <langel@redhat.com>
36549 PR classpath/25480 PR classpath/25478
36550 * javax/swing/plaf/basic/BasicScrollPaneUI.java
36551 (updateViewport): Made changes suggested by
36553 * javax/swing/plaf/metal/MetalFileChooserUI.java:
36554 Removed unneeded import.
36555 (createList): Removed comment, JList wrapping
36557 (getPreferredSize): Made changes suggested by
36558 Chris Lansdown. Uses fileListPanel, instead
36560 (getMinimumSize): Uses fileListPanel, instead
36562 * javax/swing/plaf/metal/MetalRadioButtonUI.java
36563 (paintFocus): Fixed height.
36565 2006-01-03 Roman Kennke <kennke@aicas.com>
36567 * javax/swing/plaf/basic/BasicListUI.java
36568 (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36570 2006-01-03 Roman Kennke <kennke@aicas.com>
36572 * javax/swing/plaf/basic/BasicListUI.java
36573 (locationToIndex): Special case for when variable cell heights
36574 are possible. (cellHeights is used instead of cellHeight).
36575 (indexToLocation): Special case for when variable cell heights
36576 are possible. (cellHeights is used instead of cellHeight).
36578 2006-01-03 Roman Kennke <kennke@aicas.com>
36580 * javax/swing/text/DefaultStyledDocument.java
36581 (ElementBuffer.remove): New method.
36582 (ElementBuffer.removeUpdate): New method.
36583 (removeUpdate): New method.
36585 2006-01-03 Roman Kennke <kennke@aicas.com>
36588 (dist-hook): Preserve attributes of Java sources when copying to
36591 2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au>
36593 * AUTHORS: Added self.
36594 * java/security/Security.java (getProvider): Ensures provider's name is
36595 not null, not an empty string, and is trimmed before usage.
36597 2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36599 * gnu/CORBA/Poa/AOM.java (add):
36600 Changed parameter Object into gnuServantObject.
36601 (Obj.object): Changed type to gnuServantObject.
36602 (findObject): Rewritten.
36604 2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
36606 * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36607 buffering. Ability has gone in Qt-4.1.x.
36609 * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36610 to have the right include flags.
36612 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36614 * java/security/MessageDigest.java (getInstance(String,String)):
36615 Use trimmed copy of provider name.
36616 * gnu/java/security/Engine.java
36617 (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36618 service and algorithm names.
36620 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36622 * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36623 localhost is null or is an empty string. Trim hostname before