1 2007-04-16 Tom Tromey <tromey@redhat.com>
3 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236614
4 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
5 (createSocket): Change order of delegation.
7 2007-04-16 Andrew Haley <aph@redhat.com>
9 * java/io/ObjectInputStream.java: (parseContent): Call (String,
10 Object) version of dumpElementln.
11 (dumpElementln(String, Object)): New method.
12 * java/io/ObjectOutputStream.java (writeObject): Call (String,
13 Object) version of dumpElementln.
14 (dumpElementln(String, Object)): New method.
16 2007-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
18 * javax/management/ObjectName.java:
19 (parse(String)): Catch multiple wildcards,
20 initialise with an empty string (so null isn't
21 appended), and emit comma even when wildcard
23 (checkComponents()): Catch newlines.
24 (quote(String)): Handle newlines and quotes
27 2007-04-16 Andrew Haley <aph@redhat.com>
29 * org/omg/IOP/TaggedComponentHelper.java (read): Use
30 read_octet_array(), not read().
31 (write): Use write_octet_array(), not write().
33 * org/omg/PortableServer/Servant.java (_get_delegate): Throw if no
34 delegate has been set.
36 * javax/management/ObjectName.java serialVersionUID: Declare.
37 Make all fields transient.
38 (parse): Break out from constructor.
39 (writeObject, readObject): New methods.
41 2007-04-02 Keith Seitz <keiths@redhat.com>
43 * gnu/classpath/jdwp/event/ThreadStartEvent.java (Event):
44 Event type is "THREAD_START" not "THREAD_END".
46 * gnu/classpath/jdwp/transport/SocketTransport.java (ITransport):
47 Handle configure strings ":port" and "port".
49 2007-03-30 Andrew Haley <aph@redhat.com>
51 * javax/management/ObjectName.java: Handle 0-length names.
53 2007-03-27 Andrew Haley <aph@redhat.com>
55 * javax/management/MBeanServerFactory.java: Use the domain that
56 we've been passed, not the fixed string "DefaultDomain".
58 2007-03-29 Tom Tromey <tromey@redhat.com>
61 * gnu/java/util/jar/JarUtils.java (log): Commented out.
62 (readSFManifest): Don't log.
64 2007-03-28 Casey Marshall <csm@gnu.org>
66 * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
67 check keyEncipherment bit of the certificate, and just pass the public
70 2007-03-27 Casey Marshall <csm@gnu.org>
73 * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl):
74 Always make a new socket.
75 (bind, connect, getInetAddress, getLocalAddress, getPort,
76 getLocalPort, getRemoteSocketAddress, getLocalSocketAddress,
77 setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger,
78 setOOBInline, getOOBInline, setSoTimeout, getSoTimeout,
79 setSendBufferSize, getSendBufferSize, setReceiveBufferSize,
80 getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass,
81 getTrafficClass, setReuseAddress, getReuseAddress, close,
82 shutdownInput, shutdownOutput, isConnected, isBound, isClosed,
83 isInputShutdown, isOutputShutdown): Always use
86 2007-03-27 Tom Tromey <tromey@redhat.com>
89 * external/sax/org/xml/sax/helpers/XMLReaderFactory.java
90 (createXMLReader): Code in Classpath default.
92 2007-03-27 Keith Seitz <keiths@redhat.com>
95 2007-03-09 Kyle Galloway <kgallowa@redhat.com>
96 * gnu/classpath/jdwp/exception/InvalidTagException.java: New file.
97 * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java
98 (executeGetValues): Use Value type.
99 (exectureSetValues): Ditto.
100 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
101 (executeGetValues): Use Value type.
102 (executeSetValues): Ditto.
103 (invokeMethod): Record method return type.
104 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
105 (executeGetValues): Use Value type.
106 (executeSetValues): Ditto.
107 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
108 (executeGetValues): Use Value type.
109 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
110 (executeGetValues): Use Value type.
111 (executeSetValues): Ditto.
112 * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store
114 (getResultType): New Method.
115 (setResultType): Ditto.
116 * gnu/classpath/jdwp/util/Value.java: Remove.
117 * gnu/classpath/jdwp/value: New Package.
118 * gnu/classpath/jdwp/value/Value.java: New file.
119 * gnu/classpath/jdwp/value/BooleanValue.java: New file.
120 * gnu/classpath/jdwp/value/ByteValue.java: New file.
121 * gnu/classpath/jdwp/value/CharValue.java: New file.
122 * gnu/classpath/jdwp/value/DoubleValue.java: New file.
123 * gnu/classpath/jdwp/value/FloatValue.java: New file.
124 * gnu/classpath/jdwp/value/IntValue.java: New file.
125 * gnu/classpath/jdwp/value/LongValue.java: New file.
126 * gnu/classpath/jdwp/value/ObjectValue.java: New file.
127 * gnu/classpath/jdwp/value/ShortValue.java: New file.
128 * gnu/classpath/jdwp/value/StringValue.java: New file.
129 * gnu/classpath/jdwp/value/ValueFactory.java: New file.
130 * gnu/classpath/jdwp/value/VoidValue.java: New file.
132 2007-02-28 Keith Seitz <keiths@redhat.com>
133 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
134 (executeSet): Check if VM has capability for field access
135 or modification events.
136 * gnu/classpath/jdwp/processor/MethodCommandSet.java
137 (executeByteCodes): Check if VM has capability and
139 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
140 (executeMonitorInfo): Likewise.
141 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
142 (executeSourceDebugExtension): Likewise.
143 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
144 (executePopFrames): Likewise.
145 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
146 (executeOwnedMonitors): Likewise.
147 (executeCurrentContendedMonitor): Likewise.
148 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
149 (executeCapabilities): Rewrite using new VMVirtualMachine
151 (executeRedefineClasses): Check if VM has capability and
153 (executeSetDefaultStratum): Likewise.
154 * gnu/classpath/jdwp/util/MonitorInfo.java; New file.
155 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
156 (canWatchFieldModification): New class constant.
157 (canWatchFieldAccess): Likewise.
158 (canGetBytecodes): Likewise.
159 (canGetSyntheticAttribute): Likewise.
160 (canGetOwnedMonitorInfo): Likewise.
161 (canGetCurrentContendedMonitor): Likewise.
162 (canGetMonitorInfo): Likewise.
163 (canRedefineClasses): Likewise.
164 (canAddMethod): Likewise.
165 (canUnrestrictedlyRedefineClasses): Likewise.
166 (canPopFrames): Likewise.
167 (canUseInstanceFilters): Likewise.
168 (canGetSourceDebugExtension): Likewise.
169 (canRequestVMDeathEvent): Likewise.
170 (canSetDefaultStratum): Likewise.
171 (redefineClasses): New method.
172 (setDefaultStratum): Likewise.
173 (getSourceDebugExtension): Likewise.
174 (getBytecodes): Likewise.
175 (getMonitorInfo): Likewise.
176 (getOwnedMonitors): Likewise.
177 (getCurrentContendedMonitor): Likewise.
178 (popFrames): Likewise.
180 2007-02-28 Keith Seitz <keiths@redhat.com>
181 * gnu/classpath/jdwp/processor/MethodCommandSet.java
182 (executeLineTable): Use ReferenceTypeId instead of
183 ClassReferenceTypeId.
184 (executeVariableTable): Likewise.
185 (executeVariableTableWithGeneric): Fix error message.
186 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
187 (executeSignatureWithGeneric): Fix error message.
188 (executeFieldWithGeneric): Likewise.
189 (executeMethodsWithGeneric): Likewise.
190 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
191 (executeGetValues): Use ThreadId instead of ObjectId.
192 (executeSetValues): Likewise.
193 (executeThisObject): Likewise.
195 2007-02-28 Kyle Galloway <kgallowa@redhat.com>
196 * gnu/classpath/jdwp/id/NullObjectId.java: New class.
197 * gnu/classpath/jdwp/util/NullObject.java: New class.
198 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
199 (getObjectId): Handle null object.
200 (get): Handle objectId of 0.
202 2007-02-22 Keith Seitz <keiths@redhat.ecom>
203 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
204 (getAllLoadedClassesCount): Remove.
205 (getAllLoadedClasses): Return a Collection.
206 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
207 (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses
208 now returns Collection.
209 (executeAllClasses): Likewise.
210 Get size of return from Colleciton instead of calling
211 getAllLoadedClassesCount.
213 2007-02-22 Kyle Galloway <kgallowa@redhat.com>
214 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
215 (executeGetValues): Pass a signature byte to VMFrame.getValue.
216 * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add
219 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
220 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
221 (executeGetValues): Changed getFrame to use a jlong to pass frameID.
222 (executeSetValues): Ditto.
223 (executeThisObject): Ditto.
224 * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field
225 and a constructor used to create VMFrames.
226 (getThread): New method.
227 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame):
228 Changed to take a long instead of a ByteBuffer to pass the frameID.
230 2007-01-15 Kyle Galloway <kgallowa@redhat.com>
231 * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
233 2007-03-26 Tom Tromey <tromey@redhat.com>
235 * doc/cp-tools.texinfo (gcjh Tool): Added more text.
236 (rmid Tool): Likewise.
238 2007-03-25 Dalibor Topic <robilad@kaffe.org>
240 * doc/cp-tools.texinfo: Fix node ordering.
242 2007-03-19 Matthias Klose <doko@ubuntu.com>
244 * doc/Makefile.am: Build a gcjh(1) man page.
245 * doc/cp-tools.texinfo: Add documentation for gcjh.
247 2007-03-26 Stepan Kasal <skasal@redhat.com>
249 * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
251 (getParser): Use new field.
253 2007-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
255 * resource/com/sun/tools/javac/messages.properties
256 (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
257 messages for when --with-ecj-jar is not specified.
258 * configure.ac (FOUND_ECJ_JAR): Remove conditional.
259 * tools/Makefile.am: Build com.sun.tools.javac package
261 * configure, doc/api/Makefile.in, doc/Makefile.in,
262 examples/Makefile.in, external/jsr166/Makefile.in,
263 external/Makefile.in, external/relaxngDatatype/Makefile.in,
264 external/sax/Makefile.in, external/w3c_dom/Makefile.in,
265 include/Makefile.in, lib/Makefile.in, Makefile.in,
266 native/fdlibm/Makefile.in, native/jawt/Makefile.in,
267 native/jni/classpath/Makefile.in,
268 native/jni/gconf-peer/Makefile.in,
269 native/jni/gtk-peer/Makefile.in, native/jni/java-io/Makefile.in,
270 native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in,
271 native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in,
272 native/jni/Makefile.in, native/jni/midi-alsa/Makefile.in,
273 native/jni/midi-dssi/Makefile.in,
274 native/jni/native-lib/Makefile.in, native/jni/qt-peer/Makefile.in,
275 native/jni/xmlj/Makefile.in, native/Makefile.in,
276 native/plugin/Makefile.in, resource/Makefile.in,
277 scripts/Makefile.in, tools/Makefile.in: Regenerate.
278 * tools/classes/com/sun/tools/javac: New directory.
279 * tools/classes/com/sun/tools/javac/Main.class,
280 tools/classes/com/sun/tools/javac/Messages.class: New files.
282 2007-03-16 Tom Tromey <tromey@redhat.com>
284 * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
287 2007-03-16 Tom Tromey <tromey@redhat.com>
289 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
290 (printClass): Added filename argument.
291 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
292 (printClass): Added filename argument.
293 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
294 (printClass): Use user's file name.
295 * tools/gnu/classpath/tools/javah/CniStubPrinter.java
296 (printClass): Use user's file name.
297 * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
299 * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
301 (writeHeaders): Use a HashMap.
302 (run): Put class name into HashMap for writeHeaders.
304 2007-03-02 Mario Torre <neugens@limasoftware.net>
307 committed for Petteri Räty <betelgeuse@gentoo.org>
308 * configure.ac: fix broken build for gcj browser plugin
310 2007-02-20 Jakub Jelinek <jakub@redhat.com>
312 * java/util/Date.java (parse): Properly parse 09:01:02 as
313 hours/minutes/seconds, not as hours/minutes/year.
314 * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
315 {start,end}TimeMode constructor by calling shorter constructor,
316 set {start,end}TimeMode fields after it returns.
317 (setStartRule): Don't adjust startTime into WALL_TIME. Set
318 startTimeMode to WALL_TIME.
319 (endStartRule): Similarly.
320 (getOffset): Handle properly millis + dstOffset overflowing into the
321 next day. Adjust startTime resp. endTime based on startTimeMode
323 * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
325 (timezones): Remove synchronized keyword. Set zoneinfo_dir.
326 If non-null, set up aliases0 and don't put anything into
328 (defaultZone): Call getTimeZone instead of timezones().get.
329 (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6. Use
330 getTimeZoneInternal instead of timezones().get.
331 (parseTime): Parse correctly hour:minute.
332 (getTimeZoneInternal): New private method.
333 (getTimeZone): Do the custom ID checking first, canonicalize
334 ID for custom IDs as required by documentation. Call
335 getTimeZoneInternal to handle the rest.
336 (getAvailableIDs(int)): Add locking. Handle zoneinfo_dir != null.
337 (getAvailableIDs(File,String,ArrayList)): New private method.
338 (getAvailableIDs()): Add locking. Handle zoneinfo_dir != null.
339 * gnu/java/util/ZoneInfo.java: New file.
341 2007-02-20 Matthias Klose <doko@ubuntu.com>
343 * doc/Makefile.am: Add rules to build and install man pages
345 * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
346 Rename, prefix files with "cp-".
347 * doc/cp-tools.texinfo: Add markup for man page generation,
348 add documentation for command line options for gjar, gjavah,
349 gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
350 doc/texi2pod.pl: New, taken from the GCC sources.
352 2006-10-14 Edwin Steiner <edwin.steiner@gmx.net>
355 * javax/management/MBeanInfo.java (MBeanInfo):
356 Use clone to duplicate the arrays in order to
357 preserve the array type.
359 2007-02-16 Andrew Haley <aph@redhat.com>
361 * gnu/java/lang/management/MemoryMXBeanImpl.java,
362 javax/management/MBeanServerDelegate.java: Use
363 gnu.javax.management.ListenerData rather than
364 gnu.classpath.ListenerData.
365 * gnu/javax/management/ListenerData.java: Move here from
366 gnu/classpath/ListenerData.java.
368 2007-02-14 Jakub Jelinek <jakub@redhat.com>
369 Andrew Haley <aph@redhat.com>
371 * java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
373 2007-02-09 Tom Tromey <tromey@redhat.com>
376 * configure: Rebuilt.
377 * configure.ac: Also check for jack/jack.h.
379 2007-02-09 Jakub Jelinek <jakub@redhat.com>
381 * java/util/TimeZone.java: Handle default (one hour) daylight
384 2007-02-09 Jakub Jelinek <jakub@redhat.com>
387 * scripts/timezones.pl: Parse each file in 2 passes, in one parse
388 just Rule lines, in the other everything else. Pass 0 instead of
389 $savings as second argument to parseRule when parsing the start
391 * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
393 2007-02-07 Chris Burdess <dog@gnu.org>
396 * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
397 * gnu/xml/transform/XSLURIResolver.java: Add support for custom
398 SAXSources without a backing URL or stream.
401 * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
402 LSParser if implementation does not support asynchronous.
403 * gnu/xml/stream/XMLParser.java,
404 gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
405 java.net.URL to resolve to an an absolute URI, to avoid nonexistent
406 protocol handler problems.
408 2007-02-06 Tom Tromey <tromey@redhat.com>
411 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
412 (printClass): Always print a header.
414 2007-02-05 Andrew Haley <aph@redhat.com>
417 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
418 (printClass): Replace '/' in filenames with '_'.
419 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
420 (printClass): Likewise.
422 2007-02-05 Tom Tromey <tromey@redhat.com>
424 * java/net/Proxy.java (equals): Handle case where address==null.
425 (hashCode): Likewise.
426 (toString): Likewise.
428 2007-01-31 Tom Tromey <tromey@redhat.com>
430 * resource/gnu/classpath/tools/jar/messages.properties
431 (Main.Stdin): New message.
432 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
434 (readNames): New method.
437 2007-01-26 Andrew Haley <aph@redhat.com>
439 * java/lang/SecurityManager.java: Load and initialize
440 java.security.Security.
442 2007-01-26 Tom Tromey <tromey@redhat.com>
444 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
445 'volatile' after field type.
447 2007-01-23 Marco Trudel <mtrudel@gmx.ch>
449 * java/util/Arrays.java (binarySearch): Change comparison order.
451 2007-01-17 Tom Tromey <tromey@redhat.com>
453 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
454 (PathOptionGroup): Set default boot class path.
456 2006-12-14 Andrew Haley <aph@redhat.com>
458 * tools/gnu/classpath/tools/jar/Creator.java: Close the
461 2006-10-12 Andrew Haley <aph@redhat.com>
463 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
464 * java/lang/ThreadLocal.java: Likewise.
466 2006-09-13 Andrew Haley <aph@redhat.com>
468 * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
469 Revert previous gcj-specific disabling of checks.
470 * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
472 * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
475 2006-09-13 Andrew Haley <aph@redhat.com>
477 * java/util/PriorityQueue.java: Throw IllegalArgumentException for
479 (Iterator.remove()): Decrement index after removing element.
481 2006-12-11 Jeroen Frijters <jeroen@frijters.net>
483 * javax/net/ssl/SSLSocketFactory.java (getDefault):
484 Chain exception cause.
486 2006-12-11 Roman Kennke <kennke@aicas.com>
488 * .classpath: Include ASM in Eclipse classpath.
490 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
492 * gnu/java/lang/management/BeanImpl.java:
493 (translate(String)): Trim strings of whitespace.
494 * javax/management/MBeanAttributeInfo.java:
495 (MBeanAttributeInfo(String,String,Method,Method)):
496 Use Class.getName() for normal (non-parameterized) cases.
497 * javax/management/MBeanConstructorInfo.java:
498 (MBeanConstructorInfo(String, Constructor)):
500 * javax/management/MBeanOperationInfo.java:
501 (MBeanOperationInfo(String, Method)):
504 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
506 * java/lang/Class.java:
507 (getClasses()): Return Class<?>[].
508 (internalGetClasses()): Likewise.
509 (getConstructor(Class<?>...)): Add type parameter
511 (getDeclaredConstructor(Class<?>...)): Likewise.
512 (getDeclaredClasses()): Return Class<?>[].
513 (getDeclaredClasses(boolean)): Likewise.
514 (getDeclaredConstructors()): Return Constructor<?>[].
515 (getDeclaredConstructors(boolean)): Likewise.
516 (getDeclaredMethod(String,Class<?>...)): Add type
517 parameter to parameters.
518 (getInterfaces()): Return Class<?>[].
519 (getMethods(String,Class<?>...)): Add type
520 parameter to parameters.
521 * java/text/CollationKey.java:
523 * java/text/DecimalFormatSymbols.java:
526 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
528 * gnu/java/lang/management/BeanImpl.java:
529 (translate(String)): Handle Map and List as
530 Strings of the form "java.util.Map<K,V>" and
532 * javax/management/MBeanAttributeInfo.java:
533 (MBeanAttributeInfo(String,String,Method,Method)):
534 Use generic parameter and return types.
535 * javax/management/MBeanConstructorInfo.java:
536 (MBeanConstructorInfo(String, Constructor)):
537 Use generic parameter types.
538 * javax/management/MBeanOperationInfo.java:
539 (MBeanOperationInfo(String, Method)):
540 Use generic parameter and return types.
542 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
544 * gnu/java/lang/management/BeanImpl.java:
545 (translate(String)): Comment out code for using type
546 variables for Map and List.
547 * java/lang/Thread.java:
548 (Thread(ThreadGroup,Runnable,String,long)): Fix
549 incrementation of totalThreadsCreated to be prior to use.
551 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
553 * javax/management/MBeanServerFactory.java:
554 (createMBeanServer(String)): Added security check.
555 (findMBeanServer(String)): Likewise.
556 (newMBeanServer(String)): Likewise.
557 (releaseMBeanServer(String)): Likewise.
558 * javax/management/MBeanServerPermission.java:
561 2006-12-08 David Daney <ddaney@avtrex.com>
563 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
566 2006-12-08 David Daney <ddaney@avtrex.com>
568 * NEWS: Mention URLConnection.[get|set]ReadTimeout.
570 2006-12-08 David Daney <ddaney@avtrex.com>
572 * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
574 (HTTPConnection): Handle NumberFormatException in properties parsing.
575 (Pool.get): Set timeout on reused sockets.
576 * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
578 (HTTPURLConnection): Cleanup properties handling.
579 (getConnection): Use both connection and read timeouts.
580 (setConnectTimeout): Removed.
581 (setReadTimeout): New method.
582 * java/net/URLConnection.java (timeout): Renamed to...
583 (connectTimeout): ... connectTimeout throughout.
584 (readTimeout): New field.
585 (getReadTimeout): New method.
586 (setReadTimeout): New method.
588 2006-12-08 Tania Bento <tbento@redhat.com>
590 * java/awt/ScrollPane.java
591 (doLayout): Change the location of the scrollpane's child
594 2006-12-08 David Daney <ddaney@avtrex.com>
596 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
598 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
599 SocketTimeoutException if a blocking socket timesout.
600 (Java_gnu_java_nio_VMChannel_readScattering): Same.
601 (Java_gnu_java_nio_VMChannel_read__I): Same.
602 (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
603 (Java_gnu_java_nio_VMChannel_connect6): Same.
605 2006-12-08 Mark Wielaard <mark@klomp.org>
607 * configure.ac (VERSION): Set to 0.93-generics.
608 * NEWS: Add release date.
610 2006-12-08 Tania Bento <tbento@redhat.com>
612 * java/awt/ScrollPane.java
613 (getScrollPosition): Throw NullPointerException if scrollpane
615 (setScrollPosition(int, int)): Throw NullPointerException if
616 scrollpane does have a child. Check that both ints are within
617 the allowed bounds; If they are not, scroll to the closest allowed
620 2006-12-07 Roman Kennke <kennke@aicas.com>
622 * javax/swing/JEditorPane.java
623 (EditorKitMapping): New inner helper class.
624 (editorKits): New static field for caching editor kit instances.
625 (static_initiazer): Initialize static mappings here.
626 (createEditorKitForContentType): Try to use cached instance.
627 Use correct classloader for loading.
628 (getEditorKitClassNameForContentType): Make use of EditorKitMapping
630 (getEditorKitForContentType): Store the fetched editor kit.
631 Fallback to createDefaultEditorKit().
632 (init): Don't clean the static registry here.
633 (registerEditorKitForContentType(String,String,ClassLoader)):
635 (registerEditorKitForContentType(String,String)): Delegate to
636 the other version of this method with the thread's context
639 2006-12-07 Mark Wielaard <mark@klomp.org>
641 * examples/gnu/classpath/examples/swing/HtmlDemo.java
642 (setPage): Don't convert URL to String for setPage().
644 2006-12-07 Mark Wielaard <mark@klomp.org>
646 * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
648 2006-12-07 Mark Wielaard <mark@klomp.org>
650 * tools/Makefile.am: Explicitly define and use bootclasspath as
653 2006-12-07 Mark Wielaard <mark@klomp.org>
655 * javax/swing/JEditorPane.java (createEditorKitForContentType):
656 Always load from system class loader.
658 2006-12-07 Mark Wielaard <mark@klomp.org>
660 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
662 (URL(URL,String,URLStreamHandler)): Call new constructor.
663 (URL(URL,String)): Likewise.
664 (URL(String)): Likewise.
666 2006-12-07 Tom Tromey <tromey@redhat.com>
669 * INSTALL: Don't mention --with-asm.
670 * tools/external/README: New file.
671 * tools/toolwrapper.c (main): Don't use ASM_JAR.
672 * tools/gjavah.in: Don't use PATH_TO_ASM.
673 * tools/grmic.in: Likewise.
674 * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
676 (javah, rmic): Removed variables.
677 (bin_PROGRAMS): Updated.
678 (gappletviewer_CFLAGS): Don't define ASM_JAR.
679 (gjarsigner_CFLAGS): Likewise.
680 (gkeytool_CFLAGS): Likewise.
681 (gjar_CFLAGS): Likewise.
682 (gnative2ascii_CFLAGS): Likewise.
683 (gserialver_CFLAGS): Likewise.
684 (grmiregistry_CFLAGS): Likewise.
685 (gtnameserv_CFLAGS): Likewise.
686 (gorbd_CFLAGS): Likewise.
687 (grmid_CFLAGS): Likewise.
688 (gjavah_CFLAGS): Likewise.
689 (grmic_CFLAGS): Likewise.
690 (bin_SCRIPTS): Updated.
691 (TOOLS_JAVA_FILES): Updated.
692 ($(TOOLS_ZIP)): Compile ASM sources. Copy resource files.
693 * configure.ac: Removed --with-asm. Always build gjavah.
695 2006-12-06 Roman Kennke <kennke@aicas.com>
697 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
699 * examples/gnu/classpath/examples/swing/HtmlDemo.java
700 (LoadActionListener): Call setPage() helper method.
701 (createContent): Register tweaked editor kit. For FormSubmitEvents
702 call submitForm(), otherwise setPage().
703 (postData): Helper method for posting form data.
704 (setPage): Helper method for navigating to a new URL.
705 (submitForm): Helper method for submitting a form.
706 * examples/gnu/classpath/examples/swing/forms.html:
707 Added text/password fields and select boxes.
708 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
710 2006-12-06 Roman Kennke <kennke@aicas.com>
712 * javax/swing/text/html/FormView.java
713 (SubmitThread.postData): Implemented.
714 (SubmitThread.run): Pass data to postData().
715 (actionPerformed): Reset form when reset button is activated.
716 (createComponent): Add support for select lists and comboboxes.
717 Don't set value of text and password fields here, this is done
718 now in HTMLDocument for consistency.
719 (getElementFormData): Add support for fetching form data from
720 select lists and comboboxes as well as textareas.
721 (getSelectData): New helper method. Fetches form data from
723 (getTextAreaData): New helper method. Fetches form data from
725 (resetForm): New helper method. Resets the entire form.
726 * javax/swing/text/html/HTMLDocument.java
727 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
728 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
729 (HTMLReader.FormAction.setModel): Initialize text and password
730 values here. Also, use the resetable special models.
731 Group radio buttons into ButtonGroup for exclusive selection.
732 (HTMLReader.FormTagAction): New class. Handles FORM tags.
733 (HTMLReader.buttonGroups): New field.
734 (HTMLReader.numOptions): New field.
735 (HTMLReader.option): New field.
736 (HTMLReader.selectModel): New field.
737 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
738 (HTMLReader.handleText): Handle OPTION text.
739 (HTMLReader.initTags): Map FORM tags to FormTagAction.
740 (HTMLReader.textAreaContent): Set initial content.
741 * javax/swing/text/html/Option.java
742 (Option): Make copy of attribute set. Initialize selected state.
743 (getValue): Fetch value from attribute set.
744 * javax/swing/text/html/ResetableModel.java: New interface.
745 * javax/swing/text/html/ResetablePlainDocument.java: New class.
746 Supports resetting the state.
747 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
748 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
749 * javax/swing/text/html/SelectListModel.java: Likewise.
751 2006-12-06 Roman Kennke <kennke@aicas.com>
753 * javax/swing/text/DefaultCaret.java
754 (appear): Adjust visibility here.
755 (setDotImpl): Don't adjust visibility here.
756 (moveDotImpl): Don't adjust visibility here.
758 2006-12-06 Roman Kennke <kennke@aicas.com>
760 * gnu/java/awt/peer/gtk/AsyncImage.java
761 (Loader.run): Synchronize on the AsyncImage to avoid threading
763 (addObservers): Check for obs==null outside and synchronize on
764 this inside to avoid locking issues.
765 (checkImage): New helper method.
766 (notifyObservers): Check that the correct lock is held and
767 remove actual locking.
768 * gnu/java/awt/peer/gtk/GtkToolkit.java
769 (checkImage): Added special handling for AsyncImages.
771 2006-12-06 Roman Kennke <kennke@aicas.com>
773 * examples/gnu/classpath/examples/swing/Demo.java
774 (getIcon): Made package private.
775 * examples/gnu/classpath/examples/swing/HtmlDemo.java
776 (hyperlinkUpdate): Convert URL to string.
778 2006-12-06 Mark Wielaard <mark@klomp.org>
780 * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
783 2006-12-06 Roman Kennke <kennke@aicas.com>
785 * examples/gnu/classpath/examples/icons/back.png,
786 * examples/gnu/classpath/examples/icons/reload.png:
787 New icons for the HTML browser.
788 * examples/gnu/classpath/examples/swing/HtmlDemo.java
789 (history): New field. Manages the browsing history.
790 (HtmlDemo): Initialize history.
791 (createContent): Set location and add history. Add toolbar.
792 (createToolBar): New helper method.
793 (main): Make default size bigger.
794 * examples/gnu/classpath/examples/swing/frame1.html,
795 * examples/gnu/classpath/examples/swing/frame2.html,
796 * examples/gnu/classpath/examples/swing/frame3.html,
797 * examples/gnu/classpath/examples/swing/frame4.html,
798 * examples/gnu/classpath/examples/swing/frames.html,
799 * examples/gnu/classpath/examples/swing/tables.html:
801 * examples/gnu/classpath/examples/swing/welcome.html
802 Add a couple of links and new test pages.
804 2006-12-06 Roman Kennke <kennke@aicas.com>
806 * javax/swing/JEditorPane.java
807 (getStream): Buffer the stream for efficiency.
808 (setPage): Don't scroll the view at this point.
809 * javax/swing/plaf/basic/BasicTextUI.java
810 (RootView.paint): Call RootView's setSize to get synchronization.
811 (RootView.setSize): Synchronize to prevent race in layout code.
812 * javax/swing/text/AbstractDocument.java
813 (notifyListeners): New field.
814 (fireChangedUpdate): Track notifyListener field.
815 (fireRemoveUpdate): Track notifyListener field.
816 (fireIndertUpdate): Track notifyListener field.
817 (writeLock): Check notifyListener and throw IllegalStateException.
818 * javax/swing/text/View.java
819 (preferenceChanged): Create local var for better thread safety and
822 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
824 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
825 lightweight component, not just for non-Panel components.
826 (addImpl): Do not call doLayout.
827 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
828 (setNativeBounds): Ensure widget parent is a GtkFixed before
829 calling gtk_fixed_move.
830 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
831 (setNativeBounds): Likewise.
832 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
833 (setNativeBounds): Likewise.
835 2006-12-06 Roman Kennke <kennke@aicas.com>
837 * javax/swing/text/html/TableView.java
838 (RowView.layoutMajorAxis): Check column index for invalid value.
839 (updateGrid): Check column index for invalid value.
841 2006-12-06 Roman Kennke <kennke@aicas.com>
843 * javax/swing/text/html/BlockView.java
844 (getAlignment): Align blocks horizontally by the superclass.
845 * javax/swing/text/html/HTMLEditorKit.java
846 (HTMLFactory.create): Replace equals comparison by == for efficiency.
847 Add mapping for misplaced tr, td and th tags. Include object mapping.
848 * javax/swing/text/html/TableView.java
849 (RowView.replace): Invalidate grid early.
850 (gridValid): Initialize with false.
851 (create): Only create RowView and CellView for correctly placed
852 tags. Avoid unnecessary casts.
853 (getAlignment): Removed.
854 (replace): Invalidate grid early.
856 2006-12-06 Francis Kung <fkung@redhat.com>
858 * java/awt/geom/RectangularShape.java
859 (getBounds): Remove empty rectangle check.
861 2006-12-06 Ben Konrath <bkonrath@redhat.com>
864 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
865 newValue are the same.
866 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
868 2006-12-06 Tania Bento <tbento@redhat.com>
870 * javax/swing/border/CompoundBorder.java:
871 (isBorderOpaque): If inside border is null, return true if outside
872 border is opaque, false otherwise; if outside border is null, return
873 true if inside border is opaque, false otherwise; if inside or
874 outside border are both not null, then return true only if both the
875 inside and outside border are opaque, false otherwise.
877 2006-12-06 Tania Bento <tbento@redhat.com>
879 * javax/swing/border/CompoundBorder.java:
880 (isBorderOpaque): If inside and outside border both have a null
883 2006-12-06 Chris Burdess <dog@gnu.org>
886 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
887 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
889 2006-12-06 Chris Burdess <dog@gnu.org>
892 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
895 2006-12-06 Chris Burdess <dog@gnu.org>
898 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
899 discover schema factory implementation class.
901 2006-12-05 Francis Kung <fkung@redhat.com>
903 * java/awt/BasicStroke.java
904 (capEnd): Prevent division by zero.
905 * java/awt/geom/Arc2D.java
906 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
907 (ArcIterator.currentSegment): Handle a negative extent.
909 2006-12-05 Francis Kung <fkung@redhat.com>
911 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
912 (constructor): Handle translated subimages properly, ie, if the image's
913 0,0 position is not the data buffer's first element.
915 2006-12-05 Roman Kennke <kennke@aicas.com>
917 * gnu/java/awt/peer/gtk/AsyncImage.java
918 (Loader.run): Nullify observers after loading.
919 (observers): Made package private.
920 (addObserver): Check for null observers field. Create local
921 variable for thread safety.
922 (getHeight): Use addObserver() for checking state of field
923 and notifying observer when necessary.
924 (getWidth): Use addObserver() for checking state of field
925 and notifying observer when necessary.
926 (getProperty): Use addObserver() for checking state of field
927 and notifying observer when necessary.
928 (notifyObservers): Check for null observers field. Create local
929 variable for thread safety.
931 2006-12-05 Roman Kennke <kennke@aicas.com>
933 * javax/swing/text/html/HTMLEditorKit.java
934 (HTMLFactory.create): Removed debug output.
935 * javax/swing/text/html/InlineView.java
936 (getBreakWeight): Likewise.
937 * javax/swing/text/html/StyleSheet.java
939 (ListPainter.paint): Removed debug output.
941 2006-12-05 Roman Kennke <kennke@aicas.com>
943 * javax/swing/text/html/BlockView.java
944 (painter): Made package visible.
945 * javax/swing/text/html/StyleSheet.java
946 (translateBorder): New helper method.
947 (translateHTMLToCSS): Add mappings for border attributes.
948 * javax/swing/text/html/TableView.java
949 Made class subclass of BlockView to get CSS goodness.
950 (CellView.rowSpan): New field.
951 (CellView.setPropertiesFromAttributes): Fetch rowspan.
952 (RowView.overlap): New field.
953 (RowView.rowIndex): New field.
954 (RowView.layoutMajorAxis): Skip overlapping cells.
955 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
956 (numColumns): New field.
957 (tmpRect): New field.
958 (TableView): Initialize tmpRect.
959 (calculateColumnRequirements): Adjusted and fixed for multirows.
960 (getAlignment): Overridden to center tables.
961 (paint): Overridden to fix clipping.
962 (getStyleSheet): Made protected.
963 (layoutMajorAxis): Invalidate rows.
964 (setPropertiesFromAttributes): Made protected and call super.
965 (updateGrid): Update the overlapping information for multirows.
967 2006-12-05 Roman Kennke <kennke@aicas.com>
969 * gnu/java/awt/peer/gtk/AsyncImage.java
970 (addObserver): Check for null and ignore null observers.
971 (getWidth): Check for null and ignore null observers.
972 (getHeight): Check for null and ignore null observers.
973 (getProperty): Check for null and ignore null observers.
975 2006-12-05 Francis Kung <fkung@redhat.com>
977 * java/awt/BasicStroke.java
978 (capEnd): Prevent division by zero.
979 * java/awt/geom/Arc2D.java
980 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
981 (ArcIterator.currentSegment): Handle a negative extent.
983 2006-12-05 Francis Kung <fkung@redhat.com>
985 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
986 (constructor): Handle translated subimages properly, ie, if the image's
987 0,0 position is not the data buffer's first element.
989 2006-12-05 Roman Kennke <kennke@aicas.com>
991 * javax/swing/text/html/ImageView.java
992 (imageUpdate): Use spans field to determine if the CSS width/height
993 are set. Call safePreferenceChanged to protect view structure
994 from threading issues.
995 (spans): Made package private.
996 (ImageView): Initialize loadOnDemand with false.
997 (loadImage): Call Toolkit.prepareImage() to make sure we have
998 our Observer registered.
999 (safePreferenceChanged): New helper method. Calls preferenceChanged
1000 in a thread safe environment.
1002 2006-12-05 Roman Kennke <kennke@aicas.com>
1004 * NEWS: Add entry about improved HTML support.
1006 2006-12-05 Roman Kennke <kennke@aicas.com>
1008 * javax/swing/text/html/ImageView.java
1009 (ImageView): Initialize spans array here.
1010 (setPropertiesFromAttributes): Moved init of spans array to
1013 2006-12-05 Roman Kennke <kennke@aicas.com>
1015 * javax/swing/text/html/BlockView.java
1016 (painter): Made package visible.
1017 * javax/swing/text/html/StyleSheet.java
1018 (translateBorder): New helper method.
1019 (translateHTMLToCSS): Add mappings for border attributes.
1020 * javax/swing/text/html/TableView.java
1021 Made class subclass of BlockView to get CSS goodness.
1022 (CellView.rowSpan): New field.
1023 (CellView.setPropertiesFromAttributes): Fetch rowspan.
1024 (RowView.overlap): New field.
1025 (RowView.rowIndex): New field.
1026 (RowView.layoutMajorAxis): Skip overlapping cells.
1027 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
1028 (numColumns): New field.
1029 (tmpRect): New field.
1030 (TableView): Initialize tmpRect.
1031 (calculateColumnRequirements): Adjusted and fixed for multirows.
1032 (getAlignment): Overridden to center tables.
1033 (paint): Overridden to fix clipping.
1034 (getStyleSheet): Made protected.
1035 (layoutMajorAxis): Invalidate rows.
1036 (setPropertiesFromAttributes): Made protected and call super.
1037 (updateGrid): Update the overlapping information for multirows.
1039 2006-12-05 Roman Kennke <kennke@aicas.com>
1041 * javax/swing/text/html/HTMLEditorKit.java
1042 (HTMLFactory.create): Removed debug output.
1043 * javax/swing/text/html/InlineView.java
1044 (getBreakWeight): Likewise.
1045 * javax/swing/text/html/StyleSheet.java
1046 (addRule): Likewise.
1047 (ListPainter.paint): Removed debug output.
1049 2006-12-06 Roman Kennke <kennke@aicas.com>
1051 * javax/swing/text/html/BlockView.java
1052 (getAlignment): Align blocks horizontally by the superclass.
1053 * javax/swing/text/html/HTMLEditorKit.java
1054 (HTMLFactory.create): Replace equals comparison by == for efficiency.
1055 Add mapping for misplaced tr, td and th tags. Include object mapping.
1056 * javax/swing/text/html/TableView.java
1057 (RowView.replace): Invalidate grid early.
1058 (gridValid): Initialize with false.
1059 (create): Only create RowView and CellView for correctly placed
1060 tags. Avoid unnecessary casts.
1061 (getAlignment): Removed.
1062 (replace): Invalidate grid early.
1065 2006-12-06 Roman Kennke <kennke@aicas.com>
1067 * javax/swing/text/html/TableView.java
1068 (RowView.layoutMajorAxis): Check column index for invalid value.
1069 (updateGrid): Check column index for invalid value.
1071 2006-12-06 Roman Kennke <kennke@aicas.com>
1073 * javax/swing/JEditorPane.java
1074 (getStream): Buffer the stream for efficiency.
1075 (setPage): Don't scroll the view at this point.
1076 * javax/swing/plaf/basic/BasicTextUI.java
1077 (RootView.paint): Call RootView's setSize to get synchronization.
1078 (RootView.setSize): Synchronize to prevent race in layout code.
1079 * javax/swing/text/AbstractDocument.java
1080 (notifyListeners): New field.
1081 (fireChangedUpdate): Track notifyListener field.
1082 (fireRemoveUpdate): Track notifyListener field.
1083 (fireIndertUpdate): Track notifyListener field.
1084 (writeLock): Check notifyListener and throw IllegalStateException.
1085 * javax/swing/text/View.java
1086 (preferenceChanged): Create local var for better thread safety and
1089 2006-12-06 Roman Kennke <kennke@aicas.com>
1091 * examples/gnu/classpath/examples/icons/back.png,
1092 * examples/gnu/classpath/examples/icons/reload.png:
1093 New icons for the HTML browser.
1094 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1095 (history): New field. Manages the browsing history.
1096 (HtmlDemo): Initialize history.
1097 (createContent): Set location and add history. Add toolbar.
1098 (createToolBar): New helper method.
1099 (main): Make default size bigger.
1100 * examples/gnu/classpath/examples/swing/frame1.html,
1101 * examples/gnu/classpath/examples/swing/frame2.html,
1102 * examples/gnu/classpath/examples/swing/frame3.html,
1103 * examples/gnu/classpath/examples/swing/frame4.html,
1104 * examples/gnu/classpath/examples/swing/frames.html,
1105 * examples/gnu/classpath/examples/swing/tables.html:
1107 * examples/gnu/classpath/examples/swing/welcome.html
1108 Add a couple of links and new test pages.
1110 2006-12-06 Roman Kennke <kennke@aicas.com>
1112 * examples/gnu/classpath/examples/swing/Demo.java
1113 (getIcon): Made package private.
1114 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1115 (hyperlinkUpdate): Convert URL to string.
1117 2006-12-06 Roman Kennke <kennke@aicas.com>
1119 * javax/swing/text/DefaultCaret.java
1120 (appear): Adjust visibility here.
1121 (setDotImpl): Don't adjust visibility here.
1122 (moveDotImpl): Don't adjust visibility here.
1124 2006-12-06 Roman Kennke <kennke@aicas.com>
1126 * javax/swing/text/html/FormView.java
1127 (SubmitThread.postData): Implemented.
1128 (SubmitThread.run): Pass data to postData().
1129 (actionPerformed): Reset form when reset button is activated.
1130 (createComponent): Add support for select lists and comboboxes.
1131 Don't set value of text and password fields here, this is done
1132 now in HTMLDocument for consistency.
1133 (getElementFormData): Add support for fetching form data from
1134 select lists and comboboxes as well as textareas.
1135 (getSelectData): New helper method. Fetches form data from
1137 (getTextAreaData): New helper method. Fetches form data from
1139 (resetForm): New helper method. Resets the entire form.
1140 * javax/swing/text/html/HTMLDocument.java
1141 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
1142 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
1143 (HTMLReader.FormAction.setModel): Initialize text and password
1144 values here. Also, use the resetable special models.
1145 Group radio buttons into ButtonGroup for exclusive selection.
1146 (HTMLReader.FormTagAction): New class. Handles FORM tags.
1147 (HTMLReader.buttonGroups): New field.
1148 (HTMLReader.numOptions): New field.
1149 (HTMLReader.option): New field.
1150 (HTMLReader.selectModel): New field.
1151 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
1152 (HTMLReader.handleText): Handle OPTION text.
1153 (HTMLReader.initTags): Map FORM tags to FormTagAction.
1154 (HTMLReader.textAreaContent): Set initial content.
1155 * javax/swing/text/html/Option.java
1156 (Option): Make copy of attribute set. Initialize selected state.
1157 (getValue): Fetch value from attribute set.
1158 * javax/swing/text/html/ResetableModel.java: New interface.
1159 * javax/swing/text/html/ResetablePlainDocument.java: New class.
1160 Supports resetting the state.
1161 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
1162 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
1163 * javax/swing/text/html/SelectListModel.java: Likewise.
1165 2006-12-06 Roman Kennke <kennke@aicas.com>
1167 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
1169 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1170 (LoadActionListener): Call setPage() helper method.
1171 (createContent): Register tweaked editor kit. For FormSubmitEvents
1172 call submitForm(), otherwise setPage().
1173 (postData): Helper method for posting form data.
1174 (setPage): Helper method for navigating to a new URL.
1175 (submitForm): Helper method for submitting a form.
1176 * examples/gnu/classpath/examples/swing/forms.html:
1177 Added text/password fields and select boxes.
1178 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
1180 2006-12-07 Mark Wielaard <mark@klomp.org>
1182 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
1183 private constructor.
1184 (URL(URL,String,URLStreamHandler)): Call new constructor.
1185 (URL(URL,String)): Likewise.
1186 (URL(String)): Likewise.
1188 2006-12-07 Mark Wielaard <mark@klomp.org>
1190 * javax/swing/JEditorPane.java (createEditorKitForContentType):
1191 Always load from system class loader.
1193 2006-12-06 Ben Konrath <bkonrath@redhat.com>
1196 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
1197 newValue are the same.
1198 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
1200 2006-12-06 Chris Burdess <dog@gnu.org>
1203 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1204 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1206 2006-12-06 Chris Burdess <dog@gnu.org>
1209 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1212 2006-12-056 Chris Burdess <dog@gnu.org>
1215 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1216 discover schema factory implementation class.
1218 2006-12-05 Roman Kennke <kennke@aicas.com>
1220 * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
1221 asynchronous loading of images.
1222 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1223 (drawImage): Fetch real image from possibly AsyncImage.
1224 * gnu/java/awt/peer/gtk/ComponentGraphics.java
1225 (drawImage): Fetch real image from possibly AsyncImage.
1226 * gnu/java/awt/peer/gtk/GtkToolkit.java
1227 (createImage(URL)): Create async image.
1228 (imageOrError): Made method static for easy access from AsyncImage.
1229 (prepareImage): For async images, register the observer to the
1232 2006-12-05 Roman Kennke <kennke@aicas.com>
1234 (paintComponent): Include paint area from event.
1235 (updateComponent): Include paint area from event.
1237 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
1239 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
1240 lightweight component, not just for non-Panel components.
1241 (addImpl): Do not call doLayout.
1242 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1243 (setNativeBounds): Ensure widget parent is a GtkFixed before
1244 calling gtk_fixed_move.
1245 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1246 (setNativeBounds): Likewise.
1247 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1248 (setNativeBounds): Likewise.
1250 2006-12-04 Thomas Fitzsimmons <fitzsim@redhat.com>
1252 * java/awt/Component.java (getFontImpl): Return a default font if
1253 topmost parent's font is null.
1255 2006-12-04 Mark Wielaard <mark@klomp.org>
1257 * javax/swing/text/html/CSS.java (parseMarginShorthand):
1258 Remove debug output.
1260 2006-12-04 Roman Kennke <kennke@aicas.com>
1262 * java/awt/font/TextLayout.java
1263 (hitTestChar): Fixed conditions for inclusion of range.
1264 Use layout information in the run for more efficiency.
1266 2006-12-04 Roman Kennke <kennke@aicas.com>
1268 * javax/swing/text/GlyphView.java
1269 (J2DGlyphPainter): New inner class.
1270 (checkPainter): For Java2D capable environments create
1273 2006-12-04 Roman Kennke <kennke@aicas.com>
1275 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1276 (FreeTypeGlyphVector): Don't filter control chars here.
1277 (getGlyphs): Filter control chars and replace them by
1280 2006-12-04 Roman Kennke <kennke@aicas.com>
1282 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1283 (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
1285 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1287 * gnu/java/lang/management/BeanImpl.java:
1288 (translate(String)): Don't assume the list uses "E",
1289 just use the first and only type variable.
1290 * java/lang/management/ManagementFactory.java:
1291 (getPlatformMBeanServer()): Register logging bean.
1292 * javax/management/openmbean/OpenType.java:
1293 (OpenType(String,String,String)): Actually use
1294 the string created to handle arrays.
1296 2006-12-04 Mark Wielaard <mark@klomp.org>
1298 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1299 (JCL_thread_interrupted): Use CallStaticBooleanMethod.
1301 2006-12-04 Mark Wielaard <mark@klomp.org>
1303 * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
1305 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1306 (JCL_thread_interrupted): Only take JNIEnv.
1307 (vm_channel_class): New static variable.
1308 (initID): Set vm_channel_class.
1309 Wrap all reads() and writes() in do-while blocks that check
1312 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1314 * gnu/javax/management/Server.java:
1315 Make map final and initialise it.
1316 (unregisterMBean(ObjectName)): Match against
1317 delegate's object name and not the instance.
1318 * java/lang/management/ManagementFactory.java:
1319 Added constant fields.
1320 (getPlatformMBeanServer()): Implemented.
1321 * javax/management/MBeanServerFactory.java: New file.
1323 2006-12-04 Roman Kennke <kennke@aicas.com>
1325 * javax/swing/text/BoxView.java
1326 (paint): Replaced painting algorithm with more simple and more
1327 reliable painting of the box.
1328 * javax/swing/text/html/BlockView.java
1329 (PositionInfo): New inner class. Stores additional CSS
1330 positioning information.
1331 (positionInfo): New field.
1332 (BlockView): Initialize positionInfo field.
1333 (fetchLayoutInfo): New helper method. Fetches additional
1334 CSS positioning information.
1335 (layoutMajorAxis): Perform additional CSS layout.
1336 (layoutMinorAxis): Perform additional CSS layout.
1337 (positionView): New helper method.
1338 (replace): Overridden to fetch additional layout information.
1339 * javax/swing/text/html/CSS.java
1340 (Attribute.POSITION): New field.
1341 (Attribute.LEFT): New field.
1342 (Attribute.RIGHT): New field.
1343 (Attribute.TOP): New field.
1344 (Attribute.BOTTOM): New field.
1345 (getValue): Create Length for left, right, top and bottom
1348 2006-12-04 Roman Kennke <kennke@aicas.com>
1350 * gnu/javax/swing/text/html/parser/support/Parser.java
1351 (Sgml): Consume any whitespace that immediately follows
1353 (parseDocument): Consume any initial whitespace.
1355 2006-12-03 Mark Wielaard <mark@klomp.org>
1357 * gnu/javax/management/Server.java (beans): Initialize.
1358 (registerMBean): Don't initialize beans.
1360 2006-12-03 Mark Wielaard <mark@klomp.org>
1362 * java/util/logging/LogManager.java (getLevelProperty): Check
1363 whether value is null before passing to Level.parse().
1365 2006-12-04 Robert Lougher <rob.lougher@gmail.com>
1367 * java/lang/management/ThreadInfo.java (ThreadInfo): Check
1368 whether given a null lock and lockOwner.
1370 2006-12-03 Mark Wielaard <mark@klomp.org>
1372 * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
1373 (PageLoader.page): Made package local.
1374 (PageLoader.run): Don't reset loader.
1375 (PageLoader.cancel): New method.
1376 (loading): Renamed to loader.
1377 (getPage): Return loader.page.
1378 (setPage): Always set loader. Never reset to null.
1380 2006-12-03 Mark Wielaard <mark@klomp.org>
1382 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
1384 (isLastChild): Return false when path is null.
1386 2006-12-03 Mark Wielaard <mark@klomp.org>
1388 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
1389 to currentPaintArea.
1390 (paintComponent): Work with local reference to currentPaintArea.
1391 (updateComponent): Likewise.
1392 (coalescePaintEvent): Set currentPaintArea.
1394 2006-12-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
1396 * javax/management/MBeanServerBuilder.java: New file.
1398 2006-12-01 Mark Wielaard <mark@klomp.org>
1400 * java/text/DecimalFormat.java (parse): Always increment parsing
1401 index and adjust pos result.
1403 2006-12-01 Roman Kennke <kennke@aicas.com>
1405 * javax/swing/text/html/HTML.java
1406 (Attribute.DYNAMIC_CLASS): New field.
1407 (Attribute.PSEUDO_CLASS): New field.
1408 * javax/swing/text/html/HTMLDocument.java
1409 (HTMLReader.CharacterAction.start): Initialize anchor with link
1411 (updateSpecialClass): New helper method. Updates the dynamic
1412 or pseudo class for anchor tags.
1413 * javax/swing/text/html/HTMLEditorKit.java
1414 (LinkController.lastAnchorElement): New field. For tracking
1415 enter/exit of anchors.
1416 (LinkController.activateLink): Set pseudo class to 'visited'.
1417 (LinkController.mouseMoved): Added support for tracking
1418 the 'hover' dynamic class.
1419 * javax/swing/text/html/InlineView.java
1420 (changedUpdate): Fetch new properties.
1421 * javax/swing/text/html/StyleSheet.java
1422 (attributeSetToMap): New helper method.
1423 (getRule): Also append dynamic and pseudo class to key.
1424 (resolveStyle): Resolve style based generally on all attributes.
1425 * javax/swing/text/html/TableView.java
1426 (RowView.layoutMajorAxis): Make sure the grid is valid.
1427 (updateGrid): Made package private.
1428 * gnu/javax/swing/text/html/css/Selector.java
1429 (calculateSpecificity): Added support for dynamic and pseudo classes.
1430 (matches): Changed to operate on general attributes.
1431 Added support for dynamic and pseudo classes.
1433 2006-12-01 Mario Torre <neugens@limasoftware.net>
1435 * java/text/DecimalFormat.java (formatInternal): move the formatting of
1436 fractional portion in a separate method.
1437 Also fixes the handling of decimal separator and its associated field.
1438 (handleFractionalPart): new method, needed to relax a bit
1441 2006-12-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
1443 * java/beans/beancontext/BeanContextServicesSupport.java:
1444 (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
1445 Class)): Implemented.
1446 (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1447 Class, Object)): Implemented.
1448 (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1449 Object, Object)): Implemented.
1450 (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1452 (initialiseBeanContextResources()): Implemented.
1453 (releaseBeanContextResoures()): Implemented.
1455 2006-12-01 Mark Wielaard <mark@klomp.org>
1457 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1459 2006-12-01 Roman Kennke <kennke@aicas.com>
1461 * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1462 handling border styles.
1463 * gnu/javax/swing/text/html/css/BorderWidth.java
1464 (isValid): New method.
1465 * gnu/javax/swing/text/html/css/Length.java
1466 (isValid): New method.
1467 * javax/swing/text/html/CSS.java
1468 (addInternal): Added shorthand parsing for border, padding and
1470 (parseBackgroundShorthand): Added API docs.
1471 (parsePaddingShorthand): New method. Handles padding shorthand
1473 (parseMarginShorthand): New method. Handles margin shorthand
1475 (parseBorderShorthand): New method. Handles border shorthand
1477 * javax/swing/text/html/StyleSheet.java
1478 (translateHTMLToCSS): Set specific padding attributes.
1479 (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1480 These shorthands are now handled in CSS.
1481 (BoxPainter.paint): Exclude the outer margin.
1483 2006-12-01 Roman Kennke <kennke@aicas.com>
1485 * gnu/javax/swing/text/html/css/Length.java
1486 (emBase): New field.
1487 (exBase): New field.
1488 (isFontEMRelative): New field.
1489 (isFontEXRelative): New field.
1490 (Length): Recognize and setup EM and EX relative values.
1491 (getValue): Handle EM and EX relative values.
1492 (isEMRelative): New method.
1493 (isEXRelative): New method.
1494 (setEMBase): New method.
1495 (setEXBase): New method.
1496 (setFontBases): New method.
1497 * gnu/javax/swing/text/html/parser/support/Parser.java
1498 (_handleEmptyTag): Use new isBlock() helper method.
1499 (_handleEndTag_remaining): Use new isBlock() helper method.
1500 (_handleStartTag): Consume whitespace after block start tag.
1501 (Comment): Consume whitespace after a comment.
1502 (isBlock): New helper method.
1503 (readAttributes): Consider all characters in unquoted attribute
1505 * javax/swing/text/html/BlockView.java
1506 (layoutMinorAxis): Use cached span value.
1507 (paint): Added debug code (commented out).
1508 (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1509 * javax/swing/text/html/CSSBorder.java
1510 (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1512 (getBorderWidth): Set the EM and EX base on the length values.
1513 * javax/swing/text/html/HTMLDocument.java
1514 (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1515 (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1516 (HTMLReader.inImpliedParagraph): Removed.
1517 (HTMLReader.inParagraph): Removed.
1518 (HTMLReader.parseStack): New field.
1519 (HTMLReader.addContent): Use new paragraph handling.
1520 (HTMLReader.addSpecialElement): Use new paragraph handling.
1521 (HTMLReader.blockClose): Use new paragraph handling.
1522 (HTMLReader.blockOpen): Use new paragraph handling.
1523 (HTMLReader.inImpliedParagraph): New helper method.
1524 (HTMLReader.inParagraph): New helper method.
1525 * javax/swing/text/html/ImageView.java
1526 (attributes): New field. Caches view attributes.
1527 (spans): New field. Caches CSS spans.
1528 (getAttributes): Correctly setup CSS view attributes.
1529 (getPreferredSpan): Use caches spans.
1530 (getStyleSheet): Use the view's getDocument() method.
1531 (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1532 (updateSize): Use cached spans.
1533 * javax/swing/text/html/ParagraphView.java
1534 (setPropertiesFromAttributes): Setup EM and EX.
1535 * javax/swing/text/html/StyleSheet.java
1536 (BoxPainter.BoxPainter): Setup EM and EX correctly.
1537 (getEMBase): New helper method.
1538 (getEXBase): New helper method.
1539 * javax/swing/text/html/TableView.java
1540 (width): New field. Caches the table width.
1541 (calculateMinorAxisRequirements): Use caches span.
1542 (setPropertiesFromAttributes): Cache span and setup EM/EX.
1543 (updateGrid): Correctly setup EM/EX.
1545 2006-11-30 Roman Kennke <kennke@aicas.com>
1547 * javax/swing/text/html/FormSubmitEvent.java: New class.
1548 * javax/swing/text/html/FormView.java
1549 (SubmitThread): New class for submitting data in a separate thread.
1550 (actionPerformed): Fetch the actual for data.
1551 (addData): New helper method.
1552 (getElementFormData): New helper method.
1553 (getFormData): New helper method.
1554 (getInputFormData): New helper method.
1555 (submitData): Implemented.
1556 * javax/swing/text/html/FrameView.java
1557 (createComponent): Add this as hyperlink listener.
1558 Set the target document as frame document.
1559 (getTopEditorPane): New helper method.
1560 (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1561 (handleHyperlinkEvent): New helper method.
1562 (handleFormSubmitEvent): New helper method.
1563 * javax/swing/text/html/HTMLDocument.java
1564 (HTMLReader.BaseAction.start): Track the base target.
1565 (HTMLReader.BaseAction.end): Removed.
1566 (baseTarget): New field.
1567 (frameDocument): New field.
1568 (getBaseTarget): New property accessor.
1569 (isFrameDocument): New property accessor.
1570 (processHTMLFrameHyperlinkEvent): Implemented.
1571 (setFrameDocument): New property accessor.
1572 (updateFrame): New helper method.
1573 (updateFrameSet): New helper method.
1574 * javax/swing/text/html/HTMLEditorKit.java
1575 (LinkController.createHyperlinkEvent): Handle frame documents.
1576 (autoFormSubmission): New field.
1577 (HTMLEditorKit): Set autoFormSubmission to true.
1578 (isAutoFormSubmission): New property accessor.
1579 (setAutoFormSubmission): New property accessor.
1581 2006-11-30 Roman Kennke <kennke@aicas.com>
1583 * javax/swing/text/ElementIterator.java
1584 (ElementRef): New inner class.
1585 (currentDepth): Removed.
1586 (currentElement): Removed.
1587 (previousItem): Removed.
1588 (stack): New field. Holds the iteration stack.
1590 (ElementIterator(Document)): Removed init of removed fields.
1591 (ElementIterator(Element)): Removed init of removed fields.
1592 (current): Changed to stack based algorithm.
1593 (deepestLeaf): New helper method.
1594 (depth): Changed to stack based algorithm.
1595 (first): Changed to stack based algorithm.
1596 (next): Changed to stack based algorithm.
1597 (previous): Changed to stack based algorithm.
1599 2006-11-30 Francis Kung <fkung@redhat.com>
1601 * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1602 * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1604 2006-11-30 Francis Kung <fkung@redhat.com>
1606 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1607 (draw): Set transform in buffered composite.
1608 (drawComposite): Do not transform bounds; round bounds.
1609 (drawGlyphVector): Set transform in buffered composite.
1610 (drawRenderedImage): Set transform in buffered composite.
1611 (fill): Set transform in buffered composite.
1612 (updateBufferedImage): Fix scanline & height calculations.
1613 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1614 (createPath): Simplify width & height calculation.
1615 (drawImage): Also transform width & height.
1617 2006-11-30 Roman Kennke <kennke@aicas.com>
1619 * javax/swing/text/html/FrameSetView.java: New class. Implements
1621 * javax/swing/text/html/FrameView.java: New class. Implements
1623 * javax/swing/text/html/HTMLDocument.java:
1624 (HTMLReader.addSpecialElement): Only add one artificial space.
1625 * javax/swing/text/html/HTMLEditorKit.java
1626 (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1627 * gnu/javax/swing/text/html/parser/support/Parser.java
1628 (_handleEmptyTag): Also consume whitespace after frame tags.
1630 2006-11-30 Gary Benson <gbenson@redhat.com>
1632 * java/lang/Thread.java: Javadoc fixes.
1634 2006-11-29 Tom Tromey <tromey@redhat.com>
1637 * java/lang/Class.java (getAnnotations): Rewrote.
1639 2006-11-29 Tania Bento <tbento@redhat.com>
1641 * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1642 (parseParams): Unescape 'val' before putting it into the Map.
1643 (unescapeString): New private method.
1645 2006-11-29 Tom Tromey <tromey@redhat.com>
1647 * tools/gnu/classpath/tools/getopt/package.html: New file.
1649 2006-11-29 David Gilbert <david.gilbert@object-refinery.com>
1651 * javax/swing/plaf/metal/MetalIconFactory.java
1652 (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1653 (VerticalSliderThumbIcon.paintIcon()): Likewise.
1655 2006-11-29 Mario Torre <neugens@limasoftware.net>
1657 * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1658 with the default international currency sign \u00A4.
1659 * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1660 table for string formatting.
1661 (formatInternal): likewise.
1662 (scanNegativePattern): likewise.
1663 (applyPattern): likewise.
1664 * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1665 Locale is immutable and does not need clone.
1667 2006-11-29 Francis Kung <fkung@redhat.com>
1669 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1670 (drawLine): Remove hard-coded pixel shifting.
1672 2006-11-29 Roman Kennke <kennke@aicas.com>
1674 * java/awt/Component.java
1675 (isShowing): Simplified condition code and avoid unnecessary
1677 (coalesceEvents): Always coalesce paint events and let the peer
1678 figure out the expanding of the repaint area.
1679 * gnu/java/awt/peer/swing/SwingComponentPeer.java
1680 (currentPaintEvents): Removed. Replaced by paintArea.
1681 (paintArea): New field. Tracks the dirty area.
1682 (SwingComponentPeer): Removed init of currentPaintEvents.
1683 (coalescePaintEvent): Simplified to only union the dirty regions.
1684 (handleEvent): Paint dirty region that was tracked in paintArea.
1685 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1686 (paintArea): New field. Tracks the dirty region.
1687 (coalescePaintEvent): Implemented to track the dirty region.
1688 (paintComponent): Use the dirty region in paintArea. Protect
1689 state by putting the paint and dispose code in a try-finally.
1690 (updateComponent): Use the dirty region in paintArea. Protect
1691 state by putting the paint and dispose code in a try-finally.
1693 2006-11-29 Roman Kennke <kennke@aicas.com>
1695 * java/awt/font/TextLayout.java
1696 (getVisualHighlightShape): Removed debug output.
1698 2006-11-28 Andrew Haley <aph@redhat.com>
1700 * vm/reference/sun/reflect/misc/ReflectUtil.java
1701 (checkPackageAccess): Implement.
1703 2006-11-28 Dalibor Topic <robilad@kaffe.org>
1705 * native/jni/java-lang/java_lang_VMDouble.c:
1706 (parseDoubleFromChars) New function. Factored out from ...
1707 (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1708 (dtoa_toString): New function. Factored out from ...
1709 (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1710 Changed conversion mode to 2, as modes 0 and 1 don't round
1711 as the API spec demands. Invoke conversion function as often
1712 as necessary with growing precision until a reversible
1713 representation of the double in form of a string is reached.
1715 2006-11-28 Roman Kennke <kennke@aicas.com>
1717 * javax/swing/JComponent.java
1718 (putClientProperty): Do not fire event when both old and new
1721 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1723 * java/lang/Enum.java:
1724 Make name and ordinal final.
1726 2006-11-27 Casey Marshall <csm@gnu.org>
1728 * java/util/jar/JarEntry.java (certs): removed.
1729 (jarfile): new field.
1730 (getCertificates): read the certificates from the containing JarFile.
1731 * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1732 fill in 'certs,' fill in 'jarfile' for the entry.
1733 (getEntry): likewise.
1735 2006-11-27 Francis Kung <fkung@redhat.com>
1737 * java/awt/image/WritableRaster.java
1738 (createChild): Implemented.
1740 2006-11-27 Roman Kennke <kennke@aicas.com>
1742 * java/awt/font/TextLayout.java
1743 (TextLayout(TextLayout,int,int)): Also layout the new runs.
1744 (getVisualHighlightShape): Implemented.
1745 (layoutRuns): Fixed boundary so that the last run is also laid out.
1746 (left): New helper method.
1747 (right): New helper method.
1749 2006-11-27 Roman Kennke <kennke@aicas.com>
1751 * java/awt/font/TextLayout.java
1752 (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1753 (getCaretShape(TextHitInfo)): Use natural bounds.
1754 (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1755 (getCaretShapes(int,Rectangle2D)): Delegate to new method
1756 above with DEFAULT_CARET_POLICY.
1757 (getCaretShapes(int)): Use natural bounds.
1759 2006-11-27 Roman Kennke <kennke@aicas.com>
1761 * java/awt/font/TextLayout.java
1762 (Run.font): New field.
1763 (Run.location): New field.
1764 (Run.Run): Initialize font.
1765 (font): Removed field. This is moved into Run as the actual font
1766 is something run-specific.
1767 (TextLayout(String,Font,FontRenderContext)): Set font on the
1768 single runs. Layout the runs here.
1769 (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1770 (findRunAtIndex): New helper method.
1771 (getCaretInfo): Implemented.
1772 (layoutRuns): New helper method.
1773 (toString): Don't put font in output string.
1775 2006-11-27 Raif S. Naffah <classpath@naffah-raif.name>
1777 * AUTHORS: Added Jeroen Fritjers.
1779 2006-11-27 neugens <neugens@nirvana.limasoftware.net>
1781 * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1782 for FieldPosition to be null.
1783 Check if the factional part is just 0 and can be omitted from the
1785 (scanNegativePattern): Fixed index out of bound exception when searching
1786 for international currency symbol in negative pattern.
1788 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1790 * java/beans/beancontext/BeanContextSupport.java:
1791 (readObject(ObjectInputStream)): Implemented.
1792 (writeObject(ObjectOutputStream)): Likewise.
1793 (BCSChild.getTargetChild()): Added.
1794 (bcsPreDeserializationHook()): Implemented.
1795 (bcsPreSerializationHook()): Likewise.
1796 (childDeserializedHook(Object,BCSChild)): Likewise.
1797 (isSerializing()): Likewise.
1798 (readChildren(ObjectInputStream)): Likewise.
1799 (writeChildren(ObjectOutputStream)): Likewise.
1801 2006-11-26 Roger Sayle <roger <at> eyesopen.com>
1802 Ian Lance Taylor <ian <at> airs.com>
1803 Paolo Bonzini <bonzini <at> gnu.org>
1807 * lib/gen-classlist.sh.in: Avoid using test's -ef operator for
1808 increased portability. Likewise, use -f instead of -e.
1810 2006-11-26 Mark Wielaard <mark@klomp.org>
1812 * lib/Makefile.am (propertydirs): Removed.
1813 (resources): Explicitly create all dirs.
1815 2006-11-26 Mark Wielaard <mark@klomp.org>
1817 * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
1819 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1821 * native/target/.cvsignore,
1822 native/target/generic/.cvsignore,
1823 native/target/Linux/.cvsignore:
1824 Removed no longer used files.
1826 * native/target: Removed no longer used directory.
1828 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1832 * libraries/clib/nio/gnu_java_nio_VMSelector.c
1833 (Java_gnu_java_nio_VMSelector_select):
1834 Use strerror if strerror_r is not available.
1836 Reported by: Michael Franz <mvfranz@gmail.com>,
1837 Riccardo Mottola <zuse@libero.it>
1839 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1843 * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed
1844 STRICT_WARNING_CFLAGS since it caused the build to fail
1847 2006-11-26 Ian Rogers <ian.rogers@manchester.ac.uk>
1849 * doc/vmintegration.texinfo: Update VM Threading Model section.
1851 2006-11-26 Tom Tromey <tromey@redhat.com>
1853 * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
1855 (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
1857 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
1858 Conditionally include ifaddrs.h.
1859 (getif_address): Updated conditional.
1860 (getif_index): Likewise.
1861 * configure.ac: Check for ifaddrs.h.
1863 2006-11-25 Mark Wielaard <mark@klomp.org>
1865 * java/io/File.java (list): Return empty list for unreadable dirs.
1867 2006-11-25 Mark Wielaard <mark@klomp.org>
1869 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
1870 Synchronize on font peer.
1871 (setFont): Likewise.
1872 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
1874 (getTextMetrics): Likewise.
1876 2006-11-25 Roman Kennke <kennke@aicas.com>
1878 * javax/swing/text/GapContent.java
1879 (getPositionsInRange): Rewritten to use the more efficient
1880 binary search searchFirst() and avoid an NPE that was caused
1883 2006-11-25 Mark Wielaard <mark@klomp.org>
1885 * javax/swing/text/CompositeView.java (modelToView): Never return
1888 2006-11-25 Mark Wielaard <mark@klomp.org>
1890 * javax/swing/text/html/TableView.java (calculateColumnRequirements):
1891 Check whether rowView instanceof RowView.
1892 (updateGrid): Likewise.
1894 2006-11-25 Mario Torre <neugens@nirvana.limasoftware.net>
1897 * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
1898 * java/text/NumberFormat.java (format): all format methods, fixed
1899 FieldPosition argument should never be null.
1900 (format(Object, StringBuffer, FieldPosition)): fixed signature,
1901 method is not final.
1902 * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
1904 * AUTHORS: added my name to the file.
1906 2006-11-25 Mark Wielaard <mark@klomp.org>
1908 * javax/swing/text/html/StyleSheet.java (paint): Guard against
1909 getChildAllocation() returning null.
1911 2006-11-25 Mark Wielaard <mark@klomp.org>
1913 * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
1914 Use clazzIndex for id substring.
1916 2006-11-25 Mark Wielaard <mark@klomp.org>
1918 * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
1919 it is still running.
1921 2006-11-25 Mark Wielaard <mark@klomp.org>
1924 * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
1927 2006-11-24 Tania Bento <tbento@redhat.com>
1929 * java/awt/font/TextHitInfo.java
1930 (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
1931 (beforeOffset): Decreased first parameter by 1.
1933 2006-11-24 Francis Kung <fkung@redhat.com>
1935 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1936 (constructor): Check sample model when setting fastCM flag.
1937 (updateBufferedImage): Check scanline and sample model offsets before
1938 copying data directly into the image data buffer.
1940 2006-11-24 Francis Kung <fkung@redhat.com>
1942 * gnu/java/awt/java2d/QuadSegment.java
1943 (offsetSubdivided): Handle special straight-line cases.
1945 2006-11-24 Roman Kennke <kennke@aicas.com>
1947 * java/awt/dnd/DropTarget.java
1948 (DropTargetAutoScroller.HYSTERESIS): New constant.
1949 (DropTargetAutoScroller.DELAY): New constant.
1950 (DropTargetAutoScroller.inner): New field. A cached
1952 (DropTargetAutoScroller.outer): New field. A cached
1954 (DropTargetAutoScroller.timer): New field. The actual timer.
1955 (DropTargetAutoScroller.DropTargetAutoScroller):
1957 (DropTargetAutoScroller.actionPerformed): Implemented.
1958 (DropTargetAutoScroller.stop): Implemented.
1959 (DropTargetAutoScroller.updateLocation): Implemented.
1960 (clearAutoscroll): Stop the autoscroller before nullifying it.
1961 (createDropTargetAutoScroller): Don't set the field here,
1962 only return a new instance.
1963 (dragEnter): Only do something when active. Initialize
1965 (dragExit): Only do something when active. Stop auto scrolling.
1966 (dragOver): Only do something when active. Update auto scrolling.
1967 (drop): Only do something when active. Update auto scrolling.
1968 (dropActionChanged): Only do something when active. Update
1970 (initializeAutoScrolling): Check if component is an instance
1971 of Autoscroll, otherwise do nothing.
1972 (setActive): Disable autoscrolling when deactivating.
1973 (setComponent): When component is set to null, disable autoscrolling.
1975 2006-11-24 David Gilbert <david.gilbert@object-refinery.com>
1977 * java/beans/beancontext/BeanContextServicesSupport.java
1978 (getChildBeanContextServicesListener): Implemented.
1980 2006-11-23 Roman Kennke <kennke@aicas.com>
1982 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1983 (createGraphics): Use constructor to create new instance of
1984 BufferedImageGraphics.
1985 * java/awt/Toolkit.java
1986 (getDefaultToolkit): Really try to get a real toolkit. Only
1987 use HeadlessToolkit if no other is available.
1988 * gnu/java/awt/peer/gtk/GtkToolkit.java
1989 (checkHeadless): New helper method. Checks for headless environment
1990 and throws HeadlessException if appropriate.
1991 (createButton): Check for headless.
1992 (createCanvas): Check for headless.
1993 (createCheckbox): Check for headless.
1994 (createCheckboxMenuItem): Check for headless.
1995 (createChoice): Check for headless.
1996 (createDialog): Check for headless.
1997 (createDragGestureRecognizer): Check for headless.
1998 (createDragSourceContextPeer): Check for headless.
1999 (createEmbeddedWindow): Check for headless.
2000 (createFileDialog): Check for headless.
2001 (createFrame): Check for headless.
2002 (createCheckbox): Check for headless.
2003 (createLabel): Check for headless.
2004 (createList): Check for headless.
2005 (createMenu): Check for headless.
2006 (createMenuBar): Check for headless.
2007 (createMenuItem): Check for headless.
2008 (createPanel): Check for headless.
2009 (createPopupMenu): Check for headless.
2010 (createScrollbar): Check for headless.
2011 (createScrollPane): Check for headless.
2012 (createTextArea): Check for headless.
2013 (createTextField): Check for headless.
2014 (createWindow): Check for headless.
2016 2006-11-23 David Gilbert <david.gilbert@object-refinery.com>
2018 * java/beans/beancontext/BeanContextSupport.java
2019 (deserialize): Implemented,
2020 (serialize): Implemented.
2022 2006-11-23 Roman Kennke <kennke@aicas.com>
2024 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
2025 (createGraphics): Try to use Cairo graphics if available.
2027 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
2029 * java/beans/beancontext/BeanContextSupport.java
2030 (toArray): Added API docs,
2031 (toArray(Object[])): Added API docs, removed NotImplementedException.
2033 2006-11-22 Tania Bento <tbento@redhat.com>
2035 * javax/swing/JRootPane.java
2036 (setLayeredPane): Added documentation; throw
2037 IllegalComponentStateException if layered pane parameter is null.
2039 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
2041 * java/beans/beancontext/BeanContextSupport.java
2042 (avoidingGui): Removed NotImplementedException.
2044 2006-11-22 Francis Kung <fkung@redhat.com>
2046 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2047 (drawGlyphVector): Clip updated area to glyph bounds.
2048 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2049 (createPath): Eliminate distortion when pixel-shifting rectangles; separate
2050 x-coordinate and y-coordinate pixel shifting.
2051 (shifted): Removed method.
2052 (shiftX): New method, recognising scaling transforms.
2053 (shiftY): New method, recognising scaling transforms.
2054 (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
2056 2006-11-22 Roman Kennke <kennke@aicas.com>
2058 * java/awt/font/TextLayout.java
2059 (hash): New field. Caches the hash code.
2060 (hashCode): Implemented.
2062 2006-11-22 Roman Kennke <kennke@aicas.com>
2064 * java/awt/image/ImageFilter.java
2065 Reformat whole class.
2066 (getFilterInstance): Don't touch the consumer field. Don't check
2068 (imageComplete): Don't check consumer.
2069 (setColorModel): Don't check consumer.
2070 (setDimensions): Don't check consumer.
2071 (setHints): Don't check consumer.
2072 (setPixels): Don't check consumer.
2073 (setProperties): Pass the original property too.
2074 * java/awt/image/IndexColorModel.java
2075 (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
2076 transparent pixel by calling the new helper method.
2077 (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
2078 transparent pixel by calling the new helper method.
2079 (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
2080 transparent pixel by calling the new helper method.
2081 (coerceData): Removed. This is not needed.
2082 (getAlpha): Simply return value from color map. The transparent
2083 pixel has to be there.
2084 (setTransparentPixel): New helper method. Inserts the transparent
2086 * java/awt/image/RGBImageFilter.java
2087 Reformat whole class.
2088 (convertColorModelToDefault): Removed. No longer needed.
2089 (filterIndexColorModel): Don't handle transparent pixels
2091 (filterRGBPixels): Set pixels on consumer already.
2092 (makeColor): Removed. No longer needed.
2093 * java/awt/image/ReplicateScaleFilter.java
2094 (replicatePixels): Removed.
2095 (setDimension): Correctly compute destination size, avoid double
2097 (setPixels): Avoid double calculations. Fixed some boundary cases.
2098 (setupSources): New helper method.
2099 * java/awt/image/SampleModel.java
2100 (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
2102 * java/awt/image/SinglePixelPackedSampleModel.java
2103 (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
2104 This is not needed as the superclass already copies line
2106 (setDataElements(int,int,Object,DataBuffer)): Simplified code,
2107 removed some checks that the RI also doesn't perform. Call
2108 DataBuffer.setElem().
2110 2006-11-22 Roman Kennke <kennke@aicas.com>
2112 * java/awt/text/TextLayout.java
2113 (getLogicalRangesForVisualSelection): Implemented.
2115 2006-11-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
2117 * sun/reflect/annotation/AnnotationParser.java,
2118 * sun/reflect/annotation/AnnotationType.java,
2119 * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
2120 * sun/reflect/annotation/ExceptionProxy.java:
2122 * sun/misc/ServiceConfigurationError.java,
2123 * sun/misc/Service.java:
2126 2006-11-21 Roman Kennke <kennke@aicas.com>
2128 * java/awt/text/TextLayout.java
2129 (Run.isLeftToRight): New helper method.
2130 (logicalToVisual): New field. Maps logical indices to visual
2132 (visualToLogical): New field. Maps visual indices to logical
2134 (TextLayout): Setup mappings.
2135 (setupMappings): New method for setting up the mappings.
2136 (getCharacterLevel): Reorganized code.
2137 (getNextLeftHit(int)): Implemented.
2138 (getNextLeftHit(int,CaretPolicy)): New method.
2139 (getNextLeftHit(TextHitInfo)): Implemented.
2140 (getNextRightHit(int)): Implemented.
2141 (getNextRightHit(int,CaretPolicy)): New method.
2142 (getNextRightHit(TextHitInfo)): New method.
2143 (getVisualOtherHit): Implemented.
2144 (checkHitInfo): New helper methods for checking parameters.
2145 (hitToCaret): New helper method. Maps hit infos to caret locations.
2146 (caretToHit): New helper method. Maps caret locations to hit infos.
2147 (isCharacterLTR): New helper method.
2148 (CaretPolicy.getStrongCaret): Implemented.
2150 2006-11-21 Francis Kung <fkung@redhat.com>
2152 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2153 (draw): Include stroke width when calculating bounds.
2154 (updateBufferedImage): Round bounds more generously, handle negative
2155 height/width values, and clip more intelligently.
2156 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2157 (createPath): Add shortcut optimization for lines.
2158 (draw): Include stroke width when calculating bounds.
2159 (drawLine): Delegate to main draw() method.
2160 (drawRect): Likewise.
2161 (fillRect): Delegate to main fill() method.
2162 (findStrokedBounds): New method.
2163 (setCustomPaint): Round bounds more generously.
2164 * gnu/java/awt/peer/gtk/ComponentGraphics.java
2165 (drawLine): Removed.
2166 (drawRect): Removed.
2167 (fillRect): Removed.
2169 2006-11-21 Francis Kung <fkung@redhat.com>
2171 * gnu/java/awt/java2d/TexturePaintContext.java
2172 (getRaster): Handle negative coordinate values.
2173 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2174 (setPaint): Moved custom paint processing to a new method.
2175 (setPaintPixels): Added x, y parameters.
2176 (getRealBounds): Added documentation.
2177 (copy): Copy clipping information.
2178 (drawLine): Process custom paints.
2179 (setCustomPaint): New method.
2180 (fill): Process custom paints.
2181 (drawGlyphVector): Process custom paints.
2182 (drawRect): Process custom paints.
2183 (draw): Process custom paints.
2184 * gnu/java/awt/peer/gtk/CairoSurface.java
2185 (cairoCM_opaque): New constant.
2186 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2187 (argb32): Removed constant.
2188 (rgb32): Removed constant.
2189 (BufferedImageGraphics(BufferedImage)): Updated constant names.
2190 (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
2191 (updateBufferedImage): Transform to device-space before updating.
2192 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
2193 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
2195 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
2196 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
2197 source at designated x, y origin.
2199 2006-11-21 Roman Kennke <kennke@aicas.com>
2201 * java/awt/text/TextLayout.java
2202 (Run): New inner helper class.
2203 (length): New field.
2204 (naturalBounds): New field.
2205 (offset): New field.
2206 (runIndices): Removed. This is now encapsulate in a Run object.
2207 (runs): Changed to Run[].
2208 (string): Changed to char[].
2209 (totalAdvance): New field. Caches advance value.
2210 (TextLayout(String,Font,FontRenderContext)): Change to store
2211 string as char[] and run layout as Run[]. Clean out empty
2213 (TextLayout(TextLayout,int,int)): Change to store
2214 string as char[] and run layout as Run[].
2215 (clone): Call private constructor for maximum efficiency.
2216 (determineWhitespace): Adapted to use char[] data.
2217 (draw): Adapted to use Run objects.
2218 (getAdvance): Cache computed total advance.
2219 (getBlackBoxBounds): Adapted to use Run objects.
2220 (getCaretInfo): Use natural layout bounds.
2221 (getCharacterCount): Return length field.
2222 (getLogicalHighlightShape): Adapted to use Run objects.
2223 (getNaturalBounds): New helper method. Calculates and returns the
2224 natural bounds of this text layout.
2225 (getOutline): Adapted to use Run objects.
2226 (getStringProperties): Adapted to use char[] data.
2227 (getVisibleAdvance): Adapted to use char[] and Run data.
2228 (handleJustify): Adapted to use char[] and Run data.
2229 (hitTestChar(float,float,Rectangle2D)): Implemented.
2230 (hitTestChar(float,float)): Use natural bounds.
2231 (setCharIndices): Adapted to use char[] and Run data.
2232 (toString): Adapted to use char[] and Run data.
2233 * java/text/Bidi.java
2234 (requiresBidi): Exclude paragraph separators from bidi-triggers.
2236 2006-11-21 Roman Kennke <kennke@aicas.com>
2238 * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
2239 Removed. This is now an inner class in GdkFontPeer.
2240 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2241 (drawString(float,float)): Use text layout cache from
2243 (getFontMetrics): Delegate to GdkFontPeer.
2244 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2245 (getGlyphCodes): Also check array size.
2246 (getGlyphPositions): Also check array size.
2247 * gnu/java/awt/peer/gtk/GdkFontPeer.java
2248 (GdkFontLineMetrics.fm): Removed.
2249 (GdkFontLineMetrics.strikeThroughOffset): Removed.
2250 (GdkFontLineMetrics.strikeThroughThickness): Removed.
2251 (GdkFontLineMetrics.underlineOffset): Removed.
2252 (GdkFontLineMetrics.underlineThickness): Removed.
2253 (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
2254 FontMetrics argument. Don't init removed fields.
2255 (GdkFontLineMetrics.getAscent): Return font peer's field.
2256 (GdkFontLineMetrics.getDescent): Return font peer's field.
2257 (GdkFontLineMetrics.getHeight): Return font peer's field.
2258 (GdkFontLineMetrics.getLeading): Return font peer's field.
2259 (GdkFontLineMetrics.getNumChars): Reformat.
2260 (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
2261 (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
2262 (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
2263 (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
2264 (GdkFontMetrics): Moved class in here as inner class.
2265 Make it use the font peer's fields and for the char(s) width
2266 and string width method, use TextLayout to measure the actual widths.
2267 (ascent): New field.
2269 (DEFAULT_CTX): New constant field.
2270 (descent): New field.
2271 (FONT_METRICS_ASCENT): New constant.
2272 (FONT_METRICS_DESCENT): New constant.
2273 (FONT_METRICS_HEIGHT): New constant.
2274 (FONT_METRICS_MAX_ADVANCE): New constant.
2275 (FONT_METRICS_MAX_ASCENT): New constant.
2276 (FONT_METRICS_MAX_DESCENT): New constant.
2277 (FONT_METRICS_UNDERLINE_OFFSET): New constant.
2278 (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
2279 (height): New field.
2280 (maxAdvance): New field.
2281 (maxAscent): New field.
2282 (maxDescent): New field.
2283 (metrics): New field. Stores a FontMetrics for this font.
2284 (textLayoutCache): New field. Caches TextLayout instances.
2285 (underlineOffset): New field.
2286 (underlineThickness): New field.
2287 (cinit): Don't initialize resource bundle.
2288 (GdkFontPeer): Setup the metrics.
2289 (getFontMetrics): Return stored metrics if possible.
2290 (getLineMetrics): Adapt to new constructor.
2291 (initFont): New helper method.
2292 (setupMetrics): New helper method.
2293 * gnu/java/awt/peer/gtk/GtkToolkit.java
2294 (LRUCache): Made class a static class.
2295 (getFontMetrics): Delegate to GdkFontPeer.
2296 * native/jni/gtk-peer/gdkfont.h
2297 Added new constant defines.
2298 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2299 (getFontMetrics): Rewritten to fetch the font metrics from
2302 2006-11-20 Tania Bento <tbento@redhat.com>
2304 * javax/swing/ButtonGroup.java:
2305 (setSelected): Select the ButtonModel if all conditions
2308 2006-11-20 Tania Bento <tbento@redhat.com>
2310 * javax/swing/JSlider.java:
2311 (updateLabelUIs): Removed casting.
2313 2006-11-20 Mark Wielaard <mark@klomp.org>
2315 * gnu/java/util/regex/RE.java (messages): Don't initialize.
2316 (bundle): New static final String field.
2317 (getLocalizedMessage): Initialize messages when still null.
2318 * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
2319 (set): Use RE.getLocalizedMessage().
2321 (setLineSeparator): Likewise.
2323 2006-11-20 Roman Kennke <kennke@aicas.com>
2325 * javax/swing/text/html/StyleSheet.java
2326 (linked): New field.
2327 (styleSheet): Replaced by linked.
2328 (addStyleSheet): Use an arraylist for simplicity.
2329 (getRule): Removed useless instantiation.
2330 (getStyleSheets): Convert array list to array.
2331 (removeStyleSheet): Use an arraylist for simplicity.
2332 (resolveStyle): Include styles from linked lists.
2334 2006-11-20 Roman Kennke <kennke@aicas.com>
2336 * javax/swing/text/BoxView.java
2337 (BoxView): Initialize with invalid req's.
2338 (forwardUpdate): Trigger repaint when children changed the
2340 (getResizeWeight): Return resizable when the pref differs from
2341 the min or the pref differs from the max size.
2342 (layoutMajorAxis): Actually sum up the preferred sizes.
2343 (paint): Made binary search more robust.
2344 (replace): Let arrays shrink when needed.
2345 (replaceLayoutArray): Let arrays shrink when needed.
2346 (setAxis): Trigger preferenceChanged.
2347 * javax/swing/text/CompositeView.java
2348 (getInsideAllocation): Call insets method to take account
2349 of overriding subclasses.
2350 * javax/swing/text/DefaultStyledDocument.java
2351 (ElementBuffer.finishEdit): Clear the stack and edits buffer.
2352 (ElementBuffer.insertUpdate): Only remove the found element, not
2354 * javax/swing/text/GlyphView.java
2355 (insertUpdate): Pass null in preferenceChanged.
2356 (removeUpdate): Pass null in preferenceChanged.
2357 (changedUpdate): Pass null in preferenceChanged.
2358 * javax/swing/text/Utilities.java
2359 (drawTabbedText): Avoid single calls to charWidth() and instead
2360 call charsWidth() on whole chunks.
2361 * javax/swing/text/html/HTMLDocument.java
2362 (BlockElement.getName): Fall back to super when necessary.
2363 (RunElement.getName): Fall back to super when necessary.
2364 (HTMLReader.MAX_THRESHOLD): New constant field.
2365 (HTMLReader.GROW_THRESHOLD): New constant field.
2366 (HTMLReader.theshold): New field.
2367 (HTMLReader.HTMLReader): Fetch threshold from document.
2368 (HTMLReader.addContent): Sucessivly grow the threshold.
2369 (createLeafElement): Don't create two elemens and don't set
2371 * javax/swing/text/html/TableView.java
2372 (RowView.replace): Invalidate grid.
2373 (gridValid): Made package private.
2374 (layoutMinorAxis): Mark all rows as invalid.
2375 (replace): Invalidate grid.
2377 2006-11-20 Roman Kennke <kennke@aicas.com>
2379 * javax/swing/text/AbstractDocument.java
2380 (DefaultDocumentEvent.changes): Changed to be a HashMap.
2381 (DefaultDocumentEvent.modified): Made private.
2382 (DefaultDocumentEvent.THRESHOLD): New constant field.
2383 (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
2385 (DefaultDocumentEvent.addEdit): Switch to hashmap only when
2386 exceeding threshold.
2387 (DefaultDocumentEvent.getChange): Use iterative approach
2388 when we have no hashmap yet.
2389 (documentCV): Removed.
2390 (numWriters): Renamed from numWritersWaiting.
2391 (createPosition): Reformat.
2392 (getCurrentWriter): Synchronized.
2393 (readLock): Implement more straightforward.
2394 (readUnlock): Implement more straightforward.
2395 (writeLock): Implement more straightforward.
2396 (writeUnlock): Implement more straightforward.
2397 (remove): Write-lock here.
2398 (removeImpl): Don't write-lock here.
2400 2006-11-20 Roman Kennke <kennke@aicas.com>
2402 * javax/swing/JEditorPane.java
2403 (setPage): Set priority on loading thread.
2405 2006-11-20 Roman Kennke <kennke@aicas.com>
2407 * javax/swing/plaf/basic/BasicTextUI.java
2408 (RootView.paint): Avoid allocation.
2409 (cachedInsets): New field. Caches an Insets instance.
2410 (getNextVisualPositionFrom): Read-lock the document to avoid
2411 thread nastiness. Push allocation.
2412 (getPreferredSize): Push fake allocation when not yet laid out.
2413 (getVisibleEditorRect): Use cached insets.
2414 (viewToModel): Read-lock the document to avoid
2415 thread nastiness. Push allocation.
2417 2006-11-20 Roman Kennke <kennke@aicas.com>
2419 * javax/swing/text/StyleContext.java
2420 (attributeSetPool): Synchronize this map.
2421 (addAttribute): Synchronize this method.
2422 (addAttributes: Synchronize this method.
2423 (readObject): Install synchronized map on target object.
2424 (removeAttribute): Synchronize this method.
2425 (removeAttributes): Synchronize this method.
2426 (removeAttributes): Synchronize this method.
2428 2006-11-20 Roman Kennke <kennke@aicas.com>
2430 * javax/swing/text/GapContent.java
2431 (GapContentPosition.GapContentPosition): Removed constructor.
2432 (Mark): Made subclass of WeakReference to refer directly to
2433 the associated position.
2434 (Mark.refCount): Removed.
2435 (Mark.Mark(int,GapContentPosition,ReferenceQueue):
2436 New constructor. Used to reference a position and register the
2438 (Mark.Mark(index)): Call super and don't adjust mark offset.
2439 (Mark.compareTo): Removed.
2440 (Mark.equals): Removed.
2441 (Mark.getOffset): Return at least null. Removed assert.
2442 (Mark.getPosition): New helper method.
2443 (garbageMarks): New field.
2444 (positions): Removed.
2445 (searchMark): New field.
2446 (GapContent): Removed init of positions map.
2447 (addImpl): New helper method.
2448 (adjustPositionsInRange): Removed.
2449 (compare): New helper method.
2450 (createPosition): Rewritten for new datastructures. This now
2451 performs a much more efficient binary search for finding
2452 a position at the requested offste.
2453 (garbageCollect): Rewritten to collect unused marks.
2454 (getPositionsInRange): Adjusted for new data structures.
2455 (removeImpl): New helper method.
2456 (replace): Use new addImpl() and removeImpl() helper method for
2457 correctly adjusting the positions and gap.
2458 (search): Rewritten. Implements a more suitable binary search.
2459 (searchFirst): New helper method.
2460 (setPositionsInRange): Removed.
2461 (shiftEnd): Update the marks here.
2462 (shiftGap): Update the marks here.
2463 (shiftGapEndUp): Update the marks here.
2464 (shiftGapStartDown): Update the marks here.
2466 2006-11-20 Marco Trudel <mtrudel@gmx.ch>
2468 * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2469 digest algorithm implementations.
2470 (readSignatures): Parse the manifest once and reuse that data.
2471 Add support for line breaks.
2472 (verifyHashes): Use the parsed manifest entry.
2473 (readManifestEntry): Removed.
2475 2006-11-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
2477 * java/beans/beancontext/BeanContextServicesSupport.java:
2478 Added more documentation.
2479 (addService(Class,BeanContextServiceProvider,boolean)):
2480 Synchronized over global hierarchy lock.
2481 (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2482 (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2483 (childJustRemovedHook(Object,BCSChild)): Implemented.
2484 (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2486 (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2487 Added revocation-only listeners.
2488 (getBeanContextServicesPeer()): Implemented.
2489 (getCurrentServiceClasses(Class)): Synchronized over global
2491 (getCurrentServiceSelectors(Class)): Synchronized over global
2492 hierarchy lock, and fixed FIXME.
2493 (getService(BeanContextChild,Object,Class,Object,
2494 BeanContextServiceRevokedListener)): Implemented.
2495 (hasService(Class)): Synchronized over global hierarchy lock.
2496 (releaseService(BeanContextChild,Object,Object)): Implemented.
2497 (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2498 * java/beans/beancontext/BeanContextSupport.java:
2499 (remove(Object, boolean)): Documentation correction.
2501 2006-11-19 Roman Kennke <kennke@aicas.com>
2503 * javax/swing/JEditorPane.java
2504 (PageStream): New inner class.
2505 (PageLoader): New inner class.
2506 (loading): New field.
2507 (setPage): Implemented asynchronous loading.
2508 * javax/swing/text/DefaultStyledDocument.java
2509 (ElementBuffer.create): New helper method.
2510 (create): Use new ElementBuffer method instead of hack.
2511 * javax/swing/text/html/HTMLDocument.java
2512 (HTMLReader.flushImpl): New helper method.
2513 (HTMLReader.addContent): Use flushImpl().
2514 (HTMLReader.blockClose): Added null check.
2515 (HTMLReader.flush): Use flushImpl().
2516 * javax/swing/text/html/HTMLEditorKit.java
2517 (createDefaultDocument): Set load priority to 4 and token threshold
2519 * javax/swing/text/html/TableView.java
2520 (insertUpdate): Overridden to provide correct view factory.
2521 (removeUpdate): Overridden to provide correct view factory.
2522 (changedUpdate): Overridden to provide correct view factory.
2524 2006-11-19 Roman Kennke <kennke@aicas.com>
2526 * javax/swing/text/BoxView.java
2527 (clipRect): New field.
2528 (tmpRect): New field.
2529 (layout): Reorganized code. Now uses layoutAxis() helper method.
2530 (layoutAxis): New helper method.
2531 (paint): Optimized by using cached Rectangle objects and
2532 a binary search for child views inside the clip.
2533 * javax/swing/text/CompositeView.java
2534 (insideAllocation): Made private and initialized in constructor.
2535 (getInsideAllocation): Removed initialization block for
2536 insideAllocation field. Avoid unnecessary allocations.
2537 * javax/swing/text/GlyphView.java
2538 (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2539 The remaining stuff (background, underline and striking) is
2540 done in the GlpyhView itself. Avoid unnecessary allocations.
2541 (cached): A cached Segment instance.
2542 (getText): Return cached segment.
2543 (paint): Paint underline, strike and background here. Avoid
2546 2006-11-19 Roman Kennke <kennke@aicas.com>
2548 * javax/swing/text/html/StyleSheet.java
2549 (getFontSize): Removed debug output.
2550 (ListPainter.tmpRect): New field.
2551 (ListPainter.paint): Align bullet vertically centered to
2552 the first line of the paragraph.
2554 2006-11-17 Roman Kennke <kennke@aicas.com>
2556 * gnu/javax/swing/text/html/css/CSSParser.java
2557 (parseDeclaration): Trim string before reporting.
2558 * gnu/javax/swing/text/html/css/FontSize.java
2560 (isRelative): New field.
2561 (sizeIndex): New field.
2562 (FontSize): Initialize new fields.
2563 (getValue): Changed to call getValue(int).
2564 (getValue(int)): New method. Implements relative font sizes.
2565 (isRelative): New method.
2566 (mapAbsolute): Store index.
2567 (mapEM): New helper method.
2568 (mapLarger): New helper method.
2569 (mapPercent): New helper method.
2570 (mapRelative): New helper method.
2571 (mapSmaller): New helper method.
2572 (mapValue): New helper method.
2573 * javax/swing/text/html/CSS.java
2574 (parseBackgroundShorthand): Create CSSColor directly.
2575 * javax/swing/text/html/StyleSheet.java
2576 (addRule): Invalidate resolved styles.
2577 (getFont): Call new getFontSize() method to resolve relative
2579 (getFontSize): New helper method. Resolves relative font sizes.
2580 (translateHTMLToCSS): Create CSS objects directly.
2582 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2584 * gnu/java/util/regex/RETokenNamedProperty.java:
2585 (getHandler(String)): Add support for 'all'.
2587 2006-11-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
2589 * gnu/javax/management/Server.java:
2590 Initial implementation of a GNU management server.
2591 * javax/management/MBeanPermission.java,
2592 * javax/management/MBeanRegistration.java,
2593 * javax/management/MBeanTrustPermission.java:
2596 2006-11-17 Mark Wielaard <mark@klomp.org>
2598 * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2600 2006-11-17 Gary Benson <gbenson@redhat.com>
2602 * java/net/DatagramSocket.java (getLocalAddress, connect,
2603 receive): Perform security check on address not hostname.
2605 2006-11-16 Roman Kennke <kennke@aicas.com>
2607 * gnu/javax/swing/text/html/parser/support/Parser.java
2608 (_handleText): Fixed condition for consuming whitespace.
2609 Removed validator check, this is superfluous now.
2611 2006-11-16 Roman Kennke <kennke@aicas.com>
2613 * gnu/javax/swing/text/html/css/CSSParser.java
2614 (parseRuleset): Support 'combined' selectors.
2615 (main): Adapt callback for combined selectors support.
2616 * gnu/javax/swing/text/html/css/CSSParserCallback.java
2617 (startStatement): Take selector array as argument, to
2618 support combined selectors.
2619 * javax/swing/text/html/BlockView.java
2620 (calculateMinorAxisRequirements): Fetch and apply alignment.
2621 * javax/swing/text/html/StyleSheet.java
2622 (CSSStyle): Inverted the constants for correct precedence.
2623 (CSSStyleSheetParserCallback.styles): New field. Stores the current
2625 (CSSStyleSheetParserCallback.style): Removed.
2626 (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2627 (CSSStyleSheetParserCallback.end): Push multiple styles.
2628 (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2630 2006-11-16 Roman Kennke <kennke@aicas.com>
2632 * javax/swing/text/FlowView.java
2633 (LogicalView.getPreferredSpan): Calculate maximum correctly.
2634 * javax/swing/text/GlyphView.java
2635 (tabExpander): New field.
2637 (breakView): Set tabX on broken view.
2638 (getPartialSpan): Let the painter fetch the span.
2639 (getTabbedSpan): Update the tab expander field. Maybe trigger
2641 (getTabExpander): Simply return the stored expander.
2642 * javax/swing/text/Utilities.java
2643 (getTabbedTextOffset): Made algoritm a little smarter and more
2645 (getTabbedTextWidth): Don't add single char widths, instead add
2646 chunks of characters.
2647 * javax/swing/text/html/ParagraphView.java
2648 (calculateMinorAxisRequirements): Adjust margin only when the
2649 CSS span is not fixed.
2651 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2653 * java/beans/beancontext/BeanContextSupport.java
2654 (getChildBeanContextMembershipListener): Implemented,
2655 (getChildPropertyChangeListener): Implemented,
2656 (getChildSerializable): Implemented,
2657 (getChildVetoableChangeListener): Implemented,
2658 (getChildVisibility): Implemented,
2659 (setDesignTime): Use same property name as Sun's implementation.
2661 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2663 * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2664 * java/beans/Statement.java
2665 (toString): Updated to match reference implementation.
2667 2006-11-15 Roman Kennke <kennke@aicas.com>
2669 * javax/swing/text/html/HTMLEditorKit.java
2670 (InsertHTMLTextAction.actionPerformed): Also try inserting
2671 the alternate tag. Adjust the selection accordingly.
2672 (InsertHTMLTextAction.adjustSelection): New helper method.
2673 Adjusts the selection after an insertion.
2674 (insertAtBoundary): Delegate to deprecated method.
2675 (insertAtBoundry): Implemented missing method.
2676 (tryInsert): New helper method.
2677 (defaultActions): Implemented to fill the array with
2678 a couple of InsertHTMLTextActions.
2680 2006-11-15 Roman Kennke <kennke@aicas.com>
2682 * javax/swing/text/html/ImageView.java
2683 (Observer): New class. Observes image loading.
2684 (haveHeight): New field.
2685 (haveWidth): New field.
2686 (height): New field.
2689 (imageIcon): New field.
2690 (loading): New field.
2691 (observer): New field.
2692 (reloadImage): New field.
2693 (reloadProperties): New field.
2694 (ImageView): Initialize observer and some flags.
2695 (getImage): Update the image state and return the image.
2696 (loadImage): New helper method. Actually starts loading.
2697 (paint): Rewritten to paint the image directly, not via Icon.
2698 (reloadImage): Rewritten. Loads the image and its properties.
2699 (renderIcon): Removed. No more necessary.
2700 (setPropertiesFromAttributes): Don't nullify image here.
2701 Added comment about missing impl.
2702 (setSize): Added comment about missing impl.
2703 (updateSize): New helper method. Updates the size attributes.
2704 (updateState): New helper method. Makes sure the image
2705 and its properties are valid.
2707 2006-11-15 Roman Kennke <kennke@aicas.com>
2709 * gnu/javax/swing/text/html/parser/support/Parser.java
2710 (_handleEndTag_remaining): Consume whitespace after a closing
2713 2006-11-15 Roman Kennke <kennke@aicas.com>
2715 * javax/swing/text/html/HTMLDocument.java
2716 (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2718 (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2720 (HTMLReader.parseStack): Removed.
2721 (HTMLReader.blockClose): Simply call addContent() with ' '
2722 instead of doing more complicated stuff. Removed parseStack
2724 (HTMLReader.blockOpen): Removed parseStack handling.
2725 (getInsertingReader): Removed parseStack init.
2726 * gnu/javax/swing/text/html/parser/htmlValidator.java
2727 (closeTag): Return true only when the tag actually should be
2729 * gnu/javax/swing/text/html/parser/support/Parser.java
2730 (_handleEndTag): Only actually close the tag when the validator
2733 2006-11-15 Roman Kennke <kennke@aicas.com>
2735 * javax/swing/text/html/CSS.java
2736 (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2738 * javax/swing/text/html/StyleSheet.java
2739 (BoxPainter.bottomPadding): New field.
2740 (BoxPainter.leftPadding): New field.
2741 (BoxPainter.rightPadding): New field.
2742 (BoxPainter.topPadding): New field.
2743 (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2745 (BoxPainter.getInset): Recognize and include the padding.
2746 (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2747 javax/swing/text/html/TableView.java
2748 (RowView.calculateMajorAxisRequirements): Adjust req's for
2750 (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2751 (cellSpacing): New field.
2752 (columnRequirements): Made package private to avoid accessor method.
2753 (calculateMinorAxisRequirements): Include cellSpacing.
2754 (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2755 (layoutMajorAxis): Likewise.
2756 (layoutColumns): Respect cellSpacing.
2757 (setParent): Overridden to fetch the CSS attributes when view gets
2759 (setPropertiesFromAttributes): New method. Fetches the cell
2760 spacing from the CSS attributes.
2762 2006-11-15 Roman Kennke <kennke@aicas.com>
2764 * gnu/javax/swing/text/html/parser/support/Parser.java
2765 (_handleText): Consume whitespace directly before a closing tag.
2766 (restOfTag): Consume whitespace directly after opening.
2767 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2768 (preprocess): Don't perform array boundary checking by
2769 catch AIOOBE, instead check the boundary in loop condition.
2770 * gnu/javax/swing/text/html/parser/support/low/Constants.java
2771 (TAG_CLOSE): New constants. Describes the token pattern for
2774 2006-11-14 Roman Kennke <kennke@aicas.com>
2776 * javax/swing/text/html/ImageView.java
2777 (getPreferredSpan): Use CSS length values.
2778 * javax/swing/text/html/TableView.java
2779 (CellView.calculateMajorAxisRequirements): Overridden to
2780 set the maximum reqs to maximum.
2781 (RowView.getMaximumSize): For the X_AXIS, set the maximum
2783 (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2784 the total column reqs.
2785 (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2786 the total column reqs.
2787 * gnu/javax/swing/text/html/css/CSSColor.java
2788 (convertValue): Catch NumberFormatExceptions for more robustness.
2789 * gnu/javax/swing/text/html/css/FontSize.java
2790 (mapPixels): Actually map px values. Catch NFE for more robustness.
2792 2006-11-14 Roman Kennke <kennke@aicas.com>
2794 * gnu/java/awt/font/autofit/AxisHints.java,
2795 * gnu/java/awt/font/autofit/Constants.java,
2796 * gnu/java/awt/font/autofit/GlyphHints.java,
2797 * nu/java/awt/font/autofit/Latin.java,
2798 * nu/java/awt/font/autofit/LatinAxis.java,
2799 * gnu/java/awt/font/autofit/LatinMetrics.java,
2800 * gnu/java/awt/font/autofit/Scaler.java,
2801 * gnu/java/awt/font/autofit/Script.java,
2802 * gnu/java/awt/font/autofit/ScriptMetrics.java,
2803 * gnu/java/awt/font/autofit/Segment.java,
2804 * gnu/java/awt/font/autofit/Width.java:
2805 New classes. This is some skeleton stuff for the FreeType-alike
2807 * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2808 * gnu/java/awt/font/opentype/OpenTypeFont.java
2809 (unitsPerEm): Made field public.
2810 (getRawGlyphOutline): New method. Fetches the raw outline.
2811 * gnu/java/awt/font/opentype/Scaler.java
2812 (getRawGlyphOutline): New method. Fetches the raw outline.
2813 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2814 (loadGlyph): New method. This is used to load raw outlines.
2815 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2816 (getRawOutline): New method. Fetches the raw outline.
2817 * gnu/java/awt/font/opentype/truetype/Zone.java:
2820 2006-11-14 Roman Kennke <kennke@aicas.com>
2822 * javax/swing/RepaintManager.java
2823 (RepaintManager): Fetch the default state for the double buffering
2824 from a system property gnu.swing.doublebuffering.
2826 2006-11-14 Roman Kennke <kennke@aicas.com>
2828 * javax/swing/plaf/basic/BasicLabelUI.java
2829 (cachedInsets): New field.
2830 (getFontMetrics): New helper method. Fetches the font metrics
2831 from the component or the toolkit.
2832 (getPreferredSize): Use getFontMetrics() helper method for
2833 fetching the font metrics.
2834 (paint): Use getFontMetrics() helper method for
2835 fetching the font metrics. Only paint if icon or text
2836 are != null. Use cached insets.
2837 (paintDisabledText): Don't store/restore color object. The
2838 JComponent painting mechanism takes care of this by calling
2840 (paintEnabledText): Don't store/restore color object. The
2841 JComponent painting mechanism takes care of this by calling
2844 2006-11-14 Roman Kennke <kennke@aicas.com>
2846 * gnu/java/awt/peer/GLightweightPeer.java
2847 (handleEvent): Try to do something reasonable and trigger painting
2848 for the lightweight component.
2849 (getFontMetrics): Fetch and return a font metrics object from
2852 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2854 * gnu/java/util/regex/RETokenNamedProperty.java:
2855 (getHandler(String)): Add support for 'all'.
2857 2006-11-13 Andreas Tobler <a.tobler@schweiz.org>
2859 * AUTHORS: Add myself.
2861 2006-11-13 Thomas Fitzsimmons <fitzsim@redhat.com>
2863 * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
2864 Dalibor Topic. Re-order 'K' section. Remove trailing space from
2865 Roman Kennke's entry.
2867 2006-11-13 Roman Kennke <kennke@aicas.com>
2869 * java/awt/image/IndexColorModel.java
2870 (createCompatibleSampleModel): Implemented missing method.
2872 2006-11-11 Andreas Tobler <a.tobler@schweiz.org>
2874 * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
2875 from big endian systems correctly.
2877 2006-11-11 Roman Kennke <kennke@aicas.com>
2879 * gnu/javax/swing/text/html/css/CSSColor.java
2880 (isValidColor): New helper method. Checks strings if they
2881 form a valid color value.
2882 * gnu/javax/swing/text/html/css/Length.java
2883 (Length): Catch number format exceptions.
2884 * javax/swing/text/html/CSS.java
2885 (addInternal): New method. Checks for shorthand CSS attributes
2887 (parseBackgroundShorthand): New method. Parses the background
2888 shorthand attribute.
2889 * javax/swing/text/html/HTMLDocument.java
2890 (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
2891 (HTMLReader.LinkAction.start): Implemented to load the linked
2893 (HTMLReader.LinkAction.end): Removed. This is not needed.
2894 * javax/swing/text/html/StyleSheet.java
2895 (CSSStyleSheetParserCallback.declaration): Push declaration
2896 through CSS.addInternal() to parse shorthand attributes.
2897 (addCSSAttribute): Push declaration through CSS.addInternal()
2898 to parse shorthand attributes.
2899 (importStyleSheet): Implemented. This adds a stylesheet from
2901 * javax/swing/text/html/TableView.java
2902 (calculateColumnRequirements): Increase column index for
2903 non CellView children to avoid endless loop.
2904 * javax/swing/text/CompositeView.java
2905 (setParent): Comparen with numChildren not with real arraylength.
2907 2006-11-11 David Gilbert <david.gilbert@object-refinery.com>
2909 * java/beans/beancontext/BeanContextSupport.java
2910 (getChildBeanContextChild): Implemented.
2912 2006-11-10 Roman Kennke <kennke@aicas.com>
2914 * javax/swing/text/View.java
2915 (updateLayout): Only repaint when needed.
2917 2006-11-10 David Gilbert <david.gilbert@object-refinery.com>
2919 * java/util/Collections.java
2920 (sort(List)): Minor API doc addition,
2921 (sort(List, Comparator)): Likewise.
2923 2006-11-10 David Fu <fchoong@netbeans.jp>
2925 * javax/swing/text/html/HTMLWriter.java
2926 (traverse): Removed Classpath specific handling of implied
2928 (traverseHtmlFragment): Removed Classpath specific handling of
2931 2006-11-10 Roman Kennke <kennke@aicas.com>
2933 * javax/swing/text/ParagraphView.java
2934 (Row.getMaximumSize): Removed. This method is not necessary.
2935 * javax/swing/text/html/TableView.java
2936 (CellView): Moved attribute init to setPropertiesFromAttributes().
2937 (setPropertiesFromAttributes): Fetch attributes here.
2938 (RowView.RowView): Documented.
2939 (RowView.getMaximumSpan): Overridden to restrict the max span
2941 (RowView.layoutMajorAxis): Correctly layout the spans.
2942 (columnWidths): New field. Stores the width attributes of
2944 (calculateColumnRequirements): Added support for relative
2945 (== percent) width attributes.
2946 (calculateMajorAxisRequirements): Removed.
2947 (calculateMinorAxisRequirements): Removed unnecessary code.
2948 (getMaximumSpan): Overridden to restrict the table's width.
2949 (layoutColumns): Documented. Implement more clever table layout,
2950 i.e. for relative columns etc.
2951 (layoutMinorAxis): Don't mark rows invalid.
2952 (updateGrid): Added docs. Initialize column widths.
2954 2006-11-09 Roman Kennke <kennke@aicas.com>
2956 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
2957 * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
2958 Implement basic headless toolkit.
2959 * java/awt/Toolkit.java
2960 (getDefaultToolkit): Check headless property and create
2961 headless toolkit when true.
2963 2006-11-09 Ingo Proetel <proetel@aicas.com>
2964 2006-11-09 Roman Kennke <kennke@aicas.com>
2966 * gnu/java/awt/peer/swing/SwingButtonPeer.java
2967 (SwingButton.button): New field.
2968 (SwingButton.SwingButton): Added constructor.
2969 (SwingButton.isShowing): Access button field instead of
2970 the surrounding class.
2971 (SwingButton.getParent): Access button field instead of
2972 the surrounding class.
2973 (SwingButtonPeer): Call new SwingButton constructor.
2974 * gnu/java/awt/peer/swing/SwingComponent.java:
2975 Several documentation updates.
2976 * gnu/java/awt/peer/swing/SwingComponentPeer.java
2977 (currentPaintEvents): New field.
2978 (peerFont): New field.
2979 (SwingComponentPeer): Initialize currentPaintEvents fields.
2980 (coalescePaintEvents): Implemented.
2981 (dispose): Unregister peer from heavyweight list of its container.
2982 (getGraphics): Fetch graphics from parent component.
2983 (handleEvent): Discard paint event if its coalesced.
2984 (init): Register component with its container for proper painting.
2985 (paint): Call peerPaint().
2986 (peerPaint): Added argument that indicates if we should update.
2987 Call paint or update on the actual AWT component.
2988 (peerPaintComponent): New method. Paints the peer (Swing) component.
2989 (setFont): Set peerFont field.
2990 * gnu/java/awt/peer/swing/SwingContainerPeer.java
2991 (backbuffer): New field.
2992 (focusOwner): New field.
2993 (heavyweightDescendents): New field.
2994 (SwingContainerPeer): Take Container as argument. Don't call init
2996 (addHeavyweightDescendent): New method.
2997 (getFocusOwner): New helper method.
2998 (getInsets): Delegate to insets().
2999 (handleKeyEvent): Dispatch event to focus owner.
3000 (handleMouseEvent): Dispatch to child component.
3001 (isDoubleBuffering): New helper method.
3002 (peerPaint): Overridden to implement container painting with
3004 (peerPaintChildren): New method. Paints the descendents of this
3006 (removeHeavyweightDescendent): New helper method.
3007 * gnu/java/awt/peer/swing/SwingFramePeer.java
3008 (peerPaint): Removed.
3009 (peerPaintComponent): Overridden to paint the menu bar.
3010 * gnu/java/awt/peer/swing/SwingLabelPeer.java
3011 (SwingLabel.label): New field.
3012 (SwingLabel.SwingLabel): Added constructor with Label argument.
3013 (SwingLabel.getGraphics): Implemented to fetch the graphics from
3014 the actual AWT component.
3015 (SwingLabel.getParent): Implemented to fetch the parent from
3017 (SwingLabel.isShowing): Access the label field.
3018 (SwingLabelPeer): Set alignment from label.
3019 * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
3020 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
3022 * gnu/java/awt/peer/swing/SwingPanelPeer.java:
3023 Don't be a lighweight peer.
3024 (SwingPanelPeer): Call init.
3025 * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
3026 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
3027 (SwingTextField.textField): New field.
3028 (SwingTextField.SwingTextField): New constructor.
3029 (SwingTextField.isShowing): Access field not enclosing class.
3030 (SwingTextField.getGraphics): New method.
3031 (SwingTextField.getParent): New method.
3032 (SwingTextFieldPeer): Call new constructor.
3033 (select): Renamed arguments.
3034 * gnu/java/awt/peer/swing/SwingWindowPeer.java
3035 (SwingWindowPeer): Call init.
3037 2006-11-09 Tania Bento <tbento@redhat.com>
3039 * javax/swing/JLabel.java
3040 (JLabel(Icon)): Changed documentation; Changed text to null.
3041 (JLabel(Icon,int)): Likewise.
3042 (JLabel(text)): Changed documenation.
3043 (JLabel(text,int)): Likewise.
3044 (JLabel(text,Icon,int)): Changed documentation; Throw
3045 IllegalArgumentException if int is not one of LEFT, RIGHT,
3046 CENTER, LEADING or TRAILING.
3048 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3050 * java/beans/beancontext/BeanContextSupport.java
3051 (BeanContextSupport): Use correct dtime default,
3052 (BeanContextSupport(BeanContext)): Likewise,
3053 (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
3055 (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
3056 (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
3058 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3060 * java/beans/beancontext/BeanContextSupport.java
3061 (getBeanContextPeer): Implemented.
3063 2006-11-09 Roman Kennke <kennke@aicas.com>
3065 * javax/swing/text/html/BlockView.java
3066 (cssHeight): Removed.
3067 (cssWidth): Removed.
3068 (cssSpans): New field. Replaces the two fields above.
3069 (BlockView): Allocate cssSpans array.
3070 (layoutMinorAxis): Fetch and use child span, not this view's span.
3071 (setCSSSpan): Adjusted to use cssSpans array.
3072 (setPropertiesFromAttributes): Adjusted to use cssSpans array.
3074 2006-11-09 Roman Kennke <kennke@aicas.com>
3076 * javax/swing/text/html/InlineView.java
3077 (nowrap): New field.
3078 (getBreakWeight): Add support for nowrap.
3079 (setPropertiesFromAttributes): Fetch the nowrap setting.
3081 2006-11-09 Roman Kennke <kennke@aicas.com>
3083 * gnu/javax/swing/text/html/css/CSSParser.java
3084 (parseRuleset): Use new Selector class.
3085 (parseValue): Parse multiple anys, not only one.
3086 (main): Allow stylesheet be specified on the command line.
3087 Use new Selector class.
3088 * gnu/javax/swing/text/html/css/CSSParserCallback.java
3089 (startStatement): Use Selector class.
3090 * gnu/javax/swing/text/html/css/CSSScanner.java
3091 (readName): Actually read a character in the loop to avoid
3093 * gnu/javax/swing/text/html/css/Length.java
3094 (getValue): Only multiply when we have a percentage value.
3095 * gnu/javax/swing/text/html/css/Selector.java:
3096 New class. Provides handling of CSS selectors.
3097 * javax/swing/text/html/StyleSheet.java
3098 (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
3099 (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
3100 (CSSStyle.PREC_NORM): New constant field.
3101 (CSSStyle.PREC_UA): New constant field.
3102 (CSSStyle.PREC_USER_IMPORTANT): New constant field.
3103 (CSSStyle.precedence): New field.
3104 (CSSStyle.priority): Removed.
3105 (CSSStyle.selector): New field.
3106 (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
3108 (CSSStyle.compareTo): Adjusted to use the precedence and
3109 specificity of the selector.
3110 (CSSStyleSheetParserCallback.precedence): New field.
3111 (CSSStyleSheetParserCallback.selector): Removed.
3112 (CSSStyleSheetParserCallback.style): New field.
3113 (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
3114 Initialize with precedence.
3115 (CSSStyleSheetParserCallback.declaration): Don't look up
3116 existing rule, simply create new one.
3117 (CSSStyleSheetParserCallback.endStatement): Append style
3119 (CSSStyleSheetParserCallback.startStatement): Use new Selector
3121 (css): Changed to be ArrayList.
3122 (addRule): Create parser with author-normal precendence.
3123 (getRule): Fixed implementation.
3124 (loadRules): Create parser with UA precendence.
3125 (resolveStyle): Use Selector class for resolving and matching
3127 (translateHTMLToCSS): Added mappings for a couple of HTML
3130 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3133 * java/beans/SimpleBeanInfo.java
3134 (loadImage): Check for nulls.
3136 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
3138 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3139 (getpeername): Added 16 byte offset to memcpy operation.
3141 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
3143 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3144 (getsockname): Added 16 byte offset to memcpy operation.
3146 2006-11-08 Mark Wielaard <mark@klomp.org>
3149 * java/io/OutputStreamWriter.java
3150 (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
3151 (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
3153 2006-11-08 Roman Kennke <kennke@aicas.com>
3155 * javax/swing/text/html/HTMLEditorKit.java
3156 (getParser): Use plain HTML_401F DTD.
3157 * javax/swing/text/html/HTMLDocument.java
3158 (HTMLReader.print): Removed method and all calls to it.
3159 (HTMLReader.printBuffer): Removed method and all calls to it.
3160 (HTMLReader.inImpliedParagraph): New field.
3161 (HTMLReader.inParagraph): New field.
3162 (HTMLReader.addContent): Create implied p-tag if necessary.
3163 (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
3164 (HTMLReader.blockClose): Close implied p-tag if necessary.
3165 (HTMLReader.blockOpen): Close implied p-tag if necessary.
3166 * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
3168 2006-11-08 Roman Kennke <kennke@aicas.com>
3170 * javax/swing/text/html/HTMLEditorKit.java
3171 (HTMLFactory.create): Removed mapping for TD tag. This
3172 is done in TableView.
3173 * javax/swing/text/html/TableView.java:
3174 Implemented from scratch.
3176 2006-11-07 Roman Kennke <kennke@aicas.com>
3178 * gnu/javax/swing/text/html/parser/support/Parser.java
3179 (_handleText): Check if text content is actually allowed before
3180 passing empty text fragments on to the parser callbacks.
3182 2006-11-07 Mark Wielaard <mark@klomp.org>
3184 * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
3188 2006-11-07 Tania Bento <tbento@redhat.com>
3190 * java/awt/FlowLayout.java
3191 (getSize): If parent does not have a component, then a
3192 different formula is used to calcuate the width.
3194 2006-11-07 Roman Kennke <kennke@aicas.com>
3196 * javax/swing/text/html/HTMLEditorKit.java
3197 (HTMLFactory.create): Include ListView.
3198 * javax/swing/text/html/ListView.java
3199 (paint): Removed comment.
3200 * javax/swing/text/html/StyleSheet.java
3201 (CSSStyle.priority): New field.
3202 (CSSStyle.CSSStyle(int)): New constructor with priority.
3203 (CSSStyle.compareTo): New method. Used for sorting the styles.
3204 (CSSStyleSheetParserCallback.declaration): Store the style
3205 with the complete selector.
3206 (ListPainter.attributes): Renamed as field.
3207 (ListPainter.styleSheet): New field.
3208 (ListPainter.type): New field.
3209 (ListPainter.ListPainter): Pass StyleSheet to constructor.
3210 (ListPainter.paint): Provide simplistic implementation.
3211 (getListPainter): Pass StyleSheet to constructor.
3212 (resolveStyle): Fixed CSS style resolving.
3214 2006-11-07 Roman Kennke <kennke@aicas.com>
3216 * gnu/javax/swing/text/html/css/BorderWidth.java:
3217 New class. Handles CSS border width values.
3218 * gnu/javax/swing/text/html/css/Length.java
3219 (floatValue): Made protected so that BorderWidth can access it.
3220 * javax/swing/text/html/CSS.java
3221 (Attribute.BORDER_BOTTOM_COLOR): New static field.
3222 (Attribute.BORDER_BOTTOM_STYLE): New static field.
3223 (Attribute.BORDER_LEFT_COLOR): New static field.
3224 (Attribute.BORDER_LEFT_STYLE): New static field.
3225 (Attribute.BORDER_RIGHT_COLOR): New static field.
3226 (Attribute.BORDER_RIGHT_STYLE): New static field.
3227 (Attribute.BORDER_TOP_COLOR): New static field.
3228 (Attribute.BORDER_TOP_STYLE): New static field.
3229 (getValue): Added some mappings for the border color and
3230 border width values.
3231 * javax/swing/text/html/CSSBorder.java: New class. Implements
3233 * javax/swing/text/html/StyleSheet.java
3234 (BoxPainter.background): New field.
3235 (BoxPainter.border): New field.
3236 (BoxPainter.bottomInset): Documented.
3237 (BoxPainter.leftInset): Documented.
3238 (BoxPainter.rightInset): Documented.
3239 (BoxPainter.topInset): Documented.
3240 (BoxPainter.BoxPainter): Added support for borders and background.
3241 (BoxPainter.getInset): Add border insets.
3242 (BoxPainter.paint): Implemented. Paints the background and the
3244 (addRule): Be less picky about parse and IO exceptions.
3245 (getBoxPainter): Adjust to new BoxPainter constructor.
3247 2006-11-07 Andreas <a.tobler@schweiz.org>
3249 * examples/Makefile.am: Add rule to install the *.html files we use
3252 2006-11-06 Francis Kung <fkung@redhat.com>
3254 * gnu/java/awt/peer/gtk/ComponentGraphics.java
3255 (fillRect): Handle custom composites.
3256 (drawRenderedImage): Handle custom composites.
3257 (drawImage): Handle custom composites.
3258 (createBuffer): New method.
3259 (drawLine): Handle custom composites.
3260 (drawComposite): New method.
3261 (fill): Handle custom composites.
3262 (getNativeCM): New method.
3263 (drawGlyphVector): Handle custom composites.
3264 (drawRect): Handle custom composites.
3265 (draw): Handle custom composites.
3266 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3267 (drawComposite): Unset composite during draw call, to prevent parent
3268 from handling composite again.
3269 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3270 (getBufferCM): Added comments.
3271 (getNativeCM): Made abstract.
3272 (setComposite): Removed comments.
3274 2006-11-06 Roman Kennke <kennke@aicas.com>
3276 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3277 Fixed initial window size and start document.
3279 2006-11-06 Roman Kennke <kennke@aicas.com>
3281 * javax/swing/text/html/HTMLDocument.java
3282 (HTMLReader.addSpecialElement): Removed comment about
3284 (HTMLReader.handleComment): Create SimpleAttributeSet instead
3285 of htmlAttributeSet.
3286 * javax/swing/text/html/parser/DocumentParser.java
3287 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3288 of htmlAttributeSet.
3289 * javax/swing/text/html/parser/ParserDelegator.java
3290 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3291 of htmlAttributeSet.
3292 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
3293 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3294 of htmlAttributeSet.
3295 * gnu/javax/swing/text/html/parser/support/Parser.java
3296 (getAttributes): Return a SimpleAttributeSet.
3297 (restOfTag): Don't set resolving parent here.
3299 2006-11-06 Tania Bento <tbento@redhat.com>
3301 * java/awt/TextComponent.java
3302 (setSelectionStart): Added check.
3304 2006-11-06 Tania Bento <tbento@redhat.com>
3306 * java/awt/TextField.java
3307 (minimumSize(int)): Check if minimum size has been previously
3308 set and changed values of Dimension returned if peer == null.
3309 (preferredSize(int)): Check if preferred size has been previously
3310 set and changed values of Dimension returned if peer == null.
3312 2006-11-06 Roman Kennke <kennke@aicas.com>
3314 * javax/swing/JTree.java
3315 (TreeModelHandler.treeNodesRemoved): Implemented.
3316 (TreeModelHandler.treeStructureChanged): Implemented.
3317 (nodeStates): Made package private.
3319 2006-11-06 Francis Kung <fkung@redhat.com>
3322 * javax/swing/JTree.java
3323 (clearSelectionPathStates): New private method to clean up nodeStates.
3324 (removeSelectionPath): Call clearSelectionPathStates().
3325 (removeSelectionPaths): Call clearSelectionPathStates().
3326 (removeSelectionRow): Call clearSelectionPathStates().
3327 (setSelectionPath): Call clearSelectionPathStates().
3328 (setSelectionPaths): Call clearSelectionPathStates().
3329 (setSelectionRow): Call clearSelectionPathStates().
3331 2006-11-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
3334 * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
3336 2006-11-06 Roman Kennke <kennke@aicas.com>
3338 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3339 Changed to implement a minimalistic browser.
3340 * examples/gnu/classpath/examples/swing/forms.html,
3341 * examples/gnu/classpath/examples/swing/textstyles.html,
3342 * examples/gnu/classpath/examples/swing/welcome.html:
3343 Some example content.
3345 2006-11-06 Roman Kennke <kennke@aicas.com>
3347 * javax/swing/text/ComponentView.java
3348 (setParent): Lock the document and repaint the hosting
3350 * javax/swing/text/FlowView.java
3351 (FlowStrategy.createView): Removed comment.
3352 (FlowView): Initialize span with Short.MAX_VALUE.
3353 (getFlowStart): Return 0 unconditionally.
3354 (layout): Moved code around to make it more readable.
3355 (loadChildren): Always set the parent.
3356 * javax/swing/text/GlyphView.java
3357 (DefaultGlyphPainter.fontMetrics): New field.
3358 (DefaultGlyphPainter.getAscent): Use new helper method to
3359 synchronize the font metrics.
3360 (DefaultGlyphPainter.getBoundedPosition): Use new helper method
3361 to synchronize the font metrics.
3362 (DefaultGlyphPainter.getDescent): Use new helper method to
3363 synchronize the font metrics.
3364 (DefaultGlyphPainter.getHeight): Use new helper method to
3365 synchronize the font metrics.
3366 (DefaultGlyphPainter.getSpan): Use new helper method to
3367 synchronize the font metrics.
3368 (DefaultGlyphPainter.modelToView): Use new helper method to
3369 synchronize the font metrics.
3370 (DefaultGlyphPainter.updateFontMetrics): New helper method for
3371 font metrics caching.
3372 (DefaultGlyphPainter.viewToModel): Use new helper method to
3373 synchronize the font metrics. Fixed view to model mapping.
3374 * javax/swing/text/View.java
3375 (removeAll): Pass null to replace().
3376 (setParent): Only reparent children that have this view as parent.
3378 2006-11-05 Mark Wielaard <mark@klomp.org>
3380 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3381 * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
3382 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3384 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
3386 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
3387 Remove gnu_java_nio_channels_FileChannelImpl.c.
3389 2006-11-03 Roman Kennke <kennke@aicas.com>
3391 * javax/swing/text/html/BlockView.java
3392 (attributes): New field.
3393 (cssHeight): New field.
3394 (cssWidth): New field.
3395 (painter): New field.
3396 (calculateMajorAxisRequirements): Overridden to account for
3398 (calculateMinorAxisRequirements): Overridden to account for
3400 (layoutMinorAxis): Overridden to account for CSS settings.
3401 (changedUpdate): Formatting fixlet.
3402 (constrainSize): New helper method.
3403 (getAlignment): Fix alignment.
3404 (getAttributes): Cache attributes for better performance.
3405 (getStyleSheet): Fetch stylesheet from document rather than creating
3407 (paint): Remove comment.
3408 (setCSSSpan): New helper method.
3409 (setPropertiesFromAttributes): Implemented to fetch the
3410 recognized properties.
3411 * javax/swing/text/html/CSS.java
3412 (getValue): Added mapping for width and height attributes.
3413 * javax/swing/text/html/InlineView.java
3414 (longestWord): New field.
3415 (getLongestWord): New helper method.
3416 (calculateLongestWord): New helper method.
3417 (getMinimumSpan): Overridden to constrain the minimum span by the
3419 * javax/swing/text/html/ParagraphView.java
3420 (cssHeight): New field.
3421 (cssWidth): New field.
3422 (calculateMinorAxisRequirements): Overridden to account for
3424 (setCSSSpan): New helper method.
3425 (setPropertiesFromAttributes): Fetch CSS width and height. Added
3427 * gnu/javax/swing/text/html/css/Length.java
3428 (percentage): New field.
3429 (Length): Determine percentage values.
3430 (getValue(float)): New method for handling percentage values.
3431 (isPercentage): New method.
3433 2006-11-03 Tania Bento <tbento@redhat.com>
3435 * java/awt/TextArea.java
3436 (getMinimumSize): Changed documentation.
3437 (getPreferredSize): Changed documentation.
3438 (getMinimumSize(int,int)): Changed documenation.
3439 (getPreferredSize(int,int)): Changed documenation.
3440 (minimumSize): Changed documentation.
3441 (preferredSize): Changed documenation.
3442 (minimumSize(int,int)): Changed documentation. Checked if
3443 minimum size had been previously set and changed values of
3444 Dimension returned if peer == null.
3445 (preferredSize(int, int)): Checked if preferred size had been
3446 previously set and changed values of Dimension returned if
3449 2006-11-03 Tania Bento <tbento@redhat.com>
3451 * java/awt/event/ComponentEvent.java
3452 (paramString): Changed format of string representation returned.
3454 2006-11-03 Roman Kennke <kennke@aicas.com>
3456 * javax/swing/text/html/HTMLDocument.java
3457 (HTMLReader.FormAction.start): Added support for textarea.
3458 (HTMLReader.FormAction.end): Added support for textarea.
3459 (HTMLReader.HeadAction.end): Call super to actually close the
3461 (HTMLReader.inTextArea): New field.
3462 (HTMLReader.textAreaDocument): New field.
3463 (HTMLReader.handleText): Call textAreaContent when inside
3465 (HTMLReader.textAreaContent): Implemented to initialize
3466 the text area's model.
3467 * javax/swing/text/html/FormView.java
3468 (createComponent): Added support for textarea tag.
3470 2006-11-03 Roman Kennke <kennke@aicas.com>
3472 * javax/swing/text/html/HTMLDocument.java
3473 (HTMLReader.IsindexAction.start): Implemented.
3475 2006-11-03 Roman Kennke <kennke@aicas.com>
3477 * javax/swing/text/html/StyleSheet.java
3478 (addRule): Implemented.
3479 * javax/swing/text/html/HTMLDocument.java
3480 (HTMLReader.inStyleTag): New field.
3481 (HTMLReader.styles): New field.
3482 (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3484 (HTMLReader.StyleAction.start): Set inStyleTag flag.
3485 (HTMLReader.StyleAction.end): Set inStyleTag flag.
3486 (HTMLReader.handleText): When inside a style tag, add
3487 content to the styles array.
3489 2006-11-02 Roman Kennke <kennke@aicas.com>
3491 * javax/swing/text/html/FormView.java
3492 (maxIsPreferred): New field.
3493 (createComponent): Initialize components correctly.
3494 (getMaximumSpan): Return the preferred span for components
3495 that need this. The maxIsPreferred flag is set accordingly
3497 * javax/swing/text/html/HTMLDocument.java
3498 (HTMLReader.FormAction.start): Implemented to set the
3499 correct model as attribute.
3500 (HTMLReader.FormAction.setModel): New helper method.
3501 (HTMLReader.FormAction.end): Call super to finish the element.
3502 Added TODO about things left to do.
3503 (HTMLReader.handleComment): Use SimpleAttributeSet rather
3504 than htmlAttributeSet.
3505 * javax/swing/text/html/HTMLEditorKit.java
3506 (HTMLFactory.create): Create BlockView for FORM tags.
3507 Create FormView for INPUT, TEXTAREA and SELECT tags.
3509 2006-11-02 David Gilbert <david.gilbert@object-refinery.com>
3511 * java/awt/geom/GeneralPath.java: API doc fixes.
3513 2006-11-02 Roman Kennke <kennke@aicas.com>
3515 * javax/swing/text/html/ImageView.java
3516 (getImageURL): Fetch attribute from element. Consider the
3517 base URL for relative image locations.
3519 2006-11-02 Roman Kennke <kennke@aicas.com>
3521 * javax/swing/JEditorPane.java
3522 (setContentType): Strip off attributes.
3523 * javax/swing/text/html/HTMLEditorKit.java
3524 (LinkController.activateLink(int,JEditorPane,int,int): New
3525 method. Implements activation of a hyperlink.
3526 (LinkController.activateLinke(int,JEditorPane)): Delegate
3527 to the other activateLink() method.
3528 (LinkController.createHyperlinkEvent): New helper method.
3529 (LinkController.mouseClicked): Implemented to activate the link.
3530 (LinkController.mouseDragged): Added comment that this
3531 method does nothing.
3532 (LinkController.mouseMoved): Update cursor for hyperlinks.
3533 (mouseHandler): Renamed field to linkController.
3534 (HTMLEditorKit): Create a link controller.
3535 (clone): Give the clone a new link controller.
3536 (deinstall): De-install link controller as mouseMotionListener too.
3537 (install): Install link controller as mouseMotionListener too.
3539 2006-11-02 Roman Kennke <kennke@aicas.com>
3542 * javax/swing/text/FlowView.java
3543 (FlowStrategy.changedUpdate): Reversed condition. This caused
3544 wrong layout and bad performance.
3545 (FlowStrategy.insertUpdate): Reversed condition. This caused
3546 wrong layout and bad performance.
3547 (FlowStrategy.removeUpdate): Reversed condition. This caused
3548 wrong layout and bad performance.
3549 (LogicalView): Changed to be a subclass of CompositeView.
3550 (LogicalView()): Only take one Element argument.
3551 (LogicalView.childAllocation): New method for implementing
3552 the abstract CompositeView method.
3553 (LogicalView.forwardUpdateToView): Overridden for correct
3555 (getMinimumSpan): Overridden to handle line breaking correctly.
3556 (getPreferredSpan): Implemented to handle line breaking correctly.
3557 (getViewAtPoint): New method for implementing
3558 the abstract CompositeView method.
3559 (getViewIndexAtPosition): Overridden to handle leaf elements
3561 (isAfter): New method for implementing
3562 the abstract CompositeView method.
3563 (isBefore): New method for implementing
3564 the abstract CompositeView method.
3565 (loadChildren): Overridden to handle leaf elements
3567 (paint): New method for implementing
3568 the abstract CompositeView method.
3569 (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3570 (loadChildren): Initialize flow layout by sending a synthetic
3571 insertUpdate() to the layout strategy.
3572 * javax/swing/text/GlyphView.java
3573 (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3574 font metrics if component is not available. Add initial offset
3576 (breakView): Be more clever when breaking the view.
3577 (getBreakLocation): New helper method to determine a good
3579 (getBreakWeight): Be more clever when breaking the view.
3580 (getTabbedSpan): Make sure we have a painter. Use view's
3581 start and end offset rather than the element's.
3582 * javax/swing/text/Utilities.java
3583 (drawTabbedText): Avoid useless add and sub with the y offset.
3585 2006-11-02 Roman Kennke <kennke@aicas.com>
3588 * gnu/java/awt/peer/ClasspathFontPeer.java
3589 (getStringBounds): Removed abstract method. This is replaced
3590 in java.awt.Font to use a TextLayout.
3591 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3592 (GtkWindowPeer): Set a font on the window object.
3593 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3594 (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3595 Changed to take char,int,int instead of String. Filter
3597 (FreetypeGlyphVector(Font,String,FontRenderContext)):
3598 Create char array out of string.
3599 (getLogicalBounds): Don't translate bounds. They already are
3601 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3602 (stringWidth): Filter out control characters.
3603 * gnu/java/awt/peer/gtk/GdkFontPeer.java
3604 (getStringBounds): Removed unneeded method.
3605 (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3607 * gnu/java/awt/peer/qt/QtFontPeer.java
3608 (getStringBounds): Removed unneeded method.
3609 * gnu/java/awt/peer/x/XFontPeer.java
3610 (getStringBounds): Removed unneeded method.
3611 * gnu/java/awt/peer/x/XFontPeer2.java
3612 (getStringBounds): Removed unneeded method.
3613 * java/awt/Font.java
3614 (getStringBounds(char[],int,int,FontRenderContext)):
3615 Use TextLayout to determine the bounds.
3616 (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3617 Delegate to the char[] version of this method.
3618 (getStringBounds(String,FontRenderContext)):
3619 Delegate to the char[] version of this method.
3620 (getStringBounds(String,int,int,FontRenderContext)):
3621 Delegate to the String version of this method.
3623 2006-11-01 Tania Bento <tbento@redhat.com>
3625 * java/awt/ScrollPaneAdjustable.java
3626 (paramString): Changed format of string representation returned.
3627 (paramStringHelper): New private method.
3629 2006-11-01 Tania Bento <tbento@redhat.com>
3631 * java/awt/GridBagLayout.java
3632 (toString): Implemented method.
3634 2006-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3636 * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3637 initialization to NP_Initialize.
3638 (NP_Initialize): Initialize GLib threading.
3640 2006-10-31 Tania Bento <tbento@redhat.com>
3642 * javax/swing/JTextField.java
3643 (fireActionPerformed): When creating the new event, if
3644 actionCommand == null, then getText() is used.
3646 2006-10-31 Francis Kung <fkung@redhat.com>
3648 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3649 (fillArc): Corrected arc type to Arc2D.PIE.
3651 2006-10-31 Roman Kennke <kennke@aicas.com>
3653 * javax/swing/text/html/HTMLDocument.java
3654 (HTMLReader.PreAction.end): Implemented.
3655 (HTMLReader.PreAction.start): Implemented.
3656 (HTMLReader.inPreTag): New field.
3657 (HTMLReader.handleTag): When inside a pre tag, call preContent().
3658 (HTMLReader.preContent): Implemented.
3660 2006-10-31 Tania Bento <tbento@redhat.com>
3662 * javax/swing/JTextField.java
3663 (fireActionPerformed): When creating the new event,
3664 actionCommand should be used as the command, not
3667 2006-10-31 Roman Kennke <kennke@aicas.com>
3669 * javax/swing/text/html/HTMLEditorKit.java
3670 (write): Use HTMLWriter or MinimalHTMLWriter for writing
3671 HTML or Styled documents.
3673 2006-10-31 David Fu <fchoong@netbeans.jp>
3675 * javax/swing/text/html/HTMLWriter.java: New class.
3677 2006-10-30 Roman Kennke <kennke@aicas.com>
3679 * java/awt/dnd/DragSourceContext.java
3680 (dragExit): Use constant fields instead of 0.
3681 (updateCurrentCursor): Completed implementation.
3683 2006-10-30 Roman Kennke <kennke@aicas.com>
3685 * java/awt/dnd/DragGestureRecognizer.java
3686 (resetRecognizer): Added API docs. Do not replace the events object
3687 but rather clear() it. Removed not implemented tag.
3689 2006-10-30 Roman Kennke <kennke@aicas.com>
3691 * java/awt/datatransfer/DataFlavor.java
3692 (writeExternal): Remove not implemented tag.
3694 2006-10-30 Roman Kennke <kennke@aicas.com>
3696 * java/awt/datatransfer/DataFlavor.java
3697 (javaFileListFlavor): Don't explicitly specify class.
3698 (plainTextFlavor): Don't explicitly specify class.
3699 (mimeType): Changed to type MimeType. Remove final.
3700 (representationClass): Remove final.
3701 (DataFlavor): Don't do anything here.
3702 (DataFlavor(Class,String,String)): Removed.
3703 (DataFlavor(Class,String)): Initialize here.
3704 (DataFlavor(String,String,ClassLoader)): Initialize in init().
3705 (DataFlavor(String,String)): Initialize in init().
3706 (DataFlavor(String)): Initialize in init().
3707 (init): New initialization method.
3708 (getMimeType): Delegate to MimeType.toString().
3709 (getParameter(String,String)): Removed. Is now done in MimeType.
3710 (getParameter(String)): Delegate to MimeType.
3711 (getPrimaryType): Delegate to MimeType.
3712 (getRepresentationClassFromMime): Removed.
3713 (getRepresentationClassFromMimeThrows): Removed.
3714 (getSubType): Delegate to MimeType.
3715 (hashCode): Take MimeType.toString() for the hashCode.
3716 (isFlavorRemoveObjectType): Return true only when representation
3717 class is remove and serializable and the mime type is remote.
3718 (isFlavorSerializedObjectType): Return true only when representation
3719 class is serializable and the mime type is serialized.
3720 (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3721 (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3722 (readExternal): Implemented stub method.
3723 (writeExternal): Implemented stub method.
3724 * java/awt/datatransfer/MimeType.java: New helper class.
3726 2006-10-28 Roman Kennke <kennke@aicas.com>
3728 * javax/swing/TransferHandler.java
3729 (importData): Implemented stub method. Added API docs.
3731 2006-10-26 Christian Elias Naur <elias@oddlabs.com>
3733 * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3735 * native/jni/classpath/classpath_jawt.h: Likewise.
3736 * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3737 initializer for surface_info_x11->depth.
3739 2006-10-26 Tania Bento <tbento@redhat.com>
3741 * java/awt/FileDialog.java:
3742 (setFile): Changed if-clause condition.
3744 2006-10-25 Francis Kung <fkung@redhat.com>
3746 * include/gnu_java_nio_VMChannel.h,
3747 * include/java_net_VMNetworkInterface.h,
3748 * include/gnu_java_nio_EpollSelectorImpl.h,
3749 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3750 * include/gnu_java_nio_FileChannelImpl.h,
3751 * include/gnu_java_nio_KqueueSelectorImpl.h,
3752 * include/gnu_java_nio_VMPipe.h,
3753 * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3755 2006-10-25 Tania Bento <tbento@redhat.com>
3757 * java/awt/Dialog.java: Created new private variable
3759 (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3760 Set cursor to default cursor.
3761 (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3763 (generateName): New method.
3764 (getUniqueLong): New private method.
3765 * java/awt/FileDialog.java: Created new private variable
3766 next_file_dialog_number.
3767 (setFile): If file == "", set it to null.
3768 (generateName): New method.
3769 (getUniqueLong): New private method.
3771 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3773 * java/net/MulticastSocket.java:
3774 (setNetworkInterface): Rewritten.
3776 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3778 * native/jni/java-net/javanet.h: Added declaration for
3779 _javanet_create_inetaddress.
3780 * native/jni/java-net/javanet.c:
3781 (_javanet_create_inetaddress): Removed static keyword.
3783 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3785 * gnu/java/net/PlainDatagramSocketImpl.java:
3786 (connect): Use VMChannel instance for connect call.
3787 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3788 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3789 (setOption): Handle multicast options.
3790 (getOption): Handle multicast options.
3791 * gnu/java/net/PlainSocketImpl.java:
3792 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3793 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3794 (setOption): Filter unappropriate options.
3795 (getOption): Filter unappropriate options.
3796 (connect): Use given SocketAddress.
3797 (close): Reset address and port.
3799 * include/Makefile.am: Removed all occurences of
3800 gnu_java_net_VMPlainDatagramSocketImpl.h.
3801 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3802 * native/jni/java-net/Makefile.am: Removed
3803 gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3804 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3806 as SocketException, declare to throw SocketException.
3807 * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3808 for SocketException and ConnectException.
3809 (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3811 (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3813 (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3814 (JCL_thread_interrupted): New function.
3815 (initIDs): Added initialisation for isThreadInterrupted method id.
3816 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
3817 CPNET_IP_TTL to java_sockopt enum.
3818 (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
3819 case, handle SO_LINGER case properly.
3820 (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
3821 case, handle SO_LINGER case properly.
3822 (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
3824 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
3826 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
3828 (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
3830 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
3831 * vm/reference/gnu/java/nio/VMChannel.java:
3832 (connect(int, byte[], int, int)): Declare to throw SocketException.
3833 (connect6): Declare to throw SocketException.
3834 (connect(InetSocketAddress, int)): Catch IOException and rethrow
3835 (isThreadInterrupted): New method.
3836 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
3838 (setTimeToLive): New method.
3839 (getTimeToLive): New method.
3840 (setMulticastInterface(int, InetAddress)): New method.
3841 (setMulticastInterface(int, int, Inet4Address): New method.
3842 (setMulticastInterface6(int, int, Inet6Address): New method.
3843 (setOptions): Handle SO_LINGER case.
3844 (getOptions): Add missing SO_REUSEADDR case.
3845 * java/net/Socket.java:
3846 (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
3847 when exception was thrown out of connect().
3848 (setSoLinger): Replaced instantiations with valueOf calls, replaced
3849 Boolean.FALSE with Integer.valueOf(-1).
3850 * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
3851 * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
3852 * NEWS: Documented VM interface changes.
3854 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3856 * java/net/Inet6Address.java:
3857 (isMulticastAddress): Fixed check.
3859 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3862 * java/net/MulticastSocket.java:
3863 (getNetworkInterface): Return a special NetworkInterface instance
3864 if the socket's multicast interface is set to any.
3866 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3869 * java/net/NetworkInterface.java:
3870 (createAnyInterface): New method.
3871 (equals): Added if-statement to handle case where netif.name is null.
3872 * vm/reference/java/net/VMNetworkInterface.java:
3873 (hashCode): Rewritten.
3874 (VMNetworkInterface): New constructor.
3876 2006-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3878 * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
3879 * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
3880 Add ASM_JAR to bootclasspath.
3882 2006-10-24 Tania Bento <tbento@redhat.com>
3884 * java/awt/Scrollbar.java:
3885 (setLineIncrement): Removed unnecessary if-clause and if
3886 lineIncrement == 0, then it should be set to 1, not 0.
3887 (setPageIncrement): Removed unnecessary if-clause and if
3888 pageIncrement == 0, then it should be set to 1, not 0.
3889 (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
3890 If maximum <= minimum, maximum should be set to mininum + 1. The
3891 actual value of maximum is maximum - visibleAmount, so I made
3892 this change to the appropriate if-check. Remove the two unneccessary
3895 2006-10-23 Francis Kung <fkung@redhat.com>
3897 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3898 (cairoSetFont): New method.
3899 (copy): Set font using setFont method.
3900 (setFont): Call cairoSetFont.
3901 (setup): Set font using setFont method.
3902 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
3903 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
3904 (install_font_peer): Removed.
3905 (cairoDrawGlyphVector): Removed call to install_font_peer.
3906 (cairoSetFont): New method.
3908 2006-10-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3910 * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
3911 * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
3912 NativeEventLoopRunningEvent after GTK main loop start and stop.
3913 * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
3914 (getNextEvent): Set dispatchThread to null.
3915 (postEventImpl): Set nativeLoopRunning.
3916 (pop): Interrupt event dispatch thread.
3917 * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
3919 2006-10-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
3921 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
3923 * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
3926 2006-10-23 Marco Trudel <mtrudel@gmx.ch>
3928 * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
3929 * javax/crypto/CipherOutputStream.java: Re-implemented.
3930 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
3931 (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
3932 decryption mode and check if it is a complete block.
3933 (engineUpdate(byte[], int, int, byte[], int)): Likewise.
3934 (engineDoFinal(byte[], int, int)): In padded decryption mode, take
3935 partially processed data into account.
3937 2006-10-21 Tom Tromey <tromey@redhat.com>
3940 * java/util/AbstractCollection.java (toArray): Removed cast.
3942 2006-10-20 Tom Tromey <tromey@redhat.com>
3944 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
3945 Don't use mangled class name for .h file.
3946 * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
3947 Don't use mangled class name for .c file.
3948 * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
3949 Handle classes from the default package.
3951 2006-10-20 Francis Kung <fkung@redhat.com>
3953 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
3955 2006-10-19 Francis Kung <fkung@redhat.com>
3958 * java/awt/image/BufferedImage.java
3959 (constructor): Updated some properties of default image types.
3960 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3961 (argb32): Updated field to match default in BufferedImage.
3963 2006-10-18 Roman Kennke <kennke@aicas.com>
3966 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3967 (copyArea): Changed size comparison to return when size == 0
3969 * javax/swing/JViewport.java
3970 (paintBackingStore): Check width and height of blitted area
3971 and only do blit if its > 0.
3972 (paintBlit): Check width and height of blitted area
3973 and only do blit if its > 0.
3975 2006-10-18 Roman Kennke <kennke@aicas.com>
3978 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3979 (maximize): New native method.
3980 (unmaximize): New native method.
3981 (iconify): New native method.
3982 (deiconify): New native method.
3983 (getState): Implemented.
3984 (setState): Implemented.
3985 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3986 (oldState): Rename to windowState and made protected, so that
3987 the FramePeer can access it.
3988 (postWindowEvent): Handle state change events more gently and
3990 * java/awt/Frame.java
3991 (getState): Fetch state from getExtendedState().
3992 (setExtendedState): Update the peer. Check if the state change
3993 is actually supported.
3994 (getExtendedState): Update the state from the peer.
3995 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3996 (maximize): New method.
3997 (unmaximize): New method.
3998 (iconify): New method.
3999 (deiconify): New method.
4000 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4001 (AWT_FRAME_NORMAL): New macro.
4002 (AWT_FRAME_ICONIFIED): New macro.
4003 (AWT_FRAME_MAXIMIZED_BOTH): New macro.
4004 (window_window_state_cb): Rewritten to handle window state changes
4005 more gently (mostly on the java side of the world).
4006 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
4008 2006-10-18 Tania Bento <tbento@redhat.com>
4010 * java/awt/CardLayout.java:
4011 (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
4012 its height and width if Container passed as argument is null.
4013 (gotoComponent): Consider the case where the component is not visible.
4015 2006-10-18 Thomas Fitzsimmons <fitzsim@redhat.com>
4017 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
4019 * resource/gnu/classpath/tools/appletviewer/messages.properties:
4021 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
4023 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
4025 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
4027 * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
4028 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
4029 Retrieve user-visible strings through Messages.getString.
4030 * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
4031 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
4033 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
4035 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
4037 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
4039 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
4041 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
4044 2006-10-18 Roman Kennke <kennke@aicas.com>
4046 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4047 (AWT_WINDOW_OPENED): Remove unnecessary macro.
4048 (window_show_cb): Removed unnecessary function.
4049 (connect_signals): Don't connect signal for show. *
4050 gnu/java/awt/peer/gtk/GtkWindowPeer.java
4051 (hasBeenShown): Removed. This is handled in java.awt.Window.
4052 (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
4053 in java.awt.Window. * java/awt/Window.java
4054 (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
4056 2006-10-18 Francis Kung <fkung@redhat.com>
4058 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
4059 (drawRenderedImage): New method.
4060 (drawImage): New method.
4061 (CairoSurfaceGraphics): Set clip.
4062 (createBuffer): New method.
4063 (getBufferCM): New method.
4064 (drawComposite): New method.
4066 (getNativeCM): New method.
4067 (drawGlyphVector): New method.
4069 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4070 (getNativeCM): Reflect renamed field.
4071 * gnu/java/awt/peer/gtk/CairoSurface.java
4072 (cairoCM_pre): Renamed from cairoColorModel.
4073 (cairoColorModel): Set premultiplication to false.
4075 2006-10-18 Roman Kennke <kennke@aicas.com>
4078 * javax/swing/JScrollPane.java
4079 (viewportBorder): Made field private.
4080 (wheelScrollingEnabled): Made field private.
4081 (JScrollPane): Enabled wheel scrolling by default.
4082 * javax/swing/JTree.java
4083 (TreeSelectionRedirector.valueChanged): Don't repaint anything
4085 (getScrollableUnitIncrement): Fixed thinko.
4086 * javax/swing/plaf/basic/BasicScrollBarUI.java
4087 (static scrollByBlock): New static method to avoid code duplication
4088 for the BasicScrollPane wheel scrolling.
4089 (static scrollByUnits): New static method to avoid code duplication
4090 for the BasicScrollPane wheel scrolling.
4091 (scrollByBlock): Delegate to static helper method.
4092 (scrollByUnit): Delegate to static helper method.
4093 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4094 (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
4095 static helper methods to avoid code duplication.
4096 (MouseWheelHandler.bounds): Removed.
4097 (MouseWheelHandler.getValue): Removed.
4098 (MouseWheelHandler.scroll): Removed.
4100 2006-10-18 Roman Kennke <kennke@aicas.com>
4103 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4104 (updateComponent): Don't override this here.
4105 * java/awt/Window.java
4106 (addWindowListener): Ignore null listener. Set newEventsOnly flag.
4107 (addWindowFocusListener): Ignore null listener. Set newEventsOnly
4109 (addWindowStateListener): Ignore null listener. Set newEventsOnly
4112 2006-10-18 Roman Kennke <kennke@aicas.com>
4114 * javax/swing/JEditorPane.java
4115 (getStream): Try to detect and set the content type of the
4118 2006-10-18 Roman Kennke <kennke@aicas.com>
4120 * javax/swing/RepaintManager.java
4121 (RepaintWorkerEvent): Pass full set of params to super.
4122 (RepaintWorker.dispatch): Overridden to allow apps to call this
4124 (addDirtyRegion): Synchronize a little more to protect the
4125 dirtyComponents field and avoid NPEs.
4126 (invokeLater): Pass full set of params to RepaintWorkerEvent
4129 2006-10-18 Roman Kennke <kennke@aicas.com>
4131 * javax/swing/JEditorPane.java
4132 (page): Removed field. The page is now stored in the correct
4134 (getPage): Fetch page URL from document property.
4135 (read): Set the document for this JEditorPane. Use a Reader
4136 for reading in the document.
4137 (setPage): Call getStream() to get the stream from which we read.
4138 Fire property change. Store page in document property.
4140 2006-10-18 Roman Kennke <kennke@aicas.com>
4142 * java/awt/datatransfer/DataFlavor.java
4143 (DataFlavor(String)): Removed check for space in mime string.
4145 2006-10-18 Roman Kennke <kennke@aicas.com>
4147 * java/awt/Container.java
4148 (validateTree): Call ContainerPeer.begin|endLayout() rather than
4149 begin|endValidate().
4150 (validate): Call ContainerPeer.begin|endValidate() here.
4151 Added some local vars to avoid NPEs.
4153 2006-10-18 Roman Kennke <kennke@aicas.com>
4155 * native/target/.cvsignore
4156 * native/target/Linux/.cvsignore
4157 * native/target/generic/.cvsignore:
4158 Added to let CVS ignore the generated Makefile and Makefile.in
4161 2006-10-18 Roman Kennke <kennke@aicas.com>
4164 * java/awt/Window.java
4165 (eventTypeEnabled): Overridden to handle WindowEvents.
4166 (processEvent): Switch between processWindowEvent(),
4167 processWindowFocusEvent() and processWindowStateEvent() here,
4168 rather than simply calling processWindowEvent().
4169 (processWindowEvent): Only dispatch event to listener, do not
4170 switch to processWindowFocusEvent() or processWindowStateEvent()
4172 * javax/swing/JFrame.java
4173 (frameInit): Explicitly enable window and key events here.
4174 (processWindowEvent): Throw out some unnecessary code.
4175 * javax/swing/JWindow.java
4176 (windowInit): Explicitly enable key events here.
4177 * javax/swing/JDialog.java
4178 (close_action): Renamed to closeAction.
4179 (dialogInit): Explicitly enable window events here.
4180 (getDefaultCloseOperation): Renamed close_action to closeAction.
4181 (processWindowEvent): Throw out some unnecessary code.
4182 Renamed close_action to closeAction.
4183 (setDefaultCloseOperation): Renamed close_action to closeAction.
4185 2006-10-17 Thomas Fitzsimmons <fitzsim@redhat.com>
4187 * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
4188 to track native GTK event loop status.
4189 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
4190 clear running flag when native GTK event loop starts and stops.
4192 2006-10-17 Roman Kennke <kennke@aicas.com>
4194 * javax/swing/TransferHandler.java
4195 (exportToClipboard): Implemented.
4197 2006-10-17 Francis Kung <fkung@redhat.com>
4199 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
4200 region to account for pixel-shifting.
4201 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
4204 2006-10-17 Francis Kung <fkung@redhat.com>
4207 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
4208 (getLogicalBounds): Translate individual glyphs before appending bounds.
4209 (getOutline): Translate individual glyphs before appending outline.
4211 2006-10-17 Cameron McCormack <cam@mcc.id.au>
4214 * java/awt/font/TextLayout.java
4216 (constructor): Store bidi in field.
4217 (getCharacterLevel): Implemented.
4219 2006-10-17 Roman Kennke <kennke@aicas.com>
4221 * javax/swing/TransferHandler.java
4222 (PropertyTransferable): New inner class. Handles transfers
4223 from component properties.
4224 (createTransferable): Implemented.
4226 2006-10-17 Francis Kung <fkung@redhat.com>
4228 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4229 (drawComposite): Ensure composite does not extend beyond buffer
4231 * java/awt/image/Raster.java
4232 (createChild): Ensure child does not extend beyond parent's
4234 * java/awt/image/WritableRaster.java
4235 (createWritableChild): Ensure child does not extend beyond
4238 2006-10-17 Jeroen Frijters <jeroen@frijters.net>
4240 * native/jni/classpath/jcl.c
4241 (JNI_OnLoad): Corrected calling convention.
4243 2006-10-16 Roman Kennke <kennke@aicas.com>
4245 * javax/swing/TransferHandler.java
4246 (propertyName): New field.
4247 (TransferHandler(String)): Store property name in field.
4248 (canImport): Implemented stub method.
4249 (exportDone): This is a no-op. Removed not-implemented mark.
4250 (getPropertyDataFlavor): New helper method.
4251 (getPropertyDescriptor): New helper method.
4253 2006-10-16 Roman Kennke <kennke@aicas.com>
4255 * javax/swing/AbstractButton.java
4256 (AccessibleJButton.getAfterIndex): Implemented.
4257 (AccessibleJButton.getAtIndex): Implemented.
4258 (AccessibleJButton.getBeforeIndex): Implemented.
4259 (AccessibleJButton.getCharacterAttribute): Completed incomplete
4260 method implementation.
4262 2006-10-16 Roman Kennke <kennke@aicas.com>
4264 * javax/swing/JLabel.java
4265 (AccessibleJLabel.getIndexAtPoint): Implemented.
4266 (AccessibleJLabel.getCharacterBounds): Implemented.
4267 (AccessibleJLabel.getTextRectangle): New helper method.
4269 2006-10-16 Roman Kennke <kennke@aicas.com>
4271 * javax/swing/filechooser/FileSystemView.java
4272 (getFileSystemView): Mark as implemented.
4274 2006-10-14 Roman Kennke <kennke@aicas.com>
4277 * javax/swing/JComponent.java
4278 (toolTipText): Removed field.
4279 (createToolTip): Don't set tooltip text here. This is done
4280 in the ToolTipManager.
4281 (setToolTipText): Set tooltip text as client property.
4282 (getToolTipText): Get tooltip text from client property.
4283 * javax/swing/ToolTipManager.java
4284 (currentComponent): Made field non-static and of type JComponent.
4285 (currentPoint): Made field non-static.
4286 (currentTip): Made field non-static.
4287 (popup): Made field non-static.
4288 (toolTipText): New field. Stores the current tooltip text.
4289 (checkTipUpdate): New helper method. Checks for updates of
4290 the tooltip text and triggers the appropriate actions.
4291 (getContentPaneDeepestComponent): Removed unneeded casts.
4292 (mouseEntered): Removed unneeded cast. Initially fetch tooltip
4293 text from component.
4294 (mouseMoved): Check for tooltip text updates.
4295 (showTip): Set tooltip text from current setting.
4297 2006-10-14 Roman Kennke <kennke@aicas.com>
4300 * javax/swing/JSlider.java
4301 (setPaintLabels): Call setLabelTable() instead of setting
4302 the field directly. This also updates the label's size.
4304 2006-10-13 Tom Tromey <tromey@redhat.com>
4306 * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
4309 2006-10-13 Tania Bento <tbento@redhat.com>
4311 * java/awt/ScrollPane.java
4312 (setLayout): Should throw AWTError whenever called.
4314 2006-10-13 Roman Kennke <kennke@aicas.com>
4317 * java/awt/Component.java
4318 (dispatchEventImpl): Special handle ComponentReshapeEvents to
4319 update the AWT's knowledge about a component's size.
4320 * gnu/java/awt/ComponentReshapeEvent.java: New class.
4321 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4322 (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
4323 to update the AWT's knowledge about the component bounds.
4325 2006-10-13 Tania Bento <tbento@redhat.com>
4327 * java/awt/ScrollPaneAdjustable.java
4328 (setMaximum): Should throw AWTError whenever called.
4330 (setVisibleAmount): Same.
4332 2006-10-13 Tania Bento <tbento@redhat.com>
4334 * java/awt/ScrollPane.java
4335 (addImpl): When calling super, index should be value passed,
4337 (getIsValidString): New helper method for paramString().
4338 (getScrollbarDisplayString): New helper method for paramString().
4339 (paramString): Changed format of outputted string.
4341 2006-10-13 David Gilbert <david.gilbert@object-refinery.com>
4343 * javax/swing/tree/DefaultTreeSelectionModel.java
4344 (clone): Added cast to TreePath[].
4346 2006-10-13 Roman Kennke <kennke@aicas.com>
4349 * javax/swing/JMenuItem.java
4350 (isDragging): New field. Indicates if we are inside a mouse
4352 (createMenuDragMouseEvent): Removed unneeded method.
4353 (processMenuDragMouseEvent): Track if we are dragging.
4354 (processMouseEvent): Simply forward to processMenuDragMouseEvent().
4355 * javax/swing/plaf/basic/BasicMenuItemUI.java
4356 (MenuDragMouseHandler.menuDragMouseDragged): Fetch
4357 MenuSelectionManager from event.
4358 (MenuDragMouseHandler.menuDragMouseEntered): Fetch
4359 MenuSelectionManager from event.
4360 (MenuDragMouseHandler.menuDragMouseExited): Fetch
4361 MenuSelectionManager from event.
4362 (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
4363 release inside menu item, otherwise clear selection.
4364 (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
4365 and getY(). Call doClick() rather than the doClick() of JMenuItem.
4366 (doClick): Perform an immediate click.
4368 2006-10-13 Thomas Fitzsimmons <fitzsim@redhat.com>
4370 * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
4371 return if object is not in the list.
4373 2006-10-12 Andrew Haley <aph@redhat.com>
4375 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
4376 * java/lang/ThreadLocal.java: Likewise.
4378 2006-10-12 Roman Kennke <kennke@aicas.com>
4381 * javax/swing/JSlider.java
4382 (LabelUIResource): New inner class. A JLabel as UIResource.
4383 (createStandardLabels): Don't set label bounds here.
4384 Create LabelUIResource instances.
4385 (setInverted): Repaint.
4386 (setLabelTable): Update the label UIs. Revalidate and repaint.
4387 (setMajorTickSpacing): Update the label table. Repaint if
4389 (setMinorTickSpacing): Repaint if necessary.
4390 (setOrientation): Revalidate.
4391 (setPaintLabels): Revalidate and repaint.
4392 (setPaintTicks): Revalidate and repaint.
4393 (setPaintTrack): Repaint.
4394 (updateLabelUIs): Set the label sizes here.
4395 (updateUI): Also update the label UIs.
4396 * javax/swing/plaf/basic/BasicSliderUI.java
4397 (ComponentHandler.componentResized): Don't revalidate.
4398 (FocusHandler.focusGained): Don't set field.
4399 (FocusHandler.focusLost): Don't set field.
4400 (PropertyChangeHandler.propertyChange): Calculate geometry
4401 and repaint for a couple more properties.
4402 (TrackListener.mouseReleased): Repaint.
4403 (hasFocus): Removed unneeded field.
4404 (calculateContentRect): No need to check for content size < 0.
4405 (calculateFocusRect): Use insets from insetCache.
4406 (calculateLabelRect): Fixed calculation of label rectangle.
4407 It is relative to the tick rectangle, rather than the content
4409 (calculateTickRect): Small restructuring to avoid unnecessary
4411 (calculateTrackRect): Fixed calculation of track rectangle.
4412 (getMaximumSize): Fixed. Fetch preferred size and set
4413 the height of width to Short.MAX_VALUE.
4414 (getMinimumHorizontalSize): Fixed to return UIManager value.
4415 (getMinimumVerticalSize): Fixed to return UIManager value.
4416 (getPreferredHorizontalSize): Fixed to return UIManager value.
4417 (getPreferredVerticalSize): Fixed to return UIManager value.
4418 (getMinimumSize): Fixed to return the UIManager value plus
4420 (getPreferredSize): Fixed to return the UIManager value plus
4422 (getWidthOfWidestLabel): Restructured for more cleanness and
4424 (hitClip): New helper method.
4425 (paintHorizontalLabel): Replaced by more efficient and clean
4427 (paintVerticalLabel): Replaced by more efficient and clean
4429 (paintLabels): Replaced by more efficient and clean
4431 (paint): Check if rectangles intersect with clip for maximum
4433 (recalculateIfInsetsChanged): Fixed. This method should
4434 recalculate only when the insets changed.
4435 (setThumbLocation): Repaint with a reasonable clip.
4436 (xPositionForValue): Made more clean and efficient.
4437 (yPositionForValue): Made more clean and efficient.
4438 * javax/swing/plaf/basic/BasicLookAndFeel.java
4439 (initComponenDefaults): Added Slider.horizontalSize,
4440 Slider.verticalSize, Slider.minimumHorizontalSize and
4441 Slider.minimumVerticalSize properties.
4442 * javax/swing/plaf/metal/MetalSliderUI.java
4443 (getTickLength): Add 1 for horizontal sliders and 3 for
4445 (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4446 (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4447 (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4448 (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4450 2006-10-12 Roman Kennke <kennke@aicas.com>
4453 * javax/swing/text/FlowView.java
4454 (FlowStrategy.layout): Preserve logical views from getting lost.
4455 (FlowStrategy.layoutRow): Fix line breaking.
4456 (FlowStrategy.adjustRow): Fix line breaking.
4457 (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4458 (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4459 (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4460 (createView): Don't check index.
4461 (contains): New helper method.
4462 (reparent): New helper method.
4463 (layoutDirty): Removed unneeded field.
4464 (FlowView): Removed layoutDirty field init.
4465 (changedUpdate): Removed layoutDirty handling.
4466 (insertUpdate): Removed layoutDirty handling.
4467 (removeUpdate): Removed layoutDirty handling.
4468 (layout): Use isLayoutValid() rather than the layoutDirty field.
4469 * javax/swing/text/GlyphView.java
4470 (startOffset): Removed.
4471 (endOffset): Removed.
4472 (offset): New field.
4473 (length): New field.
4474 (GlyphView): Initialize new fields. Removed old fields.
4475 (createFragment): Create fragment with new relative offsets.
4476 (getEndOffset): Work with new relative offsets.
4477 (getStartOffset): Work with new relative offsets.
4478 * javax/swing/text/ParagraphView.java
4479 (Row.getStartOffset): Overidden to determine the minimum start
4480 offset from the children.
4481 (Row.getEndOffset): Overidden to determine the maximum end
4482 offset from the children.
4483 * javax/swing/text/html/BRView.java
4484 Make subclass of InlineView.
4485 (getBreakWeight): Fall back to super for Y_AXIS.
4487 2006-10-12 Roman Kennke <kennke@aicas.com>
4490 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4491 (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4492 one that avoids faulty state that could cause division by zero
4495 2006-10-12 Roman Kennke <kennke@aicas.com>
4498 * javax/swing/plaf/basic/BasicRadioButtonUI.java
4499 (paint): Determine correct icon. Added support for HTML label.
4500 Added small optimizations.
4501 (getPreferredSize): Only consider the buttons iconTextGap, and
4502 only when the text is not null.
4503 * javax/swing/plaf/basic/BasicLookAndFeel.java
4504 (initComponentDefaults): Fetch border for RadioButton from
4505 BasicButtons.getRadioButtonBorder().
4506 * javax/swing/plaf/metal/MetalRadioButtonUI.java
4507 (paintFocus): Paint focus rectangle one pixel smaller.
4509 2006-10-12 Roman Kennke <kennke@aicas.com>
4512 * javax/swing/tree/AbstractLayoutCache.java
4513 (getNodeDimensions): Don't throw InternalError, but instead
4515 (getRowsForPaths): Check for null here.
4516 (isFixedRowHeight): Returns true when rowHeight > 0.
4517 (setSelectionModel): Set this as the row mapper for the selection
4519 * javax/swing/tree/VariableHeightLayoutCache.java
4520 (NodeRecord.NodeRecord): Initialize bounds field.
4521 (getBounds): Simply return the bounds field.
4522 (row2Node): Changed to be an ArrayList.
4523 (RECT_CACHE): New field. Caches a Rectangle instance.
4524 (countRows): Added y parameter and return value. The method
4525 now takes the current y position as parameter, and returns
4526 the updated y position.
4527 (getBounds): Fixed to return the correct bounds.
4528 (getPathForRow): Replaced by fixed implementation.
4529 (getPreferredHeight): Replaced by more efficient implementation.
4530 This simply fetches the last node record and returns its lower
4532 (getPreferredWidth): Added null check.
4533 (getVisibleChildCount): Added null check.
4534 (getVisiblePathsFrom): Added null check.
4535 (setExpandedState): Also expand the ancestors of the node
4537 (setModel): Set dirty flag rather than updating for real.
4538 (setNodeDimensions): Overridden to set the dirty flag.
4539 (setRowHeight): Overridden to set the dirty flag.
4540 (update): Don't special case the root here, this is done now
4543 2006-10-12 Roman Kennke <kennke@aicas.com>
4545 * javax/swing/JComponent.java
4546 (paintImmediately2): Added support for components which need
4547 to force themselves as paint root.
4548 (isPaintRoot): New method. This should be overridden by components
4549 which need to force themselves as paint root.
4550 * javax/swing/JViewport.java
4551 (isPaintRoot): Overridden to force the viewport as paint root
4552 when running in backingstore mode.
4554 2006-10-12 Roman Kennke <kennke@aicas.com>
4556 * javax/swing/tree/DefaultTreeSelectionModel.java
4557 (PathPlaceHolder): New inner class. Wraps a path and its status
4559 (selectedPaths): New field. A supporting datastructure.
4560 (tmpPaths): New field. A supporting datastructure.
4561 (DefaultTreeSelectionModel): Initialize the list selection model,
4562 the leadIndex and the supporting datastructures.
4563 (addPropertyChangeListener): Create changeSupport object lazily.
4564 (addSelectionPaths): Mostly rewritten to handle the different
4565 selection modes correctly.
4566 (addSelectionPath): Delegate to addSelectionPaths().
4567 (arePathsContiguous): Replaced with more efficient implementation
4569 (canPathBeAdded): Removed unneeded method.
4570 (canPathsBeAdded): Replaced with more efficient implementation.
4571 (clearSelection): Create correct event. Clear the fields correctly,
4572 including the supporting datastructures.
4573 (clone): Also clone the supporting datastructures and nullify
4574 changeSupport field.
4575 (getMaxSelectionRow): Delegate to list selection model.
4576 (getMinSelectionRow): Delegate to list selection model.
4577 (getPath): Removed unneeded method.
4578 (getPropertyChangeListeners): Handle null changeSupport field
4580 (getRow): Handle null rowMapper field correctly.
4581 (getSelectionRows): Handle invisible rows correctly.
4582 (insureRowContinuity): Replaced by more efficient and correct
4584 (isRowSelected): Delegate to list selection model.
4585 (notifyPathChange): Made more efficient by use of PathPlaceHolder
4587 (removePropertyChangeListener): Handle null changeSupport field.
4588 (removeSelectionPaths): Mostly rewritten to handle the different
4589 selection modes correctly.
4590 (removeSelectionPath): Delegate to removeSelectionPaths().
4591 (resetRowSelection): Handle list selection model.
4592 (selectOne): Removed unneeded field.
4593 (setRowMapper): Reset the row selection.
4594 (setSelectionMode): Check for invalid mode and set to
4595 DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4596 (setSelectionPaths): Mostly rewritten to handle the different
4597 selection modes correctly.
4598 (setSelectionPath): Delegate to setSelectionPaths().
4599 (updateLeadIndex): Made more efficient.
4601 2006-10-11 Francis Kung <fkung@redhat.com>
4603 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4604 (buffer, locked): New fields.
4605 (constructors): Initialize new variables.
4606 (createBuffer): New method.
4607 (draw): Implement custom composites.
4608 (drawComposite): New method.
4609 (drawGlyphVector): Implement custom composites.
4610 (drawImage): Implement custom composites.
4611 (drawRenderedImage): Implement custom composites.
4612 (fill): Implement custom composites.
4613 (getBufferCM): New method.
4614 (getNativeCM): New method.
4615 (updateBufferedImage): Fix premultiplication.
4616 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4617 (copy): Copy composite.
4618 (drawImage): Set background properly.
4619 (getBufferCM): New method.
4620 (setComposite): Reset alpha composite when using custom composite.
4621 * gnu/java/awt/peer/gtk/CairoSurface.java
4622 (cairoColorModel): New field.
4623 (nativeColorModel): Renamed.
4624 (constructor): Use renamed createCairoSampleModel method.
4625 (createCairoSampleModel): New method.
4626 (createNativeSampleModel): Renamed.
4627 (getBufferedImage): Use renamed cairoColorModel field.
4628 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4629 (gdkColorModel): New field.
4630 (createGdkSampleModel): New method.
4631 (getPixels): Added comments.
4632 (getSnapshot): Use GDK colour and sample models.
4633 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4634 (createBuffer): Use GDK colour and sample models.
4635 (getNativeCM): Added comments.
4636 * java/awt/image/BufferedImage.java
4637 (constructor): Set premultiplied flag properly.
4639 2006-10-11 Edwin Steiner <edwin.steiner@gmx.net>
4641 * native/jni/java-nio/gnu_java_nio_VMChannel.c
4642 (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4644 2006-10-10 Francis Kung <fkung@redhat.com>
4647 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4648 (createPath): Added isDraw parameter.
4649 (draw): Updated createPath call.
4650 (fill): Updated createPath call.
4652 2006-10-10 Tom Tromey <tromey@redhat.com>
4655 * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4656 there is a stylesheet.
4658 2006-10-10 Roman Kennke <kennke@aicas.com>
4660 * java/awt/Toolkit.java
4661 (getDefaultTookit): Make method synchronized to avoid
4662 accidentally creating more than one toolkits from different
4665 2006-10-10 Roman Kennke <kennke@aicas.com>
4667 * java/awt/LightweightDispatcher.java
4668 (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4669 (redispatch): Transfer the button to the redispatched event.
4671 2006-10-10 Francis Kung <fkung@redhat.com>
4673 * java/awt/image/ColorModel.java (coerceData): Implemented.
4675 2006-10-09 Christian Elias Naur <elias@oddlabs.com>
4677 * vm/reference/java/lang/VMClassLoader.java:
4678 (defineClassWithTransformers): Use proper class name format.
4680 2006-10-09 Gary Benson <gbenson@redhat.com>
4682 * java/net/ServerSocket.java
4683 (implAccept): Add security check.
4684 (accept): Close socket if security check fails.
4685 (setSocketFactory): Add security check and already-set check.
4687 2006-10-09 Roman Kennke <kennke@aicas.com>
4690 * javax/swing/JSplitPane.java
4691 (dividerLocation): New field. Stores the divider location.
4692 (JSplitPane): Initialize dividerLocation with -1.
4693 (addImpl): Removed unneeded local variables.
4694 (getDividerLocation): Manage dividerLocation in the JSplitPane
4695 class, not in the UI.
4696 (setDividerLocation): Manage dividerLocation in the JSplitPane
4697 class, not in the UI. Only call the UI method for notification.
4698 * javax/swing/plaf/basic/BasicSplitPaneUI.java
4699 (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4700 location from the JSplitPane. Honour the minimumSize, but only
4701 if the divider location hasn't been set explicitly.
4702 (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4704 (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4706 (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4707 the divider location.
4708 (dividerLocationSet): New field.
4709 (dividerLocation): Removed field.
4710 (createActionMap): Fetch and set divider location on the JSplitPane.
4711 (getDividerLocation): Return the actual real divider location.
4712 (getMaximumSize): Removed unneeded cast.
4713 (getPreferredSize): Removed unneeded cast.
4714 (getMinimumSize): Removed unneeded cast.
4715 (installUI): Initialize dividerLocationSet with false.
4716 (uninstallUI): Initialize dividerLocationSet with false.
4717 (setDividerLocation): Set dividerLocationSet to true.
4719 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4721 * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4722 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4723 convert jstring into char *.
4724 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4725 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4726 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4727 (getif_address): Added const modifier to second argument.
4728 (getif_index): Dito.
4730 2006-10-09 Roman Kennke <kennke@aicas.com>
4732 * javax/swing/JTree.java
4733 (isSelected): Added API docs.
4735 2006-10-09 Roman Kennke <kennke@aicas.com>
4737 * javax/swing/JTree.java
4738 (isSelected): Delegate to the selection model directly.
4740 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4742 * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4743 sizeof_struct_kevent to _sizeof_struct_kevent.
4745 2006-10-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4747 * tools/gnu/classpath/tools/rmic/RMICException.java:
4748 javadoc corrections, reformatted.
4750 2006-10-07 Christian Elias Naur <elias@oddlabs.com>
4752 * gnu/java/lang/InstrumentationImpl.java:
4753 Made constructor package visible.
4755 2006-10-05 Gary Benson <gbenson@redhat.com>
4757 * java/net/Socket.java
4758 (Socket): Perform security check on address not hostname.
4760 2006-10-04 Roman Kennke <kennke@aicas.com>
4762 * javax/swing/tree/VariableHeightLayoutCache.java
4763 (getBounds): When rect is null, create a new Rectangle.
4765 2006-10-04 Christian Thalinger <twisti@complang.tuwien.ac.at>
4767 * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4768 (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4769 (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4770 (cpnio_select): Use CPNIO_EXPORT.
4771 * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4772 inline instead of extern inline, as newer GCCs changed their
4775 2006-10-04 Gary Benson <gbenson@redhat.com>
4777 * java/net/InetAddress.java: Updated javadoc.
4778 (<clinit>, getByLiteral): Throw InternalError on failures.
4780 2006-10-03 Francis Kung <fkung@redhat.com>
4782 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4783 (compCtx): New field for composite context.
4784 (copy): Copy composite.
4785 (dispose): Dispose of composite context.
4786 (getNativeCM): New method.
4787 (setComposite): Discard old composite context and set up new context.
4788 (setRenderingHints): Update composite context.
4789 * gnu/java/awt/peer/gtk/CairoSurface.java
4790 (nativeColorModel): New field, renamed from nativeModel.
4791 (nativeModel): Renamed field to nativeColorModel.
4792 (CairoSurface(int, int)): Call new method to create sample model.
4793 (createNativeSampleModel): New method.
4794 (getBufferedImage): Updated variable name.
4795 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4796 (buffer): New field.
4797 (createBuffer): New method.
4799 (drawComposite): New method.
4800 (drawGlyphVector): New method.
4801 (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4802 (drawImage(Image, int, int, ImageObserver)): Check composite.
4803 (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4805 (getNativeCM): New method.
4806 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4807 (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use
4808 intermediary pixbuf to grab on-screen pixels.
4810 2006-10-03 Tom Tromey <tromey@redhat.com>
4813 * java/util/IdentityHashMap.java (tombstone): Removed.
4814 (emptyslot): Removed.
4815 (nullslot): New field.
4816 (IdentityHashMap): Don't fill array.
4817 (clear): Fill with null.
4818 (hash): Now final. Use linear probing.
4819 (xform): New method.
4820 (unxform): Likewise.
4821 (removeAtIndex): Likewise.
4822 (clone, containsKey, containsValue, entrySet, get, hashCode,
4823 keySet, put, remove, values): Updated.
4824 (IdentityIterator, IdentityEntry): Likewise.
4825 (writeObject): Likewise.
4827 2006-10-03 Tom Tromey <tromey@redhat.com>
4829 * java/util/Locale.java (hashcode): Updated javadoc.
4830 (hashcodeCache): Removed.
4832 (hashCode): Updated.
4833 (writeObject): New method.
4834 (readObject): Updated.
4836 2006-10-02 Francis Kung <fkung@redhat.com>
4838 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4839 (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
4840 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4841 (clearRect): Paint background colour with AlphaComposite.SRC rule.
4842 (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
4843 pre-multiply data before drawing.
4844 (fillRect): Draw using regular fill() method.
4845 (setComposite): Handle null case with AlphaComposite.SrcOver default.
4846 * gnu/java/awt/peer/gtk/CairoSurface.java
4847 (nativeModel): Use correct value for alpha premultiplication (true).
4848 * java/awt/image/BufferedImage.java
4849 (coerceData): Update isPremultiplied field.
4851 2006-10-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
4853 * gnu/classpath/ListenerData.java:
4854 New class for holding listener data.
4855 * gnu/java/lang/management/MemoryMXBeanImpl.java:
4856 ListenerData class moved to its own file.
4857 * javax/management/MBeanServerDelegate.java,
4858 * javax/management/MBeanServerDelegateMBean.java,
4859 * javax/management/MBeanServerNotification.java:
4862 2006-10-02 Tania Bento <tbento@redhat.com>
4864 * java/ast/Rectangle.java:
4865 (Rectangle(Rectangle)): Do not throw NPE.
4866 (Rectangle(Point, Dimension)): Same.
4867 (Rectangle(Point)): Same.
4868 (Rectangle(Dimension)): Same.
4870 2006-09-29 Casey Marshall <csm@gnu.org>
4873 * gnu/java/nio/EpollSelectionKeyImpl.java: extend
4874 `AbstractSelectionKey.'
4875 (cancel, isValid): removed.
4876 * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
4877 (events): new field.
4878 (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
4880 (<clinit>): initialize those constants.
4881 (<init>): don't initialize `cancelledKeys;' initialize `events.'
4882 (doSelect): deregister cancelled keys; remove keys attached to
4883 closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
4884 `events' buffer; reallocate `events' buffer if needed.
4885 (register): reallocate `events' buffer if needed.
4886 (reallocateBuffer): new method.
4889 2006-09-29 Roman Kennke <kennke@aicas.com>
4892 * javax/swing/JViewport.java
4893 (cinit): Renamed system property to gnu.swing.scrollmode
4894 to avoid bloat. Default to BACKINGSTORE, this is much
4896 (repaint): Forward repaint() to parent as is specified.
4898 2006-09-29 Tania Bento <tbento@redhat.com>
4900 * javax/swing/plaf/basic/BasicTableUI.java
4901 (getPreferredSize): The number of iterations for the for-loop should be
4902 the number of columns in the table's column model, not the number of
4903 columns of the table.
4904 * javax/swing/JTable.java
4905 (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
4906 lines that are not needed.
4907 (initializeLocalVars): dragEnabled should be set to false, not true.
4908 (getCellRenderer): Added a check to prevent an
4909 ArrayIndexOutOfBoundsException.
4910 (doLayout): The number of iterations for the for-loops should be the
4911 number of columns in the table's column model, not the number of columns
4914 2006-09-29 Roman Kennke <kennke@aicas.com>
4916 * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
4918 (isOptimized): Initialize with true.
4919 (paintRaster): Removed unneeded field.
4920 (shapeCache): New static field. Caches certain shapes for reuse.
4921 (computeIntersection): Removed unneeded casts.
4922 (drawArc): Use shape cache.
4923 (drawImage): Removed unneeded statement.
4924 (drawLine): Use shape cache. Pass untranslated coordinates
4926 (drawOval): Use shape cache.
4927 (drawPolygon): Use shape cache.
4928 (drawRect): Overridden to provide accelerated rectangle drawing
4929 if possible and to use the shape cache.
4930 (drawRoundRect): Use shape cache.
4931 (fillArc): Use shape cache.
4932 (fillOval): Use shape cache.
4933 (fillPolygon): Use shape cache.
4934 (fillRect): Pass untranslated coordinates to rawFillRect().
4936 (fillRoundRect): Use shape cache.
4937 (fillScanlineAA): Removed unneeded statement.
4938 (fillScanline): Updated API docs.
4939 (fillShapeAntialias): Removed unnecessary cast.
4940 (fillShapeImpl): Update API docs. Removed unnecessary cast.
4941 (fillShape): Updated API docs.
4942 (getShapeCache): New helper method.
4943 * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
4944 certain shapes for reuse in AbstractGraphics2D.
4946 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4948 * javax/management/BadBinaryOpValueExpException.java:
4949 (getExp()): Implemented.
4950 * javax/management/MBeanConnection.java:
4951 Renamed to MBeanServerConnection.
4952 * javax/management/MBeanServer.java:
4953 (setAttribute(Attribute)): Fixed...
4954 (setAttribute(ObjectName,Attribute)): to this.
4955 * javax/management/MBeanServerConnection.java:
4956 Renamed from MBeanConnection.
4957 * javax/management/QueryExp.java:
4958 Extend Serializable.
4959 * javax/management/ValueExp.java:
4961 * javax/management/loading/ClassLoaderRepository.java:
4962 (loadClass(String)): Throw ClassNotFoundException.
4963 (loadClassBefore(ClassLoader,String)): Likewise.
4964 (loadClassWithout(String, ClassLoader): Fixed...
4965 (loadClassWithout(ClassLoader,String)): to this.
4967 2006-09-28 Roman Kennke <kennke@aicas.com>
4969 * javax/swing/tree/DefaultTreeCellRenderer.java
4970 (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
4971 property from UIManager.
4972 (paint): Rewritten to use super's implementation and only paint
4973 background and focus indicator before.
4974 (paintFocus): New helper method.
4975 (getXOffset): New helper method.
4977 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4979 * javax/management/BadBinaryOpValueExpException.java,
4980 * javax/management/MBeanConnection.java,
4981 * javax/management/MBeanServer.java,
4982 * javax/management/ObjectInstance.java:
4984 * javax/management/ObjectName.java:
4985 (setMBeanServer(MBeanServer)): Implemented.
4986 * javax/management/QueryExp.java,
4987 * javax/management/ValueExp.java,
4988 * javax/management/loading/ClassLoaderRepository.java:
4991 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4993 * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
4995 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4997 * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
4998 * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
4999 * gnu/java/nio/EpollSelectorImpl.java:
5000 (doSelect): Use Integer.valueOf() instead of constructor call.
5001 (register): Use Integer.valueOf() instead of constructor call.
5003 2006-09-27 Roman Kennke <kennke@aicas.com>
5005 * java/awt/Container.java
5006 (addContainerListener): Activate newEventsOnly for the component.
5007 Ignore null listeners.
5009 2006-09-27 Roman Kennke <kennke@aicas.com>
5011 * java/awt/EventQueue.java
5012 (Queue): New inner class. Implements the actual queue.
5013 (LOW_PRIORITY): New constant field.
5014 (NORM_PRIORITY): New constant field.
5015 (queueHead): Removed. Moved into Queue.
5016 (queueTail): Removed. Moved into Queue.
5017 (queues): New field.
5018 (EventQueue): Initialize two internal queues, one for
5019 normal events, one for low priority events.
5020 (getNextEventImpl): New helper method, fetches the next event.
5021 (getNextEvent): Use getNextEventImpl() for fetching the event.
5022 (peekEvent): Use getNextEventImpl() for fetching the event.
5023 (peekEvent(int)): Search for event in all queues.
5024 (postEventImpl(AWTEvent)): Moved actual posting into
5025 postEventImpl(AWTEvent,int). Prioritize events here.
5026 (postEventImpl(AWTEvent,int)): Take priority parameter and insert
5027 event into correct queue. Re-enable event coalescing.
5028 * gnu/java/awt/LowPriorityEvent.java: New marker interface.
5029 * javax/swing/RepaintManager.java
5030 (RepaintWorkerEvent): New internal class. This is a low priority
5031 event for the repaint worker.
5032 (addDirtyRegion): Use new internal invokeLater() for sending
5033 a low priority event.
5034 (addInvalidComponent): Use new internal invokeLater() for sending
5035 a low priority event.
5036 (commitBuffer): Added some null checks.
5037 (invokeLater): New helper method. Sends a low priority
5038 repaint worker event on the event queue.
5040 2006-09-27 Roman Kennke <kennke@aicas.com>
5044 * javax/swing/plaf/basic/BasicButtonUI.java
5045 (cachedInsets): New field.
5046 (installListeners): Fire synthetic property change to initialize
5047 TEXT_LAYOUT_CACHE for the button because the font has been
5049 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5050 (paint): Use cached insets.
5051 (paintText): Let new method forward to old one, not vice versa.
5052 * javax/swing/plaf/basic/BasicMenuItemUI.java
5053 (defaultAcceleratorLabelGap): Removed unused field.
5054 (MenuGap): Removed unused field.
5055 (propertyChangeListener): Made private.
5056 (getAcceleratorRect): Removed unused method.
5057 (getAcceleratorText): Removed unused method.
5058 (getPath): Removed unnecessary cast.
5059 (installListeners): Fire synthetic property change to initialize
5060 TEXT_LAYOUT_CACHE for the button because the font has been
5062 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5063 (layoutMenuItem): Removed unused statements.
5065 2006-09-27 Roman Kennke <kennke@aicas.com>
5068 * javax/swing/tree/DefaultTreeModel.java
5069 (isLeaf): Check if the node allows children when
5070 asksAllowsChildren is true, otherwise fall back
5071 to return the node's leaf property.
5073 2006-09-27 Mario Torre <neugens@limasoftware.net>
5075 * scripts/check_jni_methods.sh: removed methods from the
5077 Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
5078 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
5079 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
5080 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5081 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5082 * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
5083 to better follow the GNU style.
5084 * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
5085 regenerated header file for GConfNativePeer.
5087 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
5089 * INSTALL: Added information about grmic being built when ASM
5090 is available, added information about gconf dependency, indented
5091 Qt4 dependency section.
5092 * configure.ac: Added information about grmic being built when ASM
5095 2006-09-27 Ian Rogers <ian.rogers@manchester.ac.uk>
5097 * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
5098 DeleteGlobalRef on a local ref.
5100 2006-09-24 Mario Torre <neugens@limasoftware.net>
5102 * scripts/check_jni_methods.sh: added two new methods in the
5104 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5106 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5107 * native/jni/gconf-peer/GConfNativePeer.c:
5108 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
5109 refacored method name, renamed from
5110 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
5111 Added code to unescape escaped GConf key names.
5112 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
5113 refacored method name, renamed from
5114 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
5115 Added code to unescape escaped GConf key names.
5116 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
5118 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
5120 * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
5121 version javadoc tag.
5122 (escapeString): new method.
5123 (unescapeString): likewise.
5124 (gconf_escape_key): new native method.
5125 (gconf_unescape_key): likewise.
5126 (gconf_client_suggest_sync): update native method signature, now
5127 explicity throws BackingStoreException.
5128 (gconf_client_all_nodes): update native method signature, now
5129 explicity throws BackingStoreException. Refactored method name,
5130 renamed from gconf_client_gconf_client_all_nodes.
5131 (gconf_client_all_keys): update native method signature, now
5132 explicity throws BackingStoreException. Refactored method name,
5133 renamed from gconf_client_gconf_client_all_keys.
5134 (getKeys): refactored to use the new method name
5135 gconf_client_all_keys.
5136 (getChildrenNodes): refactored to use the new method name
5137 gconf_client_all_nodes.
5138 * gnu/java/util/prefs/GConfBasedPreferences.java: removed
5139 version javadoc tag.
5140 (GConfBasedPreferences): Added code to escape node names from
5141 invalid characters so that GConf now accept invalid node names.
5142 (GConfBasedPreferences): Moved code to register the current
5143 node to the list of nodes watched by GConf outside the constructor.
5144 (childSpi): Added code to register the current node to the
5145 list of nodes watched by GConf.
5146 (getGConfKey): Added code to escape key names from
5147 invalid characters so that GConf now accept invalid key names.
5149 2006-09-26 Tom Tromey <tromey@redhat.com>
5151 * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
5152 call mkdirs in output-directory case.
5153 (getPrintStream): Create output directory.
5154 * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
5157 2006-09-27 Raif S. Naffah <raif@swiftdsl.com.au>
5159 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
5160 Accept three additional arguments.
5161 (writePreambleImpl): New method.
5162 (getPrintStreamImpl): Likewise.
5163 (printClass): Adapted to use new methods in Printer superclass.
5164 * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
5165 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
5166 * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
5167 * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
5169 (getParser): Add support for -o option.
5170 Check that only one of -d or -o is defined.
5171 Add support for -jni option.
5172 Add support for -force option.
5173 (makeOutputFile): New method.
5174 (writeHeaders): Removed File argument from signature.
5175 (run): Take into account newly added fields.
5176 Invoke concrete PrintStream implementations with augmented constructors.
5177 * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
5178 (isDirectory): Likewise.
5180 (wrotePreamble): Likewise.
5181 (Printer): Changed ctor to accept three additional arguments.
5182 (printClass): Changed signature to accept one ClassWrapper argument.
5183 (writePreambleImpl): New abstract method.
5184 (getPrintStreamImpl): Likewise.
5185 (getPrintStream): New method.
5186 (writePreamble): Likewise.
5188 2006-09-26 Tania Bento <tbento@redhat.com>
5190 * java/awt/GridLayout.java
5191 (toString): There is no common before hgap.
5192 * java/awt/Rectangle.java
5193 (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
5194 (Rectangle(Point, Rectangle)): Throw NPE if either Point or
5196 (Rectangle(Point)): Throw NPE if Point is null.
5197 (Rectangle(Dimension)): Throw NPE if Dimension is null.
5199 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
5201 * javax/swing/plaf/metal/MetalIconFactory.java
5202 (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
5203 returned by getShift(),
5204 (FileIcon16.getShift): Updated API docs,
5205 (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
5206 returned by getShift(),
5207 (FolderIcon16.getShift): Updated API docs,
5208 (TreeFolderIcon.getShift): Likewise,
5209 (TreeLeafIcon.getShift): Likewise.
5211 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
5213 * javax/swing/plaf/metal/MetalIconFactory.java
5214 (FileIcon16.paintIcon): Fetch colors from look and feel,
5215 (FolderIcon16.paintIcon): Likewise.
5217 2006-09-25 Casey Marshall <csm@gnu.org>
5219 * gnu/java/nio/FileChannelImpl.java (read): revert back to using
5221 (write): revert back to using `writeGathering.'
5222 * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
5223 the first buffer that has data remaining, and start at that one.
5225 2006-09-25 Tom Tromey <tromey@redhat.com>
5227 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
5230 2006-09-25 Tom Tromey <tromey@redhat.com>
5232 * tools/.cvsignore: Updated.
5234 2006-09-25 Tom Tromey <tromey@redhat.com>
5237 * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
5238 (Encoder.canEncode): Likewise.
5239 (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
5240 * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
5242 (Encoder.canEncode): Likewise.
5243 * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
5245 (Encoder.canEncode): Likewise.
5247 2006-09-25 Tom Tromey <tromey@redhat.com>
5249 * native/fdlibm/mprec.c (mprec_calloc): Renamed.
5252 2006-09-25 Francis Kung <fkung@redhat.com>
5254 * java/awt/image/ColorModel.java
5255 (coerceData): Made abstract.
5256 (coerceDataWorker): New protected method.
5257 * java/awt/image/ComponentColorModel.java
5258 (coerceData): Return new instance of proper ColorModel.
5259 * java/awt/image/DirectColorModel.java
5260 (coerceData): Return new instance of proper ColorModel.
5261 * java/awt/image/IndexColorModel.java
5262 (coerceData): New method.
5264 2006-09-24 Casey Marshall <csm@gnu.org>
5266 * gnu/java/nio/FileChannelImpl.java
5267 (read): call `read' in a loop, don't use `readScattering.'
5268 (write): call `write' in a loop, don't use `writeGathering.'
5270 2006-09-24 Mark Wielaard <mark@klomp.org>
5272 * configure.ac: Move -pedantic from WARNING to STRICT flags.
5274 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5276 * java/nio/channels/spi/AbstractSelectableChannel.java
5277 (register): Set interestOps and attachment when the key already
5280 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5282 * java/net/ServerSocket.java
5283 (bind(SocketAddress,int)): Added support for null address.
5284 Throw proper exception if already bound.
5285 Handle unresolved addresses correctly. Ignore exceptions that
5286 happen during close in error path (to prevent losing the original
5289 2006-09-24 Mark Wielaard <mark@klomp.org>
5291 Suggested by Aaron M. Ucko <ucko@debian.org>
5293 * native/fdlibm/mprec.c (ulp): Define L as int32_t.
5295 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5297 * java/nio/channels/spi/AbstractSelectableChannel.java
5298 (implCloseChannel): Cancel all keys after closing the channel.
5300 2006-09-22 Casey Marshall <csm@gnu.org>
5302 * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
5303 after we delete them.
5304 (selectedKeys): return an empty set if nothing's been selected.
5305 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5306 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
5307 throw an exception on EBADF.
5308 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
5309 throw exception on EINTR, just return 0.
5311 2006-09-22 Casey Marshall <csm@gnu.org>
5313 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5314 remove `const' from `filename.'
5315 * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
5317 * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
5319 2006-09-22 Casey Marshall <csm@gnu.org>
5321 * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
5322 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5323 allocate `filename,' and handle changes to `cpio_readDir.'
5324 * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
5325 available; copy the filename into the destination buffer; return
5326 an error code if readdir returns NULL, but errno is 0.
5327 * native/jni/native-lib/cpio.h (cpio_readDir): change second
5328 parameter to `const char *.'
5330 2006-09-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
5332 * javax/management/ObjectName.java:
5335 2006-09-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5337 * resource/gnu/classpath/tools/orbd: New directory.
5338 * resource/gnu/classpath/tools/rmic: Likewise.
5339 * resource/gnu/classpath/tools/rmid: Likewise.
5340 * resource/gnu/classpath/tools/rmiregistry: Likewise.
5341 * resource/gnu/classpath/tools/tnameserv: Likewise.
5342 * tools/gnu/classpath/tools/giop: Move contents to...
5343 * tools/gnu/classpath/tools/orbd,
5344 tools/gnu/classpath/tools/tnameserv: New directories.
5345 * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
5346 * tools/gnu/classpath/tools/rmic: New directory.
5347 * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
5348 * tools/gnu/classpath/tools/rmid: New directory.
5349 * tools/gnu/classpath/tools/rmi/registry: Move contents to...
5350 * tools/gnu/classpath/tools/rmiregistry: New directory.
5351 * resource/gnu/classpath/tools/orbd/messages.properties: New file.
5352 * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
5353 * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
5354 * resource/gnu/classpath/tools/rmiregistry/messages.properties:
5356 * resource/gnu/classpath/tools/tnameserv/messages.properties:
5358 * tools/gnu/classpath/tools/orbd/Main.java,
5359 tools/gnu/classpath/tools/orbd/Messages.java,
5360 tools/gnu/classpath/tools/orbd/PersistentContext.java,
5361 tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
5362 tools/gnu/classpath/tools/orbd/PersistentMap.java,
5363 tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
5364 tools/gnu/classpath/tools/rmic/CompilationError.java,
5365 tools/gnu/classpath/tools/rmic/Generator.java,
5366 tools/gnu/classpath/tools/rmic/GiopIo.java,
5367 tools/gnu/classpath/tools/rmic/HashFinder.java,
5368 tools/gnu/classpath/tools/rmic/Main.java,
5369 tools/gnu/classpath/tools/rmic/Messages.java,
5370 tools/gnu/classpath/tools/rmic/MethodGenerator.java,
5371 tools/gnu/classpath/tools/rmic/RMICException.java,
5372 tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
5373 tools/gnu/classpath/tools/rmic/RmicBackend.java,
5374 tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
5375 tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
5376 tools/gnu/classpath/tools/rmic/Variables.java,
5377 tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
5378 tools/gnu/classpath/tools/rmic/templates,
5379 tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
5380 tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
5381 tools/gnu/classpath/tools/rmid/Main.java,
5382 tools/gnu/classpath/tools/rmid/Messages.java,
5383 tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
5384 tools/gnu/classpath/tools/rmiregistry/Main.java,
5385 tools/gnu/classpath/tools/rmiregistry/Messages.java,
5386 tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
5387 tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
5388 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
5389 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
5390 tools/gnu/classpath/tools/tnameserv/Main.java,
5391 tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
5392 * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
5393 RMIC.java from cp-tools.
5394 * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
5395 tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
5396 (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
5398 * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
5399 * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
5401 (start): New method.
5402 * tools/Makefile.am: Add build support for new tool wrappers.
5403 * tools/gorbd.in: New file.
5404 * tools/grmic.in: Likewise.
5405 * tools/grmid.in: Likewise.
5406 * tools/grmiregistry.in: Likewise.
5407 * tools/gtnameserv.in: Likewise.
5408 * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
5409 * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
5411 * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
5412 * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
5413 * tools/gnu/classpath/tools/common/Persistent.java: New file.
5415 2006-09-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
5418 * gnu/java/util/regex/RETokenRepeated.java
5419 (findMatch): Rewriten without using recursive calls,
5420 (FindMatchControlStack): New class,
5421 (FindMatchControl): New class,
5422 (TryAnotherResult): New class,
5423 (tryAnother): New method.
5425 2006-09-22 Gary Benson <gbenson@redhat.com>
5427 * java/net/SocketPermission.java
5428 (processHostport): Cope with IPv6 addresses with a
5429 one-digit first component.
5431 2006-09-22 Roman Kennke <kennke@aicas.com>
5433 * java/awt/Component.java
5434 (enableEvents): Set newEventsOnly flag.
5435 * java/awt/Container.java
5436 (dispatchEventImpl): Consume event if lightweight dispatcher
5437 dispatched the event. Don't call processEvent() here, this
5438 is already done in Component.dispatchEventImpl(). For
5439 heavyweights or when the lightweight dispatcher could
5440 not dispatch, fall back to calling super.
5441 (dispatchNoLightweight): New helper method to avoid
5442 recursivly calling the lightweight dispatcher.
5443 * java/awt/LightweightDispatcher.java
5444 (dragButton): Removed field.
5445 (dragTarget): Removed field.
5446 (mouseEventTarget): New field.
5447 (convertPointToChild): Removed method.
5448 (dispatchEvent): Don't depend on component beeing
5450 (findTarget): Improved algorithm for finding a target.
5451 Before we went down to the deepest component and went
5452 up again to find a suitable target. Now we go
5453 down only once, without going up.
5454 (handleMouseEvent): Broke method down into some smaller
5456 (isDragging): New helper method.
5457 (isMouseListening): New helper method.
5458 (redispatch): New helper method.
5459 (trackEnterExit): New helper method.
5461 2006-09-22 David Gilbert <david.gilbert@object-refinery.com>
5463 * javax/swing/SizeSequence.java
5464 (getSize): Return 0 if index is out of bounds.
5466 2006-09-21 Tom Tromey <tromey@redhat.com>
5468 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5469 (PathOptionGroup): Make -I a joined option.
5470 * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5471 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5472 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5473 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5474 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5475 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5476 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5477 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5478 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5479 * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5480 * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5481 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5482 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5483 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5484 * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5485 * tools/gnu/classpath/tools/jar/Main.java: Updated.
5486 * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5487 * tools/gnu/classpath/tools/javah/Main.java: Updated.
5488 * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5489 * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5490 * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5492 * resource/gnu/classpath/tools/common/Messages.properties: New file.
5493 * tools/gnu/classpath/tools/common/Messages.java: New file.
5494 * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5495 * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5497 (ClasspathToolParser): Add -J option here.
5498 (ClasspathToolParser): Call other constructor in this class.
5499 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5500 Handle joined options.
5501 (handleShortOptions): Likewise.
5502 (handleShortOption): Removed.
5503 (finalGroup): New field.
5504 (Parser): Initialize new field. Don't add -J option.
5505 (addFinal): New method.
5506 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5508 * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5509 (Option): Check short option for validity.
5510 (Option): New constructors.
5511 (joined): New field.
5513 2006-09-21 csm <csm@pollux.local>
5515 * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5516 `InterruptedIOException;' try again if it gets thrown.
5517 (receive): likewise, but re-throw `SocketTimeoutException.'
5518 * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5519 if we have nothing to select.
5521 2006-09-21 Francis Kung <fkung@redhat.com>
5523 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5524 (getLogicalBounds): Respect glyph transformations.
5525 (getGlyphOutline): Added null pointer check.
5526 (getGlyphTransform): Do not generate identity transform (API permits null).
5527 (setGlyphPosition): Do not invalidate transform.
5528 (setGlyphTransform): Do not modify glyph position.
5530 2006-09-21 Francis Kung <fkung@redhat.com>
5532 * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5534 2006-09-21 Francis Kung <fkung@redhat.com>
5536 * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5537 * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5538 * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5540 2006-09-21 Tania Bento <tbento@redhat.com>
5542 * javax/swing/JTabbedPane.java:
5543 (insertTab): Notify ChangeListeners if the tab inserted is selected.
5544 (setModel): A ChangeListener should be created only if there does not
5545 currently exist one.
5547 2006-09-21 David Gilbert <david.gilbert@object-refinery.com>
5549 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5550 (MaximizeAction.actionPerformed): Change icon on maxButton.
5552 2006-09-21 Roman Kennke <kennke@aicas.com>
5554 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5555 (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5556 Use more efficient getViewPosition() and getViewSize() methods
5557 to avoid creating a rectangle.
5558 (HSBChangeListener.stateChanged): Update the view position
5559 unconditionally. Let the Viewport figure out if something
5561 (VSBChangeListener.stateChanged): Update the view position
5562 unconditionally. Let the Viewport figure out if something
5564 * javax/swing/JViewport.java
5565 (ViewListener.componentResized): Fire state change, because
5566 the extentSize changes.
5567 (extentSize): Removed unneeded field.
5568 (viewSize): Removed unneeded field.
5569 (getExtentSize): Return the viewport's size here.
5570 (getViewRect): Reformatted.
5571 (getViewSize): Reordered for only one return statement.
5572 (paintImmediately2): Fixed up javadoc.
5573 (paint): Removed unneeded statement.
5574 (setExtentSize): Set viewport size and check for actual change
5576 (setViewPosition): Simplified condition. Set scrollUnderway
5577 true and don't set isViewSizeSet. Avoid creating one Point
5579 (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5581 * javax/swing/JScrollBar.java
5582 (ScrollBarListener): New class. Forwards change events from
5583 the model as adjustment events.
5584 (sbChangeListener): New field.
5585 (JScrollBar): Install listener on new model.
5586 (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5588 (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5589 method to allow custom isAdjusting value.
5590 (setMaximum): Only forward to model.
5591 (setMinimum): Only forward to model.
5592 (setValue): Only forward to model.
5593 (setVisibleAmount): Only forward to model.
5594 (setValues): Only forward to model.
5595 (setModel): Update the change listener.
5597 2006-09-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
5599 * java/util/Formatter.java (basicIntegralConversion): Removed
5600 check for ZERO && !LEFT_JUSTIFY.
5602 2006-09-20 Roman Kennke <kennke@aicas.com>
5605 * javax/swing/plaf/metal/DefaultMetalTheme.java
5606 (PLAIN_CONTROL_TEXT_FONT): New constant field.
5607 (BOLD_CONTROL_TEXT_FONT): New constant field.
5608 (PLAIN_MENU_TEXT_FONT): New constant field.
5609 (BOLD_MENU_TEXT_FONT): New constant field.
5610 (controlTextFont): Removed.
5611 (menuTextFont): Removed.
5612 (CONTROL_TEXT_FONT): New constant field.
5613 (MENU_TEXT_FONT): New constant field.
5614 (getControlTextFont): Use getFont() helper method for fetching
5616 (getMenuTextFont): Use getFont() helper method for fetching
5618 (getFont): New helper method.
5619 (isBoldMetal): New helper method.
5621 2006-09-20 Casey Marshall <csm@gnu.org>
5623 * NEWS: mention epoll selector along with the kqueue one.
5625 2006-09-20 Casey Marshall <csm@gnu.org>
5627 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5628 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5630 2006-09-20 Francis Kung <fkung@redhat.com>
5633 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5634 (getGlyphTransform): Use translation instead of scale.
5635 (performDefaultLayout): Increment position values instead of resetting, and
5636 pre-increment instead of post-increment.
5637 (setGlyphTransform): Handle null case with identity transform.
5639 2006-09-20 Casey Marshall <csm@gnu.org>
5641 * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5642 (AC_CHECK_FUNCS): check for `epoll_create.'
5643 * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5644 * gnu/java/nio/EpollSelectorImpl.java: new file.
5645 * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5647 (openSelector): return epoll selector if requested and available.
5648 * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5649 (gnu_java_nio_EpollSelectorImpl.h): new target.
5650 * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5651 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5652 gnu_java_nio_EpollSelectorImpl.c.
5653 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5655 2006-09-20 Casey Marshall <csm@gnu.org>
5657 * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5659 (isConnected): return false if `connectionPending' is true.
5661 2006-09-20 Francis Kung <fkung@redhat.com>
5664 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5665 (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5666 (getGlyphOutline): Call getGylphTransform to generate transform.
5667 (getGylphPosition): Read position directly out of array.
5668 (getGlyphPositions): Read positions directly out of array.
5669 (getGlyphTransform): Generate transform based on gylphPositions array.
5670 (performDefaultLayout): Populate glyphPositions array instead of transforms.
5671 (setGlyphPosition): Set position directly into array.
5672 (setGlyphTransform): Update positions array as well.
5674 2006-09-20 David Daney <ddaney@avtrex.com>
5677 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Add
5678 default content-type for POST method.
5680 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5682 * javax/swing/plaf/basic/BasicRadioButtonUI.java
5683 (BasicRadioButtonUI): Don't fetch icon here,
5684 (installDefaults): Initialise icon here,
5685 (getDefaultIcon): Just return icon.
5687 2006-09-20 Mark Wielaard <mark@klomp.org>
5689 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5690 Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5691 (EXTRA_DIST): Include javanio.c.
5693 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5695 * java/awt/geom/RoundRectangle2D.java:
5696 (getPathIterator): Reimplemented,
5697 and updated various API doc comments.
5699 2006-09-20 Roman Kennke <kennke@aicas.com>
5701 * java/awt/Container.java
5702 (addImpl): Set the new component's parent after it has been
5703 added to the array. Call addNotify() and invalidate()
5704 after the component has been added, so that the peer
5705 gets to know about the component structure when it is created.
5706 * java/awt/Window.java
5707 (dispatchEventImpl): Only revalidate when window is resized,
5708 let the other stuff be processed by the superclass.
5709 (dispose): Post WINDOW_CLOSED event only when some listener
5710 is registered or event is explicitly enabled.
5711 (show): Post WINDOW_OPENED event when appropriate.
5713 2006-09-20 Roman Kennke <kennke@aicas.com>
5715 * java/awt/Component.java
5716 (addNotify): Invalidate here. Fetch peer font.
5717 (getFont): Delegate to helper method, to protect from
5718 overriding client code. Lock the tree while fetching the font.
5719 (getFontImpl): New helper method. Moved code from getFont() in
5721 (removeNotify): Nullify peerFont too.
5722 (setFont): Synchronize on tree and component to avoid threading
5723 issues. Update the peerFont correctly.
5724 (validate): Update the peer font if necessary, before validating.
5725 (getGraphics): Revert to recursive graphics fetching.
5726 Set component font on the Graphics object.
5727 (translateEvent): Removed unnecessary cast.
5728 * java/awt/Container.java
5729 (invalidateTree): Made final and private. Made implementation
5730 slightly more efficient.
5731 (setFont): Get old and new font via getFont() to account for
5732 the real font, and only invalidate the tree when they are not
5733 the same and not equal.
5734 (visitChild): Set the font of the child on the component graphics.
5735 * java/awt/Frame.java
5736 (setMenuBar): Create local reference of peer for thread safety.
5737 Only call simple invalidate, not invalidateTree().
5739 2006-09-19 Cameron McCormack <cam@mcc.id.au>
5742 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5743 (constructor): Copy image field.
5745 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5747 * javax/swing/JMenuBar.java
5748 (getHelpMenu): Implemented to throw an Error, and added API docs,
5749 (getMargin): Added API docs,
5750 (setMargin): Likewise.
5752 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5754 * javax/swing/AbstractButton.java
5755 (AbstractButton): Don't call updateUI(),
5756 * javax/swing/JButton.java
5757 (JButton(String, Icon)): Call setModel() before init(),
5758 * javax/swing/JMenuItem.java
5759 (JMenuItem()): Delegate to another constructor,
5760 (JMenuItem(Icon)): Likewise,
5761 (JMenuItem(Action)): Set model,
5762 (JMenuItem(String, Icon)): Likewise,
5763 * javax/swing/JToggleButton.java
5764 (init): Call setModel() before init().
5766 2006-09-19 Mark Wielaard <mark@klomp.org>
5769 * java/util/logging/LogManager.java (addLogger): Always check for
5770 existing children of a new Logger.
5772 2006-09-19 Roman Kennke <kennke@aicas.com>
5774 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5775 (HSBChangeListener.stateChanged): Moved handling of header to
5776 syncScrollPaneWithViewport().
5777 (VSBChangeListener.stateChanged): Moved handling of header to
5778 syncScrollPaneWithViewport().
5779 (ViewportChangedHandler.stateChanged): Removed unused statements.
5780 (syncScrollPaneWithViewport): Added null checks. Use setValues
5781 rather then the single setter methods to avoid multiple
5782 adjustments and side effects. Also snyc the headers here.
5783 (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5784 (uninstallUI): Removed unnecessary cast and this qualifier as well
5785 as the call to super.
5787 2006-09-19 Gary Benson <gbenson@redhat.com>
5789 * java/net/ResolverCache.java: New class (a DNS cache).
5790 * java/net/InetAddress.java
5791 (internalGetCanonicalHostName, getAllByName): Use the above.
5793 2006-09-19 Jeroen Frijters <jeroen@frijters.net>
5795 * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5796 * java/net/ServerSocket.java
5798 (bind): Set port field.
5799 (close): Set impl to null.
5800 (isClosed): Check impl and channel instead of using VMChannel.
5801 (toString): Use port field and getLocalPort() method.
5802 * java/net/Socket.java
5803 (isClosed): Check impl and channel instead of using VMChannel.
5805 2006-09-18 Tom Tromey <tromey@redhat.com>
5807 * java/util/concurrent/CopyOnWriteArrayList.java
5808 (CopyOnWriteArrayList): New constructor.
5810 2006-09-18 Casey Marshall <csm@gnu.org>
5812 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5813 (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5815 2006-09-18 Tom Tromey <tromey@redhat.com>
5817 * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
5818 isConnected): Removed old comment.
5819 (getRemoteSocketAddress): Uncommented.
5820 (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
5821 setTrafficClass, getTrafficClass, setReuseAddress,
5822 getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
5823 isOutputShutdown): Uncommented.
5825 2006-09-18 David Pirkle <dpirkle@symyx.com>
5828 * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
5829 input stream during resolution.
5831 2006-09-18 Roman Kennke <kennke@aicas.com>
5833 * java/awt/LightweightDispatcher.java
5834 (findTarget): Correctly translate child coordinates.
5835 Use Component.eventTypeEnabled() for checking if a component
5836 has a certain event enabled.
5837 (handleMouseEvent): Find the correct mouse event target.
5838 Use Component.eventTypeEnabled() for checking if a component
5839 has a certain event enabled.
5841 2006-09-18 Roman Kennke <kennke@aicas.com>
5843 * java/awt/Component.java
5844 (show): Test for the peer beeing lightweight directly.
5845 (paintAll): Validate before painting. Don't paint when not
5846 showing. Call peer.paint() when the component is heavyweight.
5847 (repaint): Delegate to the parent when lightweight, rather
5848 than skipping to the nearest heavyweight.
5849 (createImage): Added null check to prevent NPE.
5850 (dispatchEvent): Moved old event dispatching and toolkit
5851 event dispatching to dispatchEventImpl.
5852 (addComponentListener): Don't enable event. Only add listener
5853 when not null. Switch to new event dispatching only.
5854 (addFocusListener): Likewise.
5855 (addHierarchyListener): Likewise.
5856 (addHierarchyBoundsListener): Likewise.
5857 (addKeyListener): Likewise.
5858 (addMouseListener): Likewise.
5859 (addMouseMotionListener): Likewise.
5860 (addMouseWheelListener): Likewise.
5861 (addInputMethodListener): Likewise.
5862 (coalesceEvents): For mouse events coalesce them only when
5863 their modifiers are equal. For paint events coalesce the events
5864 when one contains the other, without going through complicated
5866 (dispatchEventImpl): Moved old event dispatching and toolkit
5867 event dispatching to dispatchEventImpl.
5868 (coalescePaintEvents): Removed.
5869 (HeavyweightInLightweightListener.componentHidden):
5871 * java/awt/Container.java
5872 (addImpl): Don't enable events on lightweights.
5873 (remove): Reordered operations. Don't remove any listeners.
5874 Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
5875 Only removeNotify() when peer is != null. Only invalidate if
5876 not already invalid. Only fire ContainerEvent if there is
5877 an interested listener or the event is enabled. Dispatch this
5878 event directly without the event queue.
5879 (removeAll): Likewise.
5880 (paintComponents): Only paint when showing. Also paint heavyweights.
5881 Don't paint the container itself.
5882 (removeNotify): Create local variables for improved thread safety.
5883 (addNotifyContainerChildren): Don't enable events for lightweights.
5885 2006-09-18 Roman Kennke <kennke@aicas.com>
5887 * java/awt/EventQueue.java
5888 (INITIAL_QUEUE_DEPTH): Removed obsolete field.
5889 (next_in): Removed obsolete field.
5890 (next_out): Removed obsolete field.
5891 (queueHead): New field. Markes the head of the queue.
5892 (queueTail): New field. Markes the tail of the queue.
5893 (queue): Removed obsolete field.
5894 (EventQueue): Documented empty block.
5895 (getNextEvent): Changed array based implementation to single-linked
5896 list based implementation.
5897 (invokeAndWait): Use an Object as synchronization object rather
5898 than the current thread.
5899 (peekEvent(int)): Changed array based implementation to single-linked
5900 list based implementation.
5901 (peekEvent()): Changed array based implementation to single-linked
5902 list based implementation.
5903 (pop()): Changed array based implementation to single-linked
5904 list based implementation.
5905 (postEvent): Foward to postEventImpl.
5906 (postEventImpl): Changed array based implementation to single-linked
5907 list based implementation.
5908 (push): Changed array based implementation to single-linked
5909 list based implementation.
5910 * java/awt/AWTEvent.java
5911 (queueNext): New field. Implements a single-linked list for
5914 2006-09-17 Mark Wielaard <mark@klomp.org>
5916 * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
5917 resource from HTMLEditorKit.class.
5919 2006-09-17 Mark Wielaard <mark@klomp.org>
5921 * javax/swing/plaf/basic/BasicToolBarUI.java
5922 (setBorderToNonRollover): Check whether border is null.
5923 (setBorderToRollover): Likewise.
5925 2006-09-17 Mark Wielaard <mark@klomp.org>
5927 * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
5929 2006-09-17 Mark Wielaard <mark@klomp.org>
5931 * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
5932 * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
5933 * native/jni/java-nio/gnu_java_nio_VMChannel.c
5934 (Java_gnu_java_nio_VMChannel_lock): Likewise.
5935 (Java_gnu_java_nio_VMChannel_unlock): Likewise.
5937 2006-09-17 Casey Marshall <csm@gnu.org>
5939 * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
5942 2006-09-17 Chris Burdess <dog@gnu.org>
5944 Fixes PR 27610 27687.
5945 * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
5946 * gnu/xml/transform/SAXTemplatesHandler.java,
5947 * gnu/xml/transform/SAXTransformerHandler.java: New files.
5948 * gnu/xml/transform/TransformerFactoryImpl.java: Implement
5949 SAXTransformerFactory.
5951 2006-09-16 Casey Marshall <csm@gnu.org>
5954 * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
5955 (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
5957 (HAVE_INET6): define if IPv6 is supported.
5958 * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
5959 (native_fd): removed.
5961 (<init>): throw IOException; initialize fields.
5962 (finalize): removed.
5963 (getNativeFD): removed.
5964 (bind): use `PlainSocketImpl.bind.'
5965 (create): use `PlainSocketImpl.initSocket.'
5966 (disconnect): use `PlainSocketImpl.disconnect.'
5967 (getLocalPort): new method.
5968 (send): use `VMChannel.send.'
5969 (receive): use `VMChannel.receive.'
5970 (setOption): use `PlainSocketImpl.setOption.'
5971 (getOption): use `PlainSocketImpl.getOption.'
5972 (close): use `VMChannel.State.close.'
5973 (join): use `PlainSocketImpl.join.'
5974 (leave): use `PlainSocketImpl.leave.'
5975 (joinGroup, leaveGroup): implemented.
5976 * gnu/java/net/PlainSocketImpl.java: make non-final.
5977 (native_fd): removed.
5979 (channel): new field.
5980 (<init>): initialize `impl.'
5981 (finalize, getNativeFD): removed.
5982 (setOption): use `PlainSocketImpl.setOption.'
5983 (getOption): use `PlainSocketImpl.getOption.'
5984 (shutdownInput): use `PlainSocketImpl.shutdownInput.'
5985 (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
5986 (create): create `channel,' initialize `impl's native state.
5987 (connect): use `connect(SocketAddress, int).'
5988 (connect): use `SocketChannelImpl.connect;' initialize `address'
5990 (bind): use `VMPlainSocketImpl.bind.'
5991 (listen): use `VMPlainSocketImpl.listen.'
5992 (accept): use `SocketChannelImpl.accept.'
5993 (available): use `VMChannel.available.'
5994 (close): use `PlainSocketImpl.close.'
5995 (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
5996 (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
5997 getPort): new methods.
5998 (SocketInputStream.read): use `VMChannel.read.'
5999 (SocketInputStream.read): use `SocketChannel.read.'
6000 (SocketOutputStream.write): use `VMChannel.write.'
6001 (SocketOutputStream.write): use `SocketChannel.write.'
6002 * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
6003 (channel): new field.
6004 (<init>): initialize `channel.'
6005 (implCloseSelectableChannel): use `VMChannel.close.'
6006 (implConfigureBlocking): use `VMChannel.setBlocking.'
6007 (connect): use `VMChannel.connect.'
6008 (disconnect): use `VMChannel.disconnect.'
6009 (isConnected): use `VMChannel.getPeerAddress.'
6010 (write): use `VMChannel.write.'
6011 (write): use `VMChannel.writeGathering.'
6012 (read): use `VMChannel.read.'
6013 (read): use `VMChannel.readScattering.'
6014 (receive): use `VMChannel.receive.'
6015 (send): use `VMChannel.send.'
6016 (getVMChannel): new method.
6017 * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
6018 access native FD through VMChannel.State.
6019 * gnu/java/nio/FileChannelImpl.java: moved from
6020 gnu/java/nio/channels/FileChannelImpl.java.
6021 * gnu/java/nio/FileLockImpl.java: fix imports.
6022 * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
6023 * gnu/java/nio/KqueueSelectorImpl.java: new file.
6024 * gnu/java/nio/NIOSocket.java (impl): removed.
6025 (channel): new field.
6026 (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
6027 (getPlainSocketImpl, setChannel): removed.
6028 (isConnected): new method.
6029 * gnu/java/nio/NIOSocketImpl.java: new file.
6030 * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
6032 (SourceChannelImpl.native_fd): removed.
6033 (SourceChannelImpl.<init>): init with a `VMChannel.'
6034 (SourceChannelImpl.getNativeFD): removed.
6035 (SourceChannelImpl.getVMChannel): new method.
6036 (SourceChannelImpl.implCloseSelectableChannel): implement.
6037 (SinkChannelImpl): implement `VMChannelOwner.'
6038 (SinkChannelImpl.native_fd): removed.
6039 (SinkChannelImpl.<init>): init with a `VMChannel.'
6040 (SinkChannelImpl.implCloseSelectableChannel): implement.
6041 (SinkChannelImpl.getNativeFD): removed.
6042 (SinkChannelImpl.getVMChannel): new method.
6043 * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
6045 * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
6046 SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
6047 (openSelector): return kqueue selector if available.
6048 * gnu/java/nio/ServerSocketChannelImpl.java: implement
6050 (channel): new field.
6051 (<init>): init `channel.'
6052 (finalizer): check if the `VMChannel.State' is valid.
6053 (implCloseSelectableChannel): use `VMChannel.close.'
6054 (implConfigureBlocking): use `VMChannel.setBlocking.'
6055 (accept): use `VMChannel.accept.'
6056 (getVMChannel): new method.
6057 * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
6058 access native FD through `VMChannel.State.'
6059 * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
6061 (channel, connected, connectAddress): new field.
6062 (<init>): new constructors.
6063 (getPlainSocketImpl): removed.
6064 (implCloseSelectableChannel): use `VMChannel.close.'
6065 (implConfigureBlocking): use `VMChannel.setBlocking.'
6066 (connect): use `connect(SocketAddress,int).'
6067 (connect): use `VMChannel.connect.'
6068 (finishConnect): don't use a selector.
6069 (isConnected): use `VMChannel.getPeerAddress.'
6070 (read): use `VMChannel.read.'
6071 (read): use `VMChannel.readScattering.'
6072 (write): use `VMChannel.write.'
6073 (write): use `VMChannel.writeGathering.'
6074 (getVMChannel): new method.
6075 * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
6076 native FD from `VMChannel.State.'
6077 * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
6078 get native FD from `VMChannel.State.'
6079 * gnu/java/nio/VMChannelOwner.java: new file.
6080 * gnu/java/nio/channels/FileChannelImpl.java: removed.
6081 * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
6082 and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
6083 `gnu_java_nio_channels_FileChannelImpl.h.'
6084 * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
6085 * include/gnu_java_nio_FileChannelImpl.h: new file.
6086 * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
6087 * include/gnu_java_nio_VMChannel.h: regenerated.
6088 * include/gnu_java_nio_VMPipe.h: regenerated.
6089 * include/java_net_VMNetworkInterface.h: regenerated.
6090 * java/io/FileDescriptor.java: fix imports.
6091 * java/io/FileInputStream.java (<init>): handle exceptions.
6092 (read): wrap the destination arary.
6093 * java/io/FileOutputStream.java (<init>): handle exceptions.
6094 (write): wrap the source array.
6095 * java/io/RandomAccessFile.java (<init>): handle exceptions.
6096 * java/net/DatagramSocket.java (<init>): handle exceptions.
6097 (receive): handle length/port setting.
6098 (connect): bind to any address/port if the argument is null.
6099 * java/net/NetworkInterface.java (name, inetAddress): removed.
6101 (<init>): make private.
6102 (getName): return `netif.name.'
6103 (getInetAddresses): access `netif.addresses.'
6104 (getDisplayName): return `netif.name.'
6105 (getByName, getByAddress): handle changes to `VMNetworkInterface.'
6106 (condense): removed.
6107 (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
6108 (equals): compare `netif' fields.
6109 (hashCode): get hash codes from `netif.'
6110 (toString): use a StringBuffer.
6111 * java/net/ServerSocket.java (close): don't set `impl' to null.
6112 (isClosed): use `VMChannel.State.isClosed.'
6113 * java/net/Socket.java (getLocalAddress): don't use `getOption' if
6114 the `SocketImpl' is a `PlainSocketImpl.'
6115 (close): just close the `impl.'
6116 (toString): use `super.toString' in the value we return.
6117 (isConnected): just access `impl,' not `getImpl.'
6118 (isBound): use `PlainSocketImpl' methods if we can.
6119 (isClosed): look at `VMChannel.State.'
6120 * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
6121 (JCL_NewRawDataObject): don't initialize cached fields here; throw
6122 an exception if they were not.
6123 (JCL_GetRawData): throw an exception if cached fields weren't
6125 * native/jni/java-lang/java_lang_VMProcess.c: handle
6126 FileChannelImpl move.
6127 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
6128 (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
6129 THROW_NO_NETWORK): new macros.
6130 (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
6131 (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
6132 (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
6133 (java_sockopt): new enum.
6134 (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
6135 (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
6136 (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
6138 (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
6140 (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
6142 (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
6143 (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
6144 (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
6145 (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
6146 (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
6147 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
6148 (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
6149 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
6150 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
6151 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
6152 (getif_address): new function.
6153 (getif_index): new function.
6154 * native/jni/java-net/java_net_VMNetworkInterface.c
6155 (java_net_VMNetworkInterface_init,
6156 java_net_VMNetworkInterface_addAddress): new file-scope globals.
6157 (Java_java_net_VMNetworkInterface_initIds): new function.
6158 (struct netif_entry): new struct.
6159 (free_netif_list): new function.
6160 (Java_java_net_VMNetworkInterface_getInterfaces): removed.
6161 (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
6162 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
6163 gnu_java_nio_channels_FileChannelImpl.c, add
6164 gnu_java_nio_KqueueSelectorImpl.c.
6165 * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
6166 * native/jni/java-nio/gnu_java_nio_VMChannel.c
6167 (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
6168 ALIGN_DOWN): new macros.
6169 (JCL_init_buffer): get the address through GetDirectBufferAddress
6171 (Java_gnu_java_nio_VMChannel_stdin_1fd,
6172 Java_gnu_java_nio_VMChannel_stdout_1fd,
6173 Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
6174 (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
6176 (Java_gnu_java_nio_VMChannel_read): renamed...
6177 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
6178 this; handle interrupted IO; add HAVE_READ check.
6179 (Java_gnu_java_nio_VMChannel_write): renamed...
6180 (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
6181 this; handle zero-length write; add HAVE_WRITE check.
6182 (Java_gnu_java_nio_VMChannel_receive): new function.
6183 (Java_gnu_java_nio_VMChannel_send): new function.
6184 (Java_gnu_java_nio_VMChannel_send6): new function.
6185 (Java_gnu_java_nio_VMChannel_read__I): new function.
6186 (Java_gnu_java_nio_VMChannel_write__II): new function.
6187 (Java_gnu_java_nio_VMChannel_socket): new function.
6188 (Java_gnu_java_nio_VMChannel_connect): new function.
6189 (Java_gnu_java_nio_VMChannel_connect6): new function.
6190 (Java_gnu_java_nio_VMChannel_getsockname): new function.
6191 (Java_gnu_java_nio_VMChannel_getpeername): new function.
6192 (Java_gnu_java_nio_VMChannel_accept): new function.
6193 (Java_gnu_java_nio_VMChannel_disconnect): new function.
6194 (Java_gnu_java_nio_VMChannel_close): new function.
6195 (Java_gnu_java_nio_VMChannel_available): new function.
6196 (FileChannel_mode): new enum.
6197 (Java_gnu_java_nio_VMChannel_open): new function.
6198 (Java_gnu_java_nio_VMChannel_position): new function.
6199 (Java_gnu_java_nio_VMChannel_seek): new function.
6200 (Java_gnu_java_nio_VMChannel_truncate): new funciton.
6201 (Java_gnu_java_nio_VMChannel_lock): new function.
6202 (Java_gnu_java_nio_VMChannel_unlock): new function.
6203 (Java_gnu_java_nio_VMChannel_size): new function.
6204 (Java_gnu_java_nio_VMChannel_map): new function.
6205 (Java_gnu_java_nio_VMChannel_flush): new function.
6206 * native/jni/java-nio/gnu_java_nio_VMPipe.c
6207 (Java_gnu_java_nio_VMPipe_init): removed.
6208 (Java_gnu_java_nio_VMPipe_pipe0): new function.
6209 * native/jni/java-nio/javanio.c: new file.
6210 * native/jni/java-nio/javanio.h: new file.
6211 * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
6212 systems without `gethostbyname_r.'
6213 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
6215 (<init>, <init>): new constructors.
6216 (setOption, getOption): make instance methods; defer to native
6219 (bind): make an instance method; defer to native methods.
6221 (available): removed.
6222 (listen): make an instance method; defer to native method.
6224 (join, leave): new methods.
6226 (joinGroup, leaveGroup): new methods.
6227 (shutdownInput, shutdownOutput): make instance methods.
6228 (sendUrgentData): removed.
6230 * vm/reference/gnu/java/nio/VMChannel.java: make final.
6233 (<init>): new, public constructors.
6234 (getVMChannel): methods removed.
6235 (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
6236 stderr_fd): new methods.
6237 (setBlocking): make an instance method.
6238 (available): new method.
6239 (read): get native fd from `nfd.'
6240 (read): new single-byte read method.
6241 (readScattering): get native fd from `nfd.'
6242 (receive): new method.
6243 (write, writeGathering): get native fd from `nfd.'
6245 (write): new single-byte write method.
6246 (initSocket): new method.
6247 (connect): new method.
6248 (disconnect): new method.
6249 (getLocalAddress): new method.
6250 (getPeerAddress): new method.
6251 (accept): new method.
6252 (openFile): new method.
6253 (position): new method.
6255 (truncate): new method.
6257 (unlock): new method.
6260 (flush): new method.
6261 (close): new method.
6264 * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
6265 (pipe, pipe0): new method.
6266 * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
6268 (<clinit>): call `initIds.'
6269 (initIds): new method.
6270 (getInterfaces): removed.
6271 (getVMInterfaces): new method.
6272 (addAddress): new method.
6273 * vm/reference/java/nio/channels/VMChannels.java: fix imports.
6275 2006-09-16 Chris Burdess <dog@gnu.org>
6278 * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
6279 when in text output mode.
6281 2006-09-16 Chris Burdess <dog@gnu.org>
6284 * gnu/xml/dom/DomNode.java: Increment length of node during insert.
6286 2006-09-14 Michael Koch <konqueror@gmx.de>
6288 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
6290 2006-09-15 Chistian Elias Naur <elias@oddlabs.com>
6292 * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
6293 Added !cl.isArray() to serialVersionUID mismatch check.
6295 2006-09-14 Francis Kung <fkung@redhat.com>
6297 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6298 (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
6299 be compatibe with Cairo 1.2.x.
6301 2006-09-14 Francis Kung <fkung@redhat.com>
6303 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
6304 (cairoSurfaceSetFilter): Removed method.
6305 (drawImage): Pass interpolation type as argument to drawing methods.
6306 (drawPixels): Added interpolation parameter.
6307 (drawRaster): Pass interpolation type as argument to drawing method.
6308 (getInterpolation): New method.
6309 (setRenderingHint): Store hints, but do not set interpolation in cairo.
6310 (setRenderingHints): Store hints, but do not set interpolation in cairo.
6311 * gnu/java/awt/peer/gtk/CairoSurface.java
6312 (drawSurface): Added interpolation parameter.
6313 (nativeDrawSurface): Added interpolation parameter.
6314 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
6315 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6317 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6318 * native/jni/gtk-peer/cairographics2d.h
6319 (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
6320 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6321 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6323 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6324 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
6325 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
6326 interpolation parameter.
6328 2006-09-14 Gary Benson <gbenson@redhat.com>
6330 * java/net/InetAddress.java
6331 (internalGetCanonicalHostName): New method.
6332 (getCanonicalHostName): Use internalGetCanonicalHostName.
6333 (getByLiteral): New method.
6334 (getAllByName): Use getByLiteral.
6335 * java/net/SocketPermission.java
6336 (host): Replaced with...
6337 (hostname, address): New fields.
6338 (equals, hashcode): Reflect the above.
6339 (setHostPort): Parse host into hostname or address.
6340 (implies): Rewrite host checks.
6342 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6345 * java/awt/Menu.java
6346 (insert(MenuItem, int)): Fixed loop range,
6347 (insert(String, int)): Updated API docs.
6349 2006-09-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
6352 * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
6353 architectures (like Arm).
6354 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
6355 Reverted SWAP_DOUBLE patch.
6356 (doubleToRawLongBits): Likewise.
6357 (longBitsToDouble): Likewise.
6359 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6361 * java/awt/Menu.java: Reformatted source file.
6363 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6365 * gnu/java/rmi/server/ActivatableRef.java
6366 (readExternal, writeExternal): Partial fix for serialization format.
6368 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6371 * java/io/InputStreamReader.java
6372 (read(char[],int,int)): Fixed bug.
6374 2006-09-13 Francis Kung <fkung@redhat.com>
6376 * java/awt/image/BandCombineOp.java: Updated documentation.
6377 (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
6379 2006-09-13 Tom Tromey <tromey@redhat.com>
6382 * java/io/PipedReader.java (read): Return early if len==0.
6383 * java/io/PipedInputStream.java (read): Return early if len==0.
6385 2006-09-13 Francis Kung <fkung@redhat.com>
6387 * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
6388 Removed hard-coded max sample value.
6389 * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)):
6390 Fixed finding of max sample value.
6392 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6394 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6395 (setPaint): Check null argument ('p').
6397 2006-09-12 Francis Kung <fkung@redhat.com>
6400 * gnu/java/awt/java2d/TexturePaintContext.java
6401 (constructor): Fixed typo, getMinY instead of getMaxX.
6402 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6403 (setPaint): Implemented support for custom Paint classes.
6404 (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
6405 (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
6406 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
6407 to setPaintPixels, and added repeat parameter.
6408 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
6409 Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
6411 2006-09-12 Gary Benson <gbenson@redhat.com>
6413 * java/net/NetworkInterface.java (getInetAddresses):
6414 Fix port used in security check.
6416 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6418 * javax/swing/plaf/metal/DefaultMetalTheme.java
6419 (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
6420 (MENU_TEXT_FONT): Renamed 'menuTextFont',
6421 (getControlTextFont): Check 'swing.boldMetal' setting before
6423 (getMenuTextFont): Likewise.
6425 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6427 * javax/swing/plaf/metal/OceanTheme.java
6428 (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
6430 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6432 * javax/swing/plaf/metal/MetalIconFactory.java
6433 (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
6435 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6437 * javax/swing/AbstractSpinnerModel.java: API doc updates.
6439 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6441 * javax/swing/AbstractButton.java
6442 (AbstractButton): Initialise textIconGap field.
6444 2006-09-11 Tom Tromey <tromey@redhat.com>
6446 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6447 "volatile" when needed.
6449 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6451 * java/text/AttributedCharacterIterator.java
6452 (LANGUAGE): Initialise with lower case string,
6453 (INPUT_METHOD_SEGMENT): Likewise,
6454 (READING): Likewise,
6455 * java/text/AttributedStringIterator.java
6456 (getRunLimit): Check all attributes for changes.
6458 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6460 * java/text/AttributedCharacterIterator.java: Added @since tag,
6461 renamed some variables (no underscores) and removed some spaces to
6462 match the common style,
6463 * java/text/AttributedString.java: Likewise,
6464 * java/text/AttributedStringIterator.java: Likewise.
6466 2006-09-11 Gary Benson <gbenson@redhat.com>
6468 * java/net/Inet4Address.java
6469 (FAMILY): Renamed back to AF_INET.
6470 (<init>, writeReplace): Reflect the above.
6471 * java/net/Inet6Address.java
6472 (FAMILY): Renamed back to AF_INET6.
6473 (<init>): Reflect the above.
6475 2006-09-11 Cameron McCormack <cam-gcc-bugzilla@aka.mcc.id.au>
6478 * java/text/AttributedString.java
6479 (AttributedString(AttributedCharacterIterator, int, int,
6480 AttributedCharacterIterator.Attribute[])): Fixed check for defined
6483 2006-09-11 Gary Benson <gbenson@redhat.com>
6485 * java/net/Inet4Address.java
6486 (AF_INET): Renamed to FAMILY.
6487 (<init>, writeReplace): Reflect the above.
6488 * java/net/Inet6Address.java
6489 (AF_INET6): Renamed to FAMILY.
6490 (<init>): Reflect the above.
6492 2006-09-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
6495 Originally in Kaffe: 2004-04-16 Helmer Kraemer <hkraemer@freenet.de>
6496 * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6497 * java/net/Socket.java: Avoid creating a redundant file descriptor.
6498 (implCreated): Deleted, (getImpl): Don't check impleCreated,
6499 (bind): Call getImpl().create(true).
6501 2006-09-09 Chris Burdess <dog@gnu.org>
6503 * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6504 an instance of org.w3c.dom.NodeList.
6506 2006-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
6508 * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6509 missing security manager when run in standalone mode.
6511 2006-09-08 Francis Kung <fkung@redhat.com>
6513 * java/awt/image/AffineTransformOp.java: Updated documentation.
6514 (createCompatibleDestRaster): Updated formatting.
6515 (filter(BufferedImage, BufferedImage)): Updated formatting.
6516 (filter(Raster, WritableRaster)): Delegated processing to native peers for
6517 if colour model is compatible.
6518 (filterBicubic): Get entire pixel at once, and use appropriate array type.
6519 (filterBilinear): Get entire pixel at once, and use appropriate array type.
6521 2006-09-08 Gary Benson <gbenson@redhat.com>
6523 * java/net/InetAddress.java
6524 (family): Updated javadoc and made private.
6525 (<init>): Add an address family argument.
6526 (readObject): Don't overwrite family.
6527 * java/net/Inet4Address.java
6528 (AF_INET): New constant.
6529 (<init>): Use AF_INET as the family.
6530 (writeReplace): Likewise.
6531 * java/net/Inet6Address.java
6532 (AF_INET6): New constant.
6533 (<init>): Use AF_INET6 as the family.
6535 2006-09-08 Gary Benson <gbenson@redhat.com>
6537 * java/net/InetAddress.java
6538 (getHostName): Move lookup into getCanonicalHostName.
6539 (getCanonicalHostName): Move lookup from getHostName,
6540 Perform security check on canonical name (ie after lookup).
6542 2006-09-08 Gary Benson <gbenson@redhat.com>
6544 * java/net/Inet4Address.java (isMulticastAddress,
6545 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6546 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6547 isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6548 implementations from InetAddress.
6549 * java/net/InetAddress.java (isMulticastAddress,
6550 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6551 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6552 isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6553 implementations with UnsupportedOperationExceptions.
6555 2006-09-08 Gary Benson <gbenson@redhat.com>
6557 * java/net/InetAddress.java
6558 (inaddr_any): Removed.
6559 (ANY_IF, LOCALHOST): Create using getByAddress.
6560 (<init>): Updated javadoc.
6561 (getHostName): Cache hostname even if the lookup failed.
6562 (getByAddress): Create Inet4Address objects when passed
6563 IPv4-mapped IPv6 addresses.
6565 (getAllByName): Create address objects using getByAddress.
6566 Do not perform security checks unless actually required.
6567 Do not strip whitespace from the hostname.
6568 (getInaddrAny): Removed.
6569 (getLocalHost): Return the loopback address if getByName
6570 throws a SecurityException.
6571 (readResolve): Updated javadoc.
6572 * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6573 * include/java_net_VMInetAddress.h
6574 (Java_java_net_VMInetAddress_aton): Likewise.
6575 * native/jni/java-net/java_net_VMInetAddress.c
6576 (Java_java_net_VMInetAddress_aton): New method.
6577 * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6578 * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6579 * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6580 * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6581 * NEWS: Added note about updated VM interface.
6583 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6585 * javax/swing/plaf/basic/BasicInternalFrameUI.java
6586 (setNorthPane): Assign component to titlePane.
6588 2006-09-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6590 * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6591 Remove unused variable alt_addr.
6592 * gnu/CORBA/NamingService/NameTransformer.java (toName):
6593 Remove unused variables.
6595 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6597 * javax/swing/plaf/metal/MetalScrollBarUI.java
6598 (installDefaults): Initialise scrollBarWidth from UI defaults here,
6599 (createDecreaseButton): Don't fetch scrollBarWidth here,
6600 (createIncreaseButton): Likewise.
6602 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6604 * java/awt/image/MemoryImageSource.java: Added API docs.
6606 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6608 * javax/swing/plaf/basic/BasicScrollBarUI.java
6609 (installDefaults): Call configureScrollBarColors().
6611 2006-09-06 Francis Kung <fkung@redhat.com>
6613 * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6614 (constructor): Make copy of arrays.
6615 (createCompatibleDestImage): Changed treatment of null ColorModel.
6616 (filter(BufferedImage, BufferedImage)): Re-implemented.
6617 (filter(Raster, WritableRaster, boolean[])): New method.
6618 (filter(Raster, WritableRaster)): Re-implemented.
6619 (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6620 (getPoint2D): Cleaned up formatting.
6621 (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6623 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6625 * javax/swing/UIManager.java
6626 (getBoolean(Object)): Reimplemented,
6627 (getBoolean(Object, Locale)): Likewise,
6628 (getBorder(Object)): Likewise,
6629 (getBorder(Object, Locale)): Likewise,
6630 (getColor(Object)): Likewise,
6631 (getColor(Object, Locale)): Likewise,
6632 (getDimension(Object)): Likewise,
6633 (getDimension(Object, Locale)): Likewise,
6634 (getFont(Object)): Likewise,
6635 (getFont(Object, Locale)): Likewise,
6636 (getIcon(Object)): Likewise,
6637 (getIcon(Object, Locale)): Likewise,
6638 (getInsets(Object)): Updated API docs,
6639 (getInsets(Object, Locale)): Likewise,
6640 (getInt(Object)): Reimplemented,
6641 (getInt(Object, Locale)): Likewise,
6642 (getString(Object)): Likewise,
6643 (getString(Object, Locale)): Likewise.
6645 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6647 * javax/swing/UIManager.java
6648 (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6649 (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6651 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6653 * javax/swing/plaf/metal/MetalLookAndFeel.java
6654 (initComponentDefaults): Corrected various font defaults.
6656 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6658 * java/awt/List.java: Added @since to various methods.
6660 2006-09-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
6662 * native/jni/native-lib/cpprocess.c:
6663 (forkAndExec(char*,char*,int,int,pid_t,char*)):
6664 Add redirection of stdout to stderr.
6665 * native/jni/native-lib/cpprocess.h:
6666 Added redirect argument.
6667 * native/jni/java-lang/java_lang_VMProcess.c
6668 (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6669 * vm/reference/java/lang/VMProcess.java: Likewise.
6670 * include/java_lang_VMProcess.h: Regenerated.
6672 2006-09-05 Andreas Tobler <a.tobler@schweiz.ch>
6674 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6675 __attribute to __attribute__.
6677 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6680 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6682 * java/awt/List.java: Source code reformatted.
6684 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6686 * gnu/CORBA/CollocatedOrbs.java,
6687 gnu/CORBA/SafeForDirectCalls.java: New files.
6688 * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6689 Implement gnu.CORBA.SafeForDirectCalls.
6690 * gnu/CORBA/NamingService/Ext.java: Likewise.
6691 * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6692 * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6693 of the local host. (ior_to_object): Return the local object
6694 where possible. (run): Register/unregister this ORB.
6695 * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.
6696 * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6697 * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6698 (constructors): Initialize noRetain. (_invoke): Drop servant
6699 if noRetain is true. (getHandler): Always seach for the new servant
6700 if noRetain is true.
6701 * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6702 * NEWS: Added note about the new feature.
6704 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6706 * java/awt/Choice.java
6707 (addItem): Fixed API doc glitch.
6709 2006-09-05 Francis Kung <fkung@redhat.com>
6711 * java/awt/image/LookupOp.java: Updated documentation & formatting.
6712 (createCompatibleDestImage): Re-implemented.
6713 (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6714 compatibility, and use ColorConvertOp for color conversion if needed.
6715 (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6717 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6719 gnu/CORBA/CDR/Vio.java,
6720 org/omg/CORBA_2_3/ORB.java,
6721 org/omg/CORBA_2_3/portable/InputStream.java,
6722 org/omg/CORBA_2_3/portable/OutputStream.java,
6723 org/omg/CosNaming/BindingIteratorHelper.java,
6724 org/omg/CosNaming/BindingTypeHelper.java,
6725 org/omg/CosNaming/NameComponentHelper.java,
6726 org/omg/CosNaming/NameHelper.java,
6727 org/omg/CosNaming/NamingContextExtHelper.java,
6728 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6729 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6730 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6731 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6732 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6733 org/omg/CosNaming/NamingContextHelper.java,
6734 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6735 org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6736 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6737 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6738 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6739 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6740 org/omg/DynamicAny/AnySeqHelper.java,
6741 org/omg/DynamicAny/DynAnyFactoryHelper.java,
6742 org/omg/DynamicAny/DynAnyFactoryOperations.java,
6743 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6744 org/omg/DynamicAny/DynAnyHelper.java,
6745 org/omg/DynamicAny/DynAnyOperations.java,
6746 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6747 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6748 org/omg/DynamicAny/DynAnySeqHelper.java,
6749 org/omg/DynamicAny/DynArrayHelper.java,
6750 org/omg/DynamicAny/DynEnumHelper.java,
6751 org/omg/DynamicAny/DynFixedHelper.java,
6752 org/omg/DynamicAny/DynSequenceHelper.java,
6753 org/omg/DynamicAny/DynStructHelper.java,
6754 org/omg/DynamicAny/DynStructOperations.java,
6755 org/omg/DynamicAny/DynUnionHelper.java,
6756 org/omg/DynamicAny/DynValueHelper.java,
6757 org/omg/DynamicAny/NameDynAnyPairHelper.java,
6758 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6759 org/omg/IOP/CodecFactoryHelper.java,
6760 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6761 org/omg/IOP/CodecOperations.java,
6762 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6763 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6764 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6765 org/omg/IOP/ComponentIdHelper.java,
6766 org/omg/IOP/ExceptionDetailMessage.java,
6767 org/omg/IOP/MultipleComponentProfileHelper.java,
6768 org/omg/IOP/ProfileIdHelper.java,
6769 org/omg/IOP/ServiceContextListHelper.java,
6770 org/omg/IOP/ServiceIdHelper.java,
6771 org/omg/IOP/TAG_CODE_SETS.java,
6772 org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6773 org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6774 org/omg/PortableInterceptor/CurrentHelper.java,
6775 org/omg/PortableInterceptor/IORInfo.java,
6776 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6777 org/omg/PortableInterceptor/ORBIdHelper.java,
6778 org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6779 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6780 org/omg/PortableInterceptor/ORBInitializerOperations.java,
6781 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6782 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6783 org/omg/PortableInterceptor/RequestInfoOperations.java,
6784 org/omg/PortableInterceptor/ServerIdHelper.java,
6785 org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6786 org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6787 org/omg/PortableServer/AdapterActivatorOperations.java,
6788 org/omg/PortableServer/CurrentHelper.java,
6789 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6790 org/omg/PortableServer/ForwardRequestHelper.java,
6791 org/omg/PortableServer/IdAssignmentPolicyValue.java,
6792 org/omg/PortableServer/IdUniquenessPolicyValue.java,
6793 org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6794 org/omg/PortableServer/LifespanPolicyValue.java,
6795 org/omg/PortableServer/POA.java,
6796 org/omg/PortableServer/POAHelper.java,
6797 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6798 org/omg/PortableServer/POAManagerPackage/State.java,
6799 org/omg/PortableServer/POAOperations.java,
6800 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6801 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6802 org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6803 org/omg/PortableServer/POAPackage/NoServantHelper.java,
6804 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6805 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6806 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6807 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6808 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6809 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6810 org/omg/PortableServer/RequestProcessingPolicyValue.java,
6811 org/omg/PortableServer/ServantActivatorHelper.java,
6812 org/omg/PortableServer/ServantLocatorHelper.java,
6813 org/omg/PortableServer/ServantLocatorOperations.java,
6814 org/omg/PortableServer/ServantRetentionPolicyValue.java,
6815 org/omg/PortableServer/ThreadPolicyValue.java,
6816 org/omg/PortableServer/_ServantActivatorStub.java,
6817 org/omg/PortableServer/_ServantLocatorStub.java,
6818 org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
6820 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6822 * javax/rmi/CORBA/Tie.java,
6823 org/omg/CORBA/AnyHolder.java,
6824 org/omg/CORBA/AnySeqHelper.java,
6825 org/omg/CORBA/AnySeqHolder.java,
6826 org/omg/CORBA/BooleanHolder.java,
6827 org/omg/CORBA/BooleanSeqHelper.java,
6828 org/omg/CORBA/BooleanSeqHolder.java,
6829 org/omg/CORBA/ByteHolder.java,
6830 org/omg/CORBA/CharHolder.java,
6831 org/omg/CORBA/CharSeqHelper.java,
6832 org/omg/CORBA/CharSeqHolder.java,
6833 org/omg/CORBA/Context.java,
6834 org/omg/CORBA/CurrentHelper.java,
6835 org/omg/CORBA/CustomValue.java,
6836 org/omg/CORBA/DataOutputStream.java,
6837 org/omg/CORBA/DefinitionKindHelper.java,
6838 org/omg/CORBA/DomainManagerOperations.java,
6839 org/omg/CORBA/DoubleHolder.java,
6840 org/omg/CORBA/DoubleSeqHelper.java,
6841 org/omg/CORBA/DoubleSeqHolder.java,
6842 org/omg/CORBA/DynAny.java,
6843 org/omg/CORBA/DynSequence.java,
6844 org/omg/CORBA/DynValue.java,
6845 org/omg/CORBA/DynamicImplementation.java,
6846 org/omg/CORBA/FieldNameHelper.java,
6847 org/omg/CORBA/FixedHolder.java,
6848 org/omg/CORBA/FloatHolder.java,
6849 org/omg/CORBA/FloatSeqHelper.java,
6850 org/omg/CORBA/FloatSeqHolder.java,
6851 org/omg/CORBA/IdentifierHelper.java,
6852 org/omg/CORBA/IntHolder.java,
6853 org/omg/CORBA/LocalObject.java,
6854 org/omg/CORBA/LongHolder.java,
6855 org/omg/CORBA/LongLongSeqHelper.java,
6856 org/omg/CORBA/LongLongSeqHolder.java,
6857 org/omg/CORBA/LongSeqHelper.java,
6858 org/omg/CORBA/LongSeqHolder.java,
6859 org/omg/CORBA/ORB.java,
6860 org/omg/CORBA/ObjectHelper.java,
6861 org/omg/CORBA/ObjectHolder.java,
6862 org/omg/CORBA/OctetSeqHelper.java,
6863 org/omg/CORBA/OctetSeqHolder.java,
6864 org/omg/CORBA/PolicyErrorCodeHelper.java,
6865 org/omg/CORBA/PolicyErrorHelper.java,
6866 org/omg/CORBA/PolicyHelper.java,
6867 org/omg/CORBA/PolicyListHelper.java,
6868 org/omg/CORBA/PolicyTypeHelper.java,
6869 org/omg/CORBA/PrincipalHolder.java,
6870 org/omg/CORBA/RepositoryIdHelper.java,
6871 org/omg/CORBA/Request.java,
6872 org/omg/CORBA/ShortHolder.java,
6873 org/omg/CORBA/ShortSeqHelper.java,
6874 org/omg/CORBA/ShortSeqHolder.java,
6875 org/omg/CORBA/StringSeqHelper.java,
6876 org/omg/CORBA/StringSeqHolder.java,
6877 org/omg/CORBA/ULongLongSeqHelper.java,
6878 org/omg/CORBA/ULongLongSeqHolder.java,
6879 org/omg/CORBA/ULongSeqHelper.java,
6880 org/omg/CORBA/ULongSeqHolder.java,
6881 org/omg/CORBA/UShortSeqHelper.java,
6882 org/omg/CORBA/UShortSeqHolder.java,
6883 org/omg/CORBA/ValueBaseHelper.java,
6884 org/omg/CORBA/ValueBaseHolder.java,
6885 org/omg/CORBA/VersionSpecHelper.java,
6886 org/omg/CORBA/WCharSeqHelper.java,
6887 org/omg/CORBA/WCharSeqHolder.java,
6888 org/omg/CORBA/WStringSeqHelper.java,
6889 org/omg/CORBA/WStringSeqHolder.java,
6890 org/omg/CORBA/WrongTransactionHelper.java,
6891 org/omg/CORBA/_IDLTypeStub.java,
6892 org/omg/CORBA/_PolicyStub.java,
6893 org/omg/CORBA/portable/BoxedValueHelper.java,
6894 org/omg/CORBA/portable/Delegate.java,
6895 org/omg/CORBA/portable/ObjectImpl.java,
6896 org/omg/CORBA/portable/ServantObject.java,
6897 org/omg/CORBA/portable/StreamableValue.java,
6898 org/omg/CosNaming/BindingType.java,
6899 org/omg/CosNaming/IstringHelper.java,
6900 org/omg/DynamicAny/FieldNameHelper.java,
6901 org/omg/PortableServer/Servant.java: Documentation fixes.
6903 2006-09-04 David Gilbert <david.gilbert@object-refinery.com>
6905 * java/awt/Rectangle.java
6906 (setRect(double, double, double, double)): Modified rounding of input
6909 2006-09-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6911 * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
6912 Disallow H1 - H6 in the paragraphs.
6913 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
6914 (preprocess): Leave at most one leading and/or trailing space.
6915 * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
6916 Do not add any text after closing the HTML tag.
6918 2006-09-02 Roman Kennke <kennke@aicas.com>
6921 * javax/swing/plaf/basic/BasicTextUI.java
6922 (RootView.getPreferredSpan): Default to 10 when there is no
6924 (RootView.getMinimumSpan): Forward to view and default to 10
6925 when there is no real view.
6926 (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
6927 (getMaximumSize): Check for overflow.
6928 * javax/swing/text/FieldView.java
6929 (getResizeWeight): Removed unneeded assignment.
6931 2006-09-01 Francis Kung <fkung@redhat.com>
6932 * java/awt/image/ColorConvertOp.java
6933 (copyImage): Updated javadoc and comments.
6934 (copyRaster): Add javadoc.
6935 (createCompatibleColorModel): Add javadocs and comments.
6936 (createCompatibleDestImage): Use correct transfer type.
6937 (createCompatibleDestRaster): Add new parameter for transfer type.
6938 (filter): Use correct transfer type.
6939 * java/awt/image/ConvolveOp.java: Updated javadocs.
6940 (createCompatibleDestImage): Set new image properties correctly.
6941 (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
6942 (filter(WritableRaster, Raster): Clip sample values to [0-255].
6944 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6946 * javax/swing/table/DefaultTableModel.java:
6947 (checkSize): Added null check for dataVector.
6949 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6951 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
6952 (BasicHorizontalLayout.getAlignmentX): Return fixed value.
6953 (BasicHorizontalLayout.getAlignmentY): Return fixed value.
6955 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6957 * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
6958 (paintIcon): Removed unused import statements, lowered cast requirement
6959 from JCheckBox to AbstractButton.
6961 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6963 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6964 (initComponentDefaults): Added, changed and removed some
6965 tabbed pane properties.
6967 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6969 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
6970 (createContent): Changed menu item name and tab naming.
6972 2006-09-01 Roman Kennke <kennke@aicas.com>
6975 * javax/swing/plaf/basic/BasicHTML.java
6976 (HTMLRootView.getAttributes): Overridden to return null.
6977 (HTMLRootView.getElement): Overridden to return the view's
6980 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6982 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6983 (calculateTabAreaHeight): Use getTabRunOverlay method instead
6984 of accessing variable directly.
6985 (calculateTabAreaWidth): Dito.
6987 2006-08-31 Keith Seitz <keiths@redhat.com>
6989 * include/jvmti.h: Include jvmti_md.h.
6991 2006-08-31 Keith Seitz <keiths@redhat.com>
6993 From Martin Platter <motse@complang.tuwien.ac.at>:
6994 * Makefile.am (include_HEADERS): Include jvmti.h.
6995 * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
6996 (jvmtiError): Remove superfluous comma after last entry.
6997 (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
6998 (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
6999 (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
7000 (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
7002 (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
7003 (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
7004 (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
7007 2006-08-31 Roman Kennke <kennke@aicas.com>
7009 * javax/swing/text/BoxView.java
7010 (getWidth): Return the width with insets added, not with one
7011 added and one removed.
7012 (getHeight): Return the height with insets added, not with one
7013 added and one removed.
7014 * javax/swing/text/GlyphView.java
7015 (DefaultGlyphPainter.viewToModel): Need to add the start offset.
7016 * javax/swing/text/ParagraphView.java
7017 (Row.getAlignment): Adjust alignment with respect to
7018 the justification attribute.
7019 (Row.getLeftInset): Overridden to adjust for firstLineIndent
7021 * javax/swing/text/html/CSS.java
7022 (getValue): Convert length values.
7023 * javax/swing/text/html/Paragraph.java
7024 (painter): New field.
7025 (paint): Implemented to delegate painting to the BoxPainter too.
7026 (setPropertiesFromAttributes): Implemented to load attributes
7028 * javax/swing/text/html/StyleSheet.java
7029 (BoxPainter.as): Removed field.
7030 (BoxPainter.leftInset): New field.
7031 (BoxPainter.bottomInset): New field.
7032 (BoxPainter.rightInset): New field.
7033 (BoxPainter.topInset): New field.
7034 (BoxPainter.BoxPainter): Implemented to load the insets from
7036 (BoxPainter.getInset): Implemented.
7037 * gnu/javax/swing/text/html/Length.java: New class.
7038 Converts CSS length units to usable values.
7040 2006-08-31 Andreas Tobler <a.tobler@schweiz.ch>
7042 * configure.ac: Add check for gethostbyname_r.
7043 Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
7044 * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
7045 SOCKET_NOSIGNAL according to the configure check.
7046 (cpnet_send): Use SOCKET_NOSIGNAL.
7047 (cpnet_sendTo): Likewise.
7048 (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
7050 * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
7053 * lib/Makefile.am (cssfiles): Add new rule to install css files.
7055 2006-08-31 Roman Kennke <kennke@aicas.com>
7057 * javax/swing/JEditorPane.java
7058 (getPreferredSize): Replace preferred size with minimum
7059 UI size only if the scrollable does _not_ track the viewport
7060 size and only if the viewport's size is smaller than the
7062 (getScrollableTracksViewportWidth): Avoid unnecessary multiple
7064 * javax/swing/plaf/basic/BasicTextUI.java
7065 (getPreferredSize): Read-lock the document to avoid
7066 concurrency problems.
7067 (getMaximumSize): Return maximum size of the view.
7068 Read-lock the document to avoid concurrency problems.
7069 (getMinimumSize): Return minimum size of the view.
7070 Read-lock the document to avoid concurrency problems.
7072 2006-08-31 Gary Benson <gbenson@redhat.com>
7074 * java/net/SocketPermission.java
7075 (maybeBracketIPv6Address): Renamed to processHostport.
7076 (processHostport): Also translate "" to "localhost".
7077 (setHostPort): Remove special cases for empty hostport and for
7078 extra colons in hostport (processHostport handles these now).
7080 2006-08-31 Mark Wielaard <mark@klomp.org>
7082 * javax/swing/text/ZoneView.java (Zone): Make static class.
7083 Constructor takes axis parameter.
7084 (createZone): Create Zone with getAxis() as major axis.
7086 2006-08-30 Roman Kennke <kennke@aicas.com>
7088 * javax/swing/text/ZoneView.java
7089 (loadChildren): Implemented.
7090 (getViewIndexAtPosition): Implemented.
7091 (checkZoneAt): New helper method.
7092 (splitZone): New helper method.
7093 (getPreferredZoneEnd): New helper method.
7095 2006-08-30 Roman Kennke <kennke@aicas.com>
7097 * javax/swing/text/ZoneView.java: New class.
7099 2006-08-30 Roman Kennke <kennke@aicas.com>
7101 * javax/swing/JMenu.java
7102 (getMenu): Removed unneeded cast.
7103 (getPopupMenuOrigin): Made positioning algorithm better respect
7105 (setMenuLocation): Also set the location on the popup if it's
7107 (setModel): Use menuChangeListener so that we don't override
7108 the changeListener field from AbstractButton.
7109 (setPopupMenuVisible): Use custom location if set, otherwise
7110 fallback to getPopupMenuOrigin().
7112 2006-08-29 Roman Kennke <kennke@aicas.com>
7114 * javax/swing/text/InternationalFormatter.java
7115 (stringToValue): Fixed bounds check.
7116 * javax/swing/text/MaskFormatter.java
7117 (MaskFormatter): Don't explicitly set allosInvalid property.
7118 (convertStringToValue): New helper method.
7119 (convertValueToString): New helper method.
7120 (convertValue): Removed. Replaced by the 2 convert* methods
7122 (getPadCharAt): Removed.
7123 (isCharValid): Removed.
7125 (stringToValue): Fixed stringToValue conversion.
7126 (stripLiterals): Removed.
7127 (valueToString): Fixed valueToString conversion.
7128 * javax/swing/text/DefaultFormatter.java
7129 (DefaultFormatter): Default to commitsOnValidEdit = false.
7131 2006-08-29 Roman Kennke <kennke@aicas.com>
7133 * javax/swing/text/TextAction.java
7134 (getTextComponent): Check event for null and return null in
7136 (augmentList): Augment Actions based on their names.
7137 * javax/swing/text/DefaultEditorKit.java
7138 (BeginAction.actionPerformed): Check target for null.
7139 (BeginLineAction.actionPerformed): Check target for null.
7140 (CopyAction.actionPerformed): Check target for null.
7141 (CutAction.actionPerformed): Check target for null.
7142 (EndAction.actionPerformed): Check target for null.
7143 (EndLineAction.actionPerformed): Check target for null.
7144 (InsertBreakAction.actionPerformed): Check target for null.
7145 (InsertTabAction.actionPerformed): Check target for null.
7146 (PasteAction.actionPerformed): Check target for null.
7147 (SelectAllAction.actionPerformed): Check target for null.
7148 (SelectionBeginAction.actionPerformed): Check target for null.
7149 (SelectionBeginLineAction.actionPerformed): Check target for null.
7150 (SelectionEndAction.actionPerformed): Check target for null.
7151 (SelectionEndLineAction.actionPerformed): Check target for null.
7152 (SelectLineAction.actionPerformed): Check target for null.
7153 (SelectWordAction.actionPerformed): Check target for null.
7155 2006-08-29 Roman Kennke <kennke@aicas.com>
7157 * javax/swing/plaf/basic/BasicTextUI.java
7158 (FocusHandler): New class. This is moved from the anonymous
7159 inner focus listener class to a static member class, and
7160 is now shared between components.
7161 (DocumentHandler): This class is combined with the PropertyHandler
7162 into the Handler class.
7163 (PropertyChangeHandler): This class is combined with the
7164 DocumentHandler into the Handler class.
7165 (Handler): New class. This combines the Property and Document
7166 handler into one class.
7167 (RootView.changedUpdate): Only forward if real view != null.
7168 (RootView.insertUpdate): Only forward if real view != null.
7169 (RootView.removeUpdate): Only forward if real view != null.
7170 (documentHandler): Removed field and replaced by handler.
7171 (focuslistener): Made field static and renamed to focusListener.
7172 (handler): New field.
7173 (kit): Lazily initialize field.
7174 (rootView): Lazily initialize field.
7175 (updateHandler): Removed and replaced by handler.
7176 (getEditorKit): Lazily instantiate field.
7177 (installDefaults): Don't set margin twice. Install correct
7178 property for disabledTextColor. Moved caret and highlighter
7179 initialization to installFixedDefaults.
7180 (installFixedDefaults): New method. Installs defaults that
7181 can't be overridden by subclasses.
7182 (installListeners): Only install focus handler when new
7183 system property gnu.swing.text.no-xlike-clipboard is not set.
7184 Lazily initialize focus handler.
7185 (installUI): Lazily initialize rootView. Install handler
7186 both for property and document changes.
7187 (uninstallDefaults): Uninstall the UI defaults.
7188 (uninstallFixedDefaults): New method. Uninstalls the fixed
7190 (installListeners): Only uninstall focus handler when not null.
7191 (uninstallUI): Uninstall property and document listener here.
7193 2006-08-29 Gary Benson <gbenson@redhat.com>
7195 * java/net/SocketPermission.java
7196 (maybeBracketIPv6Address): New method.
7197 (<init>): Pass the hostport argument through the above.
7199 * java/net/NetworkInterface.java (getInetAddresses):
7200 Don't bracket IPv6 addresses.
7202 2006-08-28 Roman Kennke <kennke@aicas.com>
7204 * javax/swing/text/BoxView.java
7205 (calculateMinorAxisRequirements): Initialize max size
7206 with Integer.MAX_VALUE.
7207 * javax/swing/text/Utilities.java
7208 (getBreakLocation): For simple chars, scan the text directly.
7209 * javax/swing/text/WrappedPlainView.java
7210 (tabBase): New field.
7211 (tabSize): New field.
7212 (calculateBreakPosition): Use Utilities. Fixed for correct
7214 (changedUpdate): Update children directly.
7215 (insertUpdate): Update children directly. Notify children.
7216 (removeUpdate): Update children directly. Notify children.
7217 (updateChildren): New helper method.
7218 (nextTabStop): Fixed to return correct results.
7219 (paint): Update tabBase.
7220 (updateMetrics): Update tab size.
7222 2006-08-28 Roman Kennke <kennke@aicas.com>
7224 * javax/swing/text/Position.java
7225 (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
7226 (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
7228 2006-08-28 Roman Kennke <kennke@aicas.com>
7230 * javax/swing/text/View.java
7231 (height): Removed unneeded field.
7232 (width): Removed unneeded field.
7233 (getBreakWeight): Return GoodBreakWeight when pos is after
7235 (getToolTipText): Check view index more carefully. Avoid
7237 (insertUpdate): Only execute method body if view count > 0.
7238 When updateChildren returns false, clear the ec variable.
7239 (updateChildren): Added null checks.
7240 (viewToModel): Initialize bias array correctly.
7241 * javax/swing/text/CompositeView.java
7242 (children): Made private.
7243 (numChildren): New field.
7244 (loadChildren): Check factory for null. Don't load children
7245 when factory is null.
7246 (replace): Removed null check. Nullify removed children. Made
7247 growing the array more efficient.
7248 (getViewCount): Return numChildren rather then the real array
7250 * javax/swing/text/BoxView.java
7251 (getViewAtPoint): Fixed algorithm for finding the view.
7252 (replace): Made array growing more efficient.
7253 (replaceLayoutArray): New helper method for growing/patching
7255 (viewToModel): Make sure we have a valid layout.
7257 2006-08-28 Tania Bento <tbento@redhat.com>
7259 * java/awt/MenuShortcut.java
7260 (MenuShortcut (int, boolean)): Set keyName.
7261 (toString): Modified string output.
7262 (setKeyName): New private method.
7264 2006-08-28 Roman Kennke <kennke@aicas.com>
7266 * javax/swing/text/GapContent.java
7267 (Mark.getOffset): Made assert less strict, include boundary.
7268 (search): Made package private to avoid accessor method.
7270 2006-08-28 Roman Kennke <kennke@aicas.com>
7272 * javax/swing/text/StringContent.java
7273 (InsertUndo.positions): New field.
7274 (InsertUndo.redo): Update the undo positions.
7275 (InsertUndo.undo): Fetch the undo positions.
7276 (Mark): New class. Layer of indirection to allow Positions
7277 to be GC'ed while we still hold references to the Mark.
7278 (RemoveUndo.len): New field.
7279 (RemoveUndo.positions): New field.
7280 (RemoveUndo.RemoveUndo): Fetch undo positions.
7281 (RemoveUndo.redo): Re-fetch positions and string.
7282 (RemoveUndo.undo): Update undo positions.
7283 (StickyPosition.mark): New field.
7284 (StickyPosition.offset): Removed field.
7285 (StickyPosition.StickyPosition): Create new Mark. Register
7286 Position in queueOfDeath. Update reference count on mark.
7287 (StickyPosition.getOffset): Return offset stored in mark.
7288 (StickyPosition.setOffset): Removed unneeded method.
7289 (UndoPosRef): New class. Handles undo/redo on positions/marks.
7291 (marks): New field. Stores the marks.
7292 (positions): Removed field.
7293 (queueOfDeath): New field. Used for GCing the positions.
7294 (StringContent): Initialize queueOfDeath.
7295 (createPosition): Lazily create marks vector.
7296 (garbageCollect): New helper method. Collects positions
7297 to be GCed and updates their marks.
7298 (getChars): Fixed bounds check.
7299 (getPositionsInRange): When v == null, create new Vector,
7300 otherwise use v. Store UndoPosRefs in vector.
7301 (getString): Added comment about bug in RI.
7302 (insertString): Use new helper method for replacing the array.
7303 Correctly update positions.
7304 (length): Removed this qualifier.
7305 (remove): Use new helper method for replacing the array.
7306 Correctly update positions.
7307 (replace): New helper method for growing or patching the array.
7308 (updateUndoPositions): Implemented. Updates the positions
7309 for undo/redo operations.
7311 2006-08-27 Roman Kennke <kennke@aicas.com>
7313 * javax/swing/text/StyleContext.java
7314 (NamedStyle.attributes): Made field transient.
7315 (NamedStyle.changeEvent): Made field transient.
7316 (NamedStyle.name): Removed field. The name is stored as
7318 (NamedStyle.NamedStyle(String,Style)): Call setName() for
7319 storing the name and check for null name and resolveParent.
7320 Don't initialize changeEvent.
7321 (NamedStyle.copyAttributes): Return a new NamedStyle,
7322 rather than a plain copy of the attributes field.
7323 (NamedStyle.fireStateChange): Lazily create changeEvent
7325 (NamedStyle.getName): Fetch name from attributes.
7326 (NamedStyle.setName): Store name from attributes.
7327 (NamedStyle.readObject): Implemented for correct
7329 (NamedStyle.writeObject): Implemented for correct
7331 (NamedStyle.setResolveParent): When new parent is null,
7332 remove resolveParent attribute. Use addAttribute() method
7333 rather than StyleContext addAttribute().
7334 (NamedStyle.toString): Fixed to produce output equal to the
7336 (SmallAttributeSet.resolveParent): New field.
7337 (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
7338 the resolveParent field correctly.
7339 (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
7340 array but store it directly. Update
7341 the resolveParent field correctly.
7342 (SmallAttributeSet.clone): Return this as the object is
7344 (SmallAttributeSet.containsAttributes): Make sure that keys
7345 and values are the same.
7346 (SmallAttributeSet.containsAttribute): Make sure that keys
7347 and values are the same.
7348 (SmallAttributeSet.copyAttributes): Return this as the object is
7350 (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
7351 are equal if they have the same number of attributes and
7352 one contains the other.
7353 (SmallAttributeSet.getAttribute): Improved lookup of
7355 (SmallAttributeSet.getResolveParent): Improved lookup of
7357 (SmallAttributeSet.isEqual): When comparing object is a
7358 SmallAttributeSet, consider them equal only if they are the
7360 (SmallAttributeSet.toString): Fixed to produce output equal to the
7362 (attributeSetPool): New field.
7363 (defaultStyleContext): Initialize lazily.
7364 (defaultStyle): Removed field. This is stored in the style context
7366 (listenerList): Removed field. The NamedStyle stores the
7368 (readAttributeKeys): New static field. Used for looking up
7369 the serialization mappings when reading.
7370 (search): New field. Used as search key.
7371 (staticAttributeKeys): Replaced by read/writeAttributeKeys.
7372 (styles): New field. Stores the styles and listeners.
7373 (styleTable): Removed field. Replaced by styles field.
7374 (writeAttributeKeys): New static field. Used for looking up
7375 the serialization mappings when writing.
7376 (static_initializer): Register mappings for all keys in
7378 (StyleContext): Initialize styles correctly.
7379 (addAttributes): Fixed caching of immutable attributes.
7380 (addAttribute): Fixed caching of immutable attributes.
7381 (removeAttributes): Fixed caching of immutable attributes.
7382 (removeAttribute): Fixed caching of immutable attributes.
7383 (addChangeListener): Add listener to styles field.
7384 (removeChangeListener): Remove listener from styles field.
7385 (getChangeListeners): Fetch listeners from styles field.
7386 (addStyle): Add style to styles field.
7387 (cleanupPool): New method.
7388 (getDefaultStyleContext): Lazily create context.
7389 (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
7390 (getMutableAttributeSet): New helper method. Used for
7392 (getStaticAttribute): Fetch key from readAttributeKeys.
7393 (getStyleNames): Return names from styles field.
7394 (getStyle): Lookup style in styles field.
7395 (removeStyle): Remove style from styles field.
7396 (readAttributeSet): Fixed deserialization.
7397 (writeAttributeSet): Fixed serialization.
7398 (readObject): Fixed deserialization.
7399 (writeObject): Fixed serialization.
7400 (reclaim): Simply cleanup the pool.
7401 (registerStaticAttributeKey): Store mapping in both ways.
7402 (searchImmutableSet): New helper method for caching.
7403 (toString): Fixed for output like the RI.
7404 * javax/swing/text/StyleConstants.java
7405 (keys): New field. Stores all known keys.
7406 (StyleConstants): Store created key in keys list.
7407 * javax/swing/event/EventListenerList.java
7408 (readObject): Fixed deserialization.
7409 (writeObject): Fixed serialization.
7411 2006-08-25 Roman Kennke <kennke@aicas.com>
7413 * javax/swing/text/CompositeView.java
7414 (insets): Removed. Replaced by single short fields.
7415 (top): New field. Replaces insets.
7416 (bottom): New field. Replaces insets.
7417 (left): New field. Replaces insets.
7418 (right): New field. Replaces insets.
7419 (CompositeView): Initialize insets fields.
7420 (createDefaultLocation): Removed unneeded method.
7421 (getBottomInset): Return field directly.
7422 (getTopInset): Return field directly.
7423 (getLeftInset): Return field directly.
7424 (getRightInset): Return field directly.
7425 (getInsideAllocation): Adjusted to work on new insets fields.
7426 (getViewIndex): Fixed check.
7427 (loadChildren): Don't replace the old children.
7428 (replace): Make sure that there is an array to operate on.
7429 Only set parent to null, when it is this View.
7430 (setInsets): Adjusted to work with new insets fields.
7431 (setParagraphInsets): Fixed to pull insets directly from
7434 2006-08-25 Roman Kennke <kennke@aicas.com>
7436 * javax/swing/text/ComponentView.java
7437 (Interceptor): New inner helper class. Used to propagate
7438 invalidate requests and cache component layout sizes.
7439 (interceptor): New field.
7440 (getAlignment): Fetch alignment from interceptor container.
7441 (getComponent): Don't create component here. This is done
7443 (getMaximumSpan): Fetch layout info from interceptor. Check
7445 (getMinimumSpan): Fetch layout info from interceptor. Check
7447 (getPreferredSpan): Fetch layout info from interceptor. Check
7449 (modelToView): Fixed model to view mapping.
7450 (viewToModel): Fixed view to model mapping.
7451 (paint): Check for null. Set bounds on interceptor rather
7453 (setParentImpl): Install interceptor between component
7454 and hosting container.
7455 (setParent): Call super.setParent() immediately.
7457 2006-08-25 Roman Kennke <kennke@aicas.com>
7459 * javax/swing/text/LabelView.java
7460 (setPropertiesFromAttributes): Only set background when
7461 the corresponding attribute is actually defined, otherwise
7462 set to null, as the StyleConstants would return black.
7463 * javax/swing/text/DefaultStyledDocument.java
7464 (ElementBuffer.documentEvent): Removed obsolete field.
7465 (ElementBuffer.change): Do prepareEdits() and finishEdits()
7466 to correctly update the element structure.
7467 (ElementBuffer.insertContentTag): Removed unused statement.
7468 (ElementBuffer.recreateAfterFracture): Removed
7469 unused obsolete method.
7470 (setCharacterAttributes): Removed unused statement.
7472 2006-08-25 Roman Kennke <kennke@aicas.com>
7474 * examples/gnu/classpath/examples/swing/Demo.java
7475 (LaterMain.run): Removed unused local variable.
7476 (Demo): Don't put desktop in scrollpane.
7477 (addChildren): Removed unused method.
7478 (mkButtonBar): Added HTML demo.
7479 (mkMenuBar): Added HTML demo.
7480 (mkPanel): Removed unused method.
7481 (mkScrollPane): Removed unused method.
7482 (mkTree): Removed unused method.
7483 (valign2str): Removed unused method.
7484 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7485 Initialize text field with some HTML that already works.
7486 (DEBUG): New field. Set to true for debugging output.
7487 (createContent): Dump element tree after parsing.
7489 2006-08-25 Roman Kennke <kennke@aicas.com>
7491 * javax/swing/text/html/CSS.java
7492 (getValue): Added color value conversion.
7493 * javax/swing/text/html/HTMLDocument.java
7494 (HTMLReader.ConvertAction): New class, converts HTML style tags
7496 (HTMLReader.initTags): Register ConvertAction for <font> tag.
7497 * javax/swing/text/html/InlineView.java
7498 (setPropertiesFromAttributes): Implemented to fetch
7499 CSS character attributes.
7500 * javax/swing/text/html/StyleSheet.java
7501 (addCSSAttribute): Convert value.
7502 (getBackground): Implemented to fetch CSS background color
7504 (getForeground): Implemented to fetch CSS color
7506 (getFont): Adjust font size for superscript and subscript.
7507 (translateHTMLToCSS): Rudimentary implementation that
7508 copies the original attributes, so that any CSS attributes in
7509 there are preserved.
7510 (stringToColor): Use CSSColor for conversion.
7511 * gnu/javax/swing/text/html/css/CSSColor.java:
7512 New class. Converts CSS color values to RGB color values.
7513 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7514 Removed. This is more or less replaced by CSSColor and the
7515 ConvertAction in HTMLReader.
7517 2006-08-25 Roman Kennke <kennke@aicas.com>
7519 * javax/swing/text/BoxView.java
7520 (childReqs): Removed obsolete field.
7521 (baselineLayout): Reimplemented for correct baseline layout.
7522 (baselineRequirements): Reimplemented for correct baseline
7524 (updateChildRequirements): Removed obsolete method.
7525 * javax/swing/text/GlyphView.java
7526 (DefaultGlyphPainter.getSpan): Removed unused statement.
7527 (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7528 specially. The subscript/superscript layout is performed
7529 via the alignment, the font is supplied by the StyleContext.
7530 (breakView): Removed unused statements.
7531 (getAlignment): Adjust alignment according to the
7532 superscript/subscript setting.
7533 (getFont): Reimplemented to fetch the font from the style
7534 context, or from the document if the stylecontext is not
7536 (getPreferredSpan): Adjust span for superscript. Use switch
7538 * javax/swing/text/LabelView.java
7539 (setPropertiesFromAttributes): Fetch background and foreground
7540 from document / style context.
7541 (isSubscript): Resync properties if needed.
7542 * javax/swing/text/ParagraphView.java
7543 (Row.calculateMinorAxisRequirements): Overridden to perform
7545 (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7547 2006-08-24 Roman Kennke <kennke@aicas.com>
7549 * javax/swing/text/Utilities.java
7550 (BUF_LENGTH): Removed unused field.
7551 (drawTabbedText): Removed unneeded cast.
7552 (getBreakLocation): Removed unneeded cast.
7553 Fixed offset to account for Segments not starting at 0.
7555 2006-08-24 Roman Kennke <kennke@aicas.com>
7557 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7558 (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7559 (TabbedPaneScrollLayout.layoutContainer): Likewise.
7560 (ScrollingPane.updateUI): Likewise.
7561 (calculateTabWidth): Rewritten to correctly and efficiently
7562 layout the tab width.
7563 (layoutLabel): Call SwingUtilities method with the tabPane
7565 (paintContentBorderLeftEdge): Removed unused statement.
7566 (paintContentBorderRightEdge): Removed unused statement.
7567 (paintContentBorder): Removed unused statement.
7569 2006-08-24 Roman Kennke <kennke@aicas.com>
7571 * javax/swing/plaf/basic/BasicTextUI.java
7572 (RootView.getAttributes): Overridden to return null,
7573 as the RootView has no parent.
7575 2006-08-24 Roman Kennke <kennke@aicas.com>
7577 * javax/swing/text/html/CSSParser.java: Removed.
7578 * javax/swing/text/html/CSS.java
7579 (getValue): New helper method. Returns special converter
7580 instances for certain kinds of property values.
7581 * javax/swing/text/html/HTMLDocument.java
7582 (HTMLReader.CharacterAction.start): Don't translate tags
7583 here. Instead, store the attributes directly with the tag
7585 (content): Removed field. The Content object is handled
7586 by AbstractDocument.
7587 (styleSheet): Removed field. The styleSheet is the styleContext
7588 of this document and handled by the DefaultStyledDocument already.
7589 (HTMLDocument(Content,StyleSheet): Simply call super here.
7590 The super classes already handle the content and styleContext.
7591 (HTMLDocument()): Call this() with a default GapContent and
7593 (getStyleSheet): Return the styleContext here.
7594 (insertUpdate): New method. Overridden to add the
7595 CONTENT dummy tag to the element's attributes.
7596 (setBase): Set the base on the styleContext.
7597 * javax/swing/text/html/HTMLEditorKit.java
7598 (styleContext): Removed unneeded field.
7599 (styleSheet): Made field private.
7600 (HTMLEditorKit): Do nothing here. The StyleSheet is
7601 created lazily in getStyleSheet(). A styleContext is not
7603 (getStyleSheet): Create StyleSheet correctly.
7604 (insertHTML): Removed unneeded cast.
7605 * javax/swing/text/html/InlineView.java
7606 (attributes): New field.
7607 (changedUpdate): Reload attributes. Trigger preferenceChanged.
7608 (getAttributes): Implemented to fetch the attributes from
7610 * javax/swing/text/html/MultiAttributeSet.java: New class.
7611 Multiplexes between several AttributeSets.
7612 * javax/swing/text/html/MultiStyle.java: New class.
7613 Multiplexes between several Styles.
7614 * javax/swing/text/html/ParagraphView.java
7615 (attributes): New field.
7616 (getAttributes): Implemented to fetch the attributes from
7618 * javax/swing/text/html/StyleSheet.java
7619 (CssParser): Removed inner class.
7620 (CSSStyle): New inner class. Represents a style defined
7622 (CSSStyleSheetParserCallback): New class, for parsing
7624 (css): New field. Stores the CSS rules.
7625 (resolvedStyles): New field. Stores resolved styles.
7626 (StyleSheet): Initialize resolvedStyles map.
7627 (addRule): Removed bogus impl.
7628 (getFont): Implemented to fetch font, based on CSS rules.
7629 (getResolvedStyle): New helper method. Looks up resolved
7630 styles, and resolves a style if necessary.
7631 (resolveStyle): New pair of helper methods. Resolves
7633 (getRule(String)): Provide rudimentary implementation.
7634 (getRule(Tag,Element)): Implemented.
7635 (getViewAttributes): Implemented.
7636 (loadRules): Implemented.
7637 (translateHTMLToCSS): Tagged as not implemented.
7638 * javax/swing/text/html/ViewAttributeSet.java: New class.
7640 2006-08-24 Roman Kennke <kennke@aicas.com>
7642 * javax/swing/text/FlowView.java:
7643 (LogicalView.getAttributes): New method. Overrides super
7644 impl to return the attributes of the FlowView instance.
7645 * javax/swing/text/LabelView.java:
7646 (setPropertiesFromAttributes): Fetch attributes from
7647 View, rather then from the Element. (In the HTML
7648 package the getAttributes() method is overridden to
7649 return different attributes). Fetch font from the StyledDocument.
7651 2006-08-24 Roman Kennke <kennke@aicas.com>
7653 * javax/swing/text/DefaultEditorKit.java:
7654 (DefaultKeyTypedAction.actionPerform): Also filter
7655 ALT and CTRL modifiers.
7657 2006-08-24 Roman Kennke <kennke@aicas.com>
7659 * gnu/javax/swing/text/html/css/FontSize.java,
7660 * gnu/javax/swing/text/html/css/FontStyle.java,
7661 * gnu/javax/swing/text/html/css/FontWeight.java:
7662 New classes. Used to convert CSS font attributes to AWT/Swing
7665 2006-08-24 Francis Kung <fkung@redhat.com>
7666 * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7667 * java/awt/image/ColorConvertOp.java: Updated javadocs.
7668 (srccs, dstcs, rasterValid): Variables removed.
7669 (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7670 (copyRaster): Check for null rendering hints
7671 (createCompatibleColorModel): New private method.
7672 (createCompatibleDestImage): Re-implemented.
7673 (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7674 (createCompatibleDestRaster(Raster)): Re-implemented.
7675 (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7676 (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7677 (getPoint2D): Clean up formatting.
7678 * java/awt/image/ComponentColorModel.java
7679 (constructor): use findBits method instead of passing null.
7680 (findBits): New method.
7682 2006-08-24 Gary Benson <gbenson@redhat.com>
7684 * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7687 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7689 * java/lang/ref/Reference.java
7690 (queue, nextOnQueue): Made volatile.
7691 (enqueue): Made thread safe.
7692 * java/lang/ref/ReferenceQueue.java
7694 (poll): Removed synchronized.
7695 (enqueue): Changed to synchronize on lock object, to update Reference
7696 state and return success status.
7697 (dequeue, remove): Synchronize on lock object.
7699 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7701 * java/security/SecureClassLoader.java
7702 (protectionDomainCache): Changed to HashMap.
7703 (SecureClassLoader): Removed redundant security check.
7704 (defineClass(String,byte[],int,int,CodeSource): Moved
7705 protection domain lookup/construction to new method.
7706 (defineClass(String,ByteBuffer,CodeSource): New method.
7707 (getProtectionDomain): New method.
7709 2006-08-23 Roman Kennke <kennke@aicas.com>
7711 * javax/swing/JComponent.java
7712 (isRepainting): Made package private.
7713 (paintChild): New field.
7714 (findOpaqueParent): Removed method. This is now in
7716 (findOverlapFreeParent): Removed method. This is now
7717 in paintImmediately2().
7718 (findPaintRoot): Removed method. This is now
7719 in paintImmediately2().
7720 (isCompletelyObscured): Changed to take rectangle as single
7722 (isPaintingDoubleBuffered): Removed method. This is now
7723 in paintImmediately2().
7724 (isPartiallyObscured): New helper method.
7725 (onTop): New helper method for optimization.
7726 (paintChildren): Paint only to specific child when
7727 requested like this from paintImmediately2().
7728 (paintDoubleBuffered): Changed to take rectangle as single int
7730 (paintImmediately2): Changed to take rectangle as single int
7731 arguments. Optimized determination of paint root.
7732 (paintImmediately(Rectangle)): Change to delegate to
7733 paintImmediately(int,int,int,int).
7734 (paintImmediately(int,int,int,int)): Look for opaque ancestor
7735 and start painting there.
7736 (paint): Call paintDoubleBuffered() with int arguments. Only
7737 paint component, when not completely occupied by opaque child.
7738 (processKeyBinding): Removed unnecessary cast.
7739 (isOccupiedByChild): New helper method.
7740 * javax/swing/RepaintManager.java
7741 (repaintUnderway): Removed obsolete field.
7742 (commitRequests): Removed obsolete field.
7743 (RepaintManager): Removed initialization of obsolete fields.
7744 (addDirtyRegion): Removed unused statement.
7745 (commitBuffer): Changed to take plain ints as argument.
7746 (compileRepaintRoots): Optimized to avoid use of Rectangle.
7747 Compute offsets in place, rather than using SwingUtilities.
7748 (paintDirtyRegions): Removed unused field.
7749 * javax/swing/JMenuItem.java
7750 (onTop): Return true when not descendant of JInternalFrame.
7751 * javax/swing/JPopupMenu.java
7752 (onTop): Return true.
7753 * javax/swing/JToolTip.java
7754 (onTop): Return true.
7755 * javax/swing/JViewport.java
7756 (paintImmediately2): Change signature to match the
7757 corresponding JComponent method.
7759 2006-08-23 Tania Bento <tbento@redhat.com>
7761 * java/awt/Color.java
7762 (brighter): Modified algorithm to correctly determine the
7763 new brighter colour.
7765 2006-08-23 Roman Kennke <kennke@aicas.com>
7767 * java/awt/Container.java
7768 (maxSize): Removed field. This is already declared in Component.
7769 (validateTree): Check for ContainerPeer. Don't addNotify here.
7770 Only validate Component instances if they are invalid.
7772 2006-08-22 Roman Kennke <kennke@aicas.com>
7774 * javax/swing/JComponent.java
7775 (preferredSize): Removed field.
7776 (maximumSize): Removed field.
7777 (minimumSize): Removed field.
7778 (getMaximumSize): Adjusted to delegate to Component, rather
7779 then managing the size in JComponent.
7780 (getMinimumSize): Adjusted to delegate to Component, rather
7781 then managing the size in JComponent.
7782 (getPreferredSize): Adjusted to delegate to Component, rather
7783 then managing the size in JComponent.
7784 (isMaximumSizeSet): Removed.
7785 (isMinimumSizeSet): Removed.
7786 (isPreferredSizeSet): Removed.
7787 (setMaximumSize): Removed.
7788 (setMinimumSize): Removed
7789 (setPreferredSize): Removed.
7791 2006-08-22 Roman Kennke <kennke@aicas.com>
7793 * javax/swing/AbstractButton.java
7794 (ButtonChangeListener.stateChanged): Delegate to combined
7796 (EventHandler): New inner class. Handles all three types
7797 of events on the model.
7798 (eventHandler): New field. Stores the combined event
7800 (AbstractButton): Moved listener initialization to
7802 (createActionListener): Return combined handler.
7803 (createChangeListener): Return combined handler.
7804 (createItemListener): Return combined handler.
7805 (getEventHandler): New helper method for creating the combined
7807 (setModel): Initialize listeners here.
7808 * javax/swing/plaf/basic/BasicButtonListener.java
7809 (ButtonAction): New class. Implements the keyboard action
7811 (checkOpacity): Implemented.
7812 (createDefaultActionMap): New helper method.
7813 (installKeyboardActions): Rewritten to install InputMap
7814 and ActionMap according to 'new' keyboard input method.
7815 (mouseClicked): Commented as no-op.
7816 (mouseDragged): Commented as no-op.
7817 (mouseMoved): Commented as no-op.
7818 (propertyChange): Check for contentAreaFilled change and
7819 update opacity. Pull handling of HTLM in font and text handler.
7820 (stateChanged): Repaint button.
7821 (uninstallKeyboardActions): Properly uninstall keyboard actions.
7822 * javax/swing/plaf/basic/BasicButtonUI.java
7823 (listener): Removed.
7824 (sharedListener): New static field. Stores the shared listener.
7825 (sharedUI): New static field. Stores the shared UI.
7826 (createButtonListener): Return shared instance here.
7827 (createUI): Return shared instance here.
7828 (getButtonListener): New helper method. Looks for the
7829 BasicButtonListener installed on a button and returns it.
7830 (installDefaults): Correctly install rollover property here.
7831 Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
7832 (installKeyboardActions): Fetch listener with new helper method.
7833 (installListeners): Don't use removed field. Check for null.
7834 (installUI): Added comment about order of method invocations.
7835 (uninstallDefaults): Don't uninstall non-uninstallable properties.
7836 (uninstallKeyboardActions): Fetch listener with new helper method.
7837 (uninstallListeners): Fetch listener with new helper method.
7838 (paintIcon): Paint icon offset when pressed and armed.
7839 * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
7840 * javax/swing/plaf/metal/MetalButtonUI.java
7841 (sharedUI): New field. Stores the shared UI.
7842 (MetalButtonUI): Don't initialize fields here.
7843 (createButtonListener): Removed method. Use super impl.
7844 (createUI): Return shared instance.
7845 (getDisabledTextColor): Update field here.
7846 (getFocusColor): Update field here.
7847 (getSelectColor): Update field here.
7848 (installDefaults): Don't handle rollover property here.
7849 (uninstallDefaults): Don't handle rollover property here.
7850 (paintButtonPressed): Use accessor method to update the
7853 2006-08-21 Mark Wielaard <mark@klomp.org>
7855 Merge NATIVE_LAYER branch.
7857 2006-08-20 Mark Wielaard <mark@klomp.org>
7859 * doc/tools.texinfo: Add file from trunk.
7860 * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
7861 * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
7863 * native/jni/java-lang/java_lang_VMProcess.c
7864 (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
7865 * native/jni/java-net/java_net_VMInetAddress.c
7866 (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
7867 * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
7869 * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
7871 * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
7873 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
7875 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
7877 * vm/reference/java/lang/VMProcess.java: Removed unused redirect
7879 * include/java_lang_VMProcess.h: Regenerated.
7881 2006-07-09 Guilhem Lavaux <guilhem@kaffe.org>
7883 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
7884 (nativeReceive): Fixed the type of the arrays (use java types).
7885 (nativeSendTo): Force throwing an exception if port is 0.
7887 * native/jni/java-net/javanet.c:
7888 (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
7890 (_javanet_recvfrom): Likewise.
7891 (_javanet_sendto): Throw a NullPointerException if the socket is
7892 not connected and no address is given.
7894 * native/jni/java-net/javanet.h
7895 (NULL_EXCEPTION): Defined.
7897 2006-06-16 Guilhem Lavaux <guilhem@kaffe.org>
7899 * native/jni/java-net/java_net_VMInetAddress.c
7900 (Java_java_net_VMInetAddress_getHostByName): Fix detection of
7903 * native/jni/java-net/javanet.c
7904 (_javanet_accept): Fixed bogus call to TARGET.
7905 (_javanet_create_inetaddress): Fixed address generation. Fixed
7907 (_javanet_bind): set "Reuse address" flag.
7909 * native/jni/native-lib/cpio.c
7910 (cpio_getModificationTime): Fixed type.
7911 (cpio_removeFile): Use rmdir too.
7913 * native/jni/native-lib/cpnet.c
7914 (cpnet_getHostByName): Fixed error detection.
7916 * native/jni/native-lib/cpnet.h
7917 (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
7919 (cpnet_IPV4AddressToBytes): Fixed types.
7921 2006-06-10 Guilhem Lavaux <guilhem@kaffe.org>
7923 * native/jni/native-lib/cpio.c
7924 (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
7926 * native/jni/native-lib/cpnet.h:
7927 (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
7928 messed by signs in jbyte.
7930 * native/jni/native-lib/cpproc.h
7931 (CPIO_EXEC_NUM_PIPES): Compilation fix.
7933 2006-05-09 Guilhem Lavaux <guilhem@kaffe.org>
7935 * native/jni/native-lib/cpnet.c
7936 (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
7937 (waitForWritable, waitForReadable): New functions.
7938 (socketTimeouts): New static global table to hold timeouts for all
7940 (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
7941 Added waitForXXXX safeguards to handle socket timeouts.
7943 * native/jni/java-net/javanet.c
7944 (_javanet_accept): Check for the right error value when a timeout
7947 2006-03-25 Guilhem Lavaux <guilhem@kaffe.org>
7949 * native/jni/java-io/Makefile.am,
7950 native/jni/java-lang/Makefile.am,
7951 native/jni/java-net/Makefile.am,
7952 native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
7954 * native/jni/native-lib/Makefile.am: Added cpproc.c
7956 * native/jni/native-lib/cpio.c: Implemented missing functions for
7959 * native/jni/native-lib/cpnet.c
7960 (cpnet_getHostByName): Fixed address array initialization.
7962 * native/jni/native-lib/cpproc.c: Implemented.
7964 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7966 * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
7968 * m4/gcc_attribute.m4: New file from ac_archive.
7970 * native/jni/java-net/javanet.c: Adapted to cpnet API
7973 * native/jni/native-lib/cpnet.c: Implemented.
7975 * native/jni/native-lib/cpnet.h
7976 (cpnet_openSocketDatagram,
7977 cpnet_openSocketStream): These calls need an address family now.
7978 (cpnet_IPV4AddressToBytes,
7979 cpnet_bytesToIPV4Address): Convert the address to network order.
7981 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7983 * native/jni/java-io/java_io_VMFile.c,
7984 native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
7985 native/jni/midi-dssi/dssi_data.h,
7986 native/jni/native-lib/cpio.c,
7987 native/jni/native-lib/cpmath.h: Removed cpmath
7988 dependency. Fixed coding style.
7990 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7992 * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
7993 dependency. Simplified the JNI code by moving some part into the
7996 * native/jni/native-lib/cpproc.h: New interface to handle processes.
7998 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
8000 * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
8001 errors. Removed any remaining TARGET invocations.
8003 * native/jni/java-net/javanet.c
8004 (_javanet_create_inetaddress): Removed spurious arr and
8005 octets. Fixed compilation errors.
8007 * native/jni/native-lib/cpnet.h
8008 (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
8009 cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
8010 cpnet_isIPV4Address): New functions.
8011 (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
8014 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
8016 * native/jni/java-io/java_io_VMFile.c,
8017 native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
8018 native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
8019 native/jni/java-net/javanet.c,
8020 native/jni/java-net/javanet.h: Adapted the VM layer code
8021 to the new native layer.
8023 * native/jni/native-lib/cpnet.h
8024 (cpnet_addMembership,
8025 cpnet_dropMembership,
8026 cpnet_getAvailableBytes): Added the declarations of
8028 (cpnet_newIPV6Address,
8029 cpnet_IPV6AddressToBytes,
8030 cpnet_bytesToIPV6Address): Implemented.
8031 (cpnet_newIPV4Address): Initialize the sin_family field.
8033 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
8035 * native/target: Removed.
8037 * configure.ac: Removed target from CLASSPATH_INCLUDES and
8038 Makefile generation.
8040 * native/jni/native-lib/Makefile.am,
8041 native/jni/native-lib/cpnet.h,
8042 native/jni/native-lib/cpnet.c
8043 native/jni/native-lib/cpio.h,
8044 native/jni/native-lib/cpio.c,
8045 native/jni/native-lib/cpmath.h: Imported new native compatibility
8048 2006-08-21 Roman Kennke <kennke@aicas.com>
8050 * gnu/javax/swing/text/html/css/CSSParser.java:
8052 * gnu/javax/swing/text/html/css/CSSParserCallback.java:
8054 * gnu/javax/swing/text/html/css/CSSParserException.java:
8056 * gnu/javax/swing/text/html/css/CSSScanner.java:
8057 Adjusted API comments. Made all constants package private.
8058 (EOF): New constant field.
8059 (parseBuffer): Made package private.
8060 (tokenEnd): Made package private.
8061 (CSSScanner): Initialize lookahead buffer with -1.
8062 (main): Print out to System.out rather then System.err.
8063 (nextToken): Push back character after IDENT.
8065 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
8067 * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
8069 2006-08-21 Roman Kennke <kennke@aicas.com>
8071 * gnu/javax/swing/text/html/css/CSSScanner.java
8072 (main): Use buffered input stream.
8073 (nextToken): Removed 65536 workaround. Use int value directly
8074 without cast to char.
8075 (readComment): Use int value directly without cast to char.
8076 Cast to char only when putting the character into the buffer.
8077 (readEscape): Likewise.
8078 (readIdent): Likewise.
8079 (readName): Likewise.
8080 (readNum): Likewise.
8081 (readString): Likewise.
8082 (readWhitespace): Likewise.
8084 2006-08-21 Ingo Proetel <proetel@aicas.com>
8086 * java/io/InputStreamReader.java
8087 (bytesCache): New field.
8088 (cacheLock): New field.
8089 (read(byte[],int,int): Avoid allocations of new byte
8090 array on every call and reuse cached byte array if possible.
8092 2006-08-21 Roman Kennke <kennke@aicas.com>
8094 * gnu/java/net/local/LocalSocketImpl.java
8095 Only load native lib if this is supported by runtime.
8096 * native/jni/java-net/local.c
8097 Include config.h unconditionally.
8098 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
8099 Include config.h unconditionally.
8101 2006-08-21 Friedjof Siebert <siebert@aicas.com>
8103 * java/io/ObjectInputStream.java
8104 (objectLookupTable): Changed to be a Vector.
8105 (ObjectInputStream): Initialize objectLookupTable as Vector.
8106 (assignNewHandle): Store Object using handle index rather than
8107 Hashtable, using the new rememberHandle() method.
8108 (hierarchy): New method. This replaces inputGetObjectStreamClasses()
8109 with a caching in ObjectStreamClass.
8110 (inputGetObjectStreamClass): Replaced by hierarchy().
8111 (lookupHandle): New method. Looks up an object by it's handle
8113 (parseContent): Avoid creating of Integer objects. Use
8114 hierarchy() method for looking up the class hierarchy.
8115 (processResolution): Use rememberHandle() to store
8116 handle per index, rather than Hashtabling the object.
8118 (rememberHandle): New method.
8119 * java/io/ObjectOutputStream.java
8120 (OIDLookupTable): Use ObjectIdentityMap2Int instead of
8121 Hashtable for improved lookup performance.
8122 (ObjectOutputStream): Initialize OIDLookupTable as
8123 ObjectIdentityMap2Int.
8124 (assignNewHandle): Change to use ObjectIdentityMap2Int.
8125 (findHandle): Change to use ObjectIdentityMap2Int.
8126 (getBooleanField): Removed.
8127 (getByteField): Removed.
8128 (getCharField): Removed.
8129 (getDoubleField): Removed.
8130 (getField): Removed.
8131 (getFloatField): Removed.
8132 (getIntField): Removed.
8133 (getLongField): Removed.
8134 (getObjectField): Removed.
8135 (writeFields(Object,ObjectStreamClass)): Use new helper method.
8136 (writeFields(Object,ObjectStreamField)): New helper method.
8137 Use switch rather then if-else cascade.
8138 (writeObject): Use int handle, rather then Integer.
8139 * java/io/ObjectStreamClass.java
8140 (hierarchy): New field. Caches the class hierarchy.
8141 (methodCache): New field. Caches methods.
8142 (readObjectSignature): New field. Stores the read signature.
8143 (uidCache): New field. Caches UIDs.
8144 (writeObjectSignature): New field. Stores the write signature.
8145 (cacheMethods): Cache methods in methodCache.
8146 (calculateClassID): Outsourced from getClassUID()
8147 for computing the UIDs.
8148 (getClassUIDFromField): Outsourced from getClassUID() for
8149 fetching the UID from the class field.
8150 (getClassUID): Use cached uid if possible. Use new helper
8151 methods for fetching the UID from the field or computing
8153 (getObjectStreamClasses): Removed. Replaced by more
8154 efficient hierarchy() method, that also caches the result.
8155 (hierarchy): Replaces getObjectStreamClasses() for caching
8157 (loadedByBootOrApplicationClassLoader): New helper method.
8158 (setClass): Invalidate hierarchy cache.
8159 (setSuperclass): Invalidate hierarchy cache.
8160 * java/io/ObjectStreamField.java
8161 (field): Made field package private for access from other
8163 * gnu/java/io/ObjectIdentityWrapper.java: Removed.
8164 * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
8165 hashtable for mapping objects to ints.
8167 2006-08-21 Roman Kennke <kennke@aicas.com>
8170 (getAbsolutePath): Fetch absolute path from
8171 VMFile.getAbsolutePath(). Moved actual impl to there.
8172 (isAbsolute): Let VMFile determine the absoluteness.
8173 (toURL): Let VMFile convert the filename.
8174 * vm/reference/java/io/VMFile.java
8175 (getAbsolutePath): New method.
8176 (isAbsolute): New method.
8177 (toURL): New method.
8179 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
8181 * NEWS: Added note about updated VM interface.
8183 2006-08-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
8185 * java/lang/management/ManagementFactory.java:
8186 Updated documentation.
8188 2006-08-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
8191 * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
8193 * gnu/java/util/regex/CharIndexedCharSequence.java,
8194 gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
8196 * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
8197 (match): call the new method setHitEnd of the input,
8198 (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
8199 Some optimization commented out, Use CharIndexed#move1 instead of move.
8200 * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
8201 * gnu/java/util/regex/REToken.java(match): The method body has been
8202 moved to an internal private method, (matchFake): New method,
8203 (setHitEnd): New method.
8204 * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
8205 if the match is not complete, (matchOneString): Count the number of
8206 characters which matched the pattern.
8207 * gnu/java/util/regex/RETokenEnd.java(fake): New field,
8208 (setFake): New method, (match): Call super.match or super.matchFake.
8209 * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
8210 * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
8211 setHitEnd of the input,
8212 * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
8213 * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
8214 RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
8216 2006-08-18 Tom Tromey <tromey@redhat.com>
8218 * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
8219 the 'int', not the cast char.
8221 2006-08-18 Roger Sayle <roger@eyesopen.com>
8223 * scripts/check_jni_methods.sh: Don't use the "set -C" command
8224 which isn't available in all shells.
8226 2006-08-18 Roger Sayle <roger@eyesopen.com>
8228 * lib/Makefile.am (resources): Fix some shell portability issues.
8230 2006-08-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8232 * configure.ac (tool-wrappers): Check for ltdl support when tool
8233 wrapper binaries are enabled.
8234 * tools/Makefile.am (LIBJVM): Remove variable.
8235 (AM_CPPFLAGS): Add LIBJVM define.
8236 (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
8237 gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
8238 gjavah_LDFLAGS): Remove variables.
8239 * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
8241 2006-08-18 Tom Tromey <tromey@redhat.com>
8243 * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
8245 * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
8247 (readEntries): Likewise.
8249 2006-08-17 Roman Kennke <kennke@aicas.com>
8251 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8252 (layoutLabel): Reset the text and icon rectangles.
8254 2006-08-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8257 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
8258 Transform gappletviewer name using program_transform_name.
8260 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
8262 * javax/swing/filechooser/FileSystemView.java
8263 (getFileSystemView): Always return UnixFileSystemView, since
8264 that's the only one we got. Marked with NotImplementedException.
8265 * javax/swing/plaf/basic/BasicFileChooserUI.java
8266 (mouseClicked, installUI): Don't parse path by hand.
8268 2006-08-17 Roman Kennke <kennke@aicas.com>
8270 * javax/swing/JComponent.java
8271 (scrollRectToVisible): Handle intermediate non-JComponents
8274 2006-08-17 Roman Kennke <kennke@aicas.com>
8276 * javax/swing/RepaintManager.java
8277 (blitBuffer): Removed. This is now done in commitBuffer().
8278 (commitBuffer): Always paint on the root window or applet.
8279 No need to look for intermediate heavyweights. Optimized
8280 rectangle translation.
8281 (commitRemainingBuffers): Removed. Not needed anymore.
8282 (getHeavyweightParent): Removed. Not needed anymore.
8283 (getOffscreenBuffer): Fetch offscreen image from the
8284 actual root component.
8285 (paintDirtyRegions): Don't call commitRemainingBuffers().
8287 2006-08-17 Roman Kennke <kennke@aicas.com>
8289 * javax/swing/SwingUtilities.java
8290 (clipString): New helper method for trimming strings.
8291 (layoutCompoundLabelImpl): Fixed algorithm to conform
8292 testsuites. Trim text if it's too long. Avoid creating
8293 new Rectangles. Optimized for performance.
8294 (layoutCompoundLabel): Use switch rather then if-else-chain.
8295 * javax/swing/plaf/basic/BasicButtonUI.java
8299 (paint): Reset and use cached rectangles. Only call paintIcon()
8300 if icon is not null. Don't call paintButtonPressed() when
8301 button is selected, only when it is both armed and pressed.
8302 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8303 (getPreferredButtonSize): Reused cached rectangles rather
8304 then creating new ones. Don't create new Rectangle via
8306 * javax/swing/plaf/basic/BasicLabelUI.java
8307 (getPreferredSize): Correctly reset cached rectangles. Especially
8308 the view rect must have a big size to give it room for layouting.
8309 Short cut layout when text == null.
8310 (paint): Correctly reset cached rectangles.
8311 * javax/swing/plaf/basic/BasicMenuItemUI.java
8312 (resetRectangles): New helper method.
8313 (getPreferredMenuItemSize): Correctly reset the cached rectangles.
8314 (paintMenuItem): Correctly reset the cached rectangles.
8315 * javax/swing/plaf/basic/BasicRadioButtonUI.java
8316 (getPreferredSize): Use cached Rectangle objects and initialize
8318 (paint): Use cached Rectangle objects and initialize
8321 2006-08-17 David Gilbert <david.gilbert@object-refinery.com>
8323 * java/util/Calendar.java: API doc additions.
8325 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8327 * javax/swing/DefaultButtonModel.java:
8328 (setRollover): Simplified statement.
8330 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
8332 * gnu/java/rmi/server/RMIClassLoaderImpl.java
8333 (loadClass): Rewritten to use getClassLoader.
8334 (loadProxyClass): Implemented.
8335 (getClassLoader): Fixed support for null or empty codebase.
8336 * gnu/java/rmi/server/RMIObjectInputStream.java
8337 (resolveClass): Use user class loader as default class loader.
8338 (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
8339 * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
8340 (loadClass): Simplified and use user class loader instead of
8341 context class loader as default.
8342 * java/io/ObjectInputStream.java
8343 (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
8344 * vm/reference/gnu/classpath/VMStackWalker.java
8345 (firstNonNullClassLoader): New method.
8346 * vm/reference/java/io/VMObjectInputStream.java
8347 (loaderAction, currentClassLoader): Removed.
8349 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8351 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8352 (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
8353 by current scroll offset, added method documention.
8354 (getTabBounds(int, Rectangle)): Added method documentation.
8355 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
8356 (paintContentBorderLeftEdge): Changed y to 1.
8358 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8360 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8361 (MouseHandler.mouseReleased): Implemented.
8362 (MouseHandler.mousePressed): Added delegation to tabbed pane.
8363 (MouseHandler.mouseEntered): Dito.
8364 (MouseHandler.mouseExited): Dito.
8365 (MouseHandler.mouseMoved): Dito.
8366 (MouseHandler.redispatchEvent): New method.
8367 (PropertyChangeHandler.propertyChange): Added extra block level,
8368 added code to handle tab placement changes, added comment.
8369 (updateViewPosition): Set unneeded coordinate to 0, added comment.
8371 2006-08-16 Roman Kennke <kennke@aicas.com>
8373 * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
8374 * gnu/javax/swing/text/html/css/CSSLexicalException.java:
8377 2006-08-16 Mark Wielaard <mark@klomp.org>
8379 * java/awt/Component.java (orientation): Renamed to
8380 componentOrientation.
8381 (setComponentOrientation): Use new field name.
8382 (getComponentOrientation): Likewise.
8384 2006-08-16 Roman Kennke <kennke@aicas.com>
8387 * javax/swing/plaf/basic/BasicTreeUI.java
8388 (CellEditorHandler.editingCancelled): Call completeEditing
8390 (CellEditorHandler.editingStopped): Call completeEditing
8392 (NodeDimensionHandler.getNodeDimensions): Rewritten
8393 to use the preferred sizes of the renderer and editor.
8394 (TreeExpansionHandler.treeCollapsed): Complete editing
8396 (TreeSelectionHandler.valueChanged): Complete editing
8398 (cancelEditing): Call completeEditing with false, false and
8399 false. Don't call finish (removed method).
8400 (completeEditing(boolean,boolean,boolean): Only do something when
8401 stopEditingInCompleteEditing is true. Nullify editingComponent
8402 and editingPath. Remove editingComponent from tree. Update
8403 the layout when necessary and repaint.
8404 (completeEditing): Stop editing when necessary.
8405 (editorRequestFocus): New helper method. Request focus
8406 on the actual editor.
8407 (finish) Removed. This is now done in completeEditing().
8408 (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
8409 (setLargeModel): Complete editing here.
8410 (setRootVisible): Complete editing here.
8411 (setRowHeight): Complete editing here.
8412 (setSelectionModel): Complete editing here.
8413 (startEditing): Correctly initialize and start editing.
8414 (updateExpandedDescendants): Complete editing here.
8415 * javax/swing/tree/DefaultTreeCellEditor.java
8416 (DefaultTextField): Fetch size from super and use renderer's height
8418 (EditorContainer.EditorContainer): Set layout to null, just
8420 (EditorContainer.doLayout): Layout so that the editor
8421 is offset to the right of the icon.
8422 (EditorContainer.getPreferredSize): Implemented to
8423 provide a reasonable preferred size.
8424 (EditorContainer.paint): Position icon in the middle.
8425 Also paint border if appropriate.
8426 (EditorContainer.setBounds): Removed.
8427 (RealEditorListener): Removed.
8428 (DefaultTreeCellEditor): Set correct border.
8429 (cancelCellEditing): Message real editor. Call finish().
8430 (createCellEditor): Don't add listener.
8431 (determineOffset): Correctly determine offset, and update
8433 (finish): New helper method.
8434 (getTreeCellEditorComponent): Set correct font. Call
8435 prepareForEditing() and determineOffset() to correctly initialize
8437 (stopCellEditing): Messsage realEditor to stop editing. Call
8439 (stopEditingTimer): Removed.
8440 (valueChanged): Correctly reset lastPath.
8441 * javax/swing/tree/DefaultTreeCellRenderer.java
8442 (getPreferredSize): Return super plus some extra space for
8445 2006-08-16 Roman Kennke <kennke@aicas.com>
8447 * javax/swing/plaf/metal/MetalTreeUI.java
8448 (LineStyleListener): New property listener, that updates
8449 the line style setting if the corresponding property
8451 (lineStyleListener): New field.
8452 (lineStyle): New field.
8453 (LINE_STYLE_ANGLED): New constant field.
8454 (LINE_STYLE_HORIZONTAL): New constant field.
8455 (LINE_STYLE_NONE): New constant field.
8456 (LINE_STYLE_VALUE_ANGLED): New constant field.
8457 (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8458 (LINE_STYLE_VALUE_NONE): New constant field.
8459 (LINE_STYLE_PROPERTY): New constant field.
8460 (decodeLineStyle): Implemented.
8461 (installUI): Install line style listener. Set initial
8463 (uninstallUI): Uninstall line style listener.
8464 (paintHorizontalPartOfLeg): Only call super for angled
8466 (paintVerticalPartOfLeg): Only call super for angled
8468 (paintHorizontalSeparators): Implemented.
8469 (paint): If lineStyle==HORIZONTAL, call
8470 paintHorizontalSeparators().
8471 * examples/gnu/classpath/examples/swing/TreeDemo.java
8472 (createContent): Add panel for selecting line styles.
8474 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8476 * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8477 (createContent): Rewritten.
8478 (createPlacementChangingMenuItem): New method.
8479 (createLayoutPolicyChangingMenuItem): New method.
8480 (createTabbedPane): New method.
8481 (createTabContent): New method.
8483 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8485 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8486 (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8487 disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8489 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8491 * javax/swing/text/WrappedPlainView.java:
8492 (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8493 (calculateBreakPosition): Add p0 to return value.
8495 2006-08-15 Roman Kennke <kennke@aicas.com>
8497 * javax/swing/plaf/basic/BasicTreeUI.java
8498 (MouseHandler.selectedOnPress): New field.
8499 (MouseHandler.handleEvent): New helper method for handling
8500 selection and start/stop editing for mouse events.
8501 (MouseHandler.mouseDragged): Commented as no-op method.
8502 (MouseHandler.mouseMoved): Commented as no-op method.
8503 (MouseHandler.mousePressed): Use handleEvent() to handle
8504 selection and editing handling.
8505 (MouseHandler.mouseReleased): Use handleEvent() to handle
8506 selection and editing handling.
8507 (MouseInputHandler.MouseInputHandler): Register itself
8508 as mouse listener on source. Redispatch event to
8510 (MouseInputHandler.dispatch): New helper method.
8511 (MouseInputHandler.mouseClicked): Dispatch event.
8512 (MouseInputHandler.mouseDragged): Dispatch event.
8513 (MouseInputHandler.mouseEntered): Stop dispatching
8514 if dragging stopped.
8515 (MouseInputHandler.mouseExited): Stop dispatching
8516 if dragging stopped.
8517 (MouseInputHandler.mouseMoved): Stop dispatching.
8518 (MouseInputHandler.mousePressed): Marked as no-op.
8519 (MouseInputHandler.mouseReleased): Dispatch and stop
8520 dispatching afterwards.
8521 (MouseInputHandler.removeFromSource): Implemented.
8522 (PropertyChangeHandler.propertyChange): Also handle
8523 editable property changes by calling setEditable().
8524 (SelectionModelPropertyChangeHandler.propertyChange):
8525 Reset row selection.
8526 (startEditTimer): Removed.
8527 (setCellEditor): Call updateEditor().
8528 (setEditable): Call updateEditor().
8529 (startEditingAtPath): Make path fully visible before starting
8531 (startEditing): Maybe cancel previous edit session. Add
8532 editing component itself, not its parent container.
8533 Register MouseInputHandler for correctly redispatching
8535 (stopEditing): Message cellEditor and only completeEditing()
8536 when approved by cell editor.
8537 (updateCellEditor): Complete editing before updating
8538 the cell editor. Get cell editor from JTree if possible,
8539 otherwise create default editor. Update the listeners
8541 * javax/swing/tree/DefaultTreeCellEditor.java
8542 (CLICK_COUNT_TO_START): Removed.
8543 (DefaultTreeCellEditor): Install correct border. Let setTree()
8544 update the listeners. Don't initialize lastPath and font yet.
8545 (actionPerformed): Implemented to start editing.
8546 (createTreeCellEditor): Set click count to start to 1, rather than
8548 (isCellEditable): Prepare editor here. Determine if we can
8549 start immediately, or if we trigger a timer to do so.
8550 (prepareForEditing): Don't removeAll() (not necessary),
8551 check editingComponent to be non-null.
8552 (setTree): Update listeners.
8553 (shouldStartEditingTimer): Check for left mouse button.
8554 (startEditingTimer): Lazily create timer.
8556 2006-08-15 Lillian Angel <langel@redhat.com>
8558 * java/awt/dnd/DropTargetDragEvent.java
8559 (getTransferable): Implemented.
8561 2006-08-15 Roman Kennke <kennke@aicas.com>
8563 * java/util/Vector.java
8564 (removeAll): Added comment about NPE.
8565 (retainAll): Added comment about NPE.
8567 2006-08-15 Roman Kennke <kennke@aicas.com>
8569 * java/util/zip/ZipFile.java
8570 (UTF8DECODER): Removed.
8571 (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8572 (utf8Decoder): New instance field.
8573 (decodeChars): Lazily create UTF8 decoder. Use instance
8574 field rather than a static field to avoid corruption.
8576 2006-08-15 Roman Kennke <kennke@aicas.com>
8578 * java/io/PrintStream.java
8579 (line_separator): Provide default for system property.
8580 * java/io/FileDescriptor.java
8581 (valid): Create local copy of channel field for better
8584 2006-08-15 Ingo Proetel <proetel@aicas.com>
8586 * java/util/zip/ZipFile.java
8587 (PartialInputStream.UTF8DECODER): New constant field, used
8588 for decoding UTF8 strings.
8589 (readLeShort): Access buffer directly if it has enough bytes
8591 (readLeInt): Access buffer directly if it has enough bytes
8593 (decodeChars): New helper method for decoding UTF8 strings.
8594 (readString): Avoid NIO charset decoder if possible.
8596 2006-08-15 Roman Kennke <kennke@aicas.com>
8598 * java/util/Vector.java
8599 (removeAll): Don't explicitly null-check here. The RI allows
8600 null arguments when Vector is empty. In other cases we
8601 implicitly throw an NPE.
8602 (retainAll): Don't explicitly null-check here. The RI allows
8603 null arguments when Vector is empty. In other cases we
8604 implicitly throw an NPE.
8606 2006-08-14 Casey Marshall <csm@gnu.org>
8608 Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8609 of changes made on this branch.
8611 * gnu/classpath/debug/Component.java
8612 * gnu/classpath/debug/SystemLogger.java
8613 * gnu/java/security/action/GetPropertyAction.java
8614 * gnu/java/security/action/GetSecurityPropertyAction.java
8615 * gnu/javax/crypto/RSACipherImpl.java
8616 * gnu/javax/net/ssl/PrivateCredentials.java
8617 * gnu/javax/net/ssl/provider/Alert.java
8618 * gnu/javax/net/ssl/provider/AlertException.java
8619 * gnu/javax/net/ssl/provider/Certificate.java
8620 * gnu/javax/net/ssl/provider/CertificateRequest.java
8621 * gnu/javax/net/ssl/provider/CertificateType.java
8622 * gnu/javax/net/ssl/provider/CertificateVerify.java
8623 * gnu/javax/net/ssl/provider/CipherSuite.java
8624 * gnu/javax/net/ssl/provider/ClientHello.java
8625 * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8626 * gnu/javax/net/ssl/provider/CompressionMethod.java
8627 * gnu/javax/net/ssl/provider/Constructed.java
8628 * gnu/javax/net/ssl/provider/ContentType.java
8629 * gnu/javax/net/ssl/provider/DiffieHellman.java
8630 * gnu/javax/net/ssl/provider/Extension.java
8631 * gnu/javax/net/ssl/provider/Finished.java
8632 * gnu/javax/net/ssl/provider/Handshake.java
8633 * gnu/javax/net/ssl/provider/Jessie.java
8634 * gnu/javax/net/ssl/provider/ProtocolVersion.java
8635 * gnu/javax/net/ssl/provider/Random.java
8636 * gnu/javax/net/ssl/provider/ServerHello.java
8637 * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8638 * gnu/javax/net/ssl/provider/Signature.java
8639 * gnu/javax/net/ssl/provider/Util.java
8640 * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8641 * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8642 * java/security/MessageDigest.java
8643 * java/security/MessageDigestSpi.java
8644 * java/security/Signature.java
8645 * java/security/SignatureSpi.java
8646 * javax/crypto/Mac.java
8647 * javax/crypto/MacSpi.java
8648 * javax/net/ssl/HandshakeCompletedEvent.java
8649 * javax/net/ssl/HttpsURLConnection.java
8650 * javax/net/ssl/SSLContext.java
8651 * javax/net/ssl/SSLContextSpi.java
8652 * javax/net/ssl/SSLSession.java
8654 * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java
8655 * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java
8656 * gnu/javax/net/ssl/provider/SimpleSessionContext.java
8657 * gnu/javax/net/ssl/provider/ServerRSAParams.java
8658 * gnu/javax/net/ssl/provider/SSLContextImpl.java
8659 * gnu/javax/net/ssl/provider/ServerDHParams.java
8660 * gnu/javax/net/ssl/provider/ClientHelloBuilder.java
8661 * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java
8662 * gnu/javax/net/ssl/provider/SignatureAlgorithm.java
8663 * gnu/javax/net/ssl/provider/CipherSuiteList.java
8664 * gnu/javax/net/ssl/provider/ServerNameList.java
8665 * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java
8666 * gnu/javax/net/ssl/provider/CompressionMethodList.java
8667 * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java
8668 * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java
8669 * gnu/javax/net/ssl/provider/TrustedAuthorities.java
8670 * gnu/javax/net/ssl/provider/CertificateStatusRequest.java
8671 * gnu/javax/net/ssl/provider/ServerHelloDone.java
8672 * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java
8673 * gnu/javax/net/ssl/provider/SSLSocketImpl.java
8674 * gnu/javax/net/ssl/provider/ServerHelloBuilder.java
8675 * gnu/javax/net/ssl/provider/Record.java
8676 * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java
8677 * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java
8678 * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java
8679 * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java
8680 * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java
8681 * gnu/javax/net/ssl/provider/CertificateBuilder.java
8682 * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java
8683 * gnu/javax/net/ssl/provider/CertificateStatusType.java
8684 * gnu/javax/net/ssl/provider/ExtensionList.java
8685 * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java
8686 * gnu/javax/net/ssl/provider/ClientPSKParameters.java
8687 * gnu/javax/net/ssl/provider/X500PrincipalList.java
8688 * gnu/javax/net/ssl/provider/ServerHandshake.java
8689 * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java
8690 * gnu/javax/net/ssl/provider/SessionImpl.java
8691 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
8692 * gnu/javax/net/ssl/provider/ServerPSKParameters.java
8693 * gnu/javax/net/ssl/provider/TruncatedHMAC.java
8694 * gnu/javax/net/ssl/provider/MaxFragmentLength.java
8695 * gnu/javax/net/ssl/provider/HelloRequest.java
8696 * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java
8697 * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java
8698 * gnu/javax/net/ssl/provider/CipherAlgorithm.java
8699 * gnu/javax/net/ssl/provider/ClientHandshake.java
8700 * gnu/javax/net/ssl/provider/ExchangeKeys.java
8701 * gnu/javax/net/ssl/provider/CertificateURL.java
8702 * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java
8703 * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java
8704 * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java
8705 * gnu/javax/net/ssl/provider/Builder.java
8706 * gnu/javax/net/ssl/provider/Debug.java
8707 * gnu/javax/net/ssl/provider/SSLEngineImpl.java
8708 * gnu/javax/net/ssl/provider/MacAlgorithm.java
8709 * gnu/javax/net/ssl/provider/DelegatedTask.java
8710 * gnu/javax/net/ssl/provider/InputSecurityParameters.java
8711 * gnu/javax/net/ssl/provider/ClientHelloV2.java
8712 * gnu/javax/net/ssl/provider/OutputSecurityParameters.java
8713 * gnu/javax/net/ssl/provider/AbstractHandshake.java
8714 * javax/net/ssl/SSLEngine.java
8715 * javax/net/ssl/CertPathTrustManagerParameters.java
8716 * javax/net/ssl/KeyStoreBuilderParameters.java
8717 * javax/net/ssl/X509ExtendedKeyManager.java
8718 * javax/net/ssl/SSLEngineResult.java
8719 * gnu/javax/net/ssl/PreSharedKeyManager.java
8720 * gnu/javax/net/ssl/Session.java
8721 * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java
8722 * gnu/javax/net/ssl/SSLCipherSuite.java
8723 * gnu/javax/net/ssl/AbstractSessionContext.java
8724 * gnu/javax/net/ssl/SessionStoreException.java
8725 * gnu/javax/net/ssl/SSLRecordHandler.java
8726 * gnu/javax/net/ssl/SSLProtocolVersion.java
8727 * gnu/javax/crypto/key/GnuPBEKey.java
8728 * gnu/java/security/util/ByteBufferOutputStream.java
8729 * gnu/java/security/Requires.java
8730 * gnu/javax/security/auth/callback/CertificateCallback.java
8732 * gnu/javax/net/ssl/provider/Context.java
8733 * gnu/javax/net/ssl/provider/DigestInputStream.java
8734 * gnu/javax/net/ssl/provider/DigestOutputStream.java
8735 * gnu/javax/net/ssl/provider/Enumerated.java
8736 * gnu/javax/net/ssl/provider/Extensions.java
8737 * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8738 * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8739 * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8740 * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8741 * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8742 * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8743 * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8744 * gnu/javax/net/ssl/provider/KeyPool.java
8745 * gnu/javax/net/ssl/provider/OverflowException.java
8746 * gnu/javax/net/ssl/provider/RecordInput.java
8747 * gnu/javax/net/ssl/provider/RecordInputStream.java
8748 * gnu/javax/net/ssl/provider/RecordOutputStream.java
8749 * gnu/javax/net/ssl/provider/RecordingInputStream.java
8750 * gnu/javax/net/ssl/provider/SSLRSASignature.java
8751 * gnu/javax/net/ssl/provider/SSLServerSocket.java
8752 * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8753 * gnu/javax/net/ssl/provider/SSLSocket.java
8754 * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8755 * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8756 * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8757 * gnu/javax/net/ssl/provider/SecurityParameters.java
8758 * gnu/javax/net/ssl/provider/Session.java
8759 * gnu/javax/net/ssl/provider/SessionContext.java
8760 * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8761 * gnu/javax/net/ssl/provider/XMLSessionContext.java
8763 2006-08-14 Roman Kennke <kennke@aicas.com>
8765 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8766 (DividerLayout.layoutContainer): Removed debug output.
8767 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8768 (BasicHorizontalLayoutManager.axis): New field.
8769 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8771 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8772 Call new axis constructor.
8773 (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8775 (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8777 (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8778 Refactored to handle direction.
8779 (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8780 to handle direction.
8781 (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8783 (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8784 to handle direction.
8785 (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8786 to handle direction.
8787 (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8788 to handle direction.
8789 (BasicHorizontalLayoutManager.updateComponents): Don't reset
8791 (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8792 New explicit constructor. Calls super with vertical axis.
8793 (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8794 to BasicHorizontalLayoutManager.
8795 (BasicVerticalLayoutManager.getInitialLocation): Functionality
8796 moved to BasicHorizontalLayoutManager.
8797 (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8798 Functionality moved to BasicHorizontalLayoutManager.
8799 (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8800 moved to BasicHorizontalLayoutManager.
8801 (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8802 moved to BasicHorizontalLayoutManager.
8803 (BasicVerticalLayoutManager.minimumSizeOfComponent):
8804 Functionality moved to BasicHorizontalLayoutManager.
8805 (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8806 moved to BasicHorizontalLayoutManager.
8807 (BasicVerticalLayoutManager.setComponentToSize): Functionality
8808 moved to BasicHorizontalLayoutManager.
8809 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8810 (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8811 (BUTTON_SPRITE_R): New constant field.
8812 (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8813 L sprite for left buttons.
8815 2006-08-14 Andreas Tobler <a.tobler@schweiz.ch>
8817 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8818 (query_formats): g_free 'name' after usage.
8819 g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
8820 g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
8822 2006-08-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8825 * configure.ac (MOZILLA_FOUND): Add pkg-config check for
8828 2006-08-14 Francis Kung <fkung@redhat.com>
8831 * java/awt/image/ColorModel.java
8832 (coerceData): Added check for non-transparent images.
8834 2006-08-14 Francis Kung <fkung@redhat.com>
8836 * java/awt/image/BandCombineOp.java
8837 (BandCombineOp): Perform checks on validity of matrix.
8838 (createCompatibleDestRaster): Add checks and choose raster type dynamically.
8839 (filter): Updated to work with new matrix storage.
8840 (getMatrix): Updated javadoc.
8841 (getPoint2D): Formatting change.
8843 2006-08-14 Francis Kung <fkung@redhat.com>
8845 * java/awt/image/AffineTransformOp.java
8846 (AffineTransformOp): Updated javadoc.
8847 (createCompatibleDestImage): Match behaviour of reference implementation.
8848 (createCompatibleDestRaster): Formatting changes.
8849 (filter(BufferedImage, BufferedImage)): Create compatible destination image.
8850 (filter(Raster, WritableRaster)): Re-implemented.
8851 (filterBicubic): New private method.
8852 (filterBilinear): New private method.
8853 (filterNearest): New private method.
8854 (getBounds2D): No longer fixed around one point for rotations.
8855 (getInterpolationType): Add support for bicubic interpolation.
8857 2006-08-14 Roman Kennke <kennke@aicas.com>
8859 * javax/swing/plaf/metal/MetalLookAndFeel.java
8860 (MetalLookAndFeel): Moved theme initialization to
8862 (createDefaultTheme): Forward to getCurrentTheme().
8863 (getDefaults): Initialize theme before doing anything else.
8864 (getCurrentTheme): Recognize swing.metalTheme property.
8866 2006-08-14 Roman Kennke <kennke@aicas.com>
8868 * javax/swing/JTable
8869 (getScrollableUnitIncrement): Expose partially exposed
8870 row in scrolling direction.
8872 2006-08-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8874 * javax/swing/JTable (getScrollableUnitIncrement):
8875 Removing my name as the whole method body have been
8876 recently completely replaced.
8878 2006-08-14 Roman Kennke <kennke@aicas.com>
8881 * javax/swing/text/Utilities.java
8882 (getTabbedTextOffset): Don't add p0 here.
8884 2006-08-14 Roman Kennke <kennke@aicas.com>
8887 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8888 (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
8889 when wheel is going up.
8891 2006-08-14 Roman Kennke <kennke@aicas.com>
8894 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8895 (BasicOneTouchButton): New inner class.
8896 (DividerLayout.changeButtonOrientation): Removed.
8897 (DividerLayout.positionButtons): Moved into layoutContainer.
8898 (DividerLayout.layoutContainer): Reworked for correct layout.
8899 (OneTouchAction): New inner class.
8900 (centerOneTouchButtons): New field.
8901 (BasicSplitPaneDivider): Initialize centerOneTouchButton from
8903 (createLeftOneTouchButton): Reimplemented to return
8904 BasicOneTouchButton.
8905 (createRightOneTouchButton): Reimplemented to return
8906 BasicOneTouchButton.
8907 (getPreferredSize): Reimplemented to return fixed preferredSize.
8908 (oneTouchExpandableChanged): Add OneTouchAction action to
8909 buttons. Don't install mouse listeners.
8910 (MouseHandler.mousePressed): Removed handling of one touch buttons.
8911 (paint): Don't trigger extra paint for buttons.
8912 (propertyChange): Revalidate splitPane when orientation is changed.
8913 (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
8914 oneTouchExpandable is true.
8915 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8916 (installDefaults): Install dividerSize on the divider too.
8917 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8918 (MetalDividerLayout): Removed. Functionality is already
8919 in BasicSplitPaneDivider.DividerLayout.
8920 (MetalOneTouchButton): New inner class.
8921 (BUTTON_SPRITE): New constant field.
8922 (MetalSplitPaneDivider): Don't change layout.
8923 (createLeftOneTouchButton): Overridden to return custom button
8925 (createRightOneTouchButton): Overridden to return custom button
8927 (paint): Don't trigger button painting. Call super instead.
8929 2006-08-13 Roman Kennke <kennke@aicas.com>
8931 * javax/swing/plaf/basic/BasicTableHeaderUI.java
8932 (installKeyboardAction): Unmarked as stub. Added comment
8933 explaining that the RI seems to do nothing here.
8934 (uninstallKeyboardAction): Unmarked as stub. Added comment
8935 explaining that the RI seems to do nothing here.
8937 2006-08-13 Roman Kennke <kennke@aicas.com>
8940 * javax/swing/ScrollPaneLayout.java
8941 (layoutContainer): Consider the viewportBorder of the
8943 (minimumLayoutSize): Consider the viewportBorder of the
8945 (preferredLayoutSize): Consider the viewportBorder of the
8947 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8948 (installDefaults): Also install viewportBorder if specified.
8949 (paint): Paint viewportBorder if present.
8950 (uninstallDefaults): Uninstall viewportBorder if appropriate.
8951 Don't nullify foreground, background and font. Uninstall
8952 border via LookAndFeel helper method to avoid uninstall
8955 2006-08-13 Roman Kennke <kennke@aicas.com>
8958 * javax/swing/plaf/basic/BasicHTML.java
8959 (HTMLRootView.HTMLRootView): Trigger initial layout.
8960 (HTMLRootView.setSize): Overridden to forward to real view.
8961 * javax/swing/plaf/basic/BasicToolTipUI.java
8962 (PropertyChangeHandler): New inner class. Updates the HTML
8964 (propertyChangeHandler): New field.
8965 (getMaximumSize): Add HTML width delta.
8966 (getMinimumSize): Add HTML width delta.
8967 (getPreferredSize): Reimplemented to use HTML view for size
8968 calculation if appropriate, otherwise use simple stringWidth()
8970 (installListeners): Install propertyChangeHandler.
8971 (uninstallListeners): Uninstall propertyChangeHandler.
8972 (installUI): Update HTML renderer.
8973 (uninstallUI): Update HTML renderer.
8974 (paint): Reimplemented to use HTML view for rendering if
8975 appropriate, simple drawString otherwise.
8976 * javax/swing/plaf/metal/MetalToolTipUI.java
8977 (getPreferredSize): Call super and add accelerator delta.
8978 (paint): Simply call super.
8980 2006-08-13 Roman Kennke <kennke@aicas.com>
8982 * javax/swing/JMenu.java
8983 (changeListener): Renamed to menuChangeListener to avoid
8984 shadowing changeListener field from AbstractButton.
8986 2006-08-13 Roman Kennke <kennke@aicas.com>
8988 * javax/swing/JTree.java
8989 (getScrollableUnitIncrement): Fixed direction.
8990 (getScrollableBlockIncrement): Implemented to scroll one
8992 * javax/swing/tree/VariableHeightLayoutCache.java
8993 (distance): Consider y + height already outside the node.
8995 2006-08-13 Roman Kennke <kennke@aicas.com>
8997 * javax/swing/JTable.java
8998 (getScrollableUnitIncrement): Fixed direction. Make it behave
9000 (getScrollableBlockIncrement): Fixed direction. Make it behave
9003 2006-08-13 Roman Kennke <kennke@aicas.com>
9005 * javax/swing/JList.java
9006 (getScrollableUnitIncrement): Fixed direction. Implemented
9007 horizontal scrolling. Improved usability.
9008 (getScrollableBlockIncrement): Fixed direction. Improved usability.
9010 2006-08-13 Roman Kennke <kennke@aicas.com>
9012 * javax/swing/plaf/basic/BasicScrollBarUI.java
9013 (scrollByUnit): Scroll by -unit when direction is not positive
9014 and +unit otherwise.
9015 (scrollByBlock): Scroll by -unit when direction is not positive
9016 and +unit otherwise.
9018 2006-08-13 Roman Kennke <kennke@aicas.com>
9021 * javax/swing/text/PlainView.java
9022 (paint): Limit painted area to the lines inside the clip
9025 2006-08-13 Roman Kennke <kennke@aicas.com>
9027 * javax/swing/plaf/basic/BasicTextUI.java
9028 (uninstallListeners): Unregister document listener.
9030 2006-08-13 Sven de Marothy <sven@physto.se>
9032 * java/util/Locale.java
9033 (hashcodeCache): New field.
9034 (hashCode): use the above field instead of the serialized one
9035 (writeObject): Removed method.
9036 (readObject): Intern strings.
9037 (equals): Revert to previous method.
9039 2006-08-13 Roman Kennke <kennke@aicas.com>
9041 * javax/swing/JTabbedPane.java
9042 (JTabbedPane): Call setModel() here and let this install the
9043 change listener correctly.
9044 (setModel): Correctly uninstall and reinstall ChangeListener when
9047 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9050 * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
9051 (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
9052 (lastDefaultLocale): Removed.
9053 (emptyLocale): Likewise.
9054 (BundleKey.defaultLocale): New field.
9055 (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
9056 (BundleKey.set): Likewise.
9057 (BundleKey.equals): Take defaultLocal field into consideration.
9058 (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
9060 2006-08-13 Roman Kennke <kennke@aicas.com>
9062 * javax/swing/JMenu.java
9063 (MenuChangeListener): New inner class, helps firing menu events.
9064 (changeListener): New field.
9065 (add(text)): Create new JMenuItem here and call add(JMenuItem).
9066 (add(Action)): Create Action using createActionComponent()
9067 and add via add(Component).
9068 (setModel): Install and uninstall MenuChangeListener here.
9070 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9073 * java/math/BigInteger.java: Updated copyright year.
9074 (init): Consume as little bytes as possible.
9075 (BigInteger(int, int, Random)): Ensure bitLength bits are used.
9076 (valueOf(String, int)): Throw NumberFormatException for malformed strings
9077 as per RI's documentation.
9079 2006-08-13 Sven de Marothy <sven@physto.se>
9081 * java/util/Locale.java
9082 (hashcode): Is a serialized field, not transient.
9083 (equals): Should NOT compare strings by reference.
9084 (readObject/writeObject): Use the default methods and handle the hash
9087 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9090 * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
9091 Updated documentation.
9093 (getInstance(String, String, Provider, Object[])): Likewise.
9094 Separate checks for null and empty string arguments.
9095 Include as much information as possible in the exception's message.
9096 Do not swallow original exception; instead use it as the cause of the
9097 resulting exception.
9098 * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
9099 (getInstance(String)): Updated documentation.
9101 Store last exception caught when iterating through all providers.
9102 If no implementation found, raise last exception if one was caught.
9103 (getInstance(String, String)): Updated documentation.
9105 Check for null or empty provider as per RI-5's documentation.
9106 (getInstance(String, Provider)): Updated documentation.
9108 Use as much information as possible in the exception message.
9109 Do not swallow original exception; instead use it as the cause for the
9110 ultimate raised exception(s).
9111 * java/security/cert/CertificateFactory.java: Likewise.
9112 * java/security/cert/CertPathBuilder.java: Likewise.
9113 * java/security/cert/CertPathValidator.java: Likewise.
9114 * java/security/cert/CertStore.java: Likewise.
9115 * java/security/AlgorithmParameterGenerator.java: Likewise.
9116 * java/security/AlgorithmParameters.java: Likewise.
9117 * java/security/KeyFactory.java: Likewise.
9118 * java/security/KeyPairGenerator.java: Likewise.
9119 * java/security/KeyStore.java: Likewise.
9120 * java/security/MessageDigest.java: Likewise.
9121 * java/security/SecureRandom.java: Likewise.
9122 * java/security/Signature.java: Likewise.
9123 * javax/crypto/Cipher.java: Likewise.
9124 * javax/crypto/ExemptionMechanism.java: Likewise.
9125 * javax/crypto/KeyAgreement.java: Likewise.
9126 * javax/crypto/KeyGenerator.java: Likewise.
9127 * javax/crypto/Mac.java: Likewise.
9128 * javax/crypto/SecretKeyFactory.java: Likewise.
9129 * javax/net/ssl/KeyManagerFactory.java: Likewise.
9130 * javax/net/ssl/SSLContext.java: Likewise.
9131 * javax/net/ssl/TrustManagerFactory.java: Likewise.
9133 2006-08-13 Roman Kennke <kennke@aicas.com>
9135 * javax/swing/JEditorPane.java
9136 (getScrollableTracksViewportHeight): Also check maximum size.
9137 * javax/swing/JTextPane.java
9138 (insertIcon): Use input attributes for adding the icon
9140 * javax/swing/plaf/basic/BasicTextUI.java
9141 (RootView.setSize): Overridden to forward to real view.
9142 (getPreferredSize): Trigger setSize() on the view.
9143 (viewToModel(JTextComponent,Point)): Pass Position.Bias array
9144 to viewToModel() call, rather then null.
9145 * javax/swing/text/ParagraphView.java
9146 (changedUpdate): Invalide layout. Call super.
9147 * javax/swing/text/SimpleAttributeSet.java
9148 (clone): Use super's clone method to create clone.
9149 * javax/swing/text/StyleConstants.java
9150 (setIcon): Also set element name attribute.
9151 * javax/swing/text/StyledEditorKit.java
9152 (BoldAction.actionPerformed): Actually set the bold attribute,
9154 (setCharacterAttributes): Replaced with more straightforward
9156 * javax/swing/text/TextAction.java
9157 (getFocusedComponent): Implemented.
9158 * javax/swing/text/Utilities.java
9159 (getNextVisualPositionFrom): Pass Position.Bias arrays instead
9161 * javax/swing/text/View.java
9162 (changedUpdate): Nullify element change when updateChildren
9165 2006-08-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
9167 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
9168 Fix documentation typos.
9170 2006-08-11 David Daney <ddaney@avtrex.com>
9173 * gnu/java/net/protocol/http/Request.java (readResponse): Call
9174 createResponseBodyStream in more cases and with new parameter.
9175 (createResponseBodyStream): Added new parameter mayHaveBody. Handle
9176 HEAD and !mayHaveBody responses specially.
9178 2006-08-11 Roman Kennke <kennke@aicas.com>
9180 * javax/swing/text/GlyphView.java
9181 (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
9182 * javax/swing/text/LabelView.java
9183 (valid): New flag indicating if the text attributes are valid.
9184 (LabelView): Initialize valid field with false.
9185 (setPropertiesFromAttributes): Call setter methods instead
9186 of setting properties directly. Set valid to true.
9187 (changedUpdate): Invalidate attributes. Call super.
9188 (getBackground): Sync attributes if necessary.
9189 (getForeground): Sync attributes if necessary.
9190 (getFont): Sync attributes if necessary.
9191 (isUnderline): Sync attributes if necessary.
9192 (isSuperscript): Sync attributes if necessary.
9193 (isStrikeThrough): Sync attributes if necessary.
9194 (getFontMetrics): Sync attributes if necessary. Fetch font metrics
9195 from toolkit if Container is not available yet.
9197 2006-08-11 Roman Kennke <kennke@aicas.com>
9199 * javax/swing/text/PlainView.java
9200 (tabBase): New field.
9201 (tabSize): New field.
9202 (updateMetrics): Update tabSize.
9203 (lineToRect): Only allocate when really necessary.
9204 (modelToView): Use tabBase for offset calculations.
9205 (paint): Only allocate when really necessary. Update tabBase.
9206 (nextTabStop): Fixed tab calculation.
9207 (viewToModel): Correctly handle multiline text and locations
9208 outside the view's bounds. Set bias.
9209 (getLineLength): Use tabBase.
9210 * javax/swing/text/Utilities.java
9211 (drawTabbedText): Don't special case newlines. The views
9212 must take care of this.
9214 2006-08-11 Roman Kennke <kennke@aicas.com>
9216 * javax/swing/text/GapContent.java
9217 (UndoPosRef): New inner class. Used for resetting positions
9218 after undo/redo operations.
9219 (InsertUndo.positions): New field.
9220 (InsertUndo.undo): Store positions in removed range.
9221 (InsertUndo.redo): Restore positions in re-inserted range.
9222 (UndoRemove.positions): New field.
9223 (UndoRemove.UndoRemove): Store positions in removed range.
9224 (UndoRemove.undo): Restore positions in re-inserted range.
9225 (UndoRemove.redo): Store positions in removed range.
9226 (insertString): Create InsertUndo instance before actually
9227 inserting the string.
9228 (remove): Create UndoRemove instance before actually
9230 (getPositionsInRange): Don't clear the Vector. Return Vector
9232 (updateUndoPositions): Implemented to reset all UndoPosRefs
9235 2006-08-11 Jeroen Frijters <jeroen@frijters.net>
9237 * java/io/ObjectInputStream.java (readClassDescriptor):
9238 Use class's class loader to resolve field types.
9239 * java/io/ObjectStreamField.java
9240 (ObjectStreamField(String,String,ClassLoader)): Removed.
9241 (ObjectStreamField(String,String)): Don't try to resolve typename.
9242 (resolveType): New method.
9244 2006-08-10 Roman Kennke <kennke@aicas.com>
9246 * javax/swing/text/BoxView.java
9247 (calculateMajorAxisRequirements): Sum up the preferred and
9249 (isAfter): Also add in the rectangle's with/height.
9250 (childAllocation): Don't trigger layout here.
9251 (layoutMinorAxis): Removed debug output.
9252 (getWidth): Consider the insets.
9253 (getHeight): Consider the insets.
9254 (setSize): Consider the insets.
9255 (updateRequirements): Check axis and throw
9256 IllegalArgumentException.
9258 2006-08-10 Roman Kennke <kennke@aicas.com>
9260 * javax/swing/text/AbstractDocument.java
9261 (BidiRootName): New constant field, denotes the element name
9262 for bidi root elements.
9263 (AsyncLoadPriority): New constant field, denotes the property
9264 to store the asynchronousLoadPriority.
9265 (I18N): New constant field, denotes the property for
9267 (bidiRoot): Made field type BidiRootElement.
9268 (AbstractDocument): Build initial element structure for
9270 (getAsynchronousLoadPriority): Implemented. Returns the
9271 value stored in the document properties.
9272 (setAsynchronousLoadPriority): Implemented. Sets the
9273 value stored in the document properties.
9274 (getEndPosition): Implemented to use a Position from the
9276 (getStartPosition): Implemented to use a Position from the
9278 (insertStringImpl): Update the I18N setting if necessary.
9279 (insertUpdate): Update the bidi structure if necessary.
9280 (postRemoveUpdate): Update the bidi structure if necessary.
9281 (putProperty): Update the I18N setting and bidi structure
9283 (updateBidi): New helper method for updating the bidi
9285 (getBidis): New helper method. Fetches the Bidi analysers
9286 for the paragraphs of the range to check.
9287 (dump): Also dump the bidi structure.
9288 (AbstractElement.dump): Indent the '>' correctly.
9289 (AbstractElement.children): Check numChildren rather then
9291 (BidiRootElement): New inner class.
9292 (BidiElement): New inner class.
9294 2006-08-10 Roman Kennke <kennke@aicas.com>
9296 * javax/swing/text/GapContent.java
9297 (getChars): Optimized to only copy array when really necessary.
9298 Respect the partialReturn property.
9300 2006-08-10 Lillian Angel <langel@redhat.com>
9302 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9303 (getComponentPeer): Added check to prevent NPE.
9305 2006-08-10 Gary Benson <gbenson@redhat.com>
9307 * java/security/AccessControlContext.java (<init>):
9308 Avoid a duplicated AccessController.getContext() call.
9310 2006-08-09 Mark Wielaard <mark@klomp.org>
9312 * doc/www.gnu.org/newsitems.txt: Add 0.92.
9313 * doc/www.gnu.org/downloads/downloads.wml: Likewise.
9314 * doc/www.gnu.org/announce/20060809.wml: New file.
9316 2006-08-09 Mark Wielaard <mark@klomp.org>
9318 * configure.ac (VERSION): Set to 0.92-generics.
9319 * NEWS: Add updates for 0.92 release.
9321 2006-08-09 Tom Tromey <tromey@redhat.com>
9324 * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
9325 the pattern match any number of spaces in the text.
9327 2006-08-09 Sven de Marothy <sven@physto.se>
9329 * java/awt/image/BufferedImage.java
9330 (BufferedImage): Reimplement predefined-type constructor.
9331 (observers/tileObservers): Field renamed to tileObservers.
9332 (createDefaultIndexedColorModel): New method.
9334 2006-08-09 Tom Tromey <tromey@redhat.com>
9337 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
9338 (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
9339 Create a 'short' array.
9341 2006-08-09 Tom Tromey <tromey@redhat.com>
9343 * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
9345 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
9346 (writeFields): Print "L" after int constant. Don't mangle the field
9347 name. Only print int/long fields.
9349 2006-08-09 Tom Tromey <tromey@redhat.com>
9351 * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
9354 2006-08-09 Sven de Marothy <sven@physto.se>
9356 * javax/swing/JTree.java
9357 (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
9358 (setSelectionModel): Null parameter should create an EmptySelectionM.
9360 2006-08-09 Roman Kennke <kennke@aicas.com>
9362 * javax/swing/text/AbstractDocument.java
9363 (insertString): Perform modifications inside a write lock.
9364 (insertStringImpl): Don't lock here. This is already done
9366 (replace): Perform modifications inside a write lock.
9367 (AbstractElement.AbstractElement): Call addAttributes() to
9369 (AbstractElement.getName): Fetch name from the ElementNameAttibute.
9370 (BranchElement.lastIndex): New field. Optimizes getElementIndex().
9371 (BranchElement.BranchElement): Set lastIndex to -1.
9372 (BranchElement.getElementIndex): Implemented more efficient
9375 2006-08-09 Roman Kennke <kennke@aicas.com>
9377 * javax/swing/text/DefaultStyledDocument.java
9378 (Edit): Moved this inner class into ElementBuffer where it
9380 (edits): Moved this field into ElementBuffer.
9381 (getEditForParagraphAndIndex): Removed obsolete method.
9382 (insertUpdate): Added some optimizations and fixes. Split
9383 out handling insertion after newlines.
9384 (insertAfterNewline): New helper method. Handles insertions
9386 (ElementBuffer.Edit): New inner class. Moved here from
9387 DefaultStyledDocument.
9388 (ElementBuffer.createdFracture): New field.
9389 (ElementBuffer.documentEvent): Made private.
9390 (ElementBuffer.edits): New field. Moved here from
9391 DefaultStyledDocument.
9392 (ElementBuffer.fracNotCreated): Replaced by createdFracture.
9393 (ElementBuffer.fracturedChild): New field.
9394 (ElementBuffer.fracturedParent): New field.
9395 (ElementBuffer.insertPath): New field.
9396 (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
9398 (ElementBuffer.offsetLastIndex): New field.
9399 (ElementBuffer.offsetLastIndexReplace): New field.
9400 (ElementBuffer.recreateLeafs): New field.
9401 (ElementBuffer.ElementBuffer): Don't initialize stack here.
9402 (ElementBuffer.canJoin): New helper method.
9403 (ElementBuffer.changeUpdate): Changed to use elementStack with
9404 Edits rather than Elements. Let the split method do the work.
9405 (ElementBuffer.cloneAsNecessary): New helper method.
9406 (ElementBuffer.createFracture): Changed to fracture the bottommost
9408 (ElementBuffer.finishEdit): New helper method. Moved out
9409 from insertUpdate to perform the actual changes and update
9411 (fracture): New helper method.
9412 (insertContentTag): Fixed some bugs and changed to use Edit
9413 instances in the stack, rather then Elements.
9414 (insertElement): New helper method. Moved out from insertUpdate()
9415 to process the ElementSpecs.
9416 (insertFirstContentTag): Fixed some problems and changed to use Edit
9417 instances in the stack, rather then Elements.
9418 (insertFracture): Removed. Basically moved into createFracture()
9420 (insertParagraph): Removed.
9421 (insertUpdate): Split out the ElementSpec processing into
9422 insertElement(). Use Edit instances in the stack. Fixed some
9424 (insert): Split out the preparation and finishing code into
9425 prepareEdit() and finishEdit().
9426 (join): New helper method.
9427 (pop): New helper method.
9428 (prepareEdit): New helper method.
9429 (recreateFracturedElement): New helper method.
9430 (recreateLeaves): Removed.
9431 (recreate): New helper method.
9432 (removeElements): New helper method. Split out from removeUpdate().
9433 (removeUpdate): Split out the actual removal. Use the
9434 Edit stack to perform removal and perform the remove actions
9435 and event updates afterwards, just like in insertImpl().
9436 (remove): Use prepareEdit() and finishEdit().
9437 (split): Replaced with more flexible impl.
9439 2006-08-09 Sven de Marothy <sven@physto.se>
9441 * gnu/java/awt/peer/gtk/CairoSurface.java
9442 Change class to extend WritableRaster and not DataBuffer.
9443 (CairoDataBuffer): New inner class.
9444 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
9445 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9446 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9447 Accomodate the above change.
9449 2006-08-09 Sven de Marothy <sven@physto.se>
9451 * gnu/java/awt/peer/gtk/GtkMainThread.java
9453 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9454 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9455 Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9456 * gnu/java/awt/peer/gtk/GtkToolkit.java
9457 Minor style fixes; removed unused fields,
9458 set fields to private where possible.
9459 (createDialog, createFrame, createWindow, createEmbeddedWindow):
9460 Call GtkMainThread.createWindow().
9461 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9462 (dispose): New method.
9463 * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9464 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9465 (gtkQuit): New native method.
9467 2006-08-08 Lillian Angel <langel@redhat.com>
9469 * java/awt/Component.java
9470 (setDropTarget): Added check.
9472 2006-08-08 Lillian Angel <langel@redhat.com>
9474 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9475 (GtkDragSourceContextPeer): Added FIXME. Changed call
9477 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9478 (GtkDropTargetContextPeer): Removed target initialization.
9479 * java/awt/Component.java
9480 (setTarget): Removed commented out code.
9482 2006-08-08 Mark Wielaard <mark@klomp.org>
9484 * javax/swing/text/DefaultHighlighter.java: Qualify
9485 Highlighter.HighlightPainter class name for gcj.
9487 2006-08-05 Roman Kennke <kennke@aicas.com>
9489 * javax/swing/plaf/basic/BasicTableUI.java
9490 (MouseInputHandler.mousePressed): Request focus on list
9493 2006-08-05 Roman Kennke <kennke@aicas.com>
9495 * javax/swing/plaf/basic/BasicListUI.java
9496 (MouseInputHandler.mousePressed): Request focus on list
9499 2006-08-05 Roman Kennke <kennke@aicas.com>
9502 * javax/swing/plaf/basic/BasicMenuBarUI.java
9503 (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9504 than Tree.actionMap.
9505 * javax/swing/plaf/basic/BasicTreeUI.java
9506 (action): Removed obsolete field.
9507 (uninstallKeyboardActions): Removed action field handling.
9508 (installKeyboardActions): Removed action field handling.
9509 (createDefaultActions): Don't install removed TreeAction.
9510 (TreeAction): Removed obsolete inner class.
9511 (ActionListenerProxy): Removed obsolete inner class.
9512 (MouseHandler.mousePressed): Request focus on JTree component
9515 2006-08-08 Roman Kennke <kennke@aicas.com>
9517 * javax/swing/plaf/basic/BasicListUI.java
9518 (MouseInputHandler.mousePressed): Request focus on list
9521 2006-08-08 Roman Kennke <kennke@aicas.com>
9523 * javax/swing/plaf/basic/BasicTableUI.java
9524 (MouseInputHandler.mousePressed): Request focus on list
9527 2006-08-08 Roman Kennke <kennke@aicas.com>
9529 * javax/swing/plaf/basic/BasicTextUI.java
9530 (damageRange(JTextComponent,int,int)): Call damageRange() with
9531 correct biases, rather than null.
9532 (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9533 to use simpler modelToView() approach without much special
9534 casing. This seems not worth the effort and actually
9535 caused problems. Added locking of the document.
9536 * javax/swing/text/BoxView.java
9537 (requirementsValid): New field.
9538 (calculateMajorAxisRequirements): Rewritten without using
9539 SizeRequirements. The SizeRequirements algorithms are slightly
9540 different and too inefficient.
9541 (calculateMinorAxisRequirements): Rewritten without using
9542 SizeRequirements. The SizeRequirements algorithms are slightly
9543 different and too inefficient.
9544 (getAlignment): Simply return the alignment of the cached
9546 (getMaximumSpan): Add insets.
9547 (getMinimumSpan): Add insets.
9548 (getPreferredSpan): Add insets.
9549 (layoutMajorAxis): Rewritten without using
9550 SizeRequirements. The SizeRequirements algorithms are slightly
9551 different and too inefficient.
9552 (layoutMinorAxis): Rewritten without using
9553 SizeRequirements. The SizeRequirements algorithms are slightly
9554 different and too inefficient.
9555 (modelToView): Call setSize() rather than layout().
9556 (paint): Check clip for more efficient painting.
9557 (preferenceChanged): Invalidate requirements here.
9558 (replace): Invalidate requirements here.
9559 (updateRequirements): Update requirements only when requirements
9561 * javax/swing/text/CompositeView.java
9562 (modelToView): Added some more checks and handling of corner cases.
9563 * javax/swing/text/FlowView.java
9564 (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9565 span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9566 * javax/swing/text/IconView.java
9567 (getAlignment): Implemented to return 1.0 for vertical alignment.
9568 * javax/swing/text/ParagraphView.java
9569 (Row.getMaximumSpan): Implemented to let Rows span the whole
9571 (getAlignment): Fixed horizontal alignment and vertical alignment
9572 for empty paragraphs to be 0.5.
9574 2006-08-08 Roman Kennke <kennke@aicas.com>
9576 * javax/swing/text/View.java
9577 (modelToView): Added special handling for corner case at the end
9578 of the view and for multiline views.
9580 2006-08-08 Roman Kennke <kennke@aicas.com>
9582 * javax/swing/plaf/basic/BasicTextUI.java
9583 (modelToView): Read-lock the document. Set size of the
9584 root view before fetching the model-to-view mapping.
9585 (getViewIndex): Check of the position is inside the range and
9586 return -1 if this is not the case.
9587 (getViewAtPosition(int,Rectangle): Update child allocation for valid
9589 (getViewIndexAtPosition(int)): Delegate the index search to
9590 the element since we have a 1:1 mapping between elements and
9592 * javax/swing/text/DefaultCaret.java
9593 (appear): Ignore BadLocationException.
9594 (paint): Ignore BadLocationException.
9595 * javax/swing/text/FlowView.java
9596 (changedUpdate): Also notify the layoutPool view.
9597 (removeUpdate): Also notify the layoutPool view.
9598 * javax/swing/text/ParagraphView.java
9599 (Row.getViewIndexAtPosition): Overridden to search linearily
9600 through the view instead of relying on a 1:1 model to view
9602 * javax/swing/text/View.java
9603 (removeUpdate): Clear ElementChange object if updateChildren
9605 (forwardUpdate): Special handle some boundary cases.
9607 2006-08-07 Raif S. Naffah <raif@swiftdsl.com.au>
9609 * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9610 (hasInheritedParameters): New method.
9611 (equals): Updated documentation.
9612 Take into consideration the outcome of hasInheritedParameters invocation.
9613 (toString): Call hasInheritedParameters and adjust the result accordingly.
9614 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9615 Updated documentation.
9616 Handle case of public keys with null p, q, and g MPIs.
9617 (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9619 2006-08-07 Tom Tromey <tromey@redhat.com>
9622 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9623 (attachment): Likewise.
9624 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9626 (isValid): Likewise.
9627 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9629 (interestOps): Synchronize.
9630 (readyOps): Likewise.
9631 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9634 2006-08-07 C. Scott Marshall <csm@gnu.org>
9637 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9638 the mark has been set.
9639 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9640 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9643 2006-08-07 Sven de Marothy <sven@physto.se>
9645 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9646 (drawGlyphVector): Synchronize against font object when drawing.
9647 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9648 (nativeDrawGlyphVector): Use pango locking when drawing.
9649 (install_font_peer): Use pango locking when creating the cairo face.
9651 2006-08-06 Roman Kennke <kennke@aicas.com>
9654 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9655 (getPreferredSize): Renamed method to preferredSize(). That's
9656 the one that gets called from java.awt.*.
9657 * java/awt/peer/ComponentPeer.java
9658 (getPreferredSize): Added specnote about this method never
9659 beeing called in the RI.
9660 (getMinimumSize): Added specnote about this method never
9661 beeing called in the RI.
9663 2006-08-03 Sven de Marothy <sven@physto.se>
9665 * gnu/java/awt/peer/gtk/ComponentGraphics.java
9666 (grab, nativeGrab): New methods.
9667 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9668 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9669 (nativeGrab): New method.
9670 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9672 * java/awt/Component.java
9673 (printAll): Should call peer print method.
9675 2006-08-06 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
9677 * java/net/URL.java (getContent(Class[])): Implement.
9679 2006-08-06 Mark Wielaard <mark@klomp.org>
9682 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9683 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9685 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9688 2006-08-06 Roman Kennke <kennke@aicas.com>
9690 * NEWS: Added note about the X peers.
9691 * INSTALL: Added install notes about the X peers.
9693 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9694 Paul Jenner <psj@harker.dyndns.org>
9696 * README: Update bug, patches and cvs instructions plus new URLs of
9697 various external projects.
9699 2006-08-06 Thomas Fitzsimmons <fitzsim@redhat.com>
9701 * configure.ac (MOZILLA_FOUND): Fall back to
9702 mozilla-firefox-plugin.
9704 2006-08-06 Mario Torre <neugens@limasoftware.net>
9706 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9707 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9708 g_type_init earlier in function to correctly initialize the
9709 type system used by the backend.
9711 2006-08-05 Roman Kennke <kennke@aicas.com>
9713 * javax/swing/text/DefaultHighlight.java
9714 (DefaultHighlightPainter.paintHighlight): Removed method.
9715 (DefaultHighlightPainter.paintLayer): Implemented.
9716 (DefaultHighlightPainter.paint): Implemented more efficient
9717 painting for multiline-highlights.
9718 (HighlightEntry.p0): Changed to be a Position.
9719 (HighlightEntry.p1): Changed to be a Position.
9720 (HighlightEntry.HighlightEntry): Changed to take Position
9722 (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9723 (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9724 (LayerHighlightEntry): New inner class. Extends HighlightEntry
9725 and tracks the painted rectangle for efficient repainting.
9726 (addHighlight): Handle layered highlight.
9727 (changeHighlight): Handle layered highlight.
9728 (paintLayeredHighlights): Implemented.
9729 (paint): Paint only non-layered highlights here.
9730 (removeAllHighlights): Trigger correct repaint.
9731 (removeHighlight): Handle layered highlight here for
9732 more efficient repainting.
9733 * javax/swing/text/GlyphView.java
9734 (paint): Handle layered highlights.
9735 * javax/swing/text/PlainView.java
9736 (paint): Handle layered highlights.
9737 * javax/swing/text/WrappedPlainView.java
9738 (WrappedLine.paint): Handle layered highlights.
9740 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9743 * NEWS: As suggested by Paul Jennier, added note about the fix of
9746 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9748 * NEWS: Added entry about the context factories for JNDI.
9750 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9753 * gnu/CORBA/Connected_objects.java (size): New method.
9754 * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9756 * javax/naming/spi/NamingManager.java (getURLContext):
9757 Also search for the URL context factories in
9758 gnu/javax/naming/jndi/url.
9759 * gnu/javax/naming/giop/ContextContinuation.java,
9760 gnu/javax/naming/giop/CorbalocParser.java,
9761 gnu/javax/naming/giop/GiopNamingEnumeration.java,
9762 gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9763 gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9764 gnu/javax/naming/giop/ListBindingsEnumeration.java,
9765 gnu/javax/naming/giop/ListEnumeration.java,
9766 gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9767 gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9768 gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9769 gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9770 gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9771 gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9772 gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9773 gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9775 2006-08-06 Sven de Marothy <sven@physto.se>
9777 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9778 (drawGlyphVector): Synchronize against font object when drawing.
9779 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9780 (nativeDrawGlyphVector): Use pango locking when drawing.
9781 (install_font_peer): Use pango locking when creating the cairo face.
9783 2006-08-06 C. Scott Marshall <csm@gnu.org>
9786 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9787 the mark has been set.
9788 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9789 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9792 2006-08-06 Mark Wielaard <mark@klomp.org>
9795 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9796 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9798 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9801 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9802 Paul Jenner <psj@harker.dyndns.org>
9804 * README: Update bug, patches and cvs instructions plus new URLs of
9805 various external projects.
9807 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9809 * gnu/java/lang/management/BeanImpl.java:
9810 (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9812 (getCachedMBeanInfo()): Return open variant.
9813 (getMBeanInfo()): Likewise.
9814 (getTypeFromClass(Class)): Implemented.
9815 (translateSignature(MBeanParameterInfo)): Likewise.
9816 (translate(String)): Likewise.
9817 * javax/management/StandardMBean.java:
9818 (getMBeanInfo()): Return attribute names with capital letters,
9819 as in docs for java.lang.management.ManagementFactory, and
9820 ensure descriptions are not "".
9821 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
9822 * javax/management/openmbean/OpenMBeanInfoSupport.java,
9823 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9824 (toString()): Use Arrays.toString().
9825 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9826 (OpenMBeanParameterInfoSupport(String, String, OpenType)):
9827 Set open type here rather than in other constructors.
9829 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9831 * javax/management/MBeanFeatureInfo.java:
9832 Make string variable package-private.
9833 * javax/management/StandardMBean.java:
9834 (getMBeanInterface()): Made final.
9835 * javax/management/openmbean/SimpleType.java:
9838 2006-08-05 Jeroen Frijters <jeroen@frijters.net>
9840 * java/awt/Component.java (setDropTarget): Commented out GTK specific
9843 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9845 * examples/gnu/classpath/examples/swing/FillRect.java,
9846 * gnu/CORBA/Focused_ORB.java,
9847 * gnu/CORBA/interfaces/gnuSocketFactory.java,
9848 * gnu/classpath/ByteArray.java,
9849 * gnu/classpath/ObjectPool.java,
9850 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9851 * gnu/java/awt/peer/x/fonts.properties,
9852 * gnu/java/security/util/Prime2.java,
9853 * gnu/javax/imageio/gif/GIFStream.java,
9854 * javax/swing/text/html/HTMLTableView.java,
9855 * native/cni/Makefile.am,
9856 * org/omg/CORBA/SendingContext/RunTimeOperations.java,
9857 * org/omg/CORBA/SendingContext/Runtime.java,
9858 * resource/gnu/regexp/MessagesBundle.properties,
9859 * resource/gnu/regexp/MessagesBundle_fr.properties,
9860 * resource/gnu/regexp/MessagesBundle_it.properties,
9861 * tools/appletviewer.in,
9862 * tools/jarsigner.in,
9864 * vm/reference/java/lang/management/VMThreadInfo.java:
9866 * examples/gnu/classpath/examples/awt/aicas.png,
9867 * examples/gnu/classpath/examples/awt/palme.gif,
9868 * examples/gnu/classpath/examples/java2d/aicas.png,
9869 * examples/gnu/classpath/examples/java2d/palme.gif,
9870 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
9871 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
9872 * java/awt/doc-files/capjoin.png,
9873 * java/awt/geom/doc-files/Area-1.png,
9874 * java/awt/geom/doc-files/Ellipse-1.png,
9875 * java/awt/geom/doc-files/GeneralPath-1.png:
9878 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9883 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9885 * gnu/java/lang/management/BeanImpl.java:
9886 (getAttribute(String)): Implemented.
9888 2006-08-05 Roman Kennke <kennke@aicas.com>
9890 * javax/swing/text/JTextComponent.java
9891 (AccessibleJTextComponent.dot): Renamed field into caretDot.
9892 (AccessibleJTextComponent.textComp): Removed field
9893 and replace with JTextComponent.this construct.
9894 (AccessibleJTextComponent.AccessibleJTextComponent):
9895 Fetch caret position.
9896 (caretUpdate): Implemented. Fires property change events and
9897 updates the caretDot field.
9898 (changedUpdate): Implemented. Fires property change events.
9899 (insertUpdate): Implemented. Fires property change events.
9900 (removeUpdate): Implemented. Fires property change events.
9901 (cut): Replaced textComp with JTextComponent.this construct.
9902 (paste): Replaced textComp with JTextComponent.this construct.
9903 (replaceText): Replaced textComp with JTextComponent.this construct.
9904 (selectText): Replaced textComp with JTextComponent.this construct.
9905 (getCaretPosition): Replaced textComp with JTextComponent.this
9907 (getCharCount): Replaced textComp with JTextComponent.this construct.
9908 (getSelectedText): Replaced textComp with JTextComponent.this
9910 (getSelectionEnd): Replaced textComp with JTextComponent.this
9912 (getSelectionStart): Replaced textComp with JTextComponent.this
9914 (getTextRange): Replaced textComp with JTextComponent.this
9916 (doAccessibleAction): Implemented.
9917 (getAccessibleActionCount): Implemented.
9918 (getAccessibleActionDescription): Implemented.
9919 (getAccessibleStateSet): Implemented.
9920 (getAfterIndex): Implemented.
9921 (getBeforeIndex): Implemented.
9922 (getAtIndex): Implemented.
9923 (getAtIndexImpl): New helper method.
9924 (getCharacterAttribute): Implemented.
9925 (getCharacterBounds): Implemented.
9926 (getIndexAtPoint): Implemented.
9927 (insertTextAtIndex): Implemented.
9928 (setAttributes): Implemented.
9929 (setTextContents): Implemented.
9931 2006-08-05 Raif S. Naffah <raif@swiftdsl.com.au>
9933 * configure.ac: Better handling of default-preferences-peer option.
9935 2006-08-04 Andreas Tobler <a.tobler@schweiz.ch>
9937 * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
9940 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9942 * javax/management/openmbean/TabularData.java:
9943 Documentation corrections.
9944 * javax/management/openmbean/TabularDataSupport.java:
9947 2006-08-04 Francis Kung <fkung@redhat.com>
9949 * java/awt/BasicStroke.java
9950 (dashedStroke): Implemented.
9952 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9954 * javax/management/BadAttributeValueExpException.java,
9955 * javax/management/BadStringOperationException.java,
9956 * javax/management/InstanceAlreadyExistsException.java,
9957 * javax/management/InstanceNotFoundException.java,
9958 * javax/management/InvalidApplicationException.java,
9959 * javax/management/MBeanRegistrationException.java,
9960 * javax/management/MalformedObjectNameException.java,
9961 * javax/management/RuntimeErrorException.java,
9962 * javax/management/RuntimeMBeanException.java,
9963 * javax/management/ServiceNotFoundException.java:
9966 2006-08-04 Roman Kennke <kennke@aicas.com>
9968 * javax/swing/SwingUtilities.java
9969 (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
9970 int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
9971 layoutCompoundLabelImpl().
9972 (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
9973 Rectangle,Rectangle,Rectangle,int)): Delegate to new
9974 layoutCompoundLabelImpl().
9975 (layoutCompoundLabelImpl): New helper method. Moved impl from
9976 layoutCompoundLabel() to here and added handling of HTML.
9977 * javax/swing/plaf/basic/BasicButtonUI.java
9978 (installUI): Update HTML view if appropriate.
9979 (uninstallUI): New method. Do the usual uninstallUI things
9980 and uninstall HTML view.
9981 (getMinimumSize): New method. Adjusts the minimum size
9982 by the HTML view minimum size.
9983 (getMaximumSize): New method. Adjusts the maximum size
9984 by the HTML view maximum size.
9985 (getPreferredSize): Pass the button's iconTextGap to the
9986 BasicGraphicsUtils method.
9987 (paint): Let HTML view paint the text, if present.
9988 * javax/swing/plaf/basic/BasicButtonListener.java
9989 (propertyChange): Update the HTML view when the button's
9992 2006-08-04 Mario Torre <neugens@limasoftware.net>
9994 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9995 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9996 g_type_init earlier in function to correctly initialize the
9997 type system used by the backend.
9999 2006-08-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10002 * javax/naming/Name.java (addAll, getPrefix, getSuffix):
10004 * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
10006 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
10008 Reported by Henrik Gulbrandsen <henrik@gulbra.net>
10010 * gnu/xml/dom/DomIterator.java:
10011 (successor): Added if-statement.
10013 2006-08-04 Mark Wielaard <mark@klomp.org>
10015 * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
10017 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
10019 * javax/swing/plaf/metal/MetalMenuBarUI.java:
10020 (update): Check size and paint smaller gradient.
10021 * javax/swing/plaf/metal/MetalBorders.java:
10022 (MenuBarBorder): Removed borderColor field.
10023 (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
10026 2006-08-03 Roman Kennke <kennke@aicas.com>
10029 * javax/swing/plaf/basic/BasicInternalFrameUI.java
10030 (ComponentHandler.componentResized): Reimplemented to handle
10032 (InternalFramePropertyChangeHandler.propertyChange): (Un)install
10033 component listener on changed ancestor.
10034 (installListeners): Install componentListener.
10035 (uninstallListeners): Uninstall componentListener.
10037 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
10039 * StrictMath.java (cbrt): Return argument if it is a NaN.
10044 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
10046 * java/lang/StrictMath.java (tanh): New method.
10048 2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
10050 * scripts/import-cacerts.sh: Batch CA certificates import script.
10052 2006-08-03 Roman Kennke <kennke@aicas.com>
10055 * javax/swing/plaf/basic/BasicListUI.java
10056 (paintCell): Pass row index to cell renderer.
10057 * javax/swing/plaf/basic/MetalFileChooserUI.java
10058 (DirectoryComboBoxRenderer.indentIcon): New field.
10059 (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
10060 Initialize indentIcon.
10061 (DirectoryComboBoxRenderer.getListCellRendererComponent):
10062 Fall back to super and removed standard functionality.
10063 Handle indentation.
10064 (IndentIcon): New class. Wraps and indents another icon.
10066 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
10068 * javax/management/MBeanConstructorInfo.java:
10069 (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
10070 Copy array rather than directly assigning.
10071 * javax/management/MBeanInfo.java:
10072 (MBeanInfo(String,String,MBeanAttributeInfo[],
10073 MBeanConstructorInfo[], MBeanOperationInfo[],
10074 MBeanNotificationInfo[])): Likewise.
10075 * javax/management/MBeanOperationInfo.java:
10076 (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
10078 * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
10079 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
10081 * javax/management/openmbean/OpenMBeanInfo.java:
10082 Corrected documentation.
10083 * javax/management/openmbean/OpenMBeanInfoSupport.java:
10085 * javax/management/openmbean/OpenMBeanOperationInfo.java:
10086 Corrected documentation.
10087 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
10089 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10090 (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
10091 Call other constructor rather than reimplementing.
10093 2006-08-02 Lillian Angel <langel@redhat.com>
10095 * java/awt/dnd/DragSource.java
10096 (isDragImageSupported): Implemented.
10097 (getDragThreshold): Changed default value.
10098 * java/awt/dnd/DropTarget.java
10099 (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
10100 (DropTarget): Likewise.
10101 (DropTarget): If FlavorMap passed in is null, we should use the system default.
10102 (addDropTargetListener): Added check to determine if new DropTargetListener
10103 is this class. If so, an IllegalArgumentException is thrown. If the
10104 new listener is null, nothing happens.
10106 2006-08-02 Thomas Fitzsimmons <fitzsim@redhat.com>
10108 * configure.ac (MOZILLA_FOUND): Fall back to
10109 mozilla-firefox-plugin.
10111 2006-08-02 Sven de Marothy <sven@physto.se>
10113 * java/awt/geom/AffineTransform.java
10114 (hashCode): Tweak impl.
10115 * java/awt/font/FontRenderContext.java
10116 (hashCode): Implement.
10118 2006-08-02 Carsten Neumann <cn-develop@gmx.net>
10120 * java/lang/StrictMath.java (sinh): New method.
10122 2006-08-02 Roman Kennke <kennke@aicas.com>
10125 * javax/swing/JComboBox.java
10126 (setSelectedItem): Fire ActionEvent here.
10127 * javax/swing/plaf/basic/BasicDirectoryModel.java
10128 (directories): Changed to type Vector.
10129 (files): New field.
10130 (loadThread): New field.
10131 (DirectoryLoadThread): New inner class. This loads the contents
10132 of directories asynchronously.
10133 (getDirectories): Return cached Vector.
10134 (getFiles): Return cached Vector.
10135 (getSize): Return plain size of contents Vector.
10136 (propertyChange): Reread directory also for DIRECTORY_CHANGED,
10137 FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
10138 (sort): Don't store sorted list in contents. This must be done
10139 asynchronously from the EventThread.
10140 (validateFileCache): Rewritten for asynchronous reading
10141 of directory contents.
10142 * javax/swing/plaf/basic/BasicFileChooserUI.java
10143 (installListeners): Install model as PropertyChangeListener.
10144 (uninstallListeners): Uninstall model as PropertyChangeListener.
10145 (createPropertyChangeListener): Return null just like the
10148 2006-08-02 Sven de Marothy <sven@physto.se>
10150 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10151 (remove): Force event on removing item 0 when it's selected.
10152 (handleEvent): Always call Choice.selected().
10153 * java/awt/Choice.java:
10154 (remove): Simplify and correct.
10156 2006-08-02 Mark Wielaard <mark@klomp.org>
10159 * configure.ac (gconf-peer): Check for gdk-2.0.
10160 * native/jni/gconf-peer/Makefile.am
10161 (AM_LDFLAGS): Use GDK_LIBS.
10162 (AM_CFLAGS): Use GDK_CFLAGS.
10164 2006-08-02 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
10166 * java/net/URL.java (getContent(Class[])): Implement.
10168 2006-08-02 Roman Kennke <kennke@aicas.com>
10171 * javax/swing/JMenu.java
10172 (JMenu()): Removed setting of delay.
10173 (JMenu(String)): Removed setting of delay.
10174 (JMenu(Action)): Removed setting of delay.
10175 (JMenu(String,boolean)): Removed setting of delay.
10176 (setSelectedHelper): Removed unneeded method.
10177 (setSelected): Simply set the model state.
10178 (setPopupMenuVisible): Recognize the popup location
10179 determined by getPopupMenuOrigin().
10180 (getPopupMenuOrigin): Recognize the UI properties for
10182 (menuSelectionChanged): Call setSelected() directly.
10183 * javax/swing/JPopupMenu.java
10184 (menuSelectionChanged): If invoker is a JMenu, then delegate
10185 to that to get the position right.
10186 * javax/swing/Popup.java
10187 (LightweightPopup.show): Insert the popup as first component
10188 in the layer, so that it overlaps it's caller.
10189 * javax/swing/plaf/basic/BasicMenuItemUI.java
10190 (getPath): Don't include the popup.
10191 * javax/swing/plaf/basic/BasicMenuUI.java
10192 (SelectMenuAction): New class. This invokes the popup when
10193 a menu is selected.
10194 (installDefaults): Install delay of 200 ms.
10195 (setupPostTimer): Implemented.
10196 (MouseInputHandler.mouseClicked): Do nothing here.
10197 (MouseInputHandler.mouseEntered): Use MenuSelectionManager
10198 magic to handle the selection. Open the menu via a timer.
10199 (MouseInputHandler.mousePressed): Use MenuSelectionManager
10200 magic to handle the selection. Open the menu via a timer.
10201 (MenuDragMouseHandler.menuMouseDragged): Probably use
10203 (menuDragMouseEntered): Do nothing here.
10205 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
10207 * javax/management/openmbean/InvalidOpenTypeException.java,
10208 * javax/management/openmbean/KeyAlreadyExistsException.java:
10211 2006-08-02 Roman Kennke <kennke@aicas.com>
10214 * javax/swing/plaf/basic/BasicChooserUI.java
10215 (BasicFileView.getName): Fetch the real name from the
10216 file chooser's FileSystemView.
10217 * javax/swing/plaf/metal/MetalChooserUI.java
10218 (DirectoryComboBoxRenderer.getListCellRendererComponent):
10219 Set the text fetched from the JFileChooser.getName().
10220 * javax/swing/FileSystemView.java
10221 (createFileObject): When file is a filesystem root,
10222 create a filesystem root object first.
10223 (getSystemDisplayName): Return the filename. Added specnote
10224 about ShellFolder class that is mentioned in the spec.
10225 * javax/swing/UnixFileSystemView.java
10226 (getSystemDisplayName): Implemented to return the real name
10227 of a file, special handling files like '.' or '..'.
10229 2006-08-03 Mark Wielaard <mark@klomp.org>
10231 * examples/gnu/classpath/examples/icons/badge.png: Add file.
10233 2006-08-03 Roman Kennke <kennke@aicas.com>
10236 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10237 (PropertyChangeHandler.propertyChange): Cleanly reinstall
10238 components when visual property chanegs.
10240 2006-08-03 Roman Kennke <kennke@aicas.com>
10243 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10244 (PropertyChangeHandler.propertyChange): Uninstall and reinstall
10245 component when visual properties change.
10247 2006-08-03 Roman Kennke <kennke@aicas.com>
10250 * javax/swing/JTree.java
10251 (JTree(TreeModel)): Set cell renderer to null.
10252 * javax/swing/plaf/basic/BasicTreeUI.java
10253 (setCellRenderer): Finish editing before setting the
10254 cell renderer. Refresh the layout. Don't set the
10255 currentCellRenderer field here (that's done in updateRenderer).
10256 (updateRenderer): Handle createdRenderer field here too.
10257 Set renderer to a default handler when the current renderer
10258 in the JTree is null.
10260 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
10263 * java/security/SecureRandom.java (next): Call nextBytes as per specs.
10265 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
10268 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
10269 Updated documentation to clarify that RFC-2459 states that the parameters
10270 field of the AlgorithmIdentifier element MUST be NULL if present.
10271 Amended the code to reflect the specs.
10272 (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
10274 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10276 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10277 Call parameter 'defaultValue' not 'defValue'.
10279 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10281 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10284 2006-08-01 Roman Kennke <kennke@aicas.com>
10287 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10288 (PropertyChangeHandler.propertyChange): Cleanly reinstall
10289 components when visual property chanegs.
10291 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10293 * javax/management/openmbean/OpenMBeanAttributeInfo.java:
10294 (toString()): Corrected documentation.
10295 * javax/management/openmbean/OpenMBeanConstructorInfo.java,
10296 * javax/management/openmbean/OpenMBeanInfo.java,
10297 * javax/management/openmbean/OpenMBeanOperationInfo.java:
10299 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10300 (toString()): Corrected documentation.
10302 2006-08-01 Tania Bento <tbento@redhat.com>
10304 * java/awt/Choice.java
10305 (remove(int)): Added documentation.
10307 2006-08-01 Tania Bento <tbento@redhat.com>
10309 * java/awt/Choice.java
10310 (remove(int)): An IllegalArgumentException should not be thrown
10311 if int is invalid. Update selectedIndex and peer selection.
10313 2006-08-01 Tania Bento <tbento@redhat.com>
10315 * java/awt/CardLayout.java
10316 (toString): Changed format of string outputted.
10317 (goToComponent): Changed the order of the if-clause.
10319 2006-07-31 Tom Tromey <tromey@redhat.com>
10321 * INSTALL: Updated for ASM.
10323 2006-07-31 Tom Tromey <tromey@redhat.com>
10326 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
10327 (attachment): Likewise.
10328 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
10330 (isValid): Likewise.
10331 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
10333 (interestOps): Synchronize.
10334 (readyOps): Likewise.
10335 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
10338 2006-07-31 Roman Kennke <kennke@aicas.com>
10340 * NEWS: Added note about the X peers.
10341 * INSTALL: Added install notes about the X peers.
10343 2006-07-31 Carsten Neumann <cn-develop@gmx.net>
10345 * StrictMath.java (getLowDWord): Return long instead of int.
10346 (getHighDWord): Likewise.
10347 (buildDouble): Take two long arguments.
10348 (cbrt): Adapted to int -> long change.
10352 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
10354 * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
10357 2006-07-31 Raif S. Naffah <raif@swiftdsl.com.au>
10359 * java/security/Provider.java: Updated copyright year.
10360 Updated documentation.
10362 (put): Updated documentation.
10363 Added security manager check.
10364 Canonicalize the key before adding its mapping.
10365 (get): Override superclass implementation to use canonicalized keys.
10366 (remove): Updated documentation.
10367 Added security manager check.
10368 Canonicalize the key before removing its mapping.
10369 (clear): Updated documentation.
10370 Added security manager check.
10371 (toCanonicalKey): New method.
10373 2006-07-30 Matt Wringe <mwringe@redhat.com>
10375 * gnu/java/security/Engine.java
10376 (getInstance): Ignore self referencing aliases.
10378 2006-07-30 Mark Wielaard <mark@klomp.org>
10380 * javax/swing/JComponent.java (getListeners): Revert
10383 2006-07-30 Mark Wielaard <mark@klomp.org>
10385 * resource/java/security/classpath.security: Add /dev/urandom as
10386 default securerandom.source.
10388 2006-07-30 Mark Wielaard <mark@klomp.org>
10390 * java/util/GregorianCalendar.java (maximums): Months can have up to
10392 (nonLeniencyCheck): weeks is either 5 or 6.
10394 2006-07-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
10396 * javax/management/openmbean/OpenMBeanAttributeInfo.java,
10397 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10400 2006-07-30 Matt Wringe <mwringe@redhat.com>
10402 * gnu/java/security/Engine.java
10403 (getInstance): Ignore self referencing aliases.
10405 2006-07-30 Sven de Marothy <sven@physto.se>
10407 * java/awt/Choice.java:
10408 (accessibleAction): Call select() directly.
10409 (add, insert, remove): Reimplement.
10410 (dispatchEventImpl): Always call super.
10411 (processItemEvent): Does not set the index.
10412 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
10413 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10415 (nativeAdd): Name changed to add.
10416 (selection_changed_cb): Simplify callback.
10417 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10418 (selected): New field.
10419 (add): Replaced with native impl.
10420 (handleEvent): New method.
10422 2006-07-30 Sven de Marothy <sven@physto.se>
10424 * java/awt/Choice.java:
10425 Reformat, fix copyright year.
10427 2006-07-29 Mark Wielaard <mark@klomp.org>
10429 * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
10430 static field isPaintingDoubleBuffered to not have the same name
10433 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10435 * examples/gnu/classpath/examples/management/TestBeans.java:
10437 * javax/management/MBeanAttributeInfo.java:
10438 (toString()): Implemented.
10439 * javax/management/MBeanConstructorInfo.java:
10440 (toString()): Implemented.
10441 * javax/management/MBeanFeatureInfo.java:
10442 (toString()): Implemented.
10443 * javax/management/MBeanInfo.java:
10444 (toString()): Implemented.
10445 * javax/management/MBeanNotificationInfo.java:
10446 (toString()): Implemented.
10447 * javax/management/MBeanOperationInfo.java:
10448 (toString()): Implemented.
10449 * javax/management/MBeanParameterInfo.java:
10450 (toString()): Implemented.
10451 * javax/management/StandardMBean.java:
10452 (getMBeanInfo()): Fix attribute naming.
10454 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10456 * gnu/java/lang/management/BeanImpl.java:
10457 Extended javax.management.StandardMBean.
10458 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10459 * gnu/java/lang/management/CompilationMXBeanImpl.java,
10460 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10461 * gnu/java/lang/management/MemoryMXBeanImpl.java,
10462 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10463 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10464 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10465 * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10466 * gnu/java/lang/management/ThreadMXBeanImpl.java:
10467 Call the superclass with the appropriate class.
10468 * java/lang/management/ManagementFactory.java:
10469 (getOperatingSystemMXBean()): Catch exception from
10471 (getRuntimeMXBean()): Likewise.
10472 (getClassLoadingMXBean()): Likewise.
10473 (getThreadMXBean()): Likewise.
10474 (getMemoryMXBean()): Likewise.
10475 (getCompilationMXBean()): Likewise.
10476 (getMemoryPoolMXBeans()): Likewise.
10477 (getMemoryManagerMXBeans()): Likewise.
10478 (getGarbageCollectorMXBeans()): Likewise.
10479 * javax/management/MBeanFeatureInfo.java:
10480 hashCode()): Fixed to check for null values.
10482 2006-07-29 Matt Wringe <mwringe@redhat.com>
10484 * gnu/java/security/Engine.java
10485 (getInstance): Add case insentivity to algorithm names
10486 * java/security/Provider.java
10487 (put): Stop using canonical key naming
10489 (toCanonicalKey): Method removed
10490 (get): Method removed, no longer needs to overwrite
10491 parent implementation
10493 2006-07-29 Mark Wielaard <mark@klomp.org>
10495 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10496 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10497 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10498 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10499 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10500 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10503 2006-07-29 Sven de Marothy <sven@physto.se>
10505 * java/math/BigDecimal.java
10506 Adjust copyright date.
10507 (divide(BigDecimal): Implement.
10508 (precision): Reimplement.
10509 (numDigitsInBigInteger, numDigitsInLong): Removed.
10510 (toString): Get exponent from string length,
10511 fix negative values with exponential form.
10512 (toEngineeringString): Same as for toString.
10513 (setScale): Throw ArithmeticException if scale < 0.
10515 2006-07-27 Francis Kung <fkung@redhat.com>
10517 * gnu/java/awt/java2d/CubicSegment.java: Added import.
10518 (cp1): Renamed from first().
10519 (c2): Renamed from last().
10520 (first): Renamed to cp1().
10521 (getDisplacedSegments): Implemented.
10522 (last): Renamed to cp2().
10523 * gnu/java/awt/java2d/LineSegment.java
10524 (cp1): Renamed from first().
10525 (c2): Renamed from last().
10526 (first): Renamed to cp1().
10527 (last): Renamed to cp2().
10528 * gnu/java/awt/java2d/QuadSegment.java
10529 (cp1): Renamed from first().
10530 (c2): Renamed from last().
10531 (first): Renamed to cp1().
10532 (last): Renamed to cp2().
10533 * gnu/java/awt/java2d/Segment.java: Added comments.
10534 (first): New field.
10535 (Segment): Keep track of first element in list.
10536 (add): Update first & last element variables.
10537 (cp1): Renamed from first().
10538 (c2): Renamed from last().
10539 (first()): Renamed to cp1() to reduce ambiguity.
10540 (last()): Renamed to cp2() to reduce ambiguity.
10541 (reverseAll): Update first element variable..
10542 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10543 (draw): Remove flattening path iterator.
10544 * java/awt/BasicStroke.java: Clarified comments.
10545 (addSegments): Refactored some code into joinSegments and
10547 (capEnd): Rename of Segment.first() and Segment.end().
10548 (joinInnerSegments): New method.
10549 (joinOuterSegments): New method.
10550 (joinSegments): Refactored some code into joinOuterSegments.
10551 (solidStroke): Connect segments together properly.
10553 2006-07-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10555 * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10557 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10559 * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10561 * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10564 2006-07-28 Tom Tromey <tromey@redhat.com>
10566 * configure.ac: Enable -Werror by default on Linux-with-gcc.
10568 2006-07-28 Lillian Angel <langel@redhat.com>
10570 * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10571 Removed function declarations.
10572 (connect_signals_for_widget): Removed implementation because
10573 stub functions have been removed.
10574 (drag_begin_cb): Removed function.
10575 (drag_motion_cb): Likewise.
10576 (drag_data_get_cb): Likewise.
10577 (drag_data_delete_cb): Likewise.
10578 (drag_drop_cb): Likewise.
10579 (drag_end_cb): Likewise.
10580 (drag_data_received_cb): Likewise.
10582 2006-07-28 Mark Wielaard <mark@klomp.org>
10584 * configure.ac: Set version to 0.93-pre.
10586 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10588 * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10590 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10592 * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10593 (getCallbackHandler): Fully qualify linked class in javadoc.
10594 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10595 * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10596 * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10598 2006-07-27 Tom Tromey <tromey@redhat.com>
10600 PR classpath/28486:
10601 * java/net/URLStreamHandler.java (equals): Properly handle default
10602 port. Rewrote javadoc. Don't compare 'authority' parts of URLs.
10604 2006-07-27 Roman Kennke <kennke@aicas.com>
10606 * javax/swing/text/AbstractDocument.java
10607 (documentCV): Made field private.
10608 (bypass): Made field private.
10609 (bidiRoot): New field.
10610 (AbstractDocument): Initialize bidiRoot.
10611 (getBidiRootElement): Return bidiRoot.
10612 (getRootElements): Adjusted to also return the bidiRoot element.
10613 (BranchElement.startOffset): Removed unneeded field.
10614 (BranchElement.endOffset): Removed unneeded field.
10615 (BranchElement.BranchElement): Removed unneeded fields.
10616 (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10617 done automatically when there's no element left in the array.
10618 (BranchElement.getStartOffset): Likewise.
10619 (BranchElement.replace): Reordered calculations to avoid double
10621 (removeImpl): Silently ignore requests with length <= 0.
10622 * javax/swing/text/GapContent.java
10623 (createPosition): Removed explicit check for correct offset.
10624 This class can deal with offsets outside the document.
10625 (shiftEnd): Update all positions, even those outside the
10627 (adjustPositionsInRange): Fixed to also adjust positions outside
10628 the document boundary.
10630 2006-07-18 Kyle Galloway <kgallowa@redhat.com>
10632 * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10634 (getParameter): Returns _klass field instead of determining
10635 class from _instance.
10636 (setCatchLoc): New method.
10637 (writeData): Now assumes Location deals with empty locations instead of
10639 * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10640 locations and write out accordingly.
10641 (getEmptyLocation): New method.
10643 2006-07-27 Roman Kennke <kennke@aicas.com>
10645 * javax/swing/text/SimpleAttributeSet.java
10646 (EMPTY): Use EmptyAttributeSet for this field rather than
10647 SimpleAttributeSet.
10648 * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10649 an empty and immutable AttributeSet.
10651 2006-07-27 Roman Kennke <kennke@aicas.com>
10653 * java/awt/Component.java
10654 (reshape): Invalidate the component itself only when the
10655 size has changed. Invalidate the parent always. Fixed
10656 repainting. Pulled out the notification into
10658 (notifyReshape): New helper method. Notify interested listeners
10660 (update): Simply call paint() without clearing the background.
10661 This is done in Container.update() if appropriate.
10662 (repaint): Delagate the repaint to the nearest heavyweight
10663 parent (for lightweights) and send an UPDATE event, rather than
10664 calling ComponentPeer.repaint().
10665 * java/awt/Container.java
10666 (backCleared): Removed field.
10667 (paint): Removed handling of backCleared flag.
10668 (update): Only paint if the container is actually
10669 showing. Removed handling of backCleared flag.
10671 2006-07-27 Robert Schuster <robertschuster@fsfe.org>
10673 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10675 (NavigateAction): New inner class.
10676 (NavigatePageDownAction): New inner class.
10677 (NavigatePageUpAction): New inner class.
10678 (RequestFocusAction): New inner class.
10679 (RequestFocusForVisibleComponentAction): New inner class.
10680 (FocusHandler.focusGained): Implemented.
10681 (FocusHandler.focusLost): Implemented.
10682 (MouseHandler.mouseReleased): Implemented.
10683 (MouseHandler.mousePressed): Rewritten.
10684 (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10685 currentScrollLocation to 0.
10686 (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10687 removed local variables, fixed indentation to stay under 80 column
10689 (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10690 one, set selectedIndex to 0 if its negative, corrected start values
10691 for normalization, suppressed padding when only one tab run,
10692 (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10693 (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10694 80 column limit, corrected the starting value for the bounds fixing
10696 (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10697 (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10698 selectedRun, set start index for loop to 0.
10699 (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10700 (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10701 (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10702 alignment and visibility handling.
10703 (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10705 (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10706 (currentScrollOffset): New field.
10707 (tabRuns): Rewritten documentation.
10708 (selectedColor): New field.
10709 (tempTextRect): New field.
10710 (tempIconRect): New field.
10711 (scrollTab): New method.
10712 (updateButtons): New method.
10713 (updateViewPosition): New method.
10714 (createLayoutManager): Reordered method calls, predefine new fields,
10715 register proper listeners.
10716 (uninstallComponents): Implemented.
10717 (installDefaults): Corrected property names, fixed indentation,.
10718 (uninstallDefaults): Set new fields to null.
10719 (uninstallListeners): Remove listeners from components neccessary for
10720 scrolling tab layout.
10721 (installKeyboardActions): Implemented.
10722 (uninstallKeyboardActions): Implemented.
10723 (paint): Paint tab area background.
10724 (paintTabArea): Fixed indentation, removed usage of local Rectangle
10726 (getTabLabelShiftX): Rewritten.
10727 (getTabLabelShiftY): Rewritten.
10728 (paintFocusIndicator): Reindented.
10729 (paintTabBorder): Rewritten.
10730 (paintTabBackground): Corrected color usage, rewritten background
10731 rectangle painting.
10732 (paintContentBorderTopEdge): Rewritten.
10733 (paintContentBorderBottomEdge): Rewritten.
10734 (paintContentBorderLeftEdge): Rewritten.
10735 (paintContentBorderRightEdge): Rewritten.
10736 (tabForCoordinate): Return selected index when no tab could be
10737 found, removed FIXME note.
10738 (getRunForTab): Changed return value for first if-statement.
10739 (navigateSelectedTab): Fixed last argument for both
10740 getTabRunOffset() calls.
10741 (selectedNextTabInRun): Added scrolling code.
10742 (selectedPreviousTabInRun): Added scrolling code.
10743 (selectedNextTab): Added scrolling code.
10744 (selectedPreviousTab): Added scrolling code.
10745 (selectAdjacentRunTab): Added scrolling code.
10746 (getTextViewForTab): Added FIXME note.
10747 (calculateTabHeight): Changed FIXME note.
10748 (getTabRunOffset): Fixed indentation.
10749 (getNextTabIndexInRun): Corrected return value.
10750 (rotateInsets): Make TOP case the default in switch-statement.
10751 (getActionMap): New method.
10752 (createActionMap): New method.
10753 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10754 (createLayoutManager): Rewritten.
10755 (paintLeftTabBorder): Do not paint left line when previous tab
10756 is selected but current tab is the first in its run, do not paint
10757 left line when current tab is selected and is first in its run.
10758 (paintRightTabBorder): Added missing setColor() call, fixed color
10759 usage, do not paint right line if previous tab is selected but
10760 current tab is the first in its run.
10761 (paintBottomTabBorder): Do not paint left line if tab is selected
10762 and is the first tab in the last run.
10763 (paintFocusIndicator): New method.
10764 (getLabelShiftX): New method.
10765 (getLabelShiftY): New method.
10767 2006-07-27 Andreas Tobler <a.tobler@schweiz.ch>
10769 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10770 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10771 g_assert from unused obj.
10772 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10773 obj as unused and remove g_assert on it.
10775 2006-07-26 Roman Kennke <kennke@aicas.com>
10777 * javax/swing/RepaintManager.java
10778 (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10780 (isCompletelyDirty): Consider a component completely dirty
10781 when it has a dirty region with Integer.MAX_VALUE.
10783 2006-07-26 Roman Kennke <kennke@aicas.com>
10785 * java/awt/KeyboardFocusManager.java
10786 (getGlobalFocusOwner): Explicitly check for thread security.
10787 (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10788 (getGlobalFocusedWindow): Explicitly check for thread security.
10789 (getGlobalActiveWindow): Explicitly check for thread security.
10790 (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10791 (getGlobalObject): Added new argument for specifying if
10792 a security check should be performed or not.
10793 (setGlobalObject): Don't check for thread security when
10794 calling getGlobalObject.
10796 2006-07-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
10798 * javax/management/MBeanConstructorInfo.java:
10800 * javax/management/MBeanInfo.java:
10801 (MBeanInfo(String,String,MBeanAttributeInfo[],
10802 MBeanConstructorInfo[], MBeanOperationInfo[],
10803 MBeanNotificationInfo[])): Implemented.
10804 (equals(Object)): Likewise.
10805 (getAttributes()): Likewise.
10806 (getConstructors()): Likewise.
10807 (getOperations()): Likewise.
10808 (hashCode()): Likewise.
10809 * javax/management/MBeanOperationInfo.java,
10810 * javax/management/NotCompliantMBeanException.java,
10811 * javax/management/StandardMBean.java:
10814 2006-07-26 Sven de Marothy <sven@physto.se>
10816 * java/awt/geom/GeneralPath.java: Fix severe typo.
10818 2006-07-26 Sven de Marothy <sven@physto.se>
10820 * include/java_lang_VMSystem.h
10821 * vm/reference/java/lang/VMSystem.java
10822 * native/jni/java-lang/java_lang_VMSystem.c
10823 (nanoTime, currentTimeMillis): Switch the former to native code and
10824 the latter to java.
10826 2006-07-26 Andreas Tobler <a.tobler@schweiz.ch>
10828 * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
10829 * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
10830 * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
10831 * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
10832 * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
10833 * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
10834 * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
10835 * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
10836 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
10837 * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
10838 * gnu/java/awt/peer/qt/QtImage.java: Likewise.
10839 * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
10840 * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
10841 * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
10842 * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
10843 * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
10844 * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
10845 * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
10846 * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
10847 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
10848 * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
10850 2006-07-26 Roman Kennke <kennke@aicas.com>
10852 * java/awt/KeyboardFocusManager.java
10853 (getFocusOwner): Don't check permanent owner.
10854 (getGlobalFocusOwner): Don't check permanent owner.
10856 2006-07-26 Carsten Neumann <cn-develop@gmx.net>
10858 * StrictMath.java (cosh): New method.
10859 (expm1): New method.
10860 (EXPM1_Q1): New field.
10861 (EXPM1_Q2): Likewise.
10862 (EXPM1_Q3): Likewise.
10863 (EXPM1_Q4): Likewise.
10864 (EXPM1_Q6): Likewise.
10866 2006-07-26 Roman Kennke <kennke@aicas.com>
10868 * javax/swing/plaf/basic/BasicButtonListener.java
10869 (mousePressed): Request focus if appropriate.
10870 * javax/swing/text/DefaultCaret.java
10871 (mousePressed): Also handle the focus of the text component
10872 as specified. Don't consume events.
10874 2006-07-26 Roman Kennke <kennke@aicas.com>
10876 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10877 (focusRequest): Removed field.
10878 (postFocusEvent(int,boolean,Component)): Removed.
10879 (postFocusEvent(int,boolean)): Reverted to post event using
10880 the heavyweight component.
10881 (requestFocus): Post focus event using the heavyweight
10883 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10884 (requestFocus): Post focus event using the heavyweight
10886 * java/awt/AWTEvent.java
10887 (isFocusManagerEvent): New field, indicating if this is
10888 an event that is redispatched by the KeyboardFocusManager.
10889 * java/awt/Component.java
10890 (requestFocusImpl): Register component for
10891 heavyweight->lightweight mapping.
10892 (dispatchEventImpl): Retarget focus events before dispatching
10893 to the KeyboardFocusManager. Use new AWTEvent flag instead
10894 of locking hack. Dispatch all events through the
10895 KeyboardFocusManager. Don't request focus on lightweight
10897 * java/awt/DefaultKeyboardFocusManager.java
10898 (dispatchEvent): Pulled out handling of FOCUS_GAINED and
10900 (handleFocusGained): Fixed handling of temporary vs permanent
10901 focus changes. Added some checks.
10902 (handleFocusLost): Fixed handling of temporary vs permanent
10903 focus changes. Added some checks.
10904 * java/awt/EventDispatchThread.java
10905 (run): Don't dispatch to KeyboardFocusManager here. This
10906 is done in Component.dispatchEventImpl().
10907 * java/awt/KeyboardFocusManager.java
10908 (redispatchEvent): Use new AWTEvent flag instead of locking hack.
10909 (focusRequests): New field.
10910 (retargetFocusEvent): New method. Retargets focus events
10911 that come from heavyweights to the correct lightweight component.
10912 (addLightweightFocusRequest): New method. Stores a mapping
10913 for later retargetting of heavyweight focus events.
10914 * java/awt/Window.java
10915 (addFocusListener): Removed bogus method. If at all, this
10916 should be performed in the KeyboardFocusManager.
10917 (Window): Don't install a focus listener on the Window.
10919 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10921 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
10922 (drawLine): Apply shift to line coordinates.
10924 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10926 * java/awt/image/ColorConvertOp.java: Fixed copyright header.
10927 (copyimage): Do not call setRenderingHints() when the respective map
10929 (filter): Removed code to clone the ColorModel instance.
10930 * java/awt/image/ColorModel.java:
10931 (cloneColorModel): Removed.
10933 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10935 * javax/swing/JTabbedPane.java:
10936 (setSelectedIndex): Removed updating of component visibility status,
10938 (remove(Component)): Use indexOfComponent() to find whether we have
10939 to use super.remove(int) or removeTabAt().
10941 2006-07-26 Roman Kennke <kennke@aicas.com>
10943 * javax/swing/JOptionPane.java
10944 (createDialog): Add property change handler for closing
10945 the dialog when the value property changes.
10946 (ValuePropertyHandler): New inner helper class.
10947 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10948 (OptionPaneCloseAction): New class.
10949 (messageForeground): Removed field.
10950 (messageBorder): Removed field.
10951 (buttonBorder): Removed field.
10952 (addIcon): Configure the new label.
10953 (addMessageComponents): Configure newly created labels.
10954 (burstStringInto): Likewise.
10955 (createButtonArea): Install border here.
10956 (createMessageArea): Install border and foreground here.
10957 (createSeparator): Added comment and removed
10958 NotImplementedException.
10959 (installComponents): Don't install the UI defaults for the
10960 message and button area here. This is moved to the
10961 corresponding create* methods. Adjusted comment about
10963 (installDefaults): Removed initialization of removed fields.
10964 (installKeyboardActions): Implemented.
10965 (getActionMap): New helper method.
10966 (createDefaultActions): New helper method.
10967 (uninstallDefaults): Removed de-initialization of removed fields.
10968 (uninstallKeyboardActions): Implemented.
10969 (configureLabel): New helper method.
10970 * javax/swing/plaf/basic/BasicTableUI.java
10971 (getActionMap): Fixed the UI property names.
10972 * javax/swing/plaf/basic/BasicToolBarUI.java
10973 (getActionMap): Fixed the UI property names.
10975 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10977 * java/awt/image/BandedSampleModel.java
10978 (getDataElements): Check for negative x or y,
10979 (getPixels): Likewise,
10980 (getSamples): Likewise,
10981 (setSamples): Likewise.
10983 2006-07-26 Roman Kennke <kennke@aicas.com>
10985 * javax/swing/plaf/basic/BasicToolBarUI.java
10986 (ToolBarAction): New inner class for handling keyboard
10988 (installKeyboardActions): Implemented.
10989 (getActionMap): New helper method.
10990 (createDefaultActions): New helper method.
10991 (installListeners): Install focus listener on toolbar's
10992 children, rather than the toolbar itself.
10993 (navigateFocusedComp): Implemented.
10994 (uninstallKeyboardActions): Implemented.
10995 (uninstallListeners): Uninstall focus listener from
10996 toolbar's children, rather than the toolbar itself.
10997 (ToolBarContListener.componentAdded): Install focus
10998 listener on added child.
10999 (ToolBarContListener.componentRemoved): Uninstall focus
11000 listener from removed child.
11001 (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
11002 (ToolBarFocusListener.focusGained): Implemented.
11003 (ToolBarFocusListener.focusLost): Implemented.
11005 2006-07-26 Roman Kennke <kennke@aicas.com>
11007 * java/awt/DefaultKeyboardFocusManager.java
11008 (dispatchEvent): Notify old focus owner when it has lost
11011 2006-07-26 Roman Kennke <kennke@aicas.com>
11013 * javax/swing/plaf/basic/BasicTableUI.java
11014 (FocusHandler.focusGained): Implemented to refresh the
11016 (FocusHandler.focusLost): Implemented to refresh the
11018 (FocusHandler.repaintLeadCell): New helper method.
11019 (MouseInputHandler.mouseEntered): Do nothing here.
11020 (MouseInputHandler.mouseExited): Do nothing here.
11021 (MouseInputHandler.mouseMoved): Do nothing here.
11022 (installKeyboardActions): Rewritten to use a shared InputMap
11023 and ActionMap and correctly install the maps via SwingUtilities
11025 (getActionMap): New helper method.
11026 (createDefaultActions): New helper method.
11027 (ActionListenerProxy): Removed unneeded class.
11028 (TableAction): Made class static.
11029 (TableAction.actionPerformed): Determine table by fetching
11030 the event source. Pass the table to helper methods.
11031 Use __command__ hack to determine the action command.
11032 (TableAction.getFirstVisibleColumnIndex): Get table as argument.
11033 (TableAction.getLastVisibleColumnIndex): Get table as argument.
11034 (TableAction.getFirstVisibleRowIndex): Get table as argument.
11035 (TableAction.getLastVisibleRowIndex): Get table as argument.
11036 (TableAction.advanceMultipleSelection): Get table as argument.
11037 (uninstallDefaults): Do nothing here.
11038 (uninstallKeyboardActions): Uninstall the keyboard actions.
11040 2006-07-26 Roman Kennke <kennke@aicas.com>
11042 * javax/swing/JComponent.java
11043 (processKeyBinding): Store the action command as property
11044 in the Action instance that we call. This allows for
11045 improvement on the side of the Action.
11047 2006-07-26 Roman Kennke <kennke@aicas.com>
11049 * javax/swing/plaf/metal/MetalUtils.java
11050 (fillMetalPattern): Use fillRect() instead of drawLine() to
11051 fill single pixels.
11053 2006-07-26 Roman Kennke <kennke@aicas.com>
11055 * javax/swing/text/GapContent.java
11056 (getChars): Check for negative length and throw
11057 BadLocationException.
11059 2006-07-26 Roman Kennke <kennke@aicas.com>
11061 * javax/swing/plaf/basic/BasicMenuBarUI.java
11062 (FocusAction): Made class static.
11064 2006-07-26 Roman Kennke <kennke@aicas.com>
11066 * javax/swing/plaf/basic/BasicLookAndFeel.java
11067 (initComponentDefaults): Add keyboard bindings for
11070 2006-07-26 Roman Kennke <kennke@aicas.com>
11072 * javax/swing/UIManager.java
11073 (getLookAndFeelDefaults): Return the look and feel defaults.
11074 (setLookAndFeel): Improved exception messsage.
11076 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11078 * javax/swing/text/StringContent.java
11079 (StringContent): Changed initialLength to 10.
11081 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11083 * java/util/Vector.java: Fixed API doc typo.
11085 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11087 * java/awt/image/BandedSampleModel.java
11088 (createCompatibleSampleModel): Fixed typo in loop increment, set
11089 correct scanlineStride, and updated API docs.
11091 2006-07-25 Roman Kennke <kennke@aicas.com>
11093 * javax/swing/plaf/basic/BasicPopupMenuUI.java
11094 (NavigateAction): New inner class. This is responsible for
11095 keyboard navigation through menus.
11096 (KeyboardHelper): New inner class. This manages the
11097 keyboard mappings and focus when a popup opens or closes.
11098 (keyboardHelper): New static field.
11099 (numPopups): New static field.
11100 (installUI): Create KeyboardHelper for first popup.
11101 Call installKeyboardActions().
11102 (installKeyboardActions): Removed NotImplementedException.
11103 This method is a no-op.
11104 (installKeyboardActionsImpl): New method. Installs keyboard
11105 mapping when a popup is opened.
11106 (getActionMap): New helper method.
11107 (createDefaultActions): New helper method.
11108 (uninstallUI): Uninstall KeyboardHelper when last Popup is
11109 uninstalled. Call uninstallKeyboardActions().
11110 (uninstallKeyboardActions): Removed NotImplementedException.
11111 This method is a no-op.
11112 (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
11113 mapping when a popup is closed.
11115 2006-07-25 Roman Kennke <kennke@aicas.com>
11117 * java/awt/Component.java
11118 (requestFocus()): Reimplemented to use requestFocusImpl().
11119 (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
11120 (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
11121 (requestFocusInWindow(boolean)): Reimplemented to use
11122 requestFocusImpl().
11123 (requestFocusImpl): Reimplemented focus request to use
11124 new peer method. Also added some obvious additional checks
11125 for rejecting focus requests early.
11126 * java/awt/ComponentPeer.java
11127 (requestFocus(Component,boolean,boolean,long)): Documented
11129 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11130 (requestFocus): New field.
11131 (gtkWidgetHasFocus): New native method.
11132 (gtkWidgetCanFocus): New native method.
11133 (requestFocus): Replaced with assert false to prevent
11134 usage of obsolete method.
11135 (postFocusEvent(int,boolean,Component)): New overloaded method
11136 for posting the focus event to a specific target.
11137 (postFocusEvent(int,boolean)): Post event to requestFocus
11139 (requestFocus(Component,boolean,boolean,long)): Implemented.
11140 (getWindowFor): New helper method.
11141 (isLightweightDescendant): New helper method.
11142 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11143 (gtkWindowHasFocus): New native method.
11144 (requestFocus(Component,boolean,boolean,long)): New method.
11145 Overrides GtkComponentPeer method to specially handly the
11146 case when a Window receives a focus request for a lightweight
11148 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11149 (gtkWidgetHasFocus): New native method.
11150 (gtkWidgetCanFocus): New native method.
11151 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11152 (gtkWindowHasFocus): New native method.
11153 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
11154 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
11157 2006-07-25 Francis Kung <fkung@redhat.com>
11159 * java/awt/DefaultKeyboardFocusManager.java
11160 (dispatchEvent): Add check for valid component.
11162 2006-07-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
11164 * javax/management/MBeanConstructorInfo.java:
11166 * javax/management/MBeanNotificationInfo.java:
11168 * javax/management/MBeanParameterInfo.java:
11171 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11173 * java/awt/peer/gtk/CairoGraphics.java:
11174 (drawLine): Added special case for 1 pixel lines.
11176 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11179 * java/awt/peer/gtk/CairoGraphics.java:
11180 (drawLine): Removed calls to shifted().
11182 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11184 * javax/swing/JTabbedPane.java:
11185 (remove(Component)): Rewritten.
11186 (setSelectedIndex): Implemented updating of component visibility state.
11188 2006-07-25 Sven de Marothy <sven@physto.se>
11190 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
11191 (init): Default to the actual depth in the worst case.
11193 * java/awt/Font.java
11194 (createFont(int, File)): New method.
11196 2006-07-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
11199 * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
11201 (RETokenEnd): New constructer to set check_java_line_terminators.
11202 (matchThis): Checck line terminators if check_java_line_terminators.
11203 * gnu/java/util/regex/RETokenStart.java: Likewise.
11204 * gnu/regexp/RE.java(initialize): Use the new constructors for
11205 RETokenEnd and RETokenStart if REG_MULTILINE is set.
11206 * java/util/regex/Pattern.java(Patteren): Changed so that
11207 gnu/regexp/RE.java may use the new the new constructors.
11209 2006-07-25 Roman Kennke <kennke@aicas.com>
11211 * java/awt/Container.java
11212 (focusTraversalPolicyProvider): New field.
11213 (isFocusTraversalPolicyProvider): New method.
11214 (setFocusTraversalPolicyProvider): New method.
11215 * java/awt/ContainerOrderFocusTraversalPolicy.java
11216 (getFirstComponent): Use accept() instead of lengthy checks.
11217 Don't fetch getComponents() to avoid copying of array.
11218 Traverse down the hierarchy to find the first focused component.
11219 * java/awt/DefaultKeyboardFocusManager.java
11220 (dispatchEvent): Let the initial component request focus.
11222 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
11224 * javax/swing/text/Segment.java
11225 (last): Update current index before returning DONE for zero count.
11227 2006-07-24 Mark Wielaard <mark@klomp.org>
11229 * javax/swing/tree/TreePath.java (equals): Swap path equals call.
11231 2006-07-25 Roman Kennke <kennke@aicas.com>
11233 * javax/swing/plaf/basic/BasicMenuBarUI.java
11234 (FocusAction): New inner class. Used to grab focus.
11235 (installKeyboardActions): Implemented.
11236 (uninstallKeyboardActions): Implemented.
11237 (getActionMap): New helper method.
11238 (createDefaultActions): New helper method.
11240 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11242 * examples/gnu/classpath/examples/swing/Demo.java:
11243 (mkMenuBar): Install instantiable basic look and feel.
11244 (InstantiableBasicLookAndFeel): New inner class.
11246 2006-07-25 Roman Kennke <kennke@aicas.com>
11248 * javax/swing/plaf/basic/BasicInternalFrameUI.java
11249 (GlassPaneDispatcher.dragTarget): New field.
11250 (GlassPaneDispatcher.isDragging): New field.
11251 (GlassPaneDispatcher.pressedComponent): Removed field.
11252 (GlassPaneDispatcher.tempComponent): Removed field.
11253 (GlassPaneDispatcher.pressCount): Removed field.
11254 (GlassPaneDispatcher.mousePressed): Call
11255 borderListener.mousePressed() to activate the frame.
11256 (acquireComponentForMouseEvent): Removed method.
11257 (handleEvent): Rewritten.
11258 (redispatch): New method.
11259 (InternalFramePropertyChangeListener.propertyChange):
11260 Make glasspane invisible when frame is selected, and visible
11261 if it gets deselected.
11263 2006-07-25 Roman Kennke <kennke@aicas.com>
11265 * java/awt/LightweightDispatcher.java
11266 (handleMouseEvent): Dispatch event to real target if
11267 the dragTarget has become invisible in the meantime.
11269 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
11271 * javax/swing/text/TabSet.java
11272 (equals): New method override for 1.5,
11273 (hashCode): Likewise,
11274 (toString): Added spaces to match reference implementation.
11276 2006-07-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
11278 * javax/management/IntrospectionException.java,
11279 * javax/management/MBeanAttributeInfo.java:
11281 * javax/management/MBeanNotificationInfo.java:
11282 Documentation cleanups.
11284 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
11286 * javax/swing/text/TabSet.java
11287 (TabSet): Check for null argument,
11288 (getTab): Throw IllegalArgumentException for index out of bounds,
11289 (getTabIndexAfter): Changed test to '<=',
11290 and updated API docs all over,
11291 * javax/swing/text/TabStop.java: Updated API docs.
11293 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
11295 * javax/swing/text/TabStop.java
11296 (toString): Don't use 'left ' prefix, and added space between tab
11297 location and '(w/leader)' suffix.
11299 2006-07-24 Francis Kung <fkung@redhat.com>
11301 * javax/swing/JComboBox.java
11302 (DefaultKeySelectionManager): Implemented.
11303 (createDefaultKeySelectionManager): Implemented.
11304 (getKeySelectionManager): Implemented.
11305 (processKeyEvent): Removed duplicate code.
11306 * javax/swing/JPopupMenu.java
11307 (selectionModel): Changed visibility.
11308 * javax/swing/plaf/basic/BasicComboBoxUI.java
11309 (KeyHandler.keyPressed): Added navigation keys.
11310 (configureEditor): Add key listener.
11311 (installListeners): Install focus listener to combo box.
11312 (isNavigationKey): Added enter, escape, and tab.
11313 (selectPreviousPossibleValue): Added out of bounds check.
11314 (unconfigureEditor): Remove key listener.
11315 * javax/swing/plaf/metal/MetalComboBoxButton.java
11316 (paintComponent): Highlight combo box when in focus.
11318 2006-07-24 Roman Kennke <kennke@aicas.com>
11320 * javax/swing/SwingUtilities.java
11321 (isLeftMouseButton): Fixed condition.
11322 * java/awt/LightweightDispatcher.java
11323 (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
11326 2006-07-24 Roman Kennke <kennke@aicas.com>
11328 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
11329 (setPaint): Fixed scaleX and scaleY.
11331 2006-07-24 Roman Kennke <kennke@aicas.com>
11333 * javax/swing/JTable.java
11334 (handleInsert): Repaint the whole table for variable row
11335 height tables and an optimized region otherwise.
11336 (handleDelete): Likewise.
11337 (handleUpdate): Likewise.
11339 2006-07-24 Mario Torre <neugens@limasoftware.net>
11341 * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
11342 now explicity registerListeners on GtkMouseDragGestureRecognizer
11344 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11345 (unregisterListeners): new method, overrided from base class
11346 to rise visibility (from protected to public).
11347 (registerListeners): Likewise.
11348 (GtkMouseDragGestureRecognizer): fixed potential threading issue:
11349 removed call to registerListeners from the constructor.
11351 2006-07-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
11353 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11354 * java/lang/management/MemoryPoolMXBean.java:
11355 (getType()): Changed return type to MemoryType.
11356 * java/lang/management/MemoryType.java:
11359 2006-07-23 Mark Wielaard <mark@klomp.org>
11361 * configure.ac: Check for moc and moc-qt4.
11363 2006-07-23 David Gilbert <david.gilbert@object-refinery.com>
11365 * java/awt/image/Kernel.java: API doc updates.
11367 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11369 * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
11372 2006-07-22 Mark Wielaard <mark@klomp.org>
11374 * java/lang/Iterable.java: Import all of java.util.
11375 * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
11376 * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
11378 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11380 * doc/vmintegration.texinfo:
11381 Document getType(String).
11382 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11383 * java/lang/management/MemoryPoolMXBean.java:
11384 (getType()): Implemented.
11385 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
11386 (getType(String)): Implemented.
11388 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11390 * doc/vmintegration.texinfo:
11391 Move end of itemization block.
11393 2006-07-22 Robert Schuster <robertschuster@fsfe.org>
11395 * javax/swing/plaf/metal/MetalLookAndFeel.java:
11396 (initComponentDefaults): Added new properties, added comments.
11398 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11400 * doc/vmintegration.texinfo:
11401 Mention callback methods.
11402 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11403 (fireNotification(String,String,long,long,long,long,long)):
11404 Made package-private.
11405 (fireThresholdExceededNotification(String,long,long,long,
11406 long,long)): Likewise.
11407 (fireCollectionThresholdExceededNotification(String,long,
11408 long,long,long,long)): Likewise.
11409 * java/lang/management/MemoryMXBean.java:
11410 Document notifications.
11412 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11414 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11415 (fireNotification(String,String,long,long,long,long,long)):
11417 (fireThresholdExceededNotification(String,long,long,long,
11418 long,long)): Likewise.
11419 (fireCollectionThresholdExceededNotification(String,long,
11420 long,long,long,long)): Likewise.
11421 * java/lang/management/MemoryNotificationInfo.java:
11422 Use composite type from MemoryMXBeanImpl.
11423 * javax/management/openmbean/CompositeData.java:
11424 Correct documentation.
11425 * javax/management/openmbean/CompositeDataSupport.java,
11426 * javax/management/openmbean/InvalidKeyException.java:
11429 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11431 * gnu/java/security/util/IntegerUtil.java: New file.
11433 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11436 * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
11437 (KEY_SIZE): Likewise.
11438 (adjustParity(int,byte[],int): New method.
11439 (adjustParity(byte[],int): Call above method with 3 as 1st argument.
11440 (isParityAdjusted(int,byte[],int)): New method.
11441 (isParityAdjusted): Call above method with 3 as 1st argument.
11442 (keySizes): Add 8 and 16 as other valid key sizes.
11443 (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
11445 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11447 * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11448 code for the pixel swap routine to be more efficient.
11450 2006-07-21 Carsten Neumann <cn-develop@gmx.net>
11452 * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11453 (lastIndexOf(E, int)): Likewise.
11454 (add(E)): Increase the size of newData array by one.
11455 (add(int, E)): Likewise.
11457 2006-07-20 Lillian Angel <langel@redhat.com>
11459 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11460 Removed unused fields.
11461 (GtkMouseDragGestureRecognizer): Removed initializations.
11463 2006-07-20 Lillian Angel <langel@redhat.com>
11465 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11466 (GtkMouseDragGestureRecognizer): New constructor.
11467 (GtkMouseDragGestureRecognizer): New constructor.
11468 (GtkMouseDragGestureRecognizer): New constructor.
11469 (mouseClicked): Removed FIXME.
11470 (mousePressed): Implemented.
11471 (mouseReleased): Implemented.
11472 (mouseEntered): Implemented.
11473 (mouseDragged): Implemented to check mouse point and trigger origin.
11474 (mouseMoved): Removed FIXME.
11475 (getDropActionFromEvent): New helper function used to convert mouse event
11476 modifiers to a drop action.
11477 * java/awt/dnd/DragSource.java
11478 (getDragThreshold): Changed to return some arbitrary value for testing
11481 2006-07-20 Roman Kennke <kennke@aicas.com>
11483 * java/awt/LightweightDispatcher.java
11484 (findTarget): Also consider components that have their eventMask
11485 set, for compatibility with stonage AWT. Optimized check
11487 (handleMouseEvent): Likewise.
11489 2006-07-20 Roman Kennke <kennke@aicas.com>
11491 * javax/swing/JTable.java
11492 (tableChanged): Split out handling of the event into multiple
11494 (handleCompleteChange): New method. Clear the selection and
11495 check the lead/anchor indices.
11496 (handleInsert): New method. Check the lead/anchor indices.
11497 Optimized repainting.
11498 (handleDelete): New method. Check the lead/anchor indices.
11499 Optimized repainting.
11500 (handleUpdate): New method. Optimized repainting.
11501 (checkSelection): New helper method.
11502 (setSelectionModel): Update lead/anchor indices.
11504 2006-07-20 Lillian Angel <langel@redhat.com>
11507 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11508 (dispose): Reset all fields.
11510 2006-07-20 Roman Kennke <kennke@aicas.com>
11512 * gnu/java/awt/peer/x/XToolkit.java
11513 (createImage(InputStream)): Only copy image to Pixmap if
11514 it's actually opaque. Transparent images are left as
11515 BufferedImage and composited later onto the screen.
11516 * gnu/java/awt/peer/x/XGraphics.java
11517 (XGraphics): Fetch some parameters for image rendering.
11518 (drawImage): Added special handling of transparent images.
11519 (getRGB): New helper method.
11520 (setRGB): New helper method.
11522 2006-07-20 Roman Kennke <kennke@aicas.com>
11524 * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11525 ImageInputStreams as normal InputStreams.
11526 * gnu/javax/imageio/gif/GIFStream.java:
11527 Moved to gnu/javax/imageio/IIOInputStream.java.
11528 * gnu/javax/imageio/gif/GIFImageReader.java
11529 (readImage): Use IIOInputStream.
11530 * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11531 (canDecodeInput): Use IIOInputStream.
11532 * gnu/javax/imageio/png/PNGException.java: Make subclass
11534 * gnu/javax/imageio/png/PNGImageReader.java: New class.
11535 Implements the ImageIO ImageReader for PNG.
11536 * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11537 Implements the ImageIO ImageReaderSpi for PNG.
11538 * javax/imageio/spi/IIORegistry.java:
11539 (IIORegistry): Add PNGImageReaderSpi.
11541 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11543 * java/awt/image/ComponentSampleModel.java
11544 (getPixel): Added argument check,
11545 (getSample): Modified exception message.
11547 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11550 * java/awt/image/ConvolveOp.java
11551 (filter(Raster, WritableRaster)): Reimplemented,
11552 (fillEdge): New private method.
11554 2006-07-19 Keith Seitz <keiths@redhat.com>
11556 * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11557 (JVMTI_VERSION): Define.
11559 2006-07-19 Roman Kennke <kennke@aicas.com>
11561 * resource/gnu/regexp/MessagesBundle.properties,
11562 * resource/gnu/regexp/MessagesBundle_fr.properties,
11563 * resource/gnu/regexp/MessagesBundle_it.properties:
11564 Moved to resource/gnu/java/util/regex.
11565 * resource/gnu/java/util/regex/MessagesBundle.properties,
11566 * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11567 * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11569 * gnu/java/util/regex/RE.java
11570 Use new resource bundle location.
11572 2006-07-19 Roman Kennke <kennke@aicas.com>
11574 * javax/swing/JComponent.java
11575 (paintChildren): Refactored. The paintChildrenOptimized method
11576 has been moved back in here. Added locking of the tree and
11577 only check for completely obscured child components
11578 when not optimized drawing enabled. Use Graphics.create() to
11579 protect from irreversible changes.
11580 (isCompletelyObscured): New helper method.
11581 (paintComponent): Also use Graphics.create() for Graphics2D,
11582 to protect from irreverible changes.
11583 (clipAndTranslateGraphics): Refactored to use more efficient
11584 iterative (vs recursive) approach.
11585 * javax/swing/RepaintManager.java
11586 (getOffscreenBuffer): Create image from root component.
11588 2006-07-19 Roman Kennke <kennke@aicas.com>
11590 * gnu/java/awt/peer/x/XGraphics.java
11591 (translate): Don't set the clip on the X server.
11592 (clipRect): Use setXClip() to set the clip on the X server.
11593 (hitClip): More efficient and correct implementation.
11594 (setClip): Use setXClip() to set the clip on the X server.
11595 (setClip(Shape)): Use setXClip() to set the clip on the X server.
11596 (copyArea): Translate and clip the source rectangle correctly.
11597 (dispose): Only flush when object is not yet disposed.
11598 (clone): Use setXClip() to set the clip on the X server.
11600 2006-07-19 Sven de Marothy <sven@physto.se>
11602 * gnu/javax/imageio/png/PNGChunk.java,
11603 * gnu/javax/imageio/png/PNGData.java,
11604 * gnu/javax/imageio/png/PNGDecoder.java,
11605 * gnu/javax/imageio/png/PNGEncoder.java,
11606 * gnu/javax/imageio/png/PNGException.java,
11607 * gnu/javax/imageio/png/PNGFile.java,
11608 * gnu/javax/imageio/png/PNGFilter.java,
11609 * gnu/javax/imageio/png/PNGGamma.java,
11610 * gnu/javax/imageio/png/PNGHeader.java,
11611 * gnu/javax/imageio/png/PNGICCProfile.java,
11612 * gnu/javax/imageio/png/PNGPalette.java,
11613 * gnu/javax/imageio/png/PNGPhys.java,
11614 * gnu/javax/imageio/png/PNGTime.java:
11617 2006-07-19 Sven de Marothy <sven@physto.se>
11619 * java/net/Inet6Address.java:
11620 (getScopedId, getScopedInterface): New methods.
11622 2006-07-19 Lillian Angel <langel@redhat.com>
11624 * examples/gnu/classpath/examples/awt/Demo.java
11625 (DragDropWindow): Fixed typo in Label text.
11626 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11627 (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11628 (startDrag): Initialized context field.
11629 (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11631 (dragEnter): New function.
11632 (dragExit): Likewise.
11633 (dragDropEnd): Likewise.
11634 (dragMouseMoved): Likewise.
11635 (dragOver): Likewise.
11636 (dragActionChanged): Likewise.
11638 2006-07-19 Raif S. Naffah <raif@swiftdsl.com.au>
11641 * resource/java/security/classpath.security: Updated copyright year.
11642 (auth.login.defaultCallbackHandler): New property; set to our default
11643 callback handler. This is needed by the LoginContext when no callback
11644 handler was specified.
11645 * javax/security/auth/login/LoginContext.java: Updated copyright year.
11646 (LoginContext(4)): Assign passed parameters to local fields before invoking
11649 2006-07-19 Roman Kennke <kennke@aicas.com>
11651 * gnu/java/awt/peer/x/XGraphics.java
11652 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11653 Fixed ordering of parameters.
11655 2006-07-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
11657 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11658 (MemoryMXBeanImpl()): Implemented.
11659 (ListenerData): New private class.
11660 (addNotificationListener(NotificationListener,
11661 NotificationFilter, Object)): Implemented.
11662 (getNotificationInfo()): Likewise.
11663 (removeNotificationListener(NotificationListener)):
11665 (removeNotificationListener(NotificationListener,
11666 NotificationFilter, Object)): Likewise.
11668 2006-07-18 Roman Kennke <kennke@aicas.com>
11670 * gnu/java/awt/peer/x/XFontPeer.java
11671 (encodeFont): Be more flexible with font sizes.
11672 (validSize): New helper method.
11673 * gnu/java/awt/peer/x/XGraphics.java
11674 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11676 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11678 * gnu/java/awt/peer/x/XImage.java
11679 (properties): New field.
11680 (getProperty): Implemented.
11681 * resource/gnu/java/awt/peer/x/fonts.properties:
11682 Added copyright header. Fixed font size field.
11684 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11686 * java/awt/image/BandedSampleModel.java
11687 (createDataBuffer): New method override,
11688 * java/awt/image/ByteLookupTable.java
11689 (ByteLookupTable(int, byte[][])): Create new array to hold references,
11690 (ByteLookuptable(int, byte[])): Check for null array,
11691 * java/awt/image/ComponentSampleModel.java
11692 (createDataBuffer): Removed unnecessary braces,
11693 (getSample): Check (x, y) is within bounds,
11694 * java/awt/image/ShortLookupTable.java
11695 (ShortLookupTable(int, short[][])): Create new array to hold references,
11696 (ShortLookupTable(int, short[])): Check for null array,
11697 (getTable): Added API docs,
11698 (lookupPixel): Source reformatting.
11700 2006-07-18 Tania Bento <tbento@redhat.com>
11702 * java/awt/GridLayout.java
11703 (setHgap): Illegal Argument Exception should not be thrown if
11705 (setVgap): Illegal Argument Exception should not be thrown if
11707 (toString): Opening square braket ([) should appear before hgap
11708 value, not the name of the class.
11710 2006-07-18 Roman Kennke <kennke@aicas.com>
11712 * lib/copy-vmresources.sh.in: Reverted.
11713 * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11714 * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11716 2006-07-18 Roman Kennke <kennke@aicas.com>
11718 * lib/copy-vmresources.sh.in: Include properties from X peers.
11720 2006-07-18 Raif S. Naffah <raif@swiftdsl.com.au>
11723 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11724 certificate validity.
11725 (getIssuerName): New method.
11726 (getSubjectName): Likewise.
11727 (getNotAfterDate): Likewise.
11728 (getNotBeforeDate): Likewise.
11729 * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11730 messages for newly added messages in SFHelper.
11732 2006-07-18 Roman Kennke <kennke@aicas.com>
11734 * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11735 * gnu/java/awt/peer/x/XEventPump.java
11736 (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11737 * gnu/java/awt/peer/x/XFramePeer.java
11738 Made a subclass of XWindowPeer, rather than SwingFramePeer.
11739 * gnu/java/awt/peer/x/XGraphics.java
11740 Made subclass of Graphics rather than Graphics2D. Removed
11741 all Graphics2D specific method stubs.
11742 (setColor): Map colors using the X color map that is
11743 stored in XToolkit.
11744 * gnu/java/awt/peer/x/XToolkit.java
11745 (colorMap): New field.
11746 (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11748 (createDialog): Implemented.
11749 (createImage(ImageProducer)): Implemented.
11750 (createImage(InputStream)): Use createImage(ImageProducer)
11751 to convert the BufferedImage to an XImage.
11752 * gnu/java/awt/peer/x/XWindowPeer.java
11753 (XWindowPeer): Removed debug output.
11755 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11757 * java/awt/image/BufferedImageOp.java: API docs added,
11758 * java/awt/image/RasterOp.java: Likewise.
11760 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11762 * java/awt/Graphics2D.java: API docs updated.
11764 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11766 * java/awt/image/WritableRaster.java: Added API docs and reformatted
11769 2006-07-18 Sven de Marothy <sven@physto.se>
11771 * java/net/Inet6Address.java:
11772 Add 1.5 serialized fields.
11773 (getByAddress): New methods.
11774 (readObject, writeObject): New methods.
11775 (equals): Reimplement.
11777 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11779 * java/awt/image/Raster.java: Added API docs and reformatted source
11782 2006-07-18 Andreas Tobler <a.tobler@schweiz.ch>
11784 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11786 * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11787 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11788 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11789 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11790 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11791 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11792 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11793 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11794 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11795 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11796 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11797 * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11798 * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11799 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11800 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11801 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11802 * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11803 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11804 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11805 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11806 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11808 2006-07-17 Andreas Tobler <a.tobler@schweiz.ch>
11810 * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11811 to make it compile again under jikes. Note added.
11813 2006-07-17 Lillian Angel <langel@redhat.com>
11815 * examples/gnu/classpath/examples/awt/Demo.java
11816 (Demo): Added new window for DnD demo.
11817 (DragDropWindow): New class.
11818 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
11819 Added new fields and declarations for native functions.
11820 (GtkDragSourceContextPeer): Implemented.
11821 (getComponentPeer): New function.
11822 (startDrag): Partially implemented.
11823 (getCursor): Implemented.
11824 (setCursor): Implemented.
11825 * include/GtkDragSourceContextPeer.h: New file.
11826 * include/Makefile.am: Added new header file.
11827 * java/awt/Component.java
11828 (addNotify): Added call to the dropTarget's addNotify.
11829 * java/awt/dnd/DragSource.java
11830 (startDrag): Fixed code to use shared instances of peer and
11832 (getDragThreshold): Added stub.
11833 * java/awt/dnd/DropTarget.java
11834 (DropTarget): Implemented fully.
11835 (addNotify): Added code to get the peer of the parent that is
11837 * java/awt/dnd/DropTargetDragEvent.java
11838 (getTransferable): Added stub.
11839 * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
11840 * native/jni/gtk-peer/Makefile.am: Added new c file.
11841 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
11842 Changed to extend GtkGenericPeer.
11843 (GtkDropTargetContextPeer): New constructor.
11844 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
11845 Changed to extend GtkGenericPeer.
11846 (GtkDropTargetContextPeer): New constructor.
11848 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11850 * java/awt/image/SinglePixelPackedSampleModel.java
11851 (createSubsetSampleModel): Added argument check and API docs.
11853 2006-07-17 Roman Kennke <kennke@aicas.com>
11855 * gnu/java/awt/peer/x/XGraphics.java
11856 (copyArea): Implemented.
11858 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11860 * java/awt/image/SinglePixelPackedSampleModel.java
11861 (getSampleSize): Return copy of array,
11862 (getOffset): Added API docs,
11863 (getScanlineStride): Likewise,
11864 (hashCode): Implemented.
11866 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11868 * java/awt/image/MultiPixelPackedSampleModel.java
11869 (getOffset): Updated API docs and source reformatting,
11870 (getBitOffset): Source reformatting only,
11871 (getDataElements): Likewise,
11872 (getPixel): Likewise,
11873 (getPixels): Removed method override,
11874 (setDataElements): Reimplemented.
11876 2006-07-17 Gary Benson <gbenson@redhat.com>
11878 * resource/META-INF/services/.cvsignore: New file.
11879 * lib/.cvsignore: Updated.
11881 2006-07-17 Roman Kennke <kennke@aicas.com>
11883 * javax/swing/plaf/basic/BasicButtonListener.java
11884 (propertyChange): Only do the text layout caching as long
11885 as the noGraphics2D property isn't set.
11886 * javax/swing/plaf/basic/BasicMenuItemUI.java
11887 (PropertyChangeHandler.propertyChange): Only do the text layout
11888 caching as long as the noGraphics2D property isn't set.
11890 2006-07-17 Roman Kennke <kennke@aicas.com>
11892 * gnu/java/awt/peer/x/XGraphicsEnvironment.java
11893 (XGraphicsEnvironment): Make constructor public so that it
11894 can be called via Class.forName().newInstance().
11895 * gnu/java/awt/peer/x/XImage.java
11896 (XImage): Fetch GraphicsEnvironment via
11897 GraphicsEnvironment.getLocalGraphicsEnvironment() rather
11898 than the XToolkit method, to avoid double instantiation
11899 of the XGraphicsEnvironment.
11900 * gnu/java/awt/peer/x/XToolkit.java
11901 (env): Removed field.
11902 (getLocalGraphicsEnvironment): Removed impl. This method
11903 should not be called since we set the graphicsenv property
11904 in the constructor.
11906 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11908 * java/util/UUID.java:
11909 (compareTo(Object)): Call compareTo(UUID).
11910 (compareTo(UUID)): Implemented.
11912 2006-07-16 Tom Tromey <tromey@redhat.com>
11914 * java/lang/StrictMath.java (cbrt): Added '@since'.
11916 2006-07-16 Carsten Neumann <cn-develop@gmx.net>
11918 * java/lang/StrictMath.java (cbrt): New method.
11919 (getLowDWord): New helper method.
11920 (getHighDWord): Likewise.
11921 (buildDouble): Likewise.
11922 (CBRT_B1): New field.
11923 (CBRT_B2): Likewise.
11924 (CBRT_C): Likewise.
11925 (CBRT_D): Likewise.
11926 (CBRT_E): Likewise.
11927 (CBRT_F): Likewise.
11928 (CBRT_G): Likewise.
11930 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11932 * javax/management/MBeanInfo.java:
11933 (getNotifications()): Implemented.
11934 * javax/management/NotificationBroadcaster.java:
11935 (removeNotificationListener(NotificationListener)):
11936 Renamed from removeListener.
11937 * javax/management/NotificationEmitter.java:
11938 (removeNotificationListener(NotificationListener,
11939 NotificationFilter, Object)): Likewise.
11940 * javax/management/NotificationFilter.java:
11941 Implement Serializable.
11942 * javax/management/NotificationListener.java:
11943 Implement java.util.EventListener.
11944 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11945 Implement Serializable.
11947 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11949 * java/lang/management/MemoryNotificationInfo.java:
11952 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11955 * gnu/javax/swing/text/html/parser/htmlValidator.java
11956 (tagIsValidForContext): If it is not possible to insert any tag, but
11957 is possible to insert a P, insert a P.
11958 * gnu/javax/swing/text/html/parser/HTML_401Swing.java
11959 (newInstance): Removed print statement. (getBodyElements):
11960 Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
11961 valid body level tags (will be enclosed into P's).
11963 2006-07-17 Raif S. Naffah <raif@swiftdsl.com.au>
11965 * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
11966 Condition the creation of .keystore (a default keystore) based on the
11967 createIfNotFound argument as well.
11969 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11972 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
11973 Removed heading p tag from the parsing example.
11974 * gnu/javax/swing/text/html/parser/HTML_401F.java:
11975 (createHtmlContentModel): Explained.
11976 (defineElements): Call getBodyElements to get the body
11977 elements. (getBodyElements): New method. (model):
11978 Made protected from private.
11979 * gnu/javax/swing/text/html/parser/htmlValidator.java
11980 (openTag): Mind that current content model may be null.
11981 (tagIsValidForContext): If the tag is PCDATA, and it is not
11982 valid for context, but the paragraph (P) is valid for context,
11983 suggest to insert the P tag here.
11984 * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
11985 HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
11986 implied P tags here.
11987 * javax/swing/text/html/HTMLEditorKit.java (getParser):
11988 Get the custom parser, using HTML_401Swing.java DTD.
11989 * javax/swing/text/html/parser/ParserDelegator.java:
11990 Removed the obsolete note that HTMLEditorKit does not exist.
11991 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
11992 gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
11994 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11996 * javax/management/ListenerNotFoundException.java:
11998 * javax/management/MBeanFeatureInfo.java:
11999 (hashCode()): Use summation instead of multiplication
12000 for consistency with other classes.
12001 * javax/management/MBeanNotificationInfo.java,
12002 * javax/management/Notification.java,
12003 * javax/management/NotificationBroadcaster.java,
12004 * javax/management/NotificationEmitter.java,
12005 * javax/management/NotificationFilter.java,
12006 * javax/management/NotificationListener.java:
12008 * javax/management/OperationsException.java:
12009 (serialVersionUID): Added.
12011 2006-07-16 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
12012 Mark Wielaard <mark@klomp.org>
12014 * java/io/PrintStream.java: Added four constructors, for File and
12015 String describing a filename with or without explicit encoding.
12017 2006-07-16 Sven de Marothy <sven@physto.se>
12019 * javax/rmi/ssl/SslRMIServerSocketFactory.java,
12020 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
12023 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12026 * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)):
12028 (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
12029 (setProviderClassNameParam): Made private.
12030 (setKeystoreTypeParam): Likewise.
12031 (setKeyPasswordParam): Likewise
12032 (setKeystorePasswordParam): Likewise.
12033 (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
12034 create or not the keystore if it's not there, and the second is the store's
12035 password to process before loading the keystore. Amended the code
12037 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
12038 setKeyStoreParams(5) with true as its first argument.
12039 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
12040 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
12042 2006-07-16 Sven de Marothy <sven@physto.se>
12044 * java/util/UUID.java: New file.
12046 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12048 * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
12049 * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
12050 * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
12051 * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
12052 * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
12053 * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
12054 * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
12055 added Key Wrapping Algorithm SPIs.
12057 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12059 * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
12060 wrapping/unwrapping to invoke their engineGetOutputSize.
12062 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12064 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
12065 (engineInit): If a SecureRandom was specified then use it.
12066 (nextRandomBytes): New method.
12067 (engineWrap): Use above method.
12068 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
12069 (getDefaultPRNG): New method.
12070 * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
12071 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
12074 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12076 * gnu/javax/crypto/jce/params/BlockCipherParameters.java
12077 (engineGetParameterSpec): Should be able to return an IvParameterSpec.
12079 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12081 * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
12082 offset into consideration.
12084 2006-07-16 Mario Torre <neugens@limasoftware.net>
12086 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
12087 Fixed comment. This functions now requires to be called
12088 with gdk lock held, the comment states that.
12089 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
12090 Introduces gdk locks around critical regions of code.
12091 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
12093 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
12095 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
12097 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12099 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12101 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12103 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
12105 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
12107 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12109 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
12110 * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
12112 2006-07-15 Sven de Marothy <sven@physto.se>
12114 * javax/swing/JFileChooser.java
12115 Change default selection mode to FILES_ONLY.
12116 * javax/swing/plaf/basic/BasicDirectoryModel.java
12117 Document, fix selection mode filtering.
12118 (renameFile): Implement
12119 * javax/swing/plaf/basic/BasicFileChooserUI.java
12120 (selectedDir): New field to handle selected directories,
12121 disallow selecting of directories in FILES_ONLY mode.
12122 * javax/swing/plaf/metal/MetalFileChooserUI.java:
12123 (EditingActionListener.actionPerformed):
12124 Stop editing on all actions (e.g. return-key press)
12126 2006-07-15 Mark Wielaard <mark@klomp.org>
12128 * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
12130 (JNI Implementation): Mark JVMTI Implementation as next.
12131 (JVMTI Implementation): Mark JNI Implementation as prev.
12133 2006-07-15 Mark Wielaard <mark@klomp.org>
12135 * include/Makefile.am: Remove
12136 include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
12137 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
12138 * native/jni/gtk-peer/Makefile.am: Remove
12139 gnu_java_awt_peer_gtk_GdkTextLayout.c
12140 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
12143 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
12145 2006-07-15 Mark Wielaard <mark@klomp.org>
12147 * autogen.sh: Recognize autoconf 2.60.
12149 2006-07-15 Keith Seitz <keiths@redhat.com>
12151 * NEWS: Update for JVMTI and jvmti.h.
12152 * doc/vmintegration.texinfo: Likewise.
12153 * include/jvmti.h: New file.
12155 2006-07-15 Mark Wielaard <mark@klomp.org>
12157 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12158 Removed C++ style comment.
12160 2006-07-15 Sven de Marothy <sven@physto.se>
12162 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
12163 * java/awt/MouseInfo.java,
12164 * java/awt/PointerInfo.java,
12165 * java/awt/peer/MouseInfoPeer.java:
12168 * java/awt/Image.java
12169 (accelerationPriority): New field.
12170 (setAccelerationPriority, getAccelerationPriority): New methods..
12172 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
12173 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
12174 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
12175 (getMouseCoordinates): New method.
12177 * gnu/java/awt/peer/gtk/GtkFramePeer.java
12178 (updateAlwaysOnTop): Remove stub overload.
12180 * gnu/java/awt/ClasspathToolkit.java,
12181 * gnu/java/awt/peer/gtk/GtkToolkit.java,
12182 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
12183 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12184 (getMouseInfoPeer): New method.
12185 (getMouseNumberOfButtons): New method.
12187 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
12188 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
12189 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12190 (gtkWindowSetAlwaysOnTop): New method.
12191 (updateAlwaysOnTop): Implement.
12193 * java/awt/Toolkit.java,
12194 (getMouseInfoPeer): New method.
12196 * java/awt/Window.java
12197 (alwaysOnTop): New field.
12198 (isAlwaysOnTop, setAlwaysOnTop): New methods.
12200 * java/awt/peer/WindowPeer.java: Doc fix.
12202 2006-07-14 Sven de Marothy <sven@physto.se>
12204 * java/awt/font/TextLayout.java:
12205 (hitTestChar): Stub method.
12206 * java/awt/font/TextMeasurer.java:
12207 (getLayout): Throw exception on invalid argument.
12209 2006-07-14 Sven de Marothy <sven@physto.se>
12211 * java/awt/image/DataBuffer.java
12212 (DataBuffer): Call constructors in the correct order,
12214 2006-07-14 Mark Wielaard <mark@klomp.org>
12216 Revert to previous implementation.
12217 * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
12218 constraints insets.
12220 2006-07-14 Roman Kennke <kennke@aicas.com>
12222 * gnu/java/awt/peer/x/XToolkit.java
12223 (XToolkit): Install properties to SystemProperties
12224 rather than System, to avoid SecurityManager.
12225 (getImage(String)): Return error image when string is invalid.
12226 (createImage(URL)): Moved image loading to helper method.
12227 (createImage(ImageProducer)): Implemented.
12228 (createImage(byte[],int,int)): Implemented.
12229 (createImage(InputStream)): New helper method.
12231 2006-07-14 Tania Bento <tbento@redhat.com>
12233 * java/awt/FlowLayout.java
12234 (setHgap): No Excpetion should be thrown if hgap has
12236 (setVgap): No Exception should be thrown if vgap has
12239 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12241 * java/awt/image/MultiPixelPackedSampleModel.java:
12242 Added API docs all over.
12244 2006-07-14 Matt Wringe <mwringe@redhat.com>
12246 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
12247 (engineInit): Throw InvalidAlgorithmParameterException
12248 for invalid IVParameterSpec IV length.
12250 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12252 * java/awt/image/MultiPixelPackedSampleModel.java
12253 (createDataBuffer): Include dataBitOffset in calculating the size for
12256 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12258 * java/awt/image/MultiPixelPackedSampleModel.java
12259 (getSampleSize()): Return a copy of the array,
12260 (getTransferType()): New method override.
12262 2006-07-14 Roman Kennke <kennke@aicas.com>
12264 * java/awt/CardLayout.java
12265 (show): Validate parent to make sure that the layout is
12268 2006-07-14 Roman Kennke <kennke@aicas.com>
12270 * java/awt/Component.java
12271 (enable): Added tree locking.
12272 (disable): Added tree locking.
12273 (show): Added tree locking.
12274 (hide): Added tree locking.
12275 (getLocationOnScreen): Added tree locking.
12276 (reshape): Added tree locking.
12277 (addHierarchyListener): Added tree locking.
12278 (removeHierarchyListener): Added tree locking.
12279 (addHierarchyBoundsListener): Added tree locking.
12280 (removeHierarchyBoundsListener): Added tree locking.
12281 (addNotify): Added tree locking.
12282 (removeNotify): Added tree locking.
12283 * java/awt/Container.java
12284 (invalidateTree): Added tree locking.
12285 (getAlignmentX): Added tree locking.
12286 (getAlignmentY): Added tree locking.
12287 (addNotify): Added tree locking.
12288 (setComponentZOrder): Added tree locking.
12289 (getComponentZOrder): Added tree locking.
12291 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12293 * java/awt/image/MultiPixelPackedSampleModel.java
12294 (createSubsetSampleModel): Restored argument check, but let null
12297 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12299 * java/awt/image/MultiPixelPackedSampleModel.java
12300 (createSubsetSampleModel): Removed argument check.
12302 2006-07-14 Roman Kennke <kennke@aicas.com>
12304 * java/awt/Component.java
12305 (numHierarchyListeners): New field.
12306 (numHierarchyBoundsListeners): New field.
12307 (show): Fire hierarchy events here. Only fire component event
12308 if there is actually a listener for it.
12309 (hide): Fire hierarchy events here. Only fire component event
12310 if there is actually a listener for it.
12311 (reshape): Fire hierarchy events here. Only fire component event
12312 if there is actually a listener for it.
12313 (addHierarchyListeners): Update listener counters.
12314 (removeHierarchyListeners): Update listener counters.
12315 (addHierarchyBoundsListeners): Update listener counters.
12316 (removeHierarchyBoundsListeners): Update listener counters.
12317 (fireHierarchyEvent): New helper method for firing hierarchy
12319 * java/awt/Container.java
12320 (addImpl): Update listener counters. Fire hierarchy event.
12321 (remove): Update listener counters. Fire hierarchy event.
12322 (fireHierarchyEvent): New helper method for firing hierarchy
12324 (updateHierarchyListenerCount): New helper method for
12325 updating the listener counters.
12327 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12329 * java/awt/image/MultiPixelPackedSampleModel.java
12330 (equals): New method override,
12331 (hashCode): Likewise.
12333 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12335 * java/awt/image/MultiPixelPackedSampleModel.java
12336 (MultiPixelPackedSampleModel(int, int, int, int, int, int)):
12337 Corrected scanlineStride calculation.
12339 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12341 * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
12342 (AES_KWA): Likewise.
12343 (AES128_KWA): Likewise.
12344 (AES192_KWA): Likewise.
12345 (AES256_KWA): Likewise.
12346 (RIJNDAEL_KWA): Likewise.
12347 (TRIPLEDES_KWA): Likewise.
12348 (DESEDE_KWA): Likewise.
12349 * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
12350 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
12351 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
12352 * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
12353 * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
12354 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
12356 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12358 * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
12359 (PADDING_BLOCK_SIZE): New constant.
12360 (init(Map attributes)): New method.
12361 * gnu/javax/crypto/pad/BasePad.java (init): New method.
12363 2006-07-14 Mario Torre <neugens@limasoftware.net>
12365 * gnu/java/security/OID.java (OID): Private Constructor removed as
12366 it is not needed anymore.
12367 (clone): Fixed. Now uses super.clone instead of the private
12368 constructor as per specification of clone method.
12369 (serialVersionUID): added new field to allow serialization.
12371 2006-07-13 Sven de Marothy <sven@physto.se>
12373 * gnu/javax/imageio/gif/GIFImageReader.java
12374 (read): Remove old debugging trace.
12376 2006-07-13 Andreas Tobler <a.tobler@schweiz.ch>
12379 * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
12382 2006-07-13 Roman Kennke <kennke@aicas.com>
12384 * java/awt/Component.java
12385 (DEFAULT_MAX_SIZE): New static constant.
12386 (preferredSize): Return copy of the actual value computed
12387 by new helper method.
12388 (preferredSizeImpl): New helper method. Adds locking and
12389 correct handling of cached value.
12390 (minimumSize): Return copy of the actual value computed
12391 by new helper method.
12392 (minimumSizeImpl): New helper method. Adds locking and
12393 correct handling of cached value.
12394 (getMaximumSize): Return copy of the actual value computed
12395 by new helper method.
12396 (maximumSizeImpl): New helper method. Adds locking and
12397 correct handling of cached value.
12398 (invalidate): Correct handling of cached layout information.
12400 * java/awt/Container.java
12401 (preferredSize): Minimized locking. Corrected handling of cached
12402 values. Return copy of real value.
12403 (minimumSize): Minimized locking. Corrected handling of cached
12404 values. Return copy of real value.
12405 (getMaximumSize): Minimized locking. Corrected handling of cached
12406 values. Return copy of real value.
12408 2006-07-13 Tania Bento <tbento@redhat.com>
12410 * gnu/java/awt/peer/ClasspathFontPeer.java
12411 (isLogicalFontName): Return true if name == default.
12412 (logicalFontNameToFaceName): Check if name == default,
12413 and if so, return "Dialog.plain".
12414 (setStandardAttributes(String, Map)): If name == null,
12415 it should be set to "Default", not "SansSerif".
12416 * java/awt/Canvas.java
12417 (generateName): Fixed documentation.
12418 * java/awt/CheckboxMenuItem.java
12419 Added static variable "next_chkmenuitem_number".
12420 (generateName): Added and implemented method.
12421 (getUniqueLong): Likewise.
12422 * java/awt/Choice.java
12423 Added static variable "next_choice_number".
12424 (generateName): Added and implemented method.
12425 (getUniqueLong): Likewise.
12426 * java/awt/Cursor.java
12427 (Cursor(int)): Set name depending on the type passed.
12428 * java/awt/List.java
12429 Added static variable "next_list_number".
12430 (generateName): Added and implemented method.
12431 (getUniqueLong): Likewise.
12432 * java/awt/Menu.java
12433 Added static variable "next_menu_number".
12434 (generateName): Added and implemented method.
12435 (getUniqueLong): Likewise.
12436 * java/awt/MenuBar.java
12437 Added static variable "next_menubar_number".
12438 (generateName): Added and implemented method.
12439 (getUniqueLong): Likewise.
12440 * java/awt/MenuComponent.java
12441 (getName): Before returning name, check if name == null
12442 and name is not explicity set. If this is the case,
12443 name will be generated.
12444 (generateName): Added and implemented method.
12445 * java/awt/MenuItem.java
12446 Added static variable "next_menuitem_number".
12447 (generateName): Added and implemented method.
12448 (getUniqueLong): Likewise.
12449 * java/awt/PopupMenu.java
12450 Added static variable "next_popup_number".
12451 (generateName): Added and implemented method.
12452 (getUniqueLong): Likewise.
12453 * java/awt/ScrollPane.java
12454 Added static variable "next_scrollpane_number".
12455 (generateName): Added and implemented method.
12456 (getUniqueLong): Likewise.
12457 * java/awt/TextField.java
12458 Added static variable "next_textfield_number".
12459 (generateName): Added and implemented method.
12460 (getUniqueLong): Likewise.
12463 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12465 * java/awt/image/SinglePixelPackedSampleModel.java
12466 (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12467 mask correctly as an unsigned integer,
12468 (equals): New method override.
12470 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12472 * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12473 insertAfterStart, insertBeforeEnd): Removed stub markings.
12475 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12477 * java/awt/image/BandedSampleModel.java: API doc updates and source
12479 * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12481 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12483 * java/awt/image/BandedSampleModel.java: API doc updates.
12485 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12487 * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack):
12488 Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12489 HTMLReader.insertTag, HTMLReader.insertTagEncountered,
12490 HTMLReader.pushDepth, HTMLReader.popDepth): Documented.
12491 (HRMLReader.blockClose): Mind that parser stack may be empty.
12492 (HTMLReader.handeComment, HTMLReader.handleStartTag,
12493 HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten.
12494 (HTMLReader.shouldInsert): New method. (getElement(String)):
12495 Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd,
12496 insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12497 Implemented. (getInsertingReader): New method.
12498 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12499 Added buttons to demonstrate the work of the insert actions.
12501 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12503 * java/awt/image/SampleModel.java: API doc updates and additions,
12504 * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12506 2006-07-12 Sven de Marothy <sven@physto.se>
12508 * javax/swing/JFileChooser.java:
12509 (createDialog): Close operation should cause a cancel.
12511 2006-07-12 Francis Kung <fkung@redhat.com>
12513 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12514 (cairoArc): New native method.
12515 (cairoRestore): New native method.
12516 (cairoSave): New native method.
12517 (cairoScale): New native method.
12518 (createPath): New method to centralize code from draw and fill.
12519 (draw): Modified to use createPath method.
12520 (fill): Modified to use createPath method.
12521 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added
12522 function declarations.
12523 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12524 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New
12526 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New
12528 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New
12531 2006-07-12 Tom Tromey <tromey@redhat.com>
12534 * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12535 on PartialInputStream.
12536 (PartialInputStream.dummyByteCount): New field.
12537 (PartialInputStream.fillBuffer): Handle dummy byte.
12538 (PartialInputStream.read): Likewise.
12539 (PartialInputStream.addDummyByte): New method.
12541 2006-07-12 Mario Torre <neugens@limasoftware.net>
12543 * native/jni/gconf-peer/GConfNativePeer.c
12544 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12545 Fixed C++ style comment.
12547 2006-07-12 David Gilbert <david.gilbert@object-refinery.com>
12549 * java/util/Arrays.java
12550 (asList): Updated API docs.
12552 2006-07-11 Robert Schuster <robertschuster@fsfe.org>
12555 * native/jni/gconf-peer/GConfNativePeer.c:
12556 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12557 Changed if-expression.
12558 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12559 Added check for _value not being NULL.
12561 2006-07-11 Roman Kennke <kennke@aicas.com>
12563 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12564 (read): Use fd when local sockets are disabled to make the
12568 2006-07-11 Roman Kennke <kennke@aicas.com>
12570 * java/awt/image/MultiPixelPackedSampleModel.java
12571 (MultiPixelPackedSampleModel): Substract -1 so that the integer
12572 division gets rounded up.
12574 2006-07-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
12576 * java/lang/management/ManageFactory.java:
12577 (getMemoryManagerMXBeans()): Use addAll, not add.
12579 2006-07-11 Vivek Lakshmanan <vivekl@redhat.com>
12582 * gnu/classpath/ByteArray.java: Removed (moved).
12583 * gnu/java/security/util/ByteArray.java: New File.
12584 * gnu/javax/crypto/RSACipherImpl.java: Reference
12585 gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12587 2006-07-11 Roman Kennke <kennke@aicas.com>
12589 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12590 (available): Pass fd as argument and avoid JNI class/field
12594 * include/gnu_java_net_local_LocalSocketImpl.h:
12596 * gnu/java/net/local/LocalSocketImpl.h
12597 (available): Pass fd as argument and avoid JNI class/field
12602 2006-07-11 Sven de Marothy <sven@physto.se>
12604 * gnu/javax/sound/sampled/AU/AUReader.java:
12605 Correct file extension from .as to .au.
12607 2006-07-11 Sven de Marothy <sven@physto.se>
12609 * gnu/javax/sound/sampled/AU/AUReader.java:
12611 * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12612 Added new provider.
12614 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12616 * javax/swing/JTable.java
12617 (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12618 (setColumnSelectionAllowed): Likewise.
12620 2006-07-10 Vivek Lakshmanan <vivekl@redhat.com>
12623 * gnu/classpath/debug/Simple1LineFormatter.java: Use
12624 AccessController.doPrivileged instead of SystemProperties.getProperty.
12625 * gnu/classpath/debug/SystemLogger.java: Likewise.
12626 * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12627 repeated getProperty calls for "file.seperator".
12628 (refresh): Since already in privileged block, call System.getProperty
12629 instead of SystemProperties.getProperty.
12630 * gnu/java/security/key/dss/DSSKey.java
12631 (toString): Use AccessController.doPrivileged instead of
12632 SystemProperties.getProperty.
12633 * gnu/java/security/key/dss/DSSPrivateKey.java
12634 (toString): Likewise.
12635 * gnu/java/security/key/dss/DSSPublicKey.java
12636 (toString): Likewise.
12637 * gnu/java/security/key/rsa/GnuRSAKey.java
12638 (toString): Likewise.
12639 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12640 (toString): Likewise.
12641 * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12642 (toString): Likewise.
12643 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12644 * gnu/javax/crypto/key/dh/GnuDHKey.java
12645 (toString): Likewise.
12646 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
12647 (toString): Likewise.
12648 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
12649 (toString): Likewise.
12651 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12653 * javax/swing/AbstractButton.java
12654 (disabledIcon): Fixed name (was 'disabeldIcon'),
12655 (getDisabledIcon): Updated for corrected field name,
12656 (setDisabledIcon): Fire a PropertyChangeEvent.
12658 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12660 * javax/swing/DefaultBoundedRangeModel.java
12661 (readObject): New private method,
12662 (writeObject): Likewise.
12664 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12666 * javax/swing/ButtonGroup.java
12667 (add): Ignore null argument,
12668 (remove): Ignore null argument. If removing selected button, clear the
12670 (findButton): Changed case for method name, and documented,
12671 (setSelected): Updated for modification to findButton() method name,
12672 (isSelected): Updated API docs.
12674 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12676 * java/awt/image/BufferedImage.java
12677 (BufferedImage(int, int, int)): Use correct color space for
12678 TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an
12679 IllegalArgumentException for an unrecognised type.
12681 2006-07-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
12683 * java/lang/management/ManagementFactory.java:
12684 (getMemoryPoolMXBeans): Genericized fully.
12685 (getMemoryManagerMXBeans): Likewise.
12686 (getGarbageCollectorMXBeans): Likewise.
12688 2006-07-10 Tom Tromey <tromey@redhat.com>
12690 * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12692 (getMemoryManagerMXBeans): Likewise.
12693 (getGarbageCollectorMXBeans): Likewise.
12695 2006-07-10 Mario Torre <neugens@limasoftware.net>
12697 * java/awt/BasicStroke.java: Removed unused import.
12698 * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed.
12699 * gnu/java/awt/java2d/LineSegment.java (clone): Fixed.
12700 * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12702 2006-07-10 Matt Wringe <mwringe@redhat.com>
12704 PR classpath/28212:
12705 * javax/crypto/spec/SecretKeySpec.java
12706 (equals): Check object type.
12708 2006-07-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12710 * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12711 communication/StructureToPassHelper.java,
12712 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12713 communication/StructureToReturnHelper.java,
12714 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12715 communication/TreeNodeHelper.java,
12716 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12717 communication/WeThrowThisExceptionHelper.java,
12718 gnu/CORBA/ForwardRequestHelper.java,
12719 org/omg/CORBA/CompletionStatusHelper.java,
12720 org/omg/CORBA/CurrentHelper.java,
12721 org/omg/CORBA/DefinitionKindHelper.java,
12722 org/omg/CORBA/IDLTypeHelper.java,
12723 org/omg/CORBA/NameValuePairHelper.java,
12724 org/omg/CORBA/ObjectHelper.java,
12725 org/omg/CORBA/ParameterModeHelper.java,
12726 org/omg/CORBA/PolicyErrorCodeHelper.java,
12727 org/omg/CORBA/PolicyErrorHelper.java,
12728 org/omg/CORBA/PolicyHelper.java,
12729 org/omg/CORBA/PolicyListHelper.java,
12730 org/omg/CORBA/PolicyTypeHelper.java,
12731 org/omg/CORBA/ServiceDetailHelper.java,
12732 org/omg/CORBA/ServiceInformationHelper.java,
12733 org/omg/CORBA/SetOverrideTypeHelper.java,
12734 org/omg/CORBA/StringValueHelper.java,
12735 org/omg/CORBA/UnionMemberHelper.java,
12736 org/omg/CORBA/UnknownUserExceptionHelper.java,
12737 org/omg/CORBA/VisibilityHelper.java,
12738 org/omg/CORBA/WStringValueHelper.java,
12739 org/omg/CORBA/WrongTransactionHelper.java,
12740 org/omg/CosNaming/BindingHelper.java,
12741 org/omg/CosNaming/BindingIteratorHelper.java,
12742 org/omg/CosNaming/BindingListHelper.java,
12743 org/omg/CosNaming/BindingTypeHelper.java,
12744 org/omg/CosNaming/NameComponentHelper.java,
12745 org/omg/CosNaming/NameHelper.java,
12746 org/omg/CosNaming/NamingContextExtHelper.java,
12747 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12748 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12749 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12750 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12751 org/omg/CosNaming/NamingContextHelper.java,
12752 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12753 org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12754 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12755 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12756 org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12757 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12758 org/omg/DynamicAny/AnySeqHelper.java,
12759 org/omg/DynamicAny/DynAnyFactoryHelper.java,
12760 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12761 org/omg/DynamicAny/DynAnyHelper.java,
12762 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12763 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12764 org/omg/DynamicAny/DynAnySeqHelper.java,
12765 org/omg/DynamicAny/DynArrayHelper.java,
12766 org/omg/DynamicAny/DynEnumHelper.java,
12767 org/omg/DynamicAny/DynFixedHelper.java,
12768 org/omg/DynamicAny/DynSequenceHelper.java,
12769 org/omg/DynamicAny/DynStructHelper.java,
12770 org/omg/DynamicAny/DynUnionHelper.java,
12771 org/omg/DynamicAny/DynValueHelper.java,
12772 org/omg/DynamicAny/NameDynAnyPairHelper.java,
12773 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12774 org/omg/DynamicAny/NameValuePairHelper.java,
12775 org/omg/DynamicAny/NameValuePairSeqHelper.java,
12776 org/omg/IOP/CodecFactoryHelper.java,
12777 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12778 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12779 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12780 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12781 org/omg/IOP/ComponentIdHelper.java,
12782 org/omg/IOP/IORHelper.java,
12783 org/omg/IOP/MultipleComponentProfileHelper.java,
12784 org/omg/IOP/ProfileIdHelper.java,
12785 org/omg/IOP/ServiceContextHelper.java,
12786 org/omg/IOP/ServiceContextListHelper.java,
12787 org/omg/IOP/ServiceIdHelper.java,
12788 org/omg/IOP/TaggedComponentHelper.java,
12789 org/omg/IOP/TaggedProfileHelper.java,
12790 org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12791 org/omg/PortableInterceptor/AdapterNameHelper.java,
12792 org/omg/PortableInterceptor/AdapterStateHelper.java,
12793 org/omg/PortableInterceptor/CurrentHelper.java,
12794 org/omg/PortableInterceptor/ForwardRequestHelper.java,
12795 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12796 org/omg/PortableInterceptor/InvalidSlotHelper.java,
12797 org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12798 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12799 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12800 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12801 org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12802 org/omg/PortableServer/CurrentHelper.java,
12803 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12804 org/omg/PortableServer/ForwardRequestHelper.java,
12805 org/omg/PortableServer/POAHelper.java,
12806 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12807 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12808 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12809 org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12810 org/omg/PortableServer/POAPackage/NoServantHelper.java,
12811 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12812 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12813 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12814 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12815 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12816 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
12817 org/omg/PortableServer/ServantActivatorHelper.java,
12818 org/omg/PortableServer/ServantLocatorHelper.java: Remove the
12819 typecode caching and always use OrbRestricted.Singleton.
12821 2006-07-09 Tom Tromey <tromey@redhat.com>
12823 * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
12825 2006-07-09 Mark Wielaard <mark@klomp.org>
12827 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
12828 New static final boolean field.
12829 (getComponentGraphics): Use hasXRenderExtension.
12830 (setClip): Override method for locking.
12832 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12834 * javax/swing/AbstractButton.java
12835 (setHorizontalTextPosition): Added check for illegal argument,
12836 (setVerticalTextPosition): Likewise.
12838 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12840 * javax/swing/Timer.java
12841 (setDelay): Throw IllegalArgumentException for negative delay,
12842 (setInitialDelay): Likewise,
12843 * javax/swing/ToolTipManager.java
12844 (setInitialDelay): Document IllegalArgumentException,
12845 (setDismissDelay): Likewise,
12846 (setReshowDelay): Likewise.
12848 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12850 * java/lang/management/MemoryUsage.java:
12851 (from(javax.management.openmbean.CompositeData)):
12853 * java/lang/management/ThreadInfo.java:
12854 Changed to use open types throughout for the state.
12855 (ThreadInfo(long,String,String,long,long,String,
12856 long,String,long,long,boolean,StackTraceElement[])):
12858 (checkAttribute(javax.management.openmbean.CompositeType,
12859 String, javax.management.openmbean.OpenType)): New method.
12860 (from(javax.management.openmbean.CompositeData)):
12862 (getLockName()): Fixed to use new variable.
12863 (getLockOwnerId()): Likewise.
12864 (getLockOwnerName()): Likewise.
12865 (getThreadId()): Likewise.
12866 (getThreadName()): Likewise.
12867 (getThreadState()): Likewise.
12868 (toString()): Refactored to use new variables.
12869 * javax/management/openmbean/ArrayType.java:
12871 * javax/management/openmbean/CompositeType.java:
12872 Variables should be transient, not volatile.
12873 * javax/management/openmbean/OpenDataException.java:
12874 (serialVersionUID): Added.
12875 * javax/management/openmbean/SimpleType.java:
12877 * javax/management/openmbean/TabularType.java
12878 Variables should be transient, not volatile.
12880 2006-07-09 Tom Tromey <tromey@redhat.com>
12882 * tools/.cvsignore: Updated for new tools.
12884 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12886 * javax/management/openmbean/CompositeData.java,
12887 * javax/management/openmbean/CompositeType.java,
12888 * javax/management/openmbean/OpenDataException.java,
12889 * javax/management/openmbean/OpenType.java,
12890 * javax/management/openmbean/TabularData.java,
12891 * javax/management/openmbean/TabularType.java,
12892 * javax/management/openmbean/package.html:
12895 2006-07-09 Mark Wielaard <mark@klomp.org>
12897 * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
12898 * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
12899 * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
12901 2006-07-08 Anthony Green <green@redhat.com>
12903 * gnu/javax/sound/sampled/WAV/WAVReader.java,
12904 resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12907 2006-07-09 Mario Torre <neugens@limasoftware.net>
12909 * native/jni/gconf-peer/GConfNativePeer.c:
12910 Fixed indentation to be more compliant to the GNU coding
12912 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12913 Added explicit test for errors in the GConf backend.
12914 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12915 Added explicit test for errors in the GConf backend.
12916 Fixed Segmentation Fault when non valid key names are given as input.
12917 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12919 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12920 Added explicit test for errors in the GConf backend.
12921 * gnu/java/util/prefs/gconf/GConfNativePeer.java:
12922 Added javadoc comments for all native methods.
12923 (nodeExist): removed test to check for valid absolute path name
12925 (startWatchingNode): likewise.
12926 (stopWatchingNode): likewise.
12927 (setString): likewise, plus fixed javadoc comments.
12928 (unset): likekwise.
12929 (getKey): likewise.
12930 (getKeys): likewise, also fixed javadoc comments.
12931 (getChildrenNodes): likewise.
12932 * gnu/java/util/prefs/GConfBasedPreferences.java:
12933 changed DEFAULT_USER_ROOT to /apps/classpath.
12934 (constructor): Test to check for a valid absolute path for nodes
12935 is now in the contructor for that node, instead of being on
12936 each method of the backend.
12937 (getGConfKey): removed empty new line.
12939 2006-07-08 Mark Wielaard <mark@klomp.org>
12941 * .classpath: Add gnu/java/awt/peer/x/ to excludes.
12943 2006-07-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12945 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12946 Handle the forced break in the same way as exceeding the
12947 available row space.
12948 * javax/swing/text/html/HRuleView.java: Rewritten.
12949 * javax/swing/text/html/HTMLDocument.java
12950 (HTMLReader.addSpecialElement):Reserve two characters for
12951 the special elements.
12952 * examples/gnu/classpath/examples/swing/HtmlDemo.java
12953 (text): Extended the HTML example to parse.
12955 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12957 * javax/swing/AbstractButton.java
12958 (setHorizontalAlignment): Check for illegal argument,
12959 (setVerticalAlignment): Likewise.
12961 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12963 * javax/swing/text/html/TableView.java
12964 (getStyleSheet): New method. (RowView.getStyleSheet):
12967 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12969 * javax/swing/AbstractButton.java
12970 (setRolloverIcon): Call setRolloverEnabled(true),
12971 (setRolloverSelectedIcon): Likewise.
12973 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12975 * javax/swing/border/TitledBorder.java
12976 (setTitlePosition): Added message to exception,
12977 (setTitleJustification): Likewise.
12979 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12981 * javax/swing/plaf/metal/MetalLookAndFeel.java
12982 (createDefaultTheme): Corrected API docs,
12983 (initComponentDefaults): Added entry for 'TitledBorder.border',
12984 (getCurrentTheme): Initialise theme if it is null.
12986 2006-07-07 Roman Kennke <kennke@aicas.com>
12988 * java/awt/Component.java
12989 (isValid): Return false when component has no peer,
12990 don't query the showing state.
12992 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12994 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12995 Advance the offset also in the case of the enforced break.
12997 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12999 * javax/swing/plaf/basic/BasicArrowButton.java
13000 (MAXIMUM_SIZE): Removed field,
13001 (MINIMUM_SIZE): Likewise,
13002 (PREFERRED_SIZE): Likewise,
13003 (getMaximumSize): Return new instance every time,
13004 (getMinimumSize): Likewise,
13005 (getPreferredSize): Likewise.
13007 2006-07-07 Roman Kennke <kennke@aicas.com>
13009 * java/awt/LightweightDispatcher.java
13010 (findTarget): Avoid array copying in
13011 Container.getComponents().
13013 2006-07-07 Roman Kennke <kennke@aicas.com>
13015 * javax/swing/JComponent.java
13016 (paintChildrenWithOverlap): Avoid array copying in
13017 Container.getComponents().
13018 (paintChildrenOptimized): Avoid array copying in
13019 Container.getComponents().
13020 (fireAncestorEvent): Avoid array copying in
13021 Container.getComponents().
13022 (findOverlapFreeParent): Avoid array copying in
13023 Container.getComponents().
13025 2006-07-07 Matt Wringe <mwringe@redhat.com>
13027 * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
13028 (passwordValid): New field.
13029 (setPassword): New method.
13030 (setSalt): Likewise.
13031 (setIterationCount): Likewise.
13032 (setKeyLength): Likewise.
13033 (PBEKeySpec(char[])): Use new setter methods.
13034 (PBEKeySpec(char[], byte[], int)): Likewise.
13035 (PBEKeySpec(char[], byte[], int, int)): Likewise.
13036 (clearPassword): Set passwordValid to false.
13037 (getPassword): Check that clearPassword() was not called earlier.
13038 Return a clone of the password.
13039 (getSalt): Return a clone of the salt if it was not null.
13041 2006-07-07 Roman Kennke <kennke@aicas.com>
13043 * java/awt/Component.java
13044 (isValid): Always return false when component is
13046 (setFont): Always set font, even when setting
13047 the same or equal font again.
13049 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13051 * javax/swing/plaf/metal/MetalIconFactory.java
13052 (CheckBoxMenuItemIcon): Implement UIResource,
13053 (FileChooserDetailViewIcon): Likewise,
13054 (FileChooserHomeFolderIcon): Likewise,
13055 (FileChooserListViewIcon): Likewise,
13056 (FileChooserNewFolderIcon): Likewise,
13057 (FileChooserUpFolderIcon): Removed redundant 'implements',
13058 (RadioButtonMenuItemIcon): Implement UIResource,
13059 (HorizontalSliderThumbIcon): Likewise,
13060 (InternalFrameCloseIcon): Likewise,
13061 (InternalFrameDefaultMenuIcon): Likewise,
13062 (InternalFrameAltMaximizeIcon): Likewise,
13063 (InternalFrameMaximizeIcon): Likewise,
13064 (InternalFrameMinimizeIcon): Likewise,
13065 (VerticalSliderThumbIcon): Likewise,
13066 (TreeHardDriveIcon): Likewise,
13067 (TreeFloppyDriveIcon): Likewise,
13068 (TreeComputerIcon): Likewise,
13069 (horizontalSliderThumbIcon): New field,
13070 (verticalSliderThumbIcon): New field,
13071 (getHorizontalSliderThumbIcon): Cache icon,
13072 (getVerticalSliderThumbIcon): Likewise.
13074 2006-07-06 Mark Wielaard <mark@klomp.org>
13076 * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
13077 (DISTCLEANFILES): Add standard.omit.
13078 (clean-local): Remove Makefile.deps, only remove dirs.
13080 2006-07-06 Roman Kennke <kennke@aicas.com>
13082 * java/awt/Component.java
13083 (setFont): Only invalidate when component is valid.
13084 * java/awt/Container.java
13085 (setLayout): Only invalidate when component is valid.
13087 2006-07-06 Lillian Angel <langel@redhat.com>
13089 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
13090 New class not fully implemented.
13091 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
13092 New class not fully implemented.
13093 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
13094 New class not fully implemented.
13095 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
13096 New class not fully implemented.
13097 * nu/java/awt/peer/gtk/GtkToolkit.java:
13099 (createDragSourceContextPeer): Implemented.
13100 (createDragGestureRecognizer): New function to override
13101 java.awt.Toolkit.createDragGestureRecognizer.
13102 * java/awt/dnd/DragSource.java
13103 (NoDragGestureRecognizer): Removed inner class.
13104 (createDragGestureRecognizer): Re-Implemented to
13105 call Toolkit's createDragGestureRecognizer.
13106 (createDefaultDragGestureRecognizer): Re-Implemented to
13107 call Toolkit's createDragGestureRecognizer.
13108 * java/awt/dnd/DropTarget.java
13109 (addNotify): Added check to determine type of peer and call
13111 (removeNotify): Added call to removeDropTarget.
13113 2006-07-06 Tom Tromey <tromey@redhat.com>
13115 * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
13117 (run): Wait on queue, not 'this'.
13119 2006-07-06 Lillian Angel <langel@redhat.com>
13121 * java/awt/dnd/DragSource.java
13122 (startDrag): Implemented. Added comments describing
13123 what the function should do. Removed FIXME.
13125 2006-07-06 Tania Bento <tbento@redhat.com>
13127 * gnu/java/awt/Canvas.java
13128 Added new private variable 'next_canvas_number'.
13129 (generateName): Added.
13130 (getUniqueLong): Added.
13132 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13134 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
13135 (getColor): Made public.
13136 * javax/swing/text/html/StyleSheet.java (stringToColor):
13137 Use CharacterAttributeTranslator.getColor(String)
13139 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13141 * javax/swing/text/html/HTMLEditorKit.java:
13142 (HTMLFactory.createElement): Update reference to the html table view.
13143 * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
13144 * javax/swing/text/html/TableView.java: New file.
13146 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13148 * javax/swing/text/html/HTMLEditorKit.java:
13149 (HTMLFactory.createElement): Uncomment
13150 code for BRView and HRuleView.
13151 * javax/swing/text/html/BRView.java,
13152 javax/swing/text/html/HRuleView.java: New files.
13154 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
13156 * java/lang/Thread.java:
13157 (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
13158 Added generic type signature.
13160 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
13163 * doc/vmintegration.texinfo: Likewise.
13164 * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
13165 * examples/gnu/classpath/examples/management/TestMemoryManager.java,
13166 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
13167 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
13168 * java/lang/management/GarbageCollectorMXBean.java:
13170 * java/lang/management/ManagementFactory.java:
13171 (getGarbageCollectorMXBeans()): Implemented.
13172 (getMemoryManagerMXBeans()): Likewise.
13173 * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
13174 * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
13176 * vm/reference/java/lang/management/VMManagementFactory.java:
13177 (getMemoryManagerNames()): Added.
13178 (getGarbageCollectorNames()): Added.
13180 2006-07-05 Thomas Fitzsimmons <fitzsim@redhat.com>
13182 * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
13183 from lib_LTLIBRARIES.
13184 (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
13186 2006-07-05 Lillian Angel <langel@redhat.com>
13188 * java/awt/dnd/DragGestureEvent.java:
13190 (DragGestureEvent): Initialized new fields, added to check and
13191 added documentation.
13192 (getSourceAsDragGestureRecognizer): Added documentation and
13193 changed to use getSource.
13194 (getComponent): Added documentation and fixed to return the proper
13196 (getDragSource): Likewise.
13197 (getDragOrigin): Added documentation.
13198 (iterator): Implemented and added documentation.
13199 (toArray): Likewise.
13200 (toArray): Likewise.
13201 (getDragAction): Likewise.
13202 (getTriggerEvent): Likewise.
13203 (startDrag): Likewise.
13204 * java/awt/dnd/DragGestureRecognizer.java
13205 (resetRecognizer): Added FIXME.
13206 * java/awt/dnd/DragSource.java:
13208 (DragSource): Set ds to be null if headless.
13209 (getDefaultDragSource): Added documentation and implemented.
13210 (isDragImageSupported): Marked as unimplemented.
13211 (startDrag): Likewise.
13212 (createDragSourceContext): Implemented.
13213 (NoDragGestureRecognizer): Formatted inner class.
13214 * java/awt/dnd/DropTarget.java
13215 (stop): Marked as unimplemented.
13216 (actionPerformed): Likewise.
13217 (addDropTargetListener): Added code to throw exception.
13218 (removeDropTargetListener): Added check, removed FIXME.
13219 (dragEnter): Implemented.
13220 (dragOver): Implemented.
13221 (dropActionChanged): Implemented.
13222 (dragExit): Implemented.
13223 (drop): Implemented.
13224 (addNotify): Implemented.
13225 (removeNotify): Implemented.
13226 (createDropTargetContext): Implemented.
13227 (createDropTargetAutoScroller): Implemented.
13228 (initializeAutoscrolling): Implemented.
13229 (updateAutoscroll): Implemented.
13230 (clearAutoscroll): Implemented.
13231 * java/awt/dnd/DropTargetContext.java
13232 (dropComplete): Implemented.
13233 (acceptDrag): Implemented.
13234 (rejectDrag): Implemented.
13235 (acceptDrop): Implemented.
13236 (rejectDrop): Implemented.
13237 (getCurrentDataFlavors): Implemented.
13238 (getTransferable): Partially implemented.
13239 * java/awt/dnd/DropTargetDragEvent.java
13240 (getDropAction): Uncommented correct code.
13241 * java/awt/dnd/DropTargetDropEvent.java
13242 (dropComplete) :Implemented.
13243 * java/awt/dnd/InvalidDnDOperationException.java
13244 (InvalidDnDOperationException): Added call to super.
13246 2006-07-05 Robert Schuster <robertschuster@fsfe.org>
13248 * javax/swing/plaf/basic/BasicArrowButton.java:
13249 (paint): Removed getBounds() call, changed center point
13252 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
13254 * javax/swing/InputMap.java
13255 (inputMap): Don't initialize yet,
13256 (InputMap): Removed TODO,
13257 (get): Check for null inputMap,
13258 (put): Return immediately for null keyStroke, check for null inputMap
13259 and initialize if necessary,
13260 (remove): Check for null inputMap,
13264 (allKeys): Likewise,
13265 (writeObject): Removed,
13266 (readObject): Removed.
13268 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
13270 * gnu/classpath/examples/swing/TabbedPaneDemo.java
13271 (createContent): Use different labels for buttons.
13273 2006-07-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
13276 * doc/vmintegration.texinfo: Likewise.
13277 * examples/gnu/classpath/examples/management/TestMemoryPool.java,
13278 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
13280 * java/lang/management/ManagementFactory.java:
13281 (getMemoryPoolMXBeans()): Implemented.
13282 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
13283 * vm/reference/java/lang/management/VMManagementFactory.java:
13286 2006-07-04 Lillian Angel <langel@redhat.com>
13288 * java/awt/dnd/DragSourceContext.java:
13289 Removed FIXMEs from fields.
13290 (DragSourceContext): Added code to initialize cursor and sourceActions.
13291 (getDragSource): Added documentation.
13292 (getComponent): Likewise.
13293 (getTrigger): Likewise.
13294 (getSourceActions): Added documentation and implemented.
13295 (setCursor): Implemented. Added documentation.
13296 (getCursor): Implemented. Added documentation.
13297 (dragEnter): Added code to notify DragSource's listeners.
13298 (dragOver): Likewise.
13299 (dragExit): Likewise.
13300 (dropActionChanged): Likewise.
13301 (dragDropEnd): Likewise.
13302 (dragMouseMoved): Implemented.
13303 (getTransferable): Added API documentation.
13304 (updateCurrentCursor): Added API documentation and partially implemented.
13306 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13308 * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
13310 2006-07-04 Lillian Angel <langel@redhat.com>
13312 * java/awt/dnd/DragSourceContext.java
13313 (DragSourceContext): Implemented fully. Fixed API docs.
13314 (transferablesFlavorsChanged): Implemented.
13315 (dragEnter): Implemented.
13316 (dragOver): Implemented.
13317 (dragExit): Implemented.
13318 (dropActionChanged): Implemented.
13319 (dragDropEnd): Implemented.
13321 2006-07-04 Lillian Angel <langel@redhat.com>
13323 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
13324 Fixed name of constant.
13325 (getIconWidth): Changed name of constant returned.
13326 (getIconHeight): Likewise.
13328 (createSeparator): Marked as unimplemented.
13329 * javax/swing/plaf/basic/BasicTableUI.java
13330 (focusGained): Marked as unimplemented.
13331 (focusLost): Marked as unimplemented.
13332 (mouseEntered): Likewise.
13333 (mouseMoved): Likewise.
13334 (uninstallDefaults): Likewise.
13335 * javax/swing/plaf/basic/BasicToolBarUI.java
13336 (mouseClicked): Changed comment.
13337 (mouseEntered): Likewise.
13338 (mouseExited): Likewise.
13339 (mouseMoved): Likewise.
13340 (setOrientation): Implemented.
13341 (ToolBarFocusListener): Marked as unimplemented.
13342 (focusGained): Marked as unimplemented.
13343 (focusLost): Marked as unimplemented.
13345 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13348 * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
13349 Mind the effect of the root visibility on the position of the control.
13350 Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the
13351 vertical line over first level nodes.
13353 2006-07-04 Lillian Angel <langel@redhat.com>
13355 * javax/swing/plaf/basic/BasicMenuUI.java
13356 (installKeyboardActions): Implemented to call super. Nothing else
13357 needs to be done here.
13358 (setupPostTimer): Marked as unimplemented.
13359 (uninstallKeyboardActions): Implemented to call super. Nothing else
13360 needs to be done here.
13361 (mouseMoved): Removed TODO. Nothing to be done here.
13362 (ChangeHandler): Implemented.
13363 (menuDragMouseExited): Removed TODO. Nothing to be done here.
13364 (menuDragMouseReleased): Removed TODO. Nothing to be done here.
13365 (menuKeyReleased): Removed TODO. Nothing to be done here.
13366 (menuKeyTyped): Marked as unimplemented.
13368 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13371 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
13372 (getDefaults): Set hash color to black.
13373 * javax/swing/plaf/basic/BasicLookAndFeel.java
13374 (initComponentDefaults): Set hash color to grey blue.
13375 * javax/swing/plaf/basic/BasicTreeUI.java
13376 (instellDefaults): Set hash color.
13377 * javax/swing/plaf/metal/MetalIconFactory.java
13378 (TreeControlIcon.paint): Rewritten.
13380 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13383 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13384 Always cancel the current editing session before doing anything else,
13385 return immediately if this fails.
13386 (TreeHomeAction): Ensure that the lead selection path is visible after
13387 the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
13388 Likewise. TreeTraverseAction: Likewise.
13390 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13393 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13394 Returned back the code to handle the start of the click-pause-click
13395 editing initiation, explained about this code.
13396 (TreeStartEditingAction): New inner class.
13397 (stopEditingInCompleteEditing): Explained about this field.
13398 (completeEditing(boolean, boolean, boolean): Only return early
13399 if there is no current editing session.
13400 (createDefaultActions): Install TreeStartEditingAction and
13401 TreeCancelEditingAction.
13403 2006-07-04 Mario Torre <neugens@limasoftware.net>
13405 * configure.ac: Added new option --enable-default-preferences-peer
13406 to pass user specified default preference backend.
13407 If the GConf peer is built, GConf become the default backend.
13408 * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
13410 * lib/Makefile.am: excludes files terminating in 'in' from
13411 the metafiles list.
13412 * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
13413 from copy into META-INF.
13414 * java/util/prefs/Preferences.java: added two new import
13415 classes gnu.classpath.ServiceFactory and java.util.Iterator.
13416 (getFactory): Now try to check for
13417 a system defined default preference backend before to fall back on
13418 FileBasedPreference.
13420 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13423 * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
13424 (EXPANDED): Initialise to Boolean.TRUE.
13425 * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
13426 First configure layout cache and then set the assigned value
13427 as row mapper. Set the root visibility property.
13428 (toggleExpandState): Obtains expansion state from the layout cache.
13430 2006-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
13432 * java/lang/management/MemoryPoolMXBean.java:
13435 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13437 * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
13439 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13441 * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
13442 * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
13443 * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
13444 * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
13445 * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13446 * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13447 * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13448 * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13449 * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13450 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13451 * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13452 * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13453 * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13454 * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13455 * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13456 * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13457 * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13458 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13459 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13460 * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13461 * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13462 * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13463 * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13464 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13465 * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13466 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13467 * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13468 * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13469 * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13470 * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13471 * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13472 * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13473 * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13474 * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13475 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13476 * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13477 * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13478 * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13479 * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13480 * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13481 * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13482 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13483 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13484 * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13485 * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13486 * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13487 * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13489 2006-07-02 Anthony Green <green@redhat.com>
13491 * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13492 sure that every track written ends with an End Of Track meta
13495 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13497 * java/lang/management/MemoryUsage.java:
13498 (toString()): Fix missing MB for maximum memory usage.
13500 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13503 Updated to include VMCompilationMXBeanImpl.
13504 * doc/vmintegration.texinfo:
13505 Likewise, along with update to VMMemoryMXBeanImpl
13507 * examples/gnu/classpath/examples/management/TestCompilation.java,
13508 * gnu/java/lang/management/CompilationMXBeanImpl.java,
13509 * java/lang/management/CompilationMXBeanImpl.java:
13511 * java/lang/management/ManagementFactory.java:
13512 (getCompilationMXBean()): Implemented.
13513 * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13515 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13516 (getHeapMemoryUsage()): Added default implementation.
13518 2006-07-02 Anthony Green <green@redhat.com>
13520 * NEWS: Mention MIDI file reader/writer providers.
13522 2006-07-02 Anthony Green <green@redhat.com>
13524 * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13525 gnu/javax/sound/midi/file/MidiFileWriter.java,
13526 gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13528 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13531 Updated to include VMMemoryMXBeanImpl.
13532 * doc/vmintegration.texinfo: Likewise.
13533 * examples/gnu/classpath/examples/management/TestMemory.java:
13535 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13536 Remove redundant import.
13537 * gnu/java/lang/management/MemoryMXBeanImpl.java:
13539 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13540 Remove redundant import.
13541 * java/lang/management/ManagementFactory.java:
13542 (getMemoryMXBean()): Implemented.
13543 * java/lang/management/MemoryMXBean.java,
13544 * java/lang/management/MemoryUsage.java:
13546 * java/lang/management/ThreadInfo.java:
13547 (toString()): Updated documentation.
13548 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13551 2006-07-01 Anthony Green <green@redhat.com>
13553 * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13554 gnu/javax/sound/midi/file/MidiFileReader.java,
13555 gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13556 gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13558 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13560 * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13561 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13562 * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13563 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13564 * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13565 * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13566 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13568 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13570 * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13571 * gnu/javax/crypto/pad/IPad.java: Likewise.
13572 * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13573 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13574 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13575 * gnu/javax/crypto/pad/SSL3.java: Likewise.
13576 * gnu/javax/crypto/pad/TBC.java: Likewise.
13577 * gnu/javax/crypto/pad/TLS1.java: Likewise.
13578 * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13580 2006-07-01 Anthony Green <green@redhat.com>
13582 * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13584 (setMessage): Fix it again, in a different setMessage method.
13586 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13588 * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13589 * gnu/javax/crypto/mode/CBC.java: Likewise.
13590 * gnu/javax/crypto/mode/CFB.java: Likewise.
13591 * gnu/javax/crypto/mode/CTR.java: Likewise.
13592 * gnu/javax/crypto/mode/EAX.java: Likewise.
13593 * gnu/javax/crypto/mode/ECB.java: Likewise.
13594 * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13595 * gnu/javax/crypto/mode/ICM.java: Likewise.
13596 * gnu/javax/crypto/mode/IMode.java: Likewise.
13597 * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13598 * gnu/javax/crypto/mode/OFB.java: Likewise.
13600 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13602 * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13603 * gnu/javax/crypto/mac/HMac.java: Likewise.
13604 * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13605 * gnu/javax/crypto/mac/IMac.java: Likewise.
13606 * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13607 * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13608 * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13609 * gnu/javax/crypto/mac/OMAC.java: Likewise.
13610 * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13611 * gnu/javax/crypto/mac/UHash32.java: Likewise.
13612 * gnu/javax/crypto/mac/UMac32.java: Likewise.
13614 2006-07-01 Anthony Green <green@redhat.com>
13616 * javax/sound/midi/Track.java (vector, eventSet): Initialize.
13618 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13620 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13621 * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13622 * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13623 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13624 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13625 * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13626 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13627 * gnu/javax/crypto/keyring/Entry.java: Likewise.
13628 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13629 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13630 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13631 * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13632 * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13633 * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13634 * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13635 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13636 * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13637 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13638 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13639 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13640 * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13641 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13642 * gnu/javax/crypto/keyring/Properties.java: Likewise.
13643 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13645 2006-07-01 David Gilbert <david.gilbert@object-refinery.com>
13647 * javax/swing/AbstractCellEditor.java: Source code formatting,
13648 * javax/swing/AbstractSpinnerModel.java: Likewise,
13649 * javax/swing/Box.java: Likewise,
13650 * javax/swing/BoxLayout.java: Likewise,
13651 * javax/swing/DefaultListModel.java: Likewise,
13652 * javax/swing/GrayFilter.java: Likewise,
13653 * javax/swing/LookAndFeel.java: Likewise,
13654 * javax/swing/ProgressMonitor.java: Likewise,
13655 * javax/swing/ProgressMonitorInputStream.java: Likewise,
13656 * javax/swing/ScrollPaneLayout.java: Likewise,
13657 * javax/swing/SpringLayout.java: Likewise,
13658 * javax/swing/event/EventListenerList.java: Likewise,
13659 * javax/swing/event/MenuEvent.java: Likewise,
13660 * javax/swing/event/TreeExpansionListener.java: Likewise.
13662 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13665 Mention threading bean and getState().
13666 * doc/vmintegration.texinfo:
13667 Update documentation for threading bean and new
13668 method of VMThread.
13670 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13672 * examples/gnu/classpath/examples/management/TestClassLoading.java,
13673 * examples/gnu/classpath/examples/management/TestOS.java,
13674 * examples/gnu/classpath/examples/management/TestRuntime.java,
13675 * examples/gnu/classpath/examples/management/TestThread.java:
13678 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13680 * java/lang/ThreadGroup.java
13681 (getThreadFromId, getThreadFromIdImpl): New methods.
13683 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13685 * java/lang/Thread.java:
13686 Make thread IDs start from 1 in a more efficient way.
13688 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13690 * java/lang/Thread.java:
13691 Make thread IDs start from 1.
13693 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13695 * gnu/java/lang/management/BeanImpl.java:
13696 New superclass for all bean implementations.
13697 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13698 Extend BeanImpl and call permission code there.
13699 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13701 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13702 Extend BeanImpl and call permission code there.
13703 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13705 * java/lang/management/ManagementFactory.java:
13706 (getThreadMXBean()): Implemented.
13707 * java/lang/management/ThreadInfo.java:
13708 (ThreadInfo(Thread,int)): Replaced...
13709 (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13710 boolean, boolean, StackTraceElement[])): with this.
13711 (getBlockedCount()): Refactored to use local variables.
13712 (getBlockedTime()): Likewise.
13713 (getLockName()): Likewise.
13714 (getLockOwnerId()): Likewise.
13715 (getLockOwnerName()): Likewise.
13716 (getStackTrace()): Likewise.
13717 (getWaitedCount()): Likewise.
13718 (getWaitedTime()): Likewise.
13719 (isInNative()): Likewise.
13720 (isSuspended()): Likewise.
13721 (toString()): Changed to use new local variables.
13722 * java/lang/management/ThreadMXBean.java:
13723 (getThreadInfo(long, int)): Corrected documentation.
13724 (getThreadInfo(long[], int)): Likewise.
13725 * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13727 * vm/reference/java/lang/management/VMThreadInfo.java:
13730 2006-07-01 Raif S. Naffah <raif@swiftdsl.com.au>
13732 * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13733 * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13734 * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13735 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13736 * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13737 * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13738 * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13739 * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13740 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13741 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13742 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13743 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13744 * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13745 * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13746 * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13747 * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13748 * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13749 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13750 * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13751 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13752 * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13753 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13754 * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13755 * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13756 * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13757 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13758 * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13759 * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13760 * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13761 * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13762 * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13763 * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13765 2006-07-01 Roman Kennke <kennke@aicas.com>
13767 * gnu/java/awt/java2d/AbstractGraphics2D.java
13768 (transform): Make field protected.
13769 (getDestinationRaster): Provide default implementation for
13770 previously abstract method.
13772 2006-06-30 Tania Bento <tbento@redhat.com>
13774 * java/awt/TextArea.java
13775 (TextArea(String, int, int, int)): No longer throws
13776 IllegalArgumentException if rows, columns, or scrollbarVisibility
13777 values are invalid.
13778 (TextArea(String, int, int, int)): If rows or columns are < 0,
13779 they get set to 0. If scrollbarVisibility is < 0 or > 4, it
13780 gets set to the default value of 0 (SCROLLBARS_BOTH).
13781 (appendText): Added case when peer = null.
13782 (insertText): Added case when peer == null.
13783 (replaceText): Added case when peer == null.
13784 * java/awt/TextComponent.java
13785 (TextComponent(String)): If text == null, set it to "".
13787 2006-06-30 Lillian Angel <langel@redhat.com>
13789 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13790 (create): Added synchronized block around groupMap.get calls.
13791 (setCheckboxGroup): Likewise.
13793 2006-06-30 Lillian Angel <langel@redhat.com>
13795 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13796 (create): Changed to be non-synchronized.
13797 (setLabel): Likewise.
13798 (setCheckboxGroup): Likewise.
13799 (addToGroupMap): Likewise. Added synchronized block around
13801 (dispose): Changed to be non-synchronized.
13803 2006-06-30 Lillian Angel <langel@redhat.com>
13805 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13806 Changed all return values of native functions to void.
13807 (create): Changed function to be synchronized. Removed
13808 call to put value in groupMap, this is now done from
13810 (setState): Changed function to be synchronized.
13811 (setLabel): Changed function to be synchronized.
13812 (setCheckboxGroup): Changed function to be synchronized. Removed
13813 call to put value in groupMap, this is now done from
13815 (postItemEvent): Changed function to be synchronized.
13816 (addToGroupMap): New function. Called by native code to add
13817 new value to the group.
13818 (dispose): Changed function to be synchronized.
13819 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
13821 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13822 (cp_gtk_checkbox_init_jni): Added code to link to
13824 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13825 Changed return value to void. Added call
13826 to java function to set pointer in groupMap.
13827 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
13828 changed check to an assert. Also, removed call to set/del pointer.
13829 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup):
13830 Likewise. Also, added check to determine if native_group should be
13832 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
13834 2006-06-30 Sven de Marothy <sven@physto.se>
13836 * gnu/java/awt/ClasspathToolkit.java,
13837 * gnu/java/awt/peer/x/XToolkit.java,
13838 * gnu/java/awt/peer/qt/QtToolkit.java,
13839 * gnu/java/awt/peer/gtk/GtkToolkit.java,
13840 Remove ClasspathTextLayoutPeer.
13841 * gnu/java/awt/peer/gtk/GdkTextLayout.java,
13842 * gnu/java/awt/peer/ClasspathTextLayoutPeer:
13845 2006-06-30 Sven de Marothy <sven@physto.se>
13847 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
13848 (drawGlyphVector): Don't draw empty vectors.
13850 2006-06-30 Lillian Angel <langel@redhat.com>
13851 Tom Fitzsimmons <fitzsim@redhat.com>
13853 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
13854 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13855 Added current_group, groupMap fields. Added definitions for
13856 new native functions.
13857 (create): Removed FIXME. Added code to create the check button or
13858 radio button when appropriate. Updated groupMap to contain
13859 pointer to the newly created group.
13860 (setCheckboxGroup): Added code to handle all cases. Removing
13861 a button from a group, adding a button to a group, or changing the
13863 (dispose): Changed to call super.
13864 * include/Makefile.am: Removed reference to
13865 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
13866 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
13867 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
13869 * native/jni/gtk-peer/Makefile.am: Removed reference to
13870 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
13871 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
13873 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13874 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget):
13875 Renamed to checkbox_get_widget.
13876 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals):
13877 Changed to use checkbox_get_widget.
13878 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup):
13880 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
13881 Changed to use checkbox_get_widget.
13882 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
13884 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
13885 New function. Creates checkbutton without a group.
13886 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13887 Creates a radio button in a group, using groupPointer. If groupPointer
13888 is 0, then a new group is created.
13889 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
13890 check button to a group, using groupPointer. A radio button is created
13891 in its place. If groupPointer is 0, then a new group is created.
13892 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
13893 radio button is removed from the group. A check button is created in
13895 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
13896 radio button is moved to a new group.
13898 2006-06-30 Mark Wielaard <mark@klomp.org>
13900 * configure.ac: Move standard.omit creation after dirs are created.
13901 Cat standard.omit.in from srcdir. Make exclude regex more explicit.
13902 * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
13903 (clean-local): Remove standard.omit.
13904 * lib/gen-classlist.sh.in: Use omit file in build dir.
13905 * lib/standard.omit.in: Make exclude regex more explicit.
13907 2006-06-30 Roman Kennke <kennke@aicas.com>
13909 * lib/Makefile.am: Added Escher dir/jar to classpath when
13911 * configure.ac: Moved handling of standard.omit to a place
13912 where it actually gets executed.
13914 2006-06-30 David Gilbert <david.gilbert@object-refinery.com>
13916 * java/awt/TextComponent.java: Reformatted source code,
13917 * java/awt/TextField.java: Likewise.
13919 2006-06-29 Jeroen Frijters <jeroen@sumatra.nl>
13921 * java/lang/Thread.java:
13922 (getState()): Handle case of no VMThread
13925 2006-06-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
13927 * java/lang/Thread.java,
13928 * java/lang/VMThread.java:
13929 Reverted patch from 2006-06-28.
13931 2006-06-29 Roman Kennke <kennke@aicas.com>
13933 * gnu/java/awt/peer/x/GLGraphics.java,
13934 * gnu/java/awt/peer/x/ImageConverter.java,
13935 * gnu/java/awt/peer/x/KeyboardMapping.java,
13936 * gnu/java/awt/peer/x/XEventPump.java,
13937 * gnu/java/awt/peer/x/XFontPeer.java,
13938 * gnu/java/awt/peer/x/XFontPeer2.java,
13939 * gnu/java/awt/peer/x/XFramePeer.java,
13940 * gnu/java/awt/peer/x/XGraphics.java,
13941 * gnu/java/awt/peer/x/XGraphics2D.java,
13942 * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
13943 * gnu/java/awt/peer/x/XGraphicsDevice.java,
13944 * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
13945 * gnu/java/awt/peer/x/XImage.java,
13946 * gnu/java/awt/peer/x/XLightweightPeer.java,
13947 * gnu/java/awt/peer/x/XToolkit.java,
13948 * gnu/java/awt/peer/x/XWindowPeer.java,
13949 * gnu/java/awt/peer/x/fonts.properties: New files.
13950 * lib/standard.omit: Removed.
13951 * lib/standard.omit.in: Added.
13952 * configure.ac: Added configure option --with-escher. Added some
13953 configury for omitting gnu.java.awt.peer.x package when
13954 this option is not specified.
13956 2006-06-29 David Gilbert <david.gilbert@object-refinery.com>
13958 * javax/swing/JComponent.java
13959 (JComponent()): Initialize the locale here, not the default locale,
13960 (getDefaultLocale): If null, return Locale.getDefault(),
13961 (setDefaultLocale): Added API docs.
13963 2006-06-29 Tania Bento <tbento@redhat.com>
13965 * java/awt/Container.java
13966 (applyComponentOrientation): Implemented method.
13968 2006-06-29 Gary Benson <gbenson@redhat.com>
13970 * java/io/File.java (listRoots): Merge security checks from libgcj.
13972 2006-06-29 Gary Benson <gbenson@redhat.com>
13974 * java/io/FilePermission.java (implies): Work when path is "/".
13976 2006-06-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
13978 * java/lang/Thread.java:
13979 (Thread(ThreadGroup,Runnable,String,long)): Update
13981 (Thread(VMThread,String,int,boolean)): Likewise.
13982 (join(long,int)): Likewise.
13983 (resume()): Likewise.
13984 (sleep(long,int)): Likewise.
13985 (start()): Likewise.
13986 (stop()): Likewise.
13987 (suspend()): Likewise.
13989 (getState()): Return either state or use VMThread.
13990 * java/lang/VMThread.java:
13991 (getState()): Added default implementation to return
13994 2006-06-28 Andreas Tobler <a.tobler@schweiz.ch>
13996 * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
13997 GdkPixbuf correctly on big endian systems. Fix a typo in the little
13998 endian swapping code.
14000 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
14001 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
14002 without alpha information correctly on big endian systems.
14004 2006-06-28 Roman Kennke <kennke@aicas.com>
14006 * gnu/java/net/local/LocalSocket.java
14007 (setSoTimeout): Don't throw exception and ignore request.
14008 (getSoTimeout): Don't throw exception and always return 0.
14010 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14012 * javax/swing/JComponent.java
14013 (getRegisteredKeyStrokes): Implemented.
14015 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14017 * javax/swing/JComponent.java
14018 (verifyInputWhenFocusTarget): Initialise to true.
14020 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14022 * java/beans/VetoableChangeSupport.java
14023 (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
14025 (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
14026 for null property name and/or listener,
14027 * javax/swing/JComponent.java
14028 (getListeners): Handle VetoableChangeListener.class as a special case,
14029 (getVetoableChangeListeners): Fetch these from the
14030 vetoableChangeSupport object.
14032 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14034 * javax/swing/JComponent.java
14035 (componentPopupMenu): New field,
14036 (inheritsPopupMenu): New field,
14037 (getInheritsPopupMenu): Implemented,
14038 (setInheritsPopupMenu): Likewise,
14039 (getComponentPopupMenu): Likewise,
14040 (setComponentPopupMenu): Likewise,
14041 * javax/swing/JLabel.java
14042 (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
14044 2006-06-28 Raif S. Naffah <raif@swiftdsl.com.au>
14046 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
14047 (toString): New method.
14048 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
14049 (toString): New method.
14050 * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
14051 (toString): New method.
14052 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
14053 Handle case when Q is null.
14054 (decodePrivateKey): Likewise.
14055 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
14057 (decodePublicKey): Likewise.
14058 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
14059 aliases for all block ciphers.
14060 * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
14061 (engineDoPhase): Compute fully the shared secret.
14062 (checkState): New method.
14064 (engineGenerateSecret()): Reset key-agreement before returning.
14065 (engineGenerateSecret(byte[],int)): Check for short-buffer.
14066 Reset key-agreement before returning.
14067 (engineGenerateSecret(String)): Reset key-agreement before returning.
14068 (engineInit(Key,SecureRandom)): Call reset() before returning.
14069 * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
14070 (engineInit): Replace printing to System.out with conditional logging.
14071 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
14072 When the key-size is not specified, attempt best effort to find a suitable
14073 value among those advertised by the cipher before setting it to the length
14074 of provided key material.
14076 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14078 * javax/swing/table/DefaultTableColumnModel.java
14079 (changeEvent): Don't initialize yet, removed FIXME,
14080 (fireColumnModelChanged): Initialize changeEvent if necessary.
14082 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
14084 * java/lang/Thread.java:
14085 (getAllStackTraces()): Implemented.
14086 (getStackTrace()): Likewise.
14088 2006-06-27 Tania Bento <tbento@redhat.com>
14090 * java/awt/Component.java
14091 (setComponentOrientation): NPE should not be thrown.
14093 2006-06-27 Tom Tromey <tromey@redhat.com>
14095 * configure.ac: Create gjar, gnative2ascii, gserialver.
14096 * tools/gappletviewer.in: Quote $@.
14097 * tools/gkeytool.in: Likewise.
14098 * tools/gjarsigner.in: Likewise.
14099 * tools/gjar.in: New file.
14100 * tools/gnative2ascii.in: Likewise.
14101 * tools/gserialver.in: Likewise.
14102 * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
14104 (bin_SCRIPTS): Likewise.
14106 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
14108 * java/lang/management/ThreadMXBean.java:
14109 (getThreadInfo(long[])): Corrected return type.
14110 (getThreadInfo(long[], int)): Likewise.
14112 2006-06-27 Mark Wielaard <mark@klomp.org>
14114 * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
14115 nothing when listener is null.
14116 (removeFlavorListener): Likewise.
14118 * java/awt/datatransfer/DataFlavor.java
14119 (getRepresentationClassFromMime): Renamed to
14120 getRepresentationClassFromMimeThrows.
14121 (isRepresentationClassInputStream): Use Class.isAssignableFrom().
14122 (isRepresentationClassSerializable): Likewise.
14123 (isFlavorJavaFileListType): Likewise and check primary and
14125 (getParameter): Parameters are separated by semi-colons.
14126 (DataFlavor(Class,String,String)): Do some sanity checks.
14127 (DataFlavor(String,String,ClassLoader)): Call
14128 getRepresentationClassFromMimeThrows.
14129 (DataFlavor(String)): Likewise.
14130 (equals(DataFlavor)): Special case primary type text and charset
14133 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14135 * java/awt/Component.java
14136 (setName): Fire required PropertyChangeEvent,
14137 * java/awt/Label.java
14138 (getText): Removed redundant brackets,
14139 (generateName): New method (override),
14140 (nextLabelNumber): New field,
14141 (getUniqueLong): New method.
14143 2006-06-27 Roman Kennke <kennke@aicas.com>
14145 * gnu/java/awt/peer/swing/SwingComponentPeer.java
14146 (createImage): Delegate this to the parent.
14147 (handleEvent): Only handle PAINT/UPDATE events when the
14148 component is actually showing.
14149 (hide): Repaint the parent after hiding a component.
14150 (prepareImage): Have only one return point.
14151 (setVisible): Delegate to show() and hide().
14152 (createVolatileImage): Added null check to avoid NPE.
14154 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14156 * java/awt/Label.java: Reformatted source code.
14158 2006-06-27 Roman Kennke <kennke@aicas.com>
14160 * java/awt/image/BufferedImage.java
14161 (getSource): Use a fixed DirectColorModel to deliver the
14162 RGB pixels to the ImageConsumer.
14164 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14166 * java/awt/Point.java
14167 (setLocation(double, double)): Round to nearest integer coordinates.
14169 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14171 * java/awt/Component.java
14172 (minSizeSet): New field,
14173 (maxSize): Likewise,
14174 (maxSizeSet): Likewise,
14175 (isMaximumSizeSet): Implemented,
14176 (isMinimumSizeSet): Likewise,
14177 (isPreferredSizeSet): Likewise,
14178 (setMaximumSize): Likewise,
14179 (setMinimumSize): Likewise,
14180 (setPreferredSize): Likewise.
14182 2006-06-27 Roman Kennke <kennke@aicas.com>
14184 * javax/imageio/spi/IIORegistry.java
14185 (IIORegistry): Added BMP codec.
14187 2006-06-27 Mark Wielaard <mark@klomp.org>
14189 * javax/swing/JComponent.java
14190 (firePropertyChange(String,char,char)): New override method.
14192 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14194 * java/lang/Thread.java:
14195 (getState()): New method.
14196 * java/lang/management/ClassLoadingMXBean.java:
14197 Corrected class documentation.
14198 * java/lang/management/ManagementFactory.java:
14199 Added new temporary marked stub to get thread bean.
14200 * java/lang/management/OperatingSystemMXBean.java:
14201 Corrected class documentation.
14202 * java/lang/management/RuntimeMXBean.java:
14203 Corrected class documentation.
14204 * java/lang/management/ThreadInfo.java,
14205 * java/lang/management/ThreadMXBean.java:
14207 * vm/reference/java/lang/VMThread.java:
14208 (getState()): New method.
14209 * vm/reference/java/lang/management/VMThreadInfo.java:
14212 2006-06-26 Sven de Marothy <sven@physto.se>
14214 * gnu/javax/imageio/gif/GIFFile.java
14215 * gnu/javax/imageio/gif/GIFImageReader.java
14216 * gnu/javax/imageio/gif/GIFImageSpi.java
14217 * gnu/javax/imageio/gif/GIFStream.java
14219 * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
14221 2006-06-26 Tania Bento <tbento@redhat.com>
14223 * java/awt/List.java
14224 (List): A list should have at least 4 visible rows.
14225 (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
14226 not an IllegalArgumentException.
14227 (makeVisible): Should not throw an IllegalArgumentException if
14228 the specified index is out of range.
14230 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14232 * javax/swing/JList.java
14233 (getNextMatch): Reimplemented to perform a circular search for the
14236 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14238 * javax/swing/JList.java
14239 (init): Set default value for visibleRowCount to 8,
14240 (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
14242 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14244 * javax/swing/JList.java
14245 (valueIsAdjusting): Removed,
14246 (init): Removed initialization of valueIsAdjusting field,
14247 (getValueIsAdjusting): Fetch value from selection model,
14248 (setValueIsAdjusting): Store value in selection model.
14250 2006-06-26 Roman Kennke <kennke@aicas.com>
14252 * javax/swing/plaf/basic/BasicListUI.java
14253 (installKeyboardActions): Rewritten to fit with the
14254 ActionMap/InputMap architecture.
14255 (uninstallKeyboardActions): Implemented.
14256 (ListAction): Made private. Added TODO for splitting
14257 up this bulk Action.
14258 (ListAction.ListAction): New constructor. This one
14259 takes a cmd parameter to be installed as actionCommand.
14261 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
14263 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
14264 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14266 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
14268 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
14269 * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
14270 * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
14271 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
14272 * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
14273 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
14274 * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
14275 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
14276 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14277 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14278 * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
14279 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
14280 * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
14281 * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
14282 * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
14283 * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
14284 * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
14285 * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
14286 * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
14287 * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
14288 * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
14289 * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
14290 * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
14291 * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
14292 * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
14293 * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
14294 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
14295 * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
14296 * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
14297 * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
14298 * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
14299 * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
14300 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
14301 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
14302 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
14303 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
14304 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
14305 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
14306 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
14307 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
14308 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
14309 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
14310 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
14311 * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
14312 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14313 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
14314 * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
14315 * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
14316 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
14317 * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
14318 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
14319 * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
14320 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14321 * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
14322 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
14323 * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
14324 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
14325 * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
14326 * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
14327 * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
14328 * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
14329 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
14330 * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
14331 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
14332 * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
14333 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
14334 * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
14335 * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
14336 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
14337 * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
14338 * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
14339 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
14340 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14341 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
14342 * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
14343 * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
14344 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14345 * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
14346 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
14347 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
14348 * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
14349 * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
14351 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14353 * javax/swing/JList.java
14354 (setLayoutOrientation): Check for valid argument.
14356 2006-06-26 Roman Kennke <kennke@aicas.com>
14358 * javax/swing/JComponent.java
14359 (firePropertyChange(String,int,int)): New method. Overrides
14360 Component method and makes it public.
14361 (firePropertyChange(String,boolean,boolean)): Likewise.
14363 2006-06-25 Vivek Lakshmanan <vivekl@redhat.com>
14365 * gnu/java/security/.cvsignore: New File.
14366 * gnu/java/security/Configuration.java.in: New File.
14367 * gnu/java/security/Properties.java: Change import from
14368 gnu.classpath.Configuration to gnu.java.security.Configuration.
14369 * gnu/java/security/hash/Whirlpool.java: Likewise.
14370 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14371 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14372 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14373 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14374 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14375 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14376 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14377 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14378 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14379 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
14380 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
14381 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14382 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14383 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14384 * gnu/java/security/util/Base64.java: Likewise.
14385 * gnu/java/security/x509/X509CRL.java: Likewise.
14386 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
14387 * gnu/java/security/x509/ext/Extension.java: Likewise.
14388 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14389 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14390 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14391 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14392 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14393 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14394 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14395 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14396 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
14397 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
14398 * gnu/javax/crypto/keyring/Entry.java: Likewise.
14399 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
14400 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
14401 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
14402 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14403 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14404 * gnu/javax/crypto/mac/OMAC.java: Likewise.
14405 * gnu/javax/crypto/pad/BasePad.java: Likewise.
14406 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
14407 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
14408 * gnu/javax/crypto/pad/TBC.java: Likewise.
14409 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
14410 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
14411 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
14412 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
14413 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
14414 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
14415 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
14416 * gnu/javax/security/auth/login/GnuConfiguration.java
14417 (getAppConfigurationEntry): Change reference to
14418 gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
14419 (getConfigFromUserHome): Likewise.
14420 (getInputStreamFromURL): Likewise.
14421 (getUserHome): Likewise.
14423 (processSecurityProperties): Likewise.
14424 (processSystemProperty): Likewise.
14425 (processUserHome): Likewise.
14426 * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
14427 * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
14430 2006-06-25 Carsten Neumann <cn-develop@gmx.net>
14432 * javax/swing/text/DefaultCaret.java (isActive): New method.
14434 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14436 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14437 * java/lang/management/ClassLoadingMXBean.java:
14438 (getTotalLoadedClassCount()): Corrected return type.
14439 (getUnloadedClassCount()): Likewise.
14440 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14441 (getUnloadedClassCount()): Likewise.
14443 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14445 * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14446 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14447 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14448 * gnu/javax/crypto/cipher/Square.java: Likewise.
14449 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14450 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14451 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14452 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14453 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14454 * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14455 * gnu/javax/crypto/cipher/DES.java: Likewise.
14456 * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14457 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14458 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14459 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14460 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14462 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14464 * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14465 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14466 * gnu/javax/crypto/assembly/Stage.java: Likewise.
14467 * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14468 * gnu/javax/crypto/assembly/Operation.java: Likewise.
14469 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14470 * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14471 * gnu/javax/crypto/assembly/Direction.java: Likewise.
14472 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14473 * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14474 * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14475 * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14476 * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14478 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14481 * doc/vmintegration.texinfo:
14482 Updated with information on new VM interface.
14483 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14484 * java/lang/management/ClassLoadingMXBean.java:
14485 New files implementing the class loading bean.
14486 * java/lang/management/ManagementFactory.java:
14487 (getClassLoadingMXBean()): Implemented.
14488 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14489 New VM interface file.
14491 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14493 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14494 (isBootClassPathSupported()): Use SystemProperties
14495 rather than System.getProperty.
14497 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14499 * gnu/java/security/Properties.java: Source formatting.
14500 * gnu/java/security/Registry.java: Likewise.
14502 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14504 * gnu/java/security/util/Util.java: Source formatting.
14505 * gnu/java/security/util/SimpleList.java: Likewise.
14506 * gnu/java/security/util/Sequence.java: Likewise.
14507 * gnu/java/security/util/PRNG.java: Likewise.
14508 * gnu/java/security/util/ExpirableObject.java: Likewise.
14509 * gnu/java/security/util/Base64.java: Likewise.
14510 * gnu/java/security/sig/SignatureFactory.java: Likewise.
14511 * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14512 * gnu/java/security/sig/ISignature.java: Likewise.
14513 * gnu/java/security/sig/BaseSignature.java: Likewise.
14514 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14515 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14516 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14517 * gnu/java/security/sig/rsa/RSA.java: Likewise.
14518 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14519 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14520 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14521 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14522 * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14523 * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14524 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14525 * gnu/java/security/provider/Gnu.java: Likewise.
14526 * gnu/java/security/prng/RandomEventListener.java: Likewise.
14527 * gnu/java/security/prng/RandomEvent.java: Likewise.
14528 * gnu/java/security/prng/PRNGFactory.java: Likewise.
14529 * gnu/java/security/prng/MDGenerator.java: Likewise.
14530 * gnu/java/security/prng/LimitReachedException.java: Likewise.
14531 * gnu/java/security/prng/IRandom.java: Likewise.
14532 * gnu/java/security/prng/EntropySource.java: Likewise.
14533 * gnu/java/security/prng/BasePRNG.java: Likewise.
14535 2006-06-23 Francis Kung <fkung@redhat.com>
14537 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14538 (Harness.actionPerformed): Process additional options.
14539 (J2dBenchmarkWrapper): Defer init call until after options are processed.
14540 (J2dBenchmarkWrapper.setAlias): New method.
14541 (J2dBenchmarkWrapper.setComposite): New method.
14542 (J2dBenchmarkWrapper.setFill): New method.
14543 (J2dBenchmarkWrapper.setRotation): New method.
14544 (J2dBenchmarkWrapper.setShear): New method.
14545 (J2dBenchmarkWrapper.setStroke): New method.
14546 (J2dBenchmarkWrapper.setTranslation): New method.
14547 (run): Add additional options to GUI.
14548 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14549 Added protected fields for various options.
14550 (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14551 (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14552 (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14553 (getNextColor): Renamed to setRandom.
14554 (init): Load additional image for texturing if needed.
14555 (loadBufferedImage): New method.
14556 (main): Accept additional command-line switches.
14557 (prepareGraphics): New method.
14558 (resetGraphics): New method.
14559 (runTestSuite): Accept additional image-processing options.
14560 (setRandom): Renamed from getNextColor; generate various random options
14561 (test_drawArc): Rename getNextColor to setRandom.
14562 (test_drawCubic): Likewise.
14563 (test_drawEllipse): Likewise.
14564 (test_drawGeneralPath): Likewise.
14565 (test_drawImage): Likewise.
14566 (test_drawLine): Likewise.
14567 (test_drawQuadCurve): Likewise.
14568 (test_drawRectangle): Likewise.
14569 (test_drawRoundRectangle): Likewise.
14570 (test_drawTransparentImage): Likewise.
14571 (test_fillArc): Rename getNextColor to setRandom.
14572 (test_fillEllipse): Likewise.
14573 (test_fillGeneralPath): Likewise.
14574 (test_fillRectangle): Likewise.
14575 (test_fillRoundRectangle): Likewise.
14576 (TestRecorder.getAverage): Round the average time.
14578 2006-06-23 Tom Tromey <tromey@redhat.com>
14580 * java/util/logging/LoggingMXBean.java: New file.
14581 * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14582 (loggingBean): New field.
14583 (getLoggingMXBean): New method.
14585 2006-06-23 Tania Bento <tbento@redhat.com>
14587 * java/awt/TextField.java
14588 (TextField): Default number of columns should be 0, not 1.
14589 (TextField): Check if number of columns given as argument
14590 is valid (>= 0) and set the number of columns accordingly.
14591 (TextField): Check if the string passed is null. If it is,
14592 set columns to 0, else columns is set to the length of
14595 2006-06-23 Roman Kennke <kennke@aicas.com>
14597 * javax/swing/plaf/basic/BasicInternalFrameUI.java
14598 (InternalFramePropertyChangeListener.propertyChange):
14599 Don't call getPropertyName() repeatedly. Added null checks
14600 to avoid NPEs. Call closeFrame() if the closed property
14603 2006-06-23 Roman Kennke <kennke@aicas.com>
14605 * javax/swing/JInternalFrame.java
14606 (maxTransition): Removed.
14607 (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14608 Don't initialize storedBounds here.
14609 (dipose): Rewritten to correctly dispose the JInternalFrame.
14610 (getDesktopIcon): Don't initialize desktopIcon here.
14611 (getLayer): Delegate to JLayeredPane.getLayer().
14612 (getNormalBounds): Return bounds when storedBounds == null,
14613 otherwise storedBounds.
14614 (hide): Don't change selection. Also hide the desktopIcon.
14615 (moveToBack): Call getParent() only once.
14616 (moveToFront): Call getParent() only once.
14617 (pack): Call validate() to make sure that the layout is
14618 propagated to the children.
14619 (setClosed): Fire InternalFrameEvent first, before the
14621 (setJMenuBar): Fire PropertyChangeEvent for this property.
14622 (setLayer): Delegate to JLayeredPane.
14623 (setLayeredPane): Check for null and throw IllegalArgumenException.
14624 (setMaximum): Remove handling of maxTransition and normalBounds.
14625 Should probably be done in the UI.
14626 (setNormalBounds): Store Rectangle object directly, not a copy.
14627 (setRootPane): Go into rootPaneCheckingEnabled mode so that
14628 adding the RootPane doesn't add it to the contentPane.
14629 Fire PropertyChangeEvent.
14630 (setSelected): Added condition for when this property must not
14632 (show): Don't ask the DesktopPane to select the frame. Moved
14633 code around to fire InternalFrameEvent before actually calling
14634 super.show(). Also make the desktopIcon visible.
14635 (setTitle): Fire PropertyChangeEvent unconditionally.
14637 2006-06-23 Roman Kennke <kennke@aicas.com>
14639 * javax/swing/JLayeredPane.java
14640 (getPosition): Moved code around to avoid unnecessary method calls.
14641 (setPosition): Delegate to setLayer().
14642 (insertIndexForLayer(int,int)): Delegate to new private helper method.
14643 (insertIndexForLayer(Component,int,int)): New helper method
14644 to support the use of setComponentZOrder() which doesn't remove
14645 the component and thus the insertIndexForLayer must ignore
14646 the component to be moved to get the index right.
14647 (setLayer): Added check to prevent unnecessary execution of
14648 method body. Changed to update the component order here.
14649 Added repaint() to make sure that the update becomes visible.
14650 (addImpl): Call setLayer() only when a constraint has been specified.
14651 Validate and repaint the JLayeredPane.
14653 2006-06-23 Roman Kennke <kennke@aicas.com>
14655 * java/awt/Container.java
14656 (getComponentZOrder): Use ncomponents instead of
14657 component.length so that we don't consider the empty space
14658 after the last component.
14660 2006-06-22 Roman Kennke <kennke@aicas.com>
14662 * javax/swing/JComponent.java
14663 (vetoableChangeSupport): New field.
14664 (removeVetoableChangeListener): Rewritten to use
14665 vetoableChangeSupport.
14666 (addVetoableChangeListener): Rewritten to use
14667 vetoableChangeSupport.
14668 (fireVetoableChange): Rewritten to use
14669 vetoableChangeSupport.
14670 (addPropertyChangeListener): Removed. This is handled in
14672 (firePropertyChange(String,boolean,boolean)): Likewise.
14673 (firePropertyChange(String,char,char)): Likewise.
14674 (firePropertyChange(String,int,int)): Likewise.
14675 (revalidate): Don't do anything when the commponent has no
14678 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14680 * javax/swing/JLabel.java: Updated API docs.
14682 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14684 * java/awt/Insets.java: Updated copyright year.
14685 (toString): Changed string, removed a line from the
14688 2006-06-22 Roman Kennke <kennke@aicas.com>
14690 * javax/swing/text/AbstractDocument.java
14691 (AbstractDocument): Set the i18n document property.
14692 (removeImpl): Added checks for correct boundaries.
14694 2006-06-22 Roman Kennke <kennke@aicas.com>
14696 * javax/swing/text/PlainDocument.java
14697 (rootElement): Changed type to Element.
14698 (tabSize): Removed field. This is stored in the document properties
14700 (PlainDocument): Set tabSize property. Init rootElement without
14702 (insertUpdate): Rewritten. The previous implementation did not
14703 handle some corner cases properly and was a mess.
14704 (removeUpdate): Cast rootElement to BranchElement.
14706 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14708 * javax/swing/plaf/basic/BasicLabelUI.java
14709 (installKeyboardActions): Implemented,
14710 (uninstallKeyboardActions): Implemented,
14711 (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14714 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14716 * javax/swing/JMenu.java:
14717 (removeAll): Added check for popupMenu not being null.
14719 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14721 * javax/swing/JLabel.java
14722 (getText): Updated API docs,
14723 (setText): Corrected the check for an unchanged value, and the update
14724 of the displayedMnemonicIndex.
14726 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14728 * javax/swing/JLabel.java
14729 (setDisplayedMnemonic(int)): Fire property change event AFTER updating
14731 (setDisplayedMnemonicIndex): Modified argument checking to handle case
14732 where label text is null.
14734 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14736 * javax/swing/JLabel.java
14737 (setDisplayedMnemonic): Updated API docs,
14738 (getDisplayedMnemonic): Removed unnecessary type-cast,
14739 (setDisplayedMnemonicIndex): Removed unnecessary validation,
14740 (getDisplayedMnemonicIndex): Updated API docs.
14742 2006-06-21 Jeroen Frijters <jeroen@frijters.net>
14744 * java/util/Collections (entrySet): Fixed compile error.
14746 2006-06-21 David Gilbert <david.gilbert@object-refinery.com>
14748 * javax/swing/DefaultListSelectionModel.java
14749 (getSelectionMode): Updated API docs,
14750 (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14751 (addSelectionInterval): If mode is SINGLE_SELECTION, just call
14752 setSelectionInterval(),
14753 (setSelectionInterval): Reimplemented SINGLE_SELECTION and
14754 SINGLE_INTERVAL_SELECTION cases.
14756 2006-06-21 Roman Kennke <kennke@aicas.com>
14758 * javax/swing/text/AbstractDocument.java
14759 (BranchElement.numChildren): New field.
14760 (BranchElement.BranchElement): Initialize children array with
14761 one element (that's the least number of elements that makes sense).
14762 Initialize numChildren.
14763 (BranchElement.children): Use numChildren as boundary.
14764 (BranchElement.getElement): Use numChildren as boundary.
14765 (BranchElement.getElementCount): Use numChildren as boundary.
14766 (BranchElement.getElementIndex): Use numChildren as boundary.
14767 (BranchElement.getEndOffset): Use numChildren as boundary.
14768 (BranchElement.getStartOffset): Use numChildren as boundary.
14769 (BranchElement.positionToElement): Use numChildren as boundary.
14770 (BranchElement.replace): Handle the children array more efficiently
14771 by growing in blocks > 1, and reusing space from removed elements.
14772 (LeafElement.startDelta): Removed.
14773 (LeafElement.endDelta): Removed.
14774 (LeafElement.LeafElement): Removed handling of deltas.
14775 (LeafElement.getEndOffset): Likewise.
14776 (LeafElement.getStartOffset): Likewise.
14777 * javax/swing/text/JTextComponent.java
14778 (setDocument): Added locking of the old document to avoid dangling
14779 notification beeing delivered while the document is beeing
14781 (getScrollableTracksViewportWidth): Fixed condition.
14782 * javax/swing/text/PlainDocument.java
14783 (createDefaultRoot): Create elements without AttributeSet.
14784 * javax/swing/text/rtf/RTFParser.java
14785 (parseFile): Handle slightly incorrect RTF gracefully.
14786 * javax/swing/text/rtf/RTFScanner.java
14787 (lastToken): New field.
14788 (readTokenImpl): New method.
14789 (peekToken): New method.
14790 (readToken): Changed to call readTokenImpl or return the lastToken
14791 if there's one present.
14793 2006-06-21 Tania Bento <tbento@redhat.com>
14795 * javax/swing/JMenu.java
14796 (remove): An IllegalArgumentException should be thrown if
14797 either index < 0 or if index > 0 and there are no menu
14798 components. Also, a check was added that ensures there are
14799 menu components before removing the desired the component.
14801 2006-06-21 Lillian Angel <langel@redhat.com>
14803 * javax/swing/text/DefaultCaret.java
14804 (install): Added check to prevent NPE.
14805 (propertyChange): Added checks to prevent NPEs.
14807 2006-06-21 Tania Bento <tbento@redhat.com>
14809 * javax/swing/JMenu.java
14810 Changed instantiation of popupMenu to null.
14811 (JMenu): Instantiated popupMenu to new JPopupMenu.
14812 (JMenu): Instantiated popupMenu to new JPopupMenu.
14813 (add): Changed popupMenu to getPopupMenu().
14814 (add): Changed popupMenu to getPopupMenu().
14815 (add): Changed popupMenu to getPopupMenu().
14816 (add): Changed popupMenu to getPopupMenu().
14817 (remove): Changed popupMenu to getPopupMenu().
14818 (remove): Changed popupMenu to getPopupMenu().
14819 (insert): Changed popupMenu to getPopupMenu().
14820 (setSelectedHelper): Changed popupMenu to getPopupMenu().
14821 (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
14822 (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
14823 (getMenuComponentCount): Changed popupMenu to getPopupMenu().
14824 (getMenuComponents): Changed popupMenu to getPopupMenu().
14825 (getPopupMenu): Check first if popupMenu is null and if so,
14826 instantiate it to a new JPopupMenu and set the invoker.
14827 * javax/swing/plaf/basic/BasicPopupMenuUI.java
14828 (popupMenuWillBecomeVisible): Component Listener should only
14829 be added to the root container if the root container is not
14830 null. This avoids a null pointer exception.
14832 2006-06-21 Tania Bento <tbento@redhat.com>
14834 * javax/swing/JMenu.java
14835 (JMenu): Delay should be set to 200, not default of 0.
14836 (JMenu): Delay should be set to 200, not default of 0.
14837 (JMenu): Delay should be set to 200, not default of 0.
14838 (JMenu): Delay should be set to 200, not default of 0.
14839 (remove): Added check that index >= 0 before removing
14841 (getItem): Return null if item count equals 0.
14842 (isTearOff): Should throw new error and not return false.
14843 (getMenuComponent): Return null if popupMenu is null or
14844 if there are no menu components.
14846 2006-06-21 Roman Kennke <kennke@aicas.com>
14848 * java/awt/font/FontRenderContext.java:
14849 (equals): Added special conditions for affineTransform beeing
14852 2006-06-21 Roman Kennke <kennke@aicas.com>
14854 * javax/swing/UIManager.java
14855 (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
14856 must not be cleared.
14858 2006-06-21 Roman Kennke <kennke@aicas.com>
14860 * javax/swing/plaf/metal/MetalUtils.java
14861 (paintHorizontalGradient): Use paintHorizontalGradient2D when
14862 Graphics2D is available. Use fillRect instead of drawLine, this
14864 (paintVerticalGradient): Use paintHorizontalGradient2D when
14865 Graphics2D is available. Use fillRect instead of drawLine, this
14867 (paintHorizontalGradient2D): New method. Paints gradient
14868 using Graphics2D functions.
14869 (paintVerticalGradient2D): New method. Paints gradient
14870 using Graphics2D functions.
14872 2006-06-21 Roman Kennke <kennke@aicas.com>
14874 * javax/swing/plaf/basic/BasicButtonListener.java
14875 (propertyChange): Create a TextLayout and store it in the button
14876 when the 'text' property changes.
14877 * javax/swing/plaf/basic/BasicButtonUI.java
14878 (paintText): Call BasicGraphicsUtils utility method for
14879 drawing strings, instead of Graphics.drawString().
14880 * javax/swing/plaf/basic/BasicGraphicsUtils.java
14881 (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
14882 cached text layouts as client properties in JComponents.
14883 (drawString(JComponent,Graphics,String,int,int)): New helper method.
14884 (drawStringUnderlineCharAt): New helper method.
14885 * javax/swing/plaf/basic/BasicMenuItemUI.java
14886 (PropertyChangeHandler.propertyChange): Update cached text layout
14887 when 'text' property changes. Use equals() instead of == for
14889 (paintText): Use new BasicGraphicsUtils methods for painting
14890 the cached text layout.
14891 (installListeners): Call super.installListeners() and remove
14892 the unneeded listener installs.
14893 (uninstallListeners): Call super.uninstallListeners() and remove
14894 the unneeded listener uninstalls.
14896 2006-06-21 Roman Kennke <kennke@aicas.com>
14898 * javax/swing/plaf/basic/BasicTextUI.java
14899 (PropertyChangeHandler.propertyChange): Handle document listener
14901 (background): Removed unneeded fields.
14902 (inactiveBackground): Remove unneeded fields.
14903 (installUI): Install the document listener. Slightly changed
14904 order of operations. Don't trigger modelChanged().
14905 (installDefaults): Only install properties when the
14906 current properties are null or instances of UIResource.
14907 (installListeners): Removed unnecessary listener installs.
14908 (installDocumentListeners): Removed unneeded method.
14909 (uninstallListeners): Removed unnecessary listener uninstalls.
14910 (modelChanged): Removed call to installDocumentListeners().
14911 * javax/swing/plaf/basic/BasicTextFieldUI.java
14912 (propertyChange): Update the colors by fetching them from
14913 SharedUIDefaults. Fixed conditions.
14914 * javax/swing/plaf/basic/SharedUIDefaults.java
14915 (getColor): New method.
14917 2006-06-21 Roman Kennke <kennke@aicas.com>
14919 * javax/swing/SizeSequence.java
14920 (SizeSequence): Initialize array with correct number of entries.
14922 2006-06-21 Roman Kennke <kennke@aicas.com>
14924 * javax/swing/JSplitPane.java
14925 (setDividerLocation): Substract divider size when computing
14928 2006-06-21 Roman Kennke <kennke@aicas.com>
14930 * javax/swing/JComponent.java
14931 (paintChildrenWithOverlap): Determine opaque property by
14932 calling the corresponding Component method, without requiring
14934 (paintChildrenOptimized): Removed old unneeded code.
14935 (paintImmediately): Use JComponent's convertRectangleToAncestor()
14936 method instead of SwingUtilities.convertRectangle(). This is
14939 2006-06-21 Roman Kennke <kennke@aicas.com>
14941 * javax/swing/AbstractButton.java
14942 (init): Call setText() instead of setting the property directly,
14943 so that listeners (especially in the UI) get notified.
14945 2006-06-21 Roman Kennke <kennke@aicas.com>
14947 * javax/swing/UIManager.java
14948 (MultiplexUIDefaults): New inner class.
14949 (currentUIDefaults): Changed type to be MultiplexUIDefaults.
14950 (userUIDefaults): Changed name to be lookAndFeelDefaults.
14951 (<cinit>): Call setLookAndFeel(String) instead of trying to load
14952 directly. Print stacktrace if something goes wrong.
14953 (get): Delegate call to currentUIDefaults.
14954 (getDefaults): If currentUIDefaults is null, then lazily instantiate
14956 (getUI): Delegate call to currentUIDefaults.
14957 (put): Delegate call to currentUIDefaults.
14958 (setLookAndFeel): Initialize currentUIDefaults with
14959 MultiplexUIDefaults. Set lookAndFeelDefaults.
14960 (setLookAndFeel): Use current thread's context classloader for
14963 2006-06-21 Roman Kennke <kennke@aicas.com>
14965 * javax/swing/text/GapContent.java
14966 (GapContentPosition.GapContentPosition): Replace
14967 Collections.binarySearch with call to local search() to make
14968 sure we find the first object that equals the searched object.
14969 (setPositionsInRange): Likewise.
14970 (adjustPositionsInRange): Likewise.
14971 (search): New helper method.
14973 2006-06-21 Gary Benson <gbenson@redhat.com>
14975 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
14976 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
14977 * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
14979 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
14981 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
14982 APPLETVIEWER_EXECUTABLE to gappletviewer.
14984 2006-06-20 Tom Tromey <tromey@redhat.com>
14986 PR classpath/28095:
14987 * java/net/URL.java (URL): Throw MalformedURLException if a
14988 RuntimeException is caught. Chain exceptions.
14990 2006-06-20 Lillian Angel <langel@redhat.com>
14992 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14993 (create): Added check to prevent Seg Fault. Should not
14994 set the label if it is null.
14995 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
14996 (setText): Changed to be a non-native function. Calls
14997 setNativeText if the String parameter is non-null.
14998 (setNativeText): Replaces old native setText function.
14999 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
15000 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
15001 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
15002 Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
15003 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
15004 Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
15006 2006-06-20 Lillian Angel <langel@redhat.com>
15008 * javax/swing/text/JTextComponent.java
15009 (AccessibleJTextComponent): Rewrote all javadocs
15010 for this inner class.
15012 2006-06-20 Francis Kung <fkung@redhat.com>
15014 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
15015 Changed many members to be protected.
15016 (J2dBenchmark): moved to init() instead.
15017 (init): New method.
15018 (main): Call init() after creating object
15019 (testComplete): New method.
15020 (test_drawArc): Use maxTests varialbe instead of constant.
15021 (test_drawCubicCurve): Likewise.
15022 (test_drawEllipse): Likewise.
15023 (test_drawGeneralPath): Likewise.
15024 (test_drawImage): Likewise.
15025 (test_drawLine): Likewise.
15026 (test_drawQuadCurve): Likewise.
15027 (test_drawRectangle): Likewise.
15028 (test_drawRoundRectangle): Likewise.
15029 (test_drawTransparentImage): Likewise.
15030 (test_fillArc): Likewise.
15031 (test_fillEllipse): Likewise.
15032 (test_fillGeneralPath): Likewise.
15033 (test_fillRectangle): Likewise.
15034 (test_fillRoundRectangle): Likewise.
15035 (GraphicsTest.runSetNoClipping): Added runCount parameter.
15036 (GraphicsTest.runSetWithClipping): Likewise.
15037 (GraphicsTest.runSetZeroClipping): Likewise.
15038 (GraphicsTest.run): Added checks for more option flags.
15039 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
15042 2006-06-20 Roman Kennke <kennke@aicas.com>
15044 * javax/swing/text/GapContent.java
15045 (GapContentPosition.mark): New field.
15046 (GapContentPosition.index): Removed.
15047 (GapContentPosition.GapContentPosition): Changed to take the
15048 real offset as parameter. Added handling of reference counter.
15049 Try to cleanup before creating new instances.
15050 (getOffset): Delegate to the Mark method with same name.
15051 (Mark): New class, encapsulating a mark.
15052 (positionMarks): Removed field.
15053 (numMarks): Removed field.
15054 (marks): New field.
15055 (queueOfDeath): New field.
15056 (GapContent): Removed init of old fields, added init of new fields.
15057 (createPosition): Added check for validity of arguments.
15058 Create GapContentPosition directly with offset.
15059 (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
15060 (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
15061 (shiftGapStartDown): Call resetMarksAtZero().
15062 (shiftGapEndUp): Call resetMarksAtZero().
15063 (replace): Don't call resetMarksAtZero().
15064 (setPositionInRange): Replaced by simpler algorithm, similar to
15065 adjustPositionsInRange.
15066 (adjustPositionsInRange): Adapted to use of Mark objects.
15067 (resetMarksAtZero): Reset all marks that point to zero instead
15068 of only the first one.
15069 (dumpMarks): Adjusted to dump Mark objects.
15070 (insertMark): Removed.
15071 (garbageCollect): New method. Cleans up the marks list.
15072 (binarySearch): Removed.
15074 2006-06-20 Lillian Angel <langel@redhat.com>
15076 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15077 (drawImage): Added call to updateColor because
15078 Cairo seems to lose the current color.
15080 2006-06-20 Gary Benson <gbenson@redhat.com>
15082 * java/awt/Toolkit.java: Add security check.
15083 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
15084 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
15086 2006-06-20 Raif S. Naffah <raif@swiftdsl.com.au>
15088 * gnu/java/security/key/dss/DSSKey.java: Source formatting.
15089 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15090 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15091 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
15092 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
15093 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15094 * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
15095 * gnu/java/security/key/dss/FIPS186.java: Likewise.
15096 * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
15097 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15098 * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
15099 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15100 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15101 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
15102 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15103 * gnu/java/security/key/IKeyPairCodec.java: Likewise.
15104 * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
15105 * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
15106 * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
15108 2006-06-19 Lillian Angel <langel@redhat.com>
15110 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15111 (drawImage): Should always use getRGB to get the pixels.
15112 getData returns an incorrect array of pixels.
15114 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
15116 * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
15117 * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
15118 * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
15119 * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
15120 * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
15121 * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
15122 * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
15123 * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
15124 * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
15125 * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
15126 * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
15127 * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
15128 * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
15129 * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
15130 * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
15131 * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
15132 * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
15133 * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
15134 * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
15135 * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
15136 * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
15137 * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
15138 * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
15139 * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
15140 * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
15141 * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
15142 * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
15143 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
15144 * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
15145 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
15146 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15147 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
15148 * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
15149 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15150 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
15151 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15153 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
15155 * NEWS: Updated (delayed) for security tools and tools.texinfo.
15157 2006-06-19 Roman Kennke <kennke@aicas.com>
15159 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15160 (drawImage): Clip volatile image correctly.
15161 (drawVolatileImage): Added arguments for clipping.
15162 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15163 (drawVolatileImage): Added arguments for clipping. Clip image
15165 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15167 2006-06-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15170 * java/rmi/server/UID.java (constructor): Synchronized
15171 the whole constructor on the UID class.
15173 2006-06-19 Roman Kennke <kennke@aicas.com>
15175 * javax/swing/RepaintManager.java
15176 (addInvalidComponent): Only add component that are displayable,
15177 that have displayable parents and that have a validateRoot.
15178 Also, don't validate components that have a CellRendererPane
15181 2006-06-19 David Gilbert <david.gilbert@object-refinery.com>
15183 * javax/swing/plaf/IconUIResource.java
15184 (IconUIResource): Throw IllegalArgumentException for null icon.
15186 2006-06-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15189 * java/rmi/server/UID.java (constructor): First increment
15190 uidCounter, and then use the value.
15192 2006-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
15194 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15195 * java/awt/GridBagConstraints.java: Indent.
15197 2006-06-18 Tom Tromey <tromey@redhat.com>
15199 * native/jni/gconf-peer/.cvsignore: New file.
15201 2006-06-18 Tom Tromey <tromey@redhat.com>
15203 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
15204 Also handle short options.
15206 2006-06-18 Jim Huang <jserv@kaffe.org>
15208 PR classpath/28076:
15209 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
15212 2006-06-19 Mark Wielaard <mark@klomp.org>
15214 * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
15215 on gnu/java/util/prefs/gconf/%.class.
15216 * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
15217 chache typo, should be cache.
15218 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
15220 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
15222 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
15223 Don't return a value for void function.
15224 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
15226 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
15227 Mark clazz as unused. Return JNI_FALSE, not NULL for jboolean
15229 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
15230 Mark clazz ad unused.
15232 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
15234 * gnu/java/security/hash/Whirlpool.java: Source formatting.
15235 * gnu/java/security/hash/Tiger.java: Likewise.
15236 * gnu/java/security/hash/Sha512.java: Likewise.
15237 * gnu/java/security/hash/Sha384.java: Likewise.
15238 * gnu/java/security/hash/Sha256.java: Likewise.
15239 * gnu/java/security/hash/Sha160.java: Likewise.
15240 * gnu/java/security/hash/RipeMD160.java: Likewise.
15241 * gnu/java/security/hash/RipeMD128.java: Likewise.
15242 * gnu/java/security/hash/MD5.java: Likewise.
15243 * gnu/java/security/hash/MD4.java: Likewise.
15244 * gnu/java/security/hash/MD2.java: Likewise.
15245 * gnu/java/security/hash/IMessageDigest.java: Likewise.
15246 * gnu/java/security/hash/Haval.java: Likewise.
15247 * gnu/java/security/hash/HashFactory.java: Likewise.
15248 * gnu/java/security/hash/BaseHash.java: Likewise.
15250 2006-06-18 Sven de Marothy <sven@physto.se>
15252 * java/awt/event/KeyEvent.java:
15253 (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
15254 * natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15255 Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
15257 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
15259 * gnu/java/security/util/Prime2.java: Removed.
15260 * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
15261 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15262 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
15263 (generate): Use isProbablePrime() in BigInteger instead of Prime2.
15264 * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
15265 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15266 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
15267 (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
15268 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
15269 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15270 * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
15271 (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
15273 2006-06-18 Sven de Marothy <sven@physto.se>
15275 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15276 * java/awt/font/TextMeasurer.java: Fix copyright date,
15277 remove commented-out code.
15279 2006-06-18 Sven de Marothy <sven@physto.se>
15281 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15282 (FreetypeGlyphVector, clone): Implement cloning.
15283 (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
15284 * java/awt/font/TextMeasurer.java: Implement.
15285 * java/awt/font/LineBreakMeasurer.java:
15286 Reimplement to use TextMeasurer.
15287 * java/awt/font/TextLayout.java
15289 (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
15290 (getText, getFont): New private static methods.
15291 (setCharIndices): New method.
15292 * java/text/AttributedString.java
15293 (AttributedString): Fix constructor to stop at end point.
15295 2006-06-17 Tom Tromey <tromey@redhat.com>
15297 * lib/gen-classlist.sh.in: Search all top-level directories, not
15298 just 'org', in external.
15300 2006-06-12 Mario torre <neugens at limasoftware.net>
15302 * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
15303 * gnu/java/util/prefs/GConfBasedFactory.java: new class.
15304 * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
15305 * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
15307 * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
15308 * configure.ac: update to introduce new files. Added options
15309 to build gconf native peer used by the GConf preference backend.
15310 * include/Makefile.am: update to introduce new files.
15311 * native/jni/Makefile.am update to introduce new files.
15312 * scripts/check_jni_methods.sh: added three new ignored file
15314 * native/jni/gconf-peer/Makefile.am: new Makefile needed to
15315 build gconf-peer shared library.
15317 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15319 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
15320 Use Integer.valueOf() instead of new Integer().
15321 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15322 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15323 * gnu/java/security/util/Sequence.java: Likewise.
15324 * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
15325 * gnu/java/security/x509/X509Certificate.java: Likewise.
15326 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
15327 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15328 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
15329 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
15330 * gnu/javax/crypto/cipher/DES.java: Likewise.
15331 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15332 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
15333 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15334 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
15335 * gnu/javax/crypto/cipher/Square.java: Likewise.
15336 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
15337 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15338 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
15339 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
15340 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
15341 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
15342 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15343 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15344 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
15345 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
15346 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
15347 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15348 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15349 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
15350 * gnu/javax/crypto/mac/UHash32.java: Likewise.
15351 * gnu/javax/crypto/mac/UMac32.java: Likewise.
15352 * gnu/javax/crypto/mode/BaseMode.java: Likewise.
15353 * gnu/javax/crypto/mode/EAX.java: Likewise.
15354 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
15355 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
15356 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
15357 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
15358 * java/security/cert/X509CertSelector.java: Likewise.
15360 2006-06-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
15362 * javax/management/DynamicMBean.java:
15363 (setAttribute): Fixed to return void.
15364 * javax/management/MBeanFeatureInfo.java:
15367 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15369 On behalf of Vivek Lakshmanan <vivekl@redhat.com>
15370 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
15371 (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
15372 into engineInitHandler and reuse the code in
15373 engineInit(int, Key, AlgorithmSpec, SecureRandom).
15374 (engineInitHandler): New method.
15375 (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
15376 null, use random or default information when possible.
15378 2006-06-16 Francis Kung <fkung@redhat.com>
15380 * examples/gnu/classpath/examples/swing/Demo.java:
15381 (mkButtonBar): Rename FillRect to JNIOverhead.
15382 (mkMenuBar): Rename FillRect to JNIOverhead.
15383 * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
15384 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
15385 * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
15386 Moved from old FillRect.
15388 2006-06-16 Tom Tromey <tromey@redhat.com>
15390 * tools/.cvsignore: Added new tool names.
15392 2006-06-16 Keith Seitz <keiths@redhat.com>
15394 * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
15395 instantiation so that EventManager is created when getDefault
15397 * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
15400 2006-06-16 Keith Seitz <keiths@redhat.com>
15402 * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
15403 (_initCount): New field.
15404 (Jdwp): Don't set isDebugging until fully initialized.
15405 (subcomponentInitialized): New method.
15406 (run): Wait for PacketProcessor and JdwpConnection to
15407 startup, then set isDebugging, and then let this thread
15409 * gnu/classpath/jdwp/transport/JdwpConnection.java
15410 (run): Add synchronization notification.
15411 * gnu/classpath/jdwp/processor/PacketProcessor.java
15414 2006-06-16 Tom Tromey <tromey@redhat.com>
15416 * NEWS: Updated for JSR 166.
15418 2006-06-16 Tom Tromey <tromey@redhat.com>
15420 * lib/Makefile.am (compile_classpath): Added jsr166.
15421 * configure.ac: Added external/jsr166/Makefile.
15422 * external/Makefile.am (SUBDIRS): Added jsr166.
15423 * external/jsr166/Makefile.am: New file.
15424 * lib/gen-classlist.sh.in: Look in external/jsr166.
15426 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15428 * gnu/classpath/jdwp/event/ExceptionEvent:
15429 Added Object instance to javadoc in constructor
15430 * gnu/classpath/jdwp/event/MethodEntryEvent:
15432 * gnu/classpath/jdwp/event/MethodExitEvent:
15434 * gnu/classpath/jdwp/event/SingleStepEvent:
15437 2006-06-16 Tom Tromey <tromey@redhat.com>
15439 Imported JSR 166 reference implementation:
15440 * .classpath: Added external/jsr166.
15441 * java/util/concurrent/CopyOnWriteArrayList.java: New file.
15442 * java/util/AbstractQueue.java: Removed.
15443 * java/util/Queue.java: Removed.
15444 * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
15445 (runPeriodic): Added explicit cast.
15446 * external/jsr166/java/util/ArrayDeque.java (clone): Use
15449 2006-06-16 Tom Tromey <tromey@redhat.com>
15451 * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15453 (getCallerClass): Now static.
15454 * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15456 2006-06-16 Lillian Angel <langel@redhat.com>
15458 * java/awt/FileDialog.java
15459 (FileDialog): Added @since tag to API docs.
15460 (FileDialog): Likewise.
15461 (FileDialog): Likewise.
15462 * java/awt/Font.java:
15463 Added @since tag to TYPE1_FONT field docs.
15464 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15465 (isThumbRollover): Likewise.
15466 (setThumbRollover): Likewise.
15467 (getSupportsAbsolutePositioning): Likewise.
15468 * javax/swing/plaf/basic/BasicSliderUI.java:
15469 (isDragging): Likewise.
15471 2006-06-16 Lillian Angel <langel@redhat.com>
15473 * java/awt/FileDialog.java
15474 (FileDialog): Implemented.
15475 (FileDialog): Implemented.
15476 (FileDialog): Implemented.
15477 * java/awt/Font.java:
15478 Added TYPE1_FONT constant field.
15480 2006-06-16 Lillian Angel <langel@redhat.com>
15482 * java/awt/font/TextLayout.java:
15483 Removed unneeded imports.
15484 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15485 Added new thumbRollover field.
15486 (mouseMoved): Added code to set thumbRollover field.
15487 (isThumbRollover): New function.
15488 (setThumbRollover): New function.
15489 (getSupportsAbsolutePositioning): Implemented. This
15490 needs to be changed once the feature has been
15492 * javax/swing/plaf/basic/BasicSliderUI.java:
15493 Added new dragging field.
15494 (mouseDragged): Initialized dragging field.
15495 (isDragging): New function.
15496 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15497 (focusGained): Marked as not implemented.
15498 (focusLost): Likewise.
15500 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15502 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15503 Added check for null ThreadId to avoid null pointer
15506 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15508 * javax/swing/DefaultComboBoxModel.java
15509 (removeElementAt): Set new selected item by calling setSelectedItem().
15511 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15513 * javax/swing/DefaultButtonModel.java
15514 (setSelected): Use 'this', not null, for the item in the ItemEvent.
15516 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15518 * javax/swing/event/ListDataEvent.java: updated API docs, plus
15519 (ListDataEvent): Handle case where index0 > index1,
15520 (toString): Implemented.
15522 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15524 * javax/swing/plaf/metal/MetalMenuBarUI.java:
15525 (update): Added subexpression to if-statement.
15527 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15529 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15530 (installDefaults): Removed unneccessary code.
15531 (paint): Removed complex if-cascade, revert to default icon if
15532 icon property is not set.
15533 (getPreferredSize): New method.
15535 2006-06-16 Roman Kennke <kennke@aicas.com>
15538 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15539 (drawImage): Don't use setClip() but instead clipRect() to
15540 intersect the current clip with a new one.
15542 2006-06-15 Tom Tromey <tromey@redhat.com>
15544 * scripts/sanitize-jsr166: New file.
15545 * external/jsr166/IMPORTING: New file.
15546 * vm/reference/sun/reflect/Reflection.java: New file.
15547 * vm/reference/gnu/classpath/Unsafe.java: Moved...
15548 * vm/reference/sun/misc/Unsafe.java: ...here.
15550 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
15552 * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15553 gjarsigner and keytool to gkeytool.
15554 * doc/tools.texinfo: Add note about tool exectable names.
15555 * tools/Makefile.am: Rename appletviewer to gappletviewer,
15556 jarsigner to gjarsigner and keytool to gkeytool.
15557 * tools/appletviewer.in: Rename ...
15558 * tools/gappletviewer.in: New file.
15559 * tools/jarsigner.in: Rename ...
15560 * tools/gjarsigner.in: New file.
15561 * tools/keytool.in: Rename ...
15562 * tools/gkeytool.in: New file.
15563 * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15565 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15567 * javax/management/AttributeList.java:
15568 Add serialization UID.
15569 * javax/management/DynamicMBean.java:
15571 * javax/management/JMRuntimeException.java:
15572 Add serialization UID and correct name
15573 of serialized field.
15574 * javax/management/MBeanInfo.java: New file.
15576 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15578 * javax/management/AttributeList.java,
15579 * javax/management/JMRuntimeException.java,
15580 * javax/management/RuntimeOperationsException.java:
15583 2006-06-15 Lillian Angel <langel@redhat.com>
15585 * java/awt/font/TextLayout.java:
15586 DEFAULT_CARET_POLICY changed to be public static final.
15588 2006-06-15 Tania Bento <tbento@redhat.com>
15590 * javax/swing/plaf/metal/MetalScrollButton.java
15591 (MetalScrollButton): Should set 'focusable' to false.
15593 2006-06-15 Tania Bento <tbento@redhat.com>
15595 * javax/swing/plaf/basic/BasicArrowButton.java
15596 (BasicArrowButton): Should set 'focusable' to false.
15597 (BasicArrowButton): Should set 'focusable' to false.
15599 2006-06-15 Mark Wielaard <mark@klomp.org>
15601 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15602 (getGraphicsConfiguration): Return default screen device.
15603 * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15605 (GtkVolatileImage): Record initiating component.
15606 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15607 (getDeviceConfiguration): Return configuration of image component.
15609 2006-06-15 Mark Wielaard <mark@klomp.org>
15611 * java/awt/geom/GeneralPath.java (closePath): Return if path already
15614 2006-06-15 Mark Wielaard <mark@klomp.org>
15616 * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15617 with null argument.
15619 2006-06-15 Kyle Galloway <kgallowa@redhat.com>
15621 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15622 (matches): Added explicit brackets to return statement.
15624 2006-06-15 Tania Bento <tbento@redhat.com>
15626 * javax/swing/JRadioButtonMenuItem.java
15627 (JRadioButtonMenuItem): Should set 'focusable' to false.
15629 2006-06-15 Tania Bento <tbento@redhat.com>
15631 * javax/swing/JCheckBoxMenuItem.java
15632 (JCheckBoxMenuItem): Should set 'focusable' to false.
15634 2006-06-15 Tania Bento <tbento@redhat.com>
15636 * javax/swing/AbstractButton.java:
15637 (AbstractButton): 'Focusable' should be set to true and not false.
15639 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15641 * java/lang/management/ManagementFactory.java:
15642 Add private constructor to prevent instance creation.
15643 * java/lang/management/ManagementPermission.java:
15646 2006-06-15 Francis Kung <fkung@redhat.com>
15648 * javax/swing/plaf/basic/BasicArrowButton.java:
15649 (BasicArrowButton): move client property for not triggering out
15651 * javax/swing/plaf/basic/BasicComboBoxUI.java:
15652 (configureArrowButton): set client property for not triggering
15653 (installUI): set client property for not triggering
15654 * javax/swing/plaf/basic/BasicLookAndFeel.java:
15655 (PopupHelper.mousePressed): check client property for triggering
15657 2006-06-15 Roman Kennke <kennke@aicas.com>
15660 * javax/swing/RepaintManager.java
15661 (blitBuffer): Substract coordinates the other way around.
15663 2006-06-15 Roman Kennke <kennke@aicas.com>
15666 * javax/swing/JComponent.java
15667 (paintImmediately2): Only paint component without double buffering
15668 when all of it's parents have also double buffering disabled.
15669 (isPaintingDoubleBuffered): New helper method.
15671 2006-06-15 David Gilbert <david.gilbert@object-refinery.com>
15673 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15674 (draw(Shape)): Pass null transform to getPathIterator(),
15675 (getClip): Likewise,
15676 * gnu/java/print/PostscriptGraphics2D.java
15677 (drawStringShape): Pass null transform to getPathIterator(),
15678 (writeShape): Likewise,
15679 * java/awt/Shape.java: Small updates to API docs.
15681 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15683 * javax/naming/InitialContext.java:
15684 (list(javax.naming.Name)): Fixed generic type.
15685 (list(String)): Likewise.
15686 (listBindings(javax.naming.Name)): Likewise.
15687 (listBindings(String)): Likewise.
15689 2006-06-14 Roman Kennke <kennke@aicas.com>
15691 * javax/swing/plaf/basic/BasicComboBoxUI.java
15692 (getAccessibleChildrenCount): Implemented.
15693 (getAccessibleChild): Implemented.
15694 (isNavigationKey): Implemented.
15695 (KeyHandler.keyPressed): Implemented.
15697 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15699 * java/lang/management/ManagementPermission.java:
15700 Added serialization UID.
15701 * javax/management/Attribute.java: Likewise.
15702 * javax/management/MBeanException.java,
15703 * javax/management/ReflectionException.java:
15704 Added serialization UID and changed to extend
15705 javax.management.JMException.
15707 2006-06-14 Lillian Angel <langel@redhat.com>
15709 * java/awt/Component.java
15710 (ignoreOldMouseEvents): Made static.
15711 (translateEvent): Made static.
15712 * java/awt/TextComponent.java
15713 (ignoreOldMouseEvents): Made static.
15715 2006-06-14 Mark Wielaard <mark@klomp.org>
15717 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15719 (drawRect): Likewise.
15720 (fillRect): Likewise.
15722 2006-06-14 Lillian Angel <langel@redhat.com>
15724 * java/awt/Component.java
15725 (ignoreOldMouseEvents): New helper function.
15726 (translateEvent): Changed to be non-static and use new helper.
15727 * java/awt/TextComponent.java
15728 (ignoreOldMouseEvents): New helper function.
15730 2006-06-14 Roman Kennke <kennke@aicas.com>
15732 * javax/swing/RepaintManager.java
15733 (MERGE_REGIONS): New constant flag.
15734 (commitBuffer): Exclude the merging of regions by default. This
15735 was causing painting artifacts in some applications, especially
15736 when different areas of the GUI are updated synchronously.
15738 2006-06-14 Roman Kennke <kennke@aicas.com>
15740 * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15741 New file. This is a benchmark for AWT 1.1 style graphics operations.
15742 * examples/gnu/classpath/examples/awt/palme.gif: New file.
15743 * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15745 2006-06-14 Tom Tromey <tromey@redhat.com>
15747 * java/io/File.java (getParent): Javadoc fix.
15749 2006-06-14 Tom Tromey <tromey@redhat.com>
15751 * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15753 * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15754 when index entry does not exist.
15756 2006-06-14 Tania Bento <tbento@redhat.com>
15758 * javax/swing/AbstractButton.java
15759 (AbstractButton): Set focusable to false, not true.
15761 2006-06-14 Tania Bento <tbento@redhat.com>
15763 * javax/swing/JMenuItem.java
15764 (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15766 2006-06-14 Tania Bento <tbento@redhat.com>
15768 * javax/swing/JCheckBoxMenuItem.java
15769 (JCheckBoxMenuItem): Added check to set the selected state.
15771 2006-06-14 Roman Kennke <kennke@aicas.com>
15773 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15774 (cairoDrawLine): New native method.
15775 (cairoDrawRect): New native method.
15776 (cairoFillRect): New native method.
15777 (drawLine): Use special native method.
15778 (drawRect): Use special native method.
15779 (fillRect): Use special native method.
15780 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15781 (cairoDrawLine): New native method.
15782 (cairoDrawRect): New native method.
15783 (cairoFillRect): New native method.
15784 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15786 2006-06-14 Mark Wielaard <mark@klomp.org>
15788 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15789 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15790 cannot be allocated.
15792 2006-06-14 Tom Tromey <tromey@redhat.com>
15795 * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15796 * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15798 2006-06-14 Roman Kennke <kennke@aicas.com>
15800 * javax/swing/JComponent.java
15801 (isRepainting): New flag.
15802 (paintImmediately2): Set isRepainting flag.
15803 (getRoot): Removed obsolete method.
15804 (paintDoubleBuffered): Differenciate between paint calls from
15805 RepaintManager and from AWT refresh. Call
15806 RepaintManager.commitBuffer with this and local coordinates.
15807 (findOpaqueParent): Stop searching at heavyweight component. These
15809 (paintChildrenOptimized): Don't paint heavyweight children. These
15810 should care for themselves.
15811 (paintChildrenWithOverlap): Don't paint heavyweight children. These
15812 should care for themselves.
15813 * javax/swing/RepaintManager.java
15814 (getOffscreenBuffer): Associate offscreen buffer with toplevel
15816 (getVolatileOffscreenBuffer): Associate offscreen buffer with
15817 toplevel windows only.
15818 (getRoot): Removed obsolete method.
15819 (commitBuffer): Blit buffer on nearest heavyweight.
15820 (blitBuffer): New helper method.
15821 (getHeavyweightParent): New helper method.
15822 (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
15823 * javax/swing/SwingUtilities.java
15824 (convertRectangleToAncestor): New helper method.
15826 2006-06-14 Raif S. Naffah <raif@swiftdsl.com.au>
15828 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
15829 Condition all trace/debug code based on Configuration.DEBUG.
15830 Use logger instead of STDOUT and ot STDERR.
15832 2006-06-13 Lillian Angel <langel@redhat.com>
15834 * native/plugin/gcjwebplugin.cc
15835 (NP_Initialize): Removed code to create whitelist file.
15836 (GCJ_New): Added code to create whitelist file.
15837 (plugin_user_trusts_documentbase): Fixed error message.
15839 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15841 * javax/swing/plaf/metal/MetalIconFactory.java
15842 (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to
15843 prevent overwriting border,
15844 (VerticalSliderThumbIcon.gradientMask): Likewise.
15846 2006-06-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
15848 * javax/management/AttributeNotFoundException.java,
15849 * javax/management/InvalidAttributeValueException.java,
15850 * javax/management/JMException.java,
15851 * javax/management/MBeanException.java,
15852 * javax/management/OperationsException.java,
15853 * javax/management/ReflectionException.java:
15856 2006-06-13 Roman Kennke <kennke@aicas.com>
15858 * java/awt/Component.java
15859 (dispatchEvent): Handle events even when consumed (this might be
15860 picked up later in the dispatching chain).
15861 * javax/swing/plaf/basic/BasicLookAndFeel.java
15862 (PopupHelper.mousePressed): Don't consume event. Only close popup
15863 when target component isn't flagged as DONT_CANCEL_POPUP.
15864 (DONT_CANCEL_POPUP): New package private constant for flagging
15865 special components that don't trigger popup closing.
15866 * javax/swing/plaf/basic/BasicArrowButton.java
15867 (BasicArrowButton): Set client property for not triggering closing
15870 2006-06-13 Lillian Angel <langel@redhat.com>
15872 * java/awt/image/PixelGrabber.java
15873 (PixelGrabber): Added to API documentation.
15875 2006-06-13 Keith Seitz <keiths@redhat.com>
15877 From Kyle Galloway <kgallowa@redhat.com>:
15878 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15879 (ExceptionOnlyFilter): Allow null refId.
15881 * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
15882 compatibility with filters.
15883 (getParameter): Modified to allow access to above.
15885 2006-06-13 Sven de Marothy <sven@physto.se>
15887 * gnu/java/awt/peer/gtk/CairoSurface.java
15888 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15889 (create): Use stride in ints.
15891 2006-06-13 Keith Seitz <keiths@redhat.com>
15893 From Kyle Galloway <kgallowa@redhat.com>:
15894 * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
15896 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15898 * javax/swing/plaf/basic/BasicSliderUI.java
15899 (calculateThumbSize): Removed unnecessary code,
15900 (calculateThumbLocation): Shift position by one,
15901 (calculateTickRect): Shift position by one when ticks are displayed,
15902 (calculateLabelRect): Calculate rect differently according to whether
15903 or not the labels are visible,
15904 (paintTrack): Shift track down one pixel.
15906 2006-06-13 Lillian Angel <langel@redhat.com>
15908 * java/awt/image/PixelGrabber.java
15909 (PixelGrabber): Removed check to throw exception. JDK does
15911 (startGrabbing): Removed line to print stacktrace.
15913 2006-06-13 Mark Wielaard <mark@klomp.org>
15915 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
15916 allocate unused AffineTransform. Add comment about conversion to
15918 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
15919 Recognize identity transform as "easy". Always convert to
15920 BufferedImage before calling super.
15922 2006-06-13 Roman Kennke <kennke@aicas.com>
15924 * java/awt/Component.java
15925 (getGraphics): Translate child graphics correctly.
15926 (dispatchEvent): Only dispatch event if it hasn't been consumed
15927 yet by the global dispatcher.
15928 * javax/swing/plaf/basic/BasicLookAndFeel.java
15929 Added some API docs.
15930 (PopupHelper.mousePressed): Consume the event after closing
15933 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15935 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting
15937 * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
15938 * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
15939 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
15940 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
15941 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
15942 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
15943 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
15944 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
15945 * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
15946 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
15947 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
15948 * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
15949 * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
15950 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
15951 * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
15952 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
15954 2006-06-12 Sven de Marothy <sven@physto.se>
15956 * java/awt/font/LineBreakMeasurer.java): Implement.
15958 2006-06-12 Keith Seitz <keiths@redhat.com>
15960 From Kyle Galloway <kgallowa@redhat.com>:
15961 * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
15963 2006-06-12 Keith Seitz <keiths@redhat.com>
15965 From Kyle Galloway <kgallowa@redhat.com>:
15966 * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
15968 * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
15970 2006-06-12 Roman Kennke <kennke@aicas.com>
15972 * javax/swing/JComponent.java
15973 (paintDoubleBuffered): Correctly translate and clip the Graphics
15975 (clipAndTranslateGraphics): New helper method.
15977 2006-06-12 Roman Kennke <kennke@aicas.com>
15979 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15980 (copy): Use getClip() to copy the clip. Make copied transform
15981 null when original transform is null. Set clip here.
15982 (setTransform): Correctly update the clip.
15983 (setTransformImpl): New method. Updates the actual transform for
15985 (transform): Correctly update the clip.
15986 (translate): Correctly update the clip.
15987 (clip): Handle null clip and argument correctly.
15988 (clipRect): Avoid creating new Rectangle objects.
15989 (getClip): Get the correct copy of the clip.
15990 (setClip): Correctly handle null argument.
15991 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15992 (CairoSurfaceGraphics): Don't set the clip here. The clip can either
15993 be null or whatever has been set in copy().
15994 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15995 (drawImage): Add translation to the image coordinates.
15996 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15997 (VolatileImageGraphics): Don't set clip here. The clip can either
15998 be null or whatever has been set in copy().
16000 2006-06-12 Keith Seitz <keiths@redhat.com>
16002 From Kyle Galloway <kgallowa@redhat.com>:
16003 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
16004 (forCaught): Removed unused/unnecessary method.
16005 (forUncaught): Likewise.
16006 (matches): Implement.
16008 2006-06-12 Keith Seitz <keiths@redhat.com>
16010 From Kyle Galloway <kgallowa@redhat.com>:
16011 * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
16013 2006-06-12 Keith Seitz <keiths@redhat.com>
16015 From Kyle Galloway <kgallowa@redhat.com>:
16016 * gnu/classpath/jdwp/event/Event.java: Added constants for
16018 (getParameter): Changed parameter type from Class to int.
16019 * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
16020 Changed from Class type to constants.
16021 * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
16023 * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
16025 * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
16027 * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
16029 * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
16031 * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
16033 * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
16035 * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
16037 * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
16040 2006-06-12 Lillian Angel <langel@redhat.com>
16042 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
16043 (StandaloneAppletWindow): Changed title of standalone window.
16045 2006-06-12 Lillian Angel <langel@redhat.com>
16047 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16048 (layoutContainer): Added missing selectedComponent assignment.
16050 2006-06-12 Lillian Angel <langel@redhat.com>
16052 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16053 (layoutContainer): Added check to prevent exception.
16055 2006-06-12 Tom Tromey <tromey@redhat.com>
16057 * java/lang/Thread.java (uncaughtException): Javadoc fix.
16059 2006-06-12 Mark Wielaard <mark@klomp.org>
16061 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
16064 (lock): New method.
16065 (unlock): Likewise.
16066 (draw): Use lock() and unlock().
16068 (drawRenderedImage): Likewise.
16069 (drawImage): Likewise.
16070 (drawGlyphVector): Likewise.
16072 2006-06-12 Roman Kennke <kennke@aicas.com>
16074 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16075 (drawPixels): Include alpha in parameter list.
16076 (cairoFill): Include alpha in parameter list.
16077 (setComposite): Don't modify the color.
16078 (draw(Shape))): Use fill when the current composite has an alpha
16079 of != 1.0, so that the stroked shaped will be composited.
16080 (fill(Shape)): Call cairoFill() with alpha.
16081 (drawImage): Call drawPixels or drawSurface with alpha.
16082 (drawGlyphVector): When composite alpha is != 1.0, render the
16083 outline using fill() to enable compositing for text.
16084 (drawRaster): Call drawPixels with alpha.
16085 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16086 (nativeDrawSurface): Include alpha in parameter list.
16087 (drawSurface): Include alpha in parameter list. Pass it to
16088 nativeDrawSurface().
16089 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
16090 * include/gnu_java_awt_peer_gtk_CairoSurface.h:
16092 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16093 (drawPixels): Handle possible alpha for compositing.
16094 (cairoFill): Likewise.
16095 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16096 (nativeDrawSurface): Handle possible alpha for compositing.
16098 2006-06-12 Mark Wielaard <mark@klomp.org>
16100 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16101 Notify data when completely done. Wait for worker thread to finish.
16102 Rethrow any pending exceptions.
16103 (exception): New field.
16104 (run): Store pending exception.
16106 2006-06-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
16108 * java/lang/management/ManagementPermission.java:
16111 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
16113 * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
16115 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
16117 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16118 Use String.charAt().
16120 2006-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
16122 * doc/tools.texinfo
16123 (Applet Tools): New chapter.
16124 (appletviewer Tool): New section.
16125 (gcjwebplugin): New section.
16127 2006-06-11 Mark Wielaard <mark@klomp.org>
16129 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16130 Takes GdkPixbufWriter.
16131 (GdkPixbufWriter): Implements Runnable.
16132 (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
16134 (DATADONE): New static final field.
16136 (write(byte[])): New method.
16138 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
16139 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
16140 Get dataOutputWriteID from writeClass.
16141 (stream_save_request): Change stream field to writer.
16142 (save_to_stream): Remove FIXME, call writer.
16143 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
16146 2006-06-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
16149 Mention new VM interface and use of properties.
16150 * doc/vmintegration.texinfo:
16151 Update with new gnu.java.lang.management section.
16152 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
16154 * java/lang/management/ManagementFactory.java:
16155 (getRuntimeMXBean()): Implemented.
16156 * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
16157 New VM interface file.
16159 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16162 * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
16163 debug code based on Configuration.DEBUG.
16164 Use logger instead of STDOUT and ot STDERR.
16165 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
16166 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
16167 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
16168 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
16169 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
16170 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
16171 * gnu/javax/crypto/pad/TBC.java: Likewise.
16172 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
16173 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
16174 * gnu/javax/crypto/pad/BasePad.java: Likewise.
16175 * gnu/javax/crypto/mac/OMAC.java: Likewise.
16176 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
16177 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
16178 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
16179 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
16180 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
16181 * gnu/javax/crypto/keyring/Entry.java: Likewise.
16182 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
16183 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
16184 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
16185 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
16186 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
16187 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
16188 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
16189 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
16190 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
16191 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
16192 * gnu/java/security/Properties.java: Likewise.
16193 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
16194 * gnu/java/security/x509/X509CRL.java: Likewise.
16195 * gnu/java/security/x509/ext/Extension.java: Likewise.
16196 * gnu/java/security/util/Prime2.java: Likewise.
16197 * gnu/java/security/util/Base64.java: Likewise.
16198 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
16199 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
16200 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
16201 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
16202 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
16203 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
16204 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
16205 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
16206 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
16207 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
16208 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
16209 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
16210 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
16211 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
16212 * gnu/java/security/hash/Whirlpool.java: Likewise.
16214 2006-06-11 Mark Wielaard <mark@klomp.org>
16216 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16217 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
16218 Remove unused variable glyph_index.
16220 2006-06-11 Mark Wielaard <mark@klomp.org>
16222 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
16223 Don't recurse, return false if not an BufferedImage and no image
16225 * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
16226 end_gdk_drawing() to finally block.
16228 (drawRenderedImage): Likewise.
16229 (drawImage): Likewise.
16230 (drawGlyphVector): Likewise.
16232 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16234 * doc/tools.texinfo: Added text for new -cacert command.
16235 Re-structured sections.
16236 * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
16237 for -cacert command.
16238 * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
16239 (_CACERT): Likewise.
16240 (shutdownThread): New field.
16241 (Main): Install shutdown thread.
16242 (main): Uninstall shutdown thread.
16243 (start): Handle new -cacert command.
16244 (getParser): Likewise.
16245 (teardown): Increased visibility.
16246 (ShutdownHook): New inner class.
16247 * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
16249 2006-06-11 Sven de Marothy <sven@physto.se>
16251 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16252 (setupGlyphMetrics): New method. Add glyphmetrics caching.
16253 (getOutline): Operate on the shape directly.
16254 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16255 (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
16256 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16257 (getGlyph renamed getGlyphs)
16258 * java/awt/geom/AffineTransform.java
16259 (getTranslateInstance): Set fields directly.
16260 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16261 (getGlyphs): Get all glyph codes at once.
16263 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16266 * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
16268 2006-06-11 Sven de Marothy <sven@physto.se>
16270 * java/awt/font/TextLayout.java
16271 (getLogicalHighlightShape): Add check.
16272 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16273 (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
16275 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16277 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16278 Check that every component of 'cn' starts with a valid Java identifier char.
16280 2006-06-10 Tom Tromey <tromey@redhat.com>
16282 * java/io/File.java (pathSeparator): Typo fix.
16284 2006-06-10 Mark Wielaard <mark@klomp.org>
16286 * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
16288 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16289 Mark all unused parameters.
16290 (cp_gtk_get_cairo_t): Removed.
16291 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
16292 Don't mix declerations and statements.
16293 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
16294 Mark all unused parameters.
16295 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
16296 Get cairographics2d pointer directly.
16297 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
16298 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
16299 Use jlong to pass pointer.
16300 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16301 Mark all unused parameters.
16302 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16303 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
16304 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
16305 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
16306 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
16307 * include/java_io_VMFile.h: Regenerated.
16309 2006-06-10 Roman Kennke <kennke@aicas.com>
16311 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16312 (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
16313 instead of setClip(), so that an already present clip is intersected
16316 2006-06-10 Mark Wielaard <mark@klomp.org>
16318 * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
16319 Call getSize() to avoid accessor method.
16321 2006-06-10 Mark Wielaard <mark@klomp.org>
16323 * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
16324 Qualify ElementSpec.
16326 2006-06-10 Mark Wielaard <mark@klomp.org>
16328 * lib/.cvsignore: Add sun.
16329 * lib/Makefile.am (dist-hook): Likewise.
16331 2006-06-10 Roman Kennke <kennke@aicas.com>
16333 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16334 * gnu/java/awt/peer/gtk/CairoSurface.java
16335 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16336 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16337 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16338 * native/jni/gtk-peer/cairographics2d.h
16339 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16340 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16341 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16342 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16343 Changed method signatures and calls to pass native pointers directly
16344 into the JNI code, in order to avoid costly lookups on each
16346 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
16347 * include/gnu_java_awt_peer_gtk_CairoSurface.h,
16348 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
16349 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
16352 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16355 * javax/swing/text/DefaultStyledDocument.java
16356 (ElementBuffer.insertContentTag):
16357 Do not recreate leaves and do not remove elements here.
16359 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16361 * javax/swing/text/html/HTMLDocument.java
16362 (HTMLReader.HiddenAction): Implemented.
16364 2006-06-10 Roman Kennke <kennke@aicas.com>
16366 * javax/swing/RepaintManager.java
16367 (getVolatileOffscreenBuffer): Store the created buffer.
16368 * javax/swing/JComponent.java
16369 (paintDoubleBuffered): Try to use a volatile offscreen buffer
16370 for better performance.
16372 2006-06-10 Roman Kennke <kennke@aicas.com>
16374 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16375 (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
16377 (getRealBounds): Overridden to return the correct bounds.
16379 2006-06-10 Roman Kennke <kennke@aicas.com>
16381 * javax/swing/plaf/metal/MetalButtonUI.java
16382 (update): Fixed to paint the gradient under the correct conditions.
16383 (updateWidthGradient): Removed.
16384 (isToolbarButton): New helper method.
16385 (isDrawingGradient): New helper method.
16387 2006-06-09 Roman Kennke <kennke@aicas.com>
16389 * javax/swing/JTabbedPane.java
16390 (setSelectedIndex): Don't change the visibility of the components,
16391 this is done by the UI class.
16392 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16393 (TabbedPaneLayout.layoutContainer): Change visibility of component
16394 here, depending on the selected index. Only do this if the new
16395 selected component is not null. Some programs seem to expect
16397 (visibleComponent): New field.
16398 (getVisibleComponent): Changed to return visibleComponent field.
16399 (setVisibleComponent): Changed to set the visibility of
16400 the old and new visible component.
16402 2006-06-09 Roman Kennke <kennke@aicas.com>
16404 * javax/swing/JComponent.java
16405 (paintChildrenOptimized): Paint component with a new Graphics
16406 object to protect the other painting code from modifications
16407 done in that object, and avoid cleanup ops on possibly dispose()ed
16410 2006-06-09 Sven de Marothy <sven@physto.se>
16412 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16413 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16414 Use GTK locks while disposing (Xlib) surface.
16416 2006-06-09 Tom Tromey <tromey@redhat.com>
16418 * lib/Makefile.am (install-data-local): Copy 'sun' files.
16419 (uninstall-local): Delete 'sun' directory.
16420 (glibj.zip): Include 'sun' classes.
16421 (clean-local): Delete 'sun' directory.
16422 * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
16424 2006-06-09 Roman Kennke <kennke@aicas.com>
16426 * gnu/java/awt/java2d/AbstractGraphics2D.java
16427 (drawImage): Fixed scaling.
16428 (fillShape): Removed offset handling.
16429 (fillShapeImpl): Limit scanlining to device bounds.
16430 (getSegments): Removed offset handling.
16431 * gnu/java/awt/java2d/PolyEdge.java
16432 (toString): Include isClip flag in output.
16434 2006-06-08 Sven de Marothy <sven@physto.se>
16436 * java/awt/font/TextLayout.java
16437 (getOutline): Allow null transform.
16439 2006-06-08 Sven de Marothy <sven@physto.se>
16441 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16442 (drawString): Use TextLayout instead of GlyphVector.
16444 2006-06-08 Sven de Marothy <sven@physto.se>
16446 * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16447 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16448 New constructor for bidirectionality.
16449 (getGlyphMetrics): Return whitespace glyphs.
16450 (getLogicalBounds): Offset rectangles to correct positions.
16451 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16452 (getBaselineFor): Default to ROMAN_BASELINE.
16453 (GdkFontLineMetrics): Guess some values for underline and
16455 (layoutGlyphVector): Use bidirectionality.
16456 * java/awt/font/TextLayout.java: Implement, mostly.
16458 2006-06-09 Anthony Green <green@redhat.com>
16460 PR classpath/27888:
16461 * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16462 * java/util/Collections.java (binarySearch): Use unsigned shift.
16463 * java/util/Arrays.java (binarySearch): Use unsigned shift.
16465 2006-06-09 Tom Tromey <tromey@redhat.com>
16467 * tools/.cvsignore: Added .deps.
16469 2006-06-09 Kazuya Ujihara <ujihara@aurora.dti.ne.jp>
16471 PR classpath/27966:
16472 * gnu/javax/security/auth/login/ConfigFileParser.java
16473 (validateClassName): Quote '.' in regexp.
16475 2006-06-09 Tom Tromey <tromey@redhat.com>
16477 PR classpath/23863:
16478 * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16480 * native/fdlibm/mprec.c: New version from newlib. Commented out
16481 some includes. Added <assert.h>.
16482 (_reent, _Bigint): New defines.
16483 (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16484 (__ULong, __Long): New types.
16485 (_calloc_r): New function.
16486 (Balloc): Dynamically add new _freelist entries as needed.
16487 * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16488 MAX_BIGNUMS to size _x[].
16489 (struct _Jv_reent): _freelist now a _Jv_Bigint**. Removed
16490 _allocation_map, num. Added _max_k.
16492 2006-06-09 Roman Kennke <kennke@aicas.com>
16494 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16495 (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16498 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16500 * java/awt/image/BufferedImage.java
16501 (BufferedImage(int, int, int)): Added API docs,
16502 (getProperty(String)): Return correct value for undefined properties,
16503 (getPropertyNames()): Added comments and removed FIXME.
16505 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
16507 * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16508 (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16510 2006-06-09 Francis Kung <fkung@redhat.com>
16512 * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16513 (getPreferredSize): Return correct height for null or empty
16516 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16518 * java/awt/datatransfer/DataFlavor.java
16519 (readExternal): Mark as stub,
16520 (writeExternal): Likewise,
16521 * java/awt/dnd/DropTargetContext.java
16522 (dropComplete): Mark as stub,
16523 (acceptDrag): Likewise,
16524 (rejectDrag): Likewise,
16525 (acceptDrop): Likewise,
16526 (rejectDrop): Likewise,
16527 (getCurrentDataFlavors): Likewise,
16528 (getTransferable): Likewise,
16529 * java/awt/dnd/DropTargetDropEvent.java
16530 (dropComplete): Mark as stub.
16532 2006-06-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16534 * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16535 (constructor): Do not lowercase the values.
16536 * javax/swing/text/html/HTMLDocument.java
16537 (HTMLReader.addSpecialElement): Implemented.
16538 * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16540 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16542 On behalf of Matthew Wringe <mwringe@redhat.com>
16543 * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16544 * gnu/javax/crypto/pad/ISO10126.java: New class.
16545 * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16546 (getInstance): Added support for ISO-10126 scheme.
16547 (getNames): Likewise.
16548 Cache result for speed.
16550 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16552 * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16553 flexible self-test by sub-classes.
16554 (test1BlockSize): New method.
16556 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16558 * javax/swing/plaf/basic/BasicLookAndFeel.java
16559 (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16560 * javax/swing/plaf/basic/BasicScrollBarUI.java
16561 (installKeyboardActions): Implemented,
16562 (uninstallKeyboardActions): Implemented,
16563 (getInputMap): New method,
16564 (getActionMap): New method,
16565 (createActionMap): New method,
16566 (installUI): Call installKeyboardActions(),
16567 (uninstallUI): Call uninstallKeyboardActions().
16569 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16571 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16572 (getActionMap): Use correct key to store action map.
16574 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16576 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16577 (executeInstruction): Added NOT support.
16579 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16581 * sun/reflect/annotation/AnnotationInvocationHandler.java:
16584 2006-06-08 Tom Tromey <tromey@redhat.com>
16586 * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16589 2006-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
16591 * java/lang/management/RuntimeMXBean.java:
16594 2006-06-08 Lillian Angel <langel@redhat.com>
16596 * native/plugin/gcjwebplugin.cc:
16597 (NP_Shutdown): Freed whitelist_filename.
16599 2006-06-08 Lillian Angel <langel@redhat.com>
16601 * native/plugin/Makefile.am:
16602 Removed DATA_DIRECTORY.
16603 * native/plugin/gcjwebplugin.cc:
16604 Added new global fields for whitelist_file
16605 and data_directory. Removed WHITELIST_FILE.
16606 (NP_Initialize): Initialized new fields. Also,
16607 Changed to use new fields.
16608 (NP_Shutdown): Freed data_directory.
16609 (GCJ_New): Changed to use new fields.
16610 (plugin_ask_user_about_documentbase): Likewise.
16612 2006-06-08 Lillian Angel <langel@redhat.com>
16614 * native/plugin/Makefile.am:
16615 Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16616 * native/plugin/gcjwebplugin.cc:
16617 Changed all instances of PLUGIN_DATA_DIRECTORY
16620 2006-06-08 Roman Kennke <kennke@aicas.com>
16622 * java/awt/LightweightDispatcher.java
16623 (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16624 with convertPointToChild(). This is more efficient and avoids
16625 problems with getLocationOnScreen().
16626 (findTarget): Check for component beeing showing() early.
16627 Simplified AWTUtilities.convertPoint() to a simple substraction
16629 (convertPointToChild): New helper method.
16631 2006-06-08 Thomas Fitzsimmons <fitzsim@redhat.com>
16633 * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16636 2006-06-08 Tom Fitzsimmons <fitzsim@redhat.com>
16637 Lillian Angel <langel@redhat.com>
16639 * native/plugin/gcjwebplugin.cc
16640 (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16641 Also, reset initialized field.
16643 2006-06-08 Lillian Angel <langel@redhat.com>
16645 * javax/swing/plaf/basic/BasicProgressBarUI.java
16646 (paintString): Fixed to paint string at the correct location.
16648 2006-06-08 Roman Kennke <kennke@aicas.com>
16650 * javax/swing/plaf/basic/BasicTreeUI.java
16651 (createDefaultActions): Added new actions.
16652 (TreePageAction.TreePageAction): Set action name.
16653 (TreePageAction.actionPerformed): Implemented.
16654 (TreePageAction.isEnabled): Implemented.
16655 (TreeToggleAction.TreePageAction): Set action name.
16656 (TreeToggleAction.actionPerformed): Implemented.
16657 (TreeToggleAction.isEnabled): Implemented.
16658 (TreeTraverseAction.TreeTraverseAction): Set action name.
16659 (TreeTraverseAction.actionPerformed): Use action name as command.
16660 (TreeTraverseAction.isEnabled): Implemented.
16662 2006-06-08 Roman Kennke <kennke@aicas.com>
16664 * javax/swing/plaf/basic/BasicTreeUI.java
16665 (installKeyboardActions): Rewritten to correctly install the UI
16666 input and action maps.
16667 (getActionMap): New helper method.
16668 (createDefaultActionMap): New helper method.
16669 (TreeHomeAction.TreeHomeAction()): Implemented.
16670 (TreeHomeAction.actionPerformed): Implemented.
16671 (TreeHomeAction.isEnabled): Implemented.
16672 (TreeIncrementAction.TreeIncrementAction()): Implemented.
16673 (TreeIncrementAction.actionPerformed): Use action name as command.
16674 (TreeIncrementAction.isEnabled): Implemented.
16676 2006-06-08 Mark Wielaard <mark@klomp.org>
16679 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16680 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16683 2006-06-08 Mark Wielaard <mark@klomp.org>
16685 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16686 (attrs): Removed unused static.
16688 2006-06-08 David Gilbert <david.gilbert@object-refinery.com>
16690 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16691 (getInputMap): New method,
16692 (getActionMap): New method,
16693 (createActionMap): New method,
16694 (installKeyboardActions): Implemented,
16695 (uninstallKeyboardActions): Implemented.
16697 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16699 * javax/swing/border/MatteBorder.java:
16700 (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16702 (paintBorder): Added if-statement to abort painting early.
16704 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16707 * gnu/xml/dom/DomIterator.java:
16708 (successor): Changed expression.
16710 2006-06-08 Sven de Marothy <sven@physto.se>
16712 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16713 (defaultLayout): Do kerning.
16714 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16715 (getKerning): Correct class name, removed unused variable.
16717 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
16719 * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16720 libqtpeer.so unconditionally.
16722 2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
16724 * java/util/InputMismatchException.java:
16727 2006-06-07 Andreas Tobler <a.tobler@schweiz.ch>
16729 * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16731 2006-06-07 Roman Kennke <kennke@aicas.com>
16733 * javax/swing/plaf/basic/BasicTreeUI.java
16734 (completeUIUninstall): Implemented.
16735 (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16736 editing before uninstalling anything.
16737 (isToggleEvent): Implemented.
16738 (selectPathForEvent): Make use of isToggleEvent().
16739 (ComponentHandler.componentMoved): Implemented.
16740 (ComponentHandler.startTimer): Implemented.
16741 (ComponentHandler.getScrollPane): Implemented.
16742 (ComponentHandler.actionPerformed): Implemented.
16744 2006-06-07 Francis Kung <fkung@redhat.com>
16746 * javax/swing/JMenuBar.java:
16747 (getSubElements): Do not return null values.
16749 2006-06-07 Roman Kennke <kennke@aicas.com>
16752 * gnu/regexp/BacktrackStack.java
16753 * gnu/regexp/CharIndexed.java
16754 * gnu/regexp/CharIndexedCharArray.java
16755 * gnu/regexp/CharIndexedCharSequence.java
16756 * gnu/regexp/CharIndexedInputStream.java
16757 * gnu/regexp/CharIndexedString.java
16758 * gnu/regexp/CharIndexedStringBuffer.java
16759 * gnu/regexp/RE.java
16760 * gnu/regexp/REException.java
16761 * gnu/regexp/REFilterInputStream.java
16762 * gnu/regexp/REMatch.java
16763 * gnu/regexp/REMatchEnumeration.java
16764 * gnu/regexp/RESyntax.java
16765 * gnu/regexp/REToken.java
16766 * gnu/regexp/RETokenAny.java
16767 * gnu/regexp/RETokenBackRef.java
16768 * gnu/regexp/RETokenChar.java
16769 * gnu/regexp/RETokenEnd.java
16770 * gnu/regexp/RETokenEndOfPreviousMatch.java
16771 * gnu/regexp/RETokenEndSub.java
16772 * gnu/regexp/RETokenIndependent.java
16773 * gnu/regexp/RETokenLookAhead.java
16774 * gnu/regexp/RETokenLookBehind.java
16775 * gnu/regexp/RETokenNamedProperty.java
16776 * gnu/regexp/RETokenOneOf.java
16777 * gnu/regexp/RETokenPOSIX.java
16778 * gnu/regexp/RETokenRange.java
16779 * gnu/regexp/RETokenRepeated.java
16780 * gnu/regexp/RETokenStart.java
16781 * gnu/regexp/RETokenWordBoundary.java
16782 * gnu/regexp/UncheckedRE.java
16783 * gnu/java/util/regex/BacktrackStack.java
16784 * gnu/java/util/regex/CharIndexed.java
16785 * gnu/java/util/regex/CharIndexedCharArray.java
16786 * gnu/java/util/regex/CharIndexedCharSequence.java
16787 * gnu/java/util/regex/CharIndexedInputStream.java
16788 * gnu/java/util/regex/CharIndexedString.java
16789 * gnu/java/util/regex/CharIndexedStringBuffer.java
16790 * gnu/java/util/regex/RE.java
16791 * gnu/java/util/regex/REException.java
16792 * gnu/java/util/regex/REFilterInputStream.java
16793 * gnu/java/util/regex/REMatch.java
16794 * gnu/java/util/regex/REMatchEnumeration.java
16795 * gnu/java/util/regex/RESyntax.java
16796 * gnu/java/util/regex/REToken.java
16797 * gnu/java/util/regex/RETokenAny.java
16798 * gnu/java/util/regex/RETokenBackRef.java
16799 * gnu/java/util/regex/RETokenChar.java
16800 * gnu/java/util/regex/RETokenEnd.java
16801 * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16802 * gnu/java/util/regex/RETokenEndSub.java
16803 * gnu/java/util/regex/RETokenIndependent.java
16804 * gnu/java/util/regex/RETokenLookAhead.java
16805 * gnu/java/util/regex/RETokenLookBehind.java
16806 * gnu/java/util/regex/RETokenNamedProperty.java
16807 * gnu/java/util/regex/RETokenOneOf.java
16808 * gnu/java/util/regex/RETokenPOSIX.java
16809 * gnu/java/util/regex/RETokenRange.java
16810 * gnu/java/util/regex/RETokenRepeated.java
16811 * gnu/java/util/regex/RETokenStart.java
16812 * gnu/java/util/regex/RETokenWordBoundary.java
16813 * gnu/java/util/regex/UncheckedRE.java
16814 Moved gnu.regexp classes to gnu.java.util.regex package.
16815 * java/util/regex/Matcher.java
16816 * java/util/regex/Pattern.java
16817 Adjusted import statements for new package name for gnu regexp.
16819 2006-06-07 Tom Tromey <tromey@redhat.com>
16821 PR classpath/27905:
16822 * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
16823 Added missing charsets.
16824 (charsetForName): Don't check 'extendedLoaded'.
16826 2006-06-07 Roman Kennke <kennke@aicas.com>
16829 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16830 (clip(Shape)): Implemented correctly, so that the current shape
16831 gets intersected by the parameter shape.
16833 2006-06-07 Lillian Angel <langel@redhat.com>
16835 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16836 (getTabBounds): If this method is called with a tab index
16837 that is not in the rects array, we need to re-layout the container
16840 2006-06-07 Lillian Angel <langel@redhat.com>
16842 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16843 (FreetypeGlyphVector): Removed assignment. Caused compilation error.
16844 * java/lang/String.java
16845 (codePointCount): Fixed check to match API. Shouldn't throw exception
16846 if end == count. end is 1 more than the endIndex, so end == count is
16849 2006-06-07 Gary Benson <gbenson@redhat.com>
16852 * native/jni/java-io/java_io_VMFile.c
16853 (Java_java_io_VMFile_toCanonicalForm): New method.
16854 * configure.ac: Added checks for lstat and readlink.
16855 * include/java_io_VMFile.h: Added new method.
16856 * vm/reference/java/io/VMFile.java: Use new method.
16857 * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
16858 * NEWS: Documented the above.
16859 * java/io/File.java: Javadoc fix.
16861 2006-06-07 Roman Kennke <kennke@aicas.com>
16864 * javax/swing/JTree.java
16865 (JTree()): Initialize with default model.
16866 (JTree(TreeModel)): Clear expanded state hashtable. Added comment
16867 on the updateUI() / setModel() order.
16868 (setModel): Correctly (un-)setup the listeners. Clear the expanded
16870 * javax/swing/plaf/basic/BasicTreeUI.java
16871 (BasicTreeUI()): Initialize listeners in installListeners().
16872 (setModel): Complete editing on model change. Correctly resetup
16873 the listeners. Update the layout cache accordingly.
16874 (setShowRootHandles): Complete editing and update layout. Do not
16875 call back into the JTree, this could cause cycles.
16876 (prepareForUIInstall): Implemented. Moved some init code from
16877 installUI() to this method.
16878 (completeUIInstall): Implemented. Moved some init code from
16879 installUI() to this method.
16880 (createDefaultCellEditor): Check for type of renderer, and install
16881 with null renderer when not DefaultTreeCellRenderer.
16882 (updateLayoutCacheExpandedNodes): Added null check for tree root
16884 (updateRenderer): Call updateEditor().
16885 (installListeners): Initialize the listeners here. Added some null
16886 checks to avoid NPEs.
16887 (installUI): Moved some init code to prepareForUIInstall() and
16888 completeUIInstall().
16889 (completeEditing): Return immediately if editing component is null
16890 or if the setting is to not stop editing on complete editing.
16891 (checkForClickInExpandControl): Call handleExpandControlClick()
16892 instead of toggleExpandState() directly.
16893 (isLocationInExpandControl): Rewritten to correctly determine the
16894 expand click location.
16895 (MouseHandler.mousePressed): Rewritten to make better use of the
16896 instance methods of BasicTreeUI to handle the click.
16897 (PropertyHandler.propertyChange): Handle model and cell renderer
16899 * javax/swing/tree/DefaultTreeCellEditor.java
16900 (DefaultTreeCellEditor): Removed initialization of the icon. This
16901 is done so that the constructor can deal with null renderer as the
16902 RI does. Maybe this needs more fixing.
16903 * javax/swing/tree/TreePath.java
16904 (isDescendant): Fixed this method. The previous version did too
16905 much and compared the wrong things, which lead to a ClassCastException
16907 * javax/swing/tree/VariableHeightLayoutCache.java
16908 (update): Do nothing when model is null.
16909 (setModel): Clear the tables and update the layout. Added null
16910 check to prevent NPE.
16912 2006-06-07 Sven de Marothy <sven@physto.se>
16914 * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
16916 2006-06-07 Sven de Marothy <sven@physto.se>
16918 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16919 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16920 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16923 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16924 (getGlyphVector): Removed native method.
16925 (createGlyphVector, getStringBounds): Use new GV class.
16927 * include/Makefile.am
16928 * native/jni/gtk-peer/Makefile.am
16931 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
16932 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16933 (getGlyphVector): Removed native method.
16935 2006-06-07 Chris Burdess <dog@gnu.org>
16937 * gnu/classpath/debug/TeeInputStream.java,
16938 gnu/classpath/debug/TeeOutputStream.java,
16939 gnu/classpath/debug/TeeReader.java,
16940 gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
16941 * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
16942 read more characters than absolutely necessary in tryRead method.
16944 2006-06-07 Robert Schuster <robertschuster@fsfe.org>
16946 * examples/gnu/classpath/examples/swing/Demo.java:
16947 (mkMenuBar): Put look and feel radio buttons into
16948 appropriate button group.
16950 2006-06-07 Chris Burdess <dog@gnu.org>
16952 * gnu/xml/stream/SAXParser.java,
16953 gnu/xml/stream/XMLParser.java: Add command line options for setting
16954 parsing parameters (for simpler debugging).
16955 * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
16956 closing output stream is propagated to application.
16958 2006-06-06 Mark Wielaard <mark@klomp.org>
16961 * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
16962 * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
16963 call disposeSurface.
16964 (disposeSurface): New native method.
16965 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16966 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
16968 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16969 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
16970 cairo_pattern_destroy.
16971 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16972 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16973 New function to destroy the surface.
16974 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16975 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
16976 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
16978 2006-06-06 Mark Wielaard <mark@klomp.org>
16980 * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
16983 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16985 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
16986 (paint): If has focus, paint special background color,
16987 * javax/swing/plaf/basic/BasicSplitPaneUI.java
16988 (FocusHandler.focusGained): Implemented,
16989 (FocusHandler.focusLost): Implemented.
16991 2006-06-06 Tom Tromey <tromey@redhat.com>
16993 * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
16995 (writeAttributeSet): Implemented.
16997 2006-06-06 Tom Tromey <tromey@redhat.com>
16999 * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
17001 (SpecialAction.end): Removed.
17002 (IsindexAction.end): Likewise.
17004 2006-06-06 Tom Tromey <tromey@redhat.com>
17006 * include/jni.h (JDK1_1InitArgs): New struct.
17007 (JDK1_1AttachArgs): Likewise.
17009 2006-06-06 Tom Tromey <tromey@redhat.com>
17011 * java/security/UnresolvedPermission.java (getUnresolvedType): New
17013 (getUnresolvedName): New method.
17014 (getUnresolvedActions): New method.
17015 (getUnresolvedCerts): New method.
17017 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17019 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
17020 (getColor): Removed debugging code.
17022 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17024 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
17025 (getColor): Added support for "rgb(red, green, blue)" notation.
17026 (translateTag): Use Boolean.TRUE, not new Boolean().
17028 2006-06-06 Roman Kennke <kennke@aicas.com>
17031 * javax/swing/JTree.java
17032 (JTree(TreeModel)): Call updateUI() before setModel().
17033 (setModel): Don't call updateUI here.
17035 2006-06-06 Lillian Angel <langel@redhat.com>
17037 * native/plugin/gcjwebplugin.cc:
17038 Fixed failure message and commenting.
17039 (NP_Initialize): Added more comments.
17041 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17043 * javax/swing/JSplitPane.java
17044 (AccessibleJSplitPane): API doc fixes,
17045 (setDividerLocation): Likewise,
17046 * javax/swing/plaf/basic/BasicLookAndFeel.java
17047 (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
17048 * javax/swing/plaf/basic/BasicSplitPaneUI.java
17049 (getInputMap): New method,
17050 (getActionMap): New method,
17051 (createActionMap): New method,
17052 (installKeyboardActions): Implemented,
17053 (uninstallKeyboardActions): Implemented.
17055 2006-06-06 Roman Kennke <kennke@aicas.com>
17058 * javax/swing/MenuSelectionManager.java
17059 (processKeyEvent): Added check to avoid
17060 ArrayIndexOutOfBoundsException.
17062 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17064 * gnu/javax/swing/text/html/htmlAttributeSet.java
17065 (getAttributeNames): Rewritten
17067 2006-06-06 Chris Burdess <dog@gnu.org>
17069 * gnu/xml/transform/TransformerImpl.java: Check type of created
17070 document (more cases).
17072 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17074 * gnu/javax/swing/text/html/htmlAttributeSet.java
17075 (clone): New method. (copyAttributes): New method.
17076 (getResolveParent): Comment fix. (getAttribute):
17077 Rewritten. (addAttribute): Rewritten.
17078 * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
17081 2006-06-06 Roman Kennke <kennke@aicas.com>
17084 * javax/swing/JMenuBar.java
17085 (processKeyBindingHelper): Added null check to prevent NPE.
17087 2006-06-06 Roman Kennke <kennke@aicas.com>
17089 * javax/swing/plaf/basic/BasicInternalFrameUI.java
17090 (ShowSystemMenuAction): New class.
17091 (installKeyboardActions): Implemented.
17092 (uninstallKeyboardActions): Implemented.
17093 * javax/swing/plaf/metal/MetalInternalFrameUI.java
17094 (installKeyboardActions): Overridden to remove showSystemMenu action.
17096 2006-06-06 Chris Burdess <dog@gnu.org>
17098 * gnu/xml/transform/TransformerImpl.java: Check type of created
17101 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17103 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
17104 (getScreenDevices): Added explicit cast.
17106 2006-06-06 Roman Kennke <kennke@aicas.com>
17108 * javax/swing/plaf/basic/BasicTextUI.java
17109 (installKeyboardActions): Use shared input map. Correctly
17110 install the input/action maps in the component's input/action
17112 (getActionMap): New helper method for fetching an ActionMap from
17113 the UIManager or creating a default one if there is none supplied
17115 (createActionMap): Add the TransferHandler's actions here. Made
17117 (getInputMap): Leave out unnecessary method parameter. Load
17119 * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
17121 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17123 * configure.ac: Added missing [ to expression.
17125 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17127 * configure.ac: Added missing { to expression.
17129 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17131 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
17132 * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
17133 * include/Makefile.am: Added
17134 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
17135 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
17136 (GdkGraphicsConfiguration): Rewritten.
17137 (getColorModel): Rewritten.
17138 (getColorModel(int)): Rewritten.
17139 (getBounds): Rewritten.
17140 (createCompatibleVolatileImage): Implemented.
17141 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
17143 (getDefaultScreenDevice): Rewritten.
17144 (nativeGetDefaultScreenDevice): New method.
17145 (getScreenDevices): Rewritten.
17146 (nativeGetScreenDevices): New method.
17147 (nativeInitState): New method.
17148 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
17150 (X11DisplayMode): New inner class.
17151 * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
17152 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
17153 * native/jni/gtk-peer/gdkdisplay.h: New file.
17154 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
17155 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
17157 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
17159 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17160 _nativeGetScreenDevices):
17162 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17163 _nativeGetDefaultScreenDevice):
17165 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
17167 * configure.ac: Added check for Xrandr library.
17169 2006-06-06 Roman Kennke <kennke@aicas.com>
17171 * javax/swing/plaf/basic/BasicTableUI.java
17172 (getMaximumSize): Don't return null. Fixed calculation of
17174 (getMinimumSize): Don't return null. Fixed calculation of
17176 (getPreferredSize): Fixed calculation of with and height. Added
17178 (getHeight): New helper method.
17180 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17182 * javax/swing/JComponent.java
17183 (getInputMap(int)): Throw IllegalArgumentException for unknown
17184 condition argument, and added API docs,
17185 (getInputMap()): Added API docs.
17187 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17189 * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
17191 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17193 * javax/swing/JTable.java
17194 (AccessibleJTableHeaderCell.header): New field,
17195 (AccessibleJTableHeaderCell.columnIndex): Likewise,
17196 (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
17197 (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
17198 (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
17199 (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
17200 (AccessibleJTable.getAccessibleChild(int)): Overridden,
17201 (AccessibleJTable.getAccessibleAt): Reimplemented.
17203 2006-06-05 Sven de Marothy <sven@physto.se>
17205 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17206 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17207 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17208 (initFromVolatile): New method.
17209 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17210 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17212 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17213 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17214 (copyArea, drawVolatileImage): New methods.
17216 2006-06-05 Tania Bento <tbento@redhat.com>
17218 * javax/swing/JFrame.java
17219 (frameInit): Set background color and fixed layout parameters.
17221 2006-06-05 Tom Tromey <tromey@redhat.com>
17223 * NEWS: Mention VMURLConnection.
17225 2006-06-05 Lillian Angel <langel@redhat.com>
17227 * native/plugin/gcjwebplugin.cc:
17228 Added new field to keep track of initialization.
17229 (plugin_start_appletviewer): Fixed to return an error value, if
17230 an error was encountered when loading the appletviewer.
17231 (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
17233 (plugin_failed): New helper function. Shows a warning if the appletviewer
17234 has not been installed.
17235 (NP_Initialize): Added code to make sure this function is only called
17238 2006-06-05 Lillian Angel <langel@redhat.com>
17240 * native/plugin/Makefile.am:
17241 Fixed to use a set plugin directory in the .mozilla directory.
17242 All applet logs are now stored here, instead of /tmp.
17243 * native/plugin/gcjwebplugin.cc:
17244 Added new fields for security warning.
17245 (GCJ_NEW): Added code to generate a security warning for all pages
17246 that spawn an appletviewer. This warning asks the user if they trust
17247 the applet and if they would like to add it to a 'whitelist'. This
17248 whitelist keeps track of all the addresses the user would like
17249 to trust indefinitely.
17250 (plugin_user_trusts_documentbase): New helper function.
17251 (plugin_add_documentbase_to_whitelist): New helper function.
17252 (plugin_ask_user_about_documentbase): New helper function.
17253 (plugin_in_pipe_callback): Fixed check to determine if channel_error
17255 (plugin_start_appletviewer): Likewise.
17256 (plugin_create_applet_tag): Reset all fields to null after they have been
17258 (plugin_send_message_to_appletviewer): Fixed all error checks to determine
17259 if channel_error has been set.
17260 (plugin_stop_appletviewer): Likewise.
17261 (NP_Initialize): Likewise. Also, added code to determine if directory and file
17264 2006-06-05 Francis Kung <fkung@redhat.com>
17267 * gnu/java/awt/peer/gtk/GtkImage.java
17268 (getSource): Added check to determine if in
17269 errorLoading state.
17270 * gnu/java/awt/peer/gtk/GtkToolkit.java
17271 (createImage): Added check to prevent NPE.
17273 2006-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17275 * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
17276 Create the ImageView, when applicable.
17277 * gnu/javax/swing/text/html/CombinedAttributes.java,
17278 javax/swing/text/html/ImageView.java: New files.
17280 2006-06-05 Roman Kennke <kennke@aicas.com>
17283 * javax/swing/text/GapContent.java
17284 (setPositionsInRange): Compare with startIndex and endIndex
17285 rather than start and end.
17286 (dumpMarks): Only dump real marks.
17288 2006-06-05 Sven de Marothy <sven@physto.se>
17290 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17291 (ComponentGraphics): Use 0,0 as clip origin.
17293 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17295 * java/util/Formattable.java,
17296 * java/util/FormattableFlags.java,
17297 * java/util/Formatter.java:
17300 2006-06-04 Tom Tromey <tromey@redhat.com>
17302 * javax/naming/Context.java (list): Genericized.
17303 (listBindings): Likewise.
17304 * javax/naming/Reference.java (addrs): Genericized.
17305 * javax/naming/InitialContext.java (myProps): Fixed type.
17306 (init): Genericized.
17308 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17310 * java/util/DuplicateFormatFlagsException.java,
17311 * java/util/FormatFlagsConversionMismatchException.java,
17312 * java/util/FormatterClosedException.java,
17313 * java/util/IllegalFormatCodePointException.java,
17314 * java/util/IllegalFormatConversionException.java,
17315 * java/util/IllegalFormatException.java,
17316 * java/util/IllegalFormatFlagsException.java,
17317 * java/util/IllegalFormatPrecisionException.java,
17318 * java/util/IllegalFormatWidthException.java,
17319 * java/util/MissingFormatArgumentException.java,
17320 * java/util/MissingFormatWidthException.java,
17321 * java/util/UnknownFormatConversionException.java,
17322 * java/util/UnknownFormatFlagsException.java:
17325 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17327 * java/lang/System.java:
17328 (getenv()): Handle cases where split only
17329 returns an array of size 1.
17331 2006-06-04 Sven de Marothy <sven@physto.se>
17333 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17334 (createVolatileImage): Pass peer to VolatileImage constructor.
17335 * java/awt/Component.java
17336 (createVolatileImage): Call peer method directly.
17338 2006-06-04 Sven de Marothy <sven@physto.se>
17340 * gnu/java/awt/peer/gtk/CairoSurface.java
17341 (getFlippedBuffer): New method.
17342 (getGtkImage): Renamed method.
17343 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17344 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17345 Renamed getSharedImage to getGtkImage.
17346 * include/gnu_java_awt_peer_gtk_CairoSurface.h
17347 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17348 (getFlippedBuffer): New method
17349 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17350 Avoid window casts.
17351 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17353 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17354 (drawVolatile): Add casts.
17355 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
17356 (getOutline): Add casts.
17357 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
17358 Comment out unused prototype.
17359 (getPixels): Add appropriate cast and comment out unused variable.
17361 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17363 * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
17364 * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
17365 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
17366 * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
17367 (getSystemInstance): Fix javadoc @link.
17368 (counter): Increased visibility.
17369 * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
17370 * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
17371 * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
17372 * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
17373 * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
17374 * gnu/javax/crypto/mode/CTR.java: Remove unused import.
17375 * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
17376 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
17377 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
17378 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
17379 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
17380 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
17381 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
17382 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
17383 * gnu/javax/crypto/mac/OMAC.java: Likewise.
17384 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
17385 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
17386 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
17387 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
17388 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
17389 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
17390 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
17391 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
17392 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
17393 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
17394 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
17395 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
17396 * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
17397 * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
17398 * gnu/javax/crypto/assembly/Direction.java: Likewise.
17399 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
17401 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17403 * gnu/java/security/PolicyFile.java: Updated copyright year.
17404 (logger): Increased visibility.
17405 * gnu/java/security/x509/Util.java: Updated copyright year.
17406 (hexDump): Fix javadoc @link.
17407 * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
17408 Removed unused import.
17409 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
17410 * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
17411 * gnu/java/security/util/ExpirableObject.java: Likewise.
17412 (destroy): Likewise.
17413 * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
17414 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
17415 Updated copyright year.
17416 (checkCRL): Fix javadoc @param.
17418 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17420 * java/lang/annotation/IncompleteAnnotationException.java:
17423 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17425 * java/lang/ProcessBuilder.java:
17427 (environment): Create as a copy.
17428 * java/lang/System.java:
17429 (EnvironmentMap.EnvironmentMap(Map<String,String>)):
17431 (EnvironmentMap.put(String,String)): Override superclass
17432 method with checks for nulls and non-Strings.
17434 2006-06-02 Sven de Marothy <sven@physto.se>
17436 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17437 (cairoPreserveClip, cairoResetClip): New methods.
17438 (setClip, clip): Reimplement.
17439 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17440 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17441 (cairoPreserveClip, cairoResetClip): New methods.
17443 2006-06-02 Sven de Marothy <sven@physto.se>
17445 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17446 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17447 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17449 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17450 (drawImage): Overloads for VolatileImage drawing.
17451 (drawVolatile): New method.
17452 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17453 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17454 (drawVolatile): New method.
17455 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17456 Unstub implementation.
17457 * include/Makefile.am
17458 * native/jni/gtk-peer/Makefile.am
17460 * native/jni/gtk-peer/gtkpeer.h
17463 2006-06-03 Roman Kennke <kennke@aicas.com>
17466 * javax/swing/plaf/basic/BasicTextUI.java
17467 (damageRange): Added null check to avoid NPE.
17469 2006-06-03 Roman Kennke <kennke@aicas.com>
17471 * javax/swing/text/PlainView.java
17472 (updateDamage): Check for valid longestLine and initialize if
17475 2006-06-03 Mark Wielaard <mark@klomp.org>
17477 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17480 2006-06-02 Sven de Marothy <sven@physto.se>
17483 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17484 (copyArea): Implement.
17485 (copyAreaImpl, getRealBounds): New methods.
17486 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17487 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17488 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17489 (copyAreaImpl, getRealBounds): Implement.
17490 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17491 (nativeCopyArea): Reimplement.
17493 2006-06-02 Andreas Tobler <a.tobler@schweiz.ch>
17495 * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17496 (XTEST_LIBS): New, substitute.
17497 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17499 2006-06-02 Roman Kennke <kennke@aicas.com>
17502 * javax/swing/text/PlainView.java
17503 (updateDamage): Rewritten for correct repainting and revalidating.
17504 (findLongestLine): New helper method.
17505 (getLineLength): New helper method.
17507 2006-06-02 Sven de Marothy <sven@physto.se>
17509 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17510 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17511 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17512 (nativeCopyArea): Change stride parameter to use # of ints.
17513 (setPixels): Add checks.
17514 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17515 (ComponentGraphics): Set background, clip.
17516 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17517 (Cairographics2D): Don't set clip.
17518 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17521 2006-06-02 Lillian Angel <langel@redhat.com>
17524 * java/awt/DefaultKeyboardFocusManager.java
17525 (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17526 to get the focused window.
17528 2006-06-01 Miriam Schuster <schmir11@web.de>
17530 * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17531 Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17533 2006-06-02 Roman Kennke <kennke@aicas.com>
17535 * javax/swing/JTable.java
17536 (columnSelectionChanged): Don't return when there's only one
17537 column (might still need repainting). Correctly calculate
17539 (valueChanged): Use return value of SwingUtilities.computeUnion
17542 2006-06-01 Keith Seitz <keiths@redhat.com>
17544 From Martin Platter <motse@complang.tuwien.ac.at>:
17545 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17546 (executeSet): Fix buffer underflow reading reference ID.
17547 * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17548 (executeParent): Fix NPE if ThreadGroup is top-level ThreadGroup.
17549 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17550 (executeSuperclass): Handle case of Object with ID zero.
17552 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17554 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17555 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17556 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17557 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17558 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17559 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17560 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17561 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17562 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17563 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17564 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17566 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17568 * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17569 (Command): Add the shutdown hook.
17570 (doCommand): Remove the shutdown hook.
17571 (ShutdownHook): New class.
17573 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17575 * tools/jarsigner.in: Use @VM_BINARY@.
17576 * tools/keytool.in: Likewise.
17578 2006-06-01 Sven de Marothy <sven@physto.se>
17580 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17581 (setColor): Update the cairo paint.
17583 2006-06-01 Mark Wielaard <mark@klomp.org>
17585 * java/util/logging/LogManager.java (createInstance): Always add
17586 original exception on warning.
17588 2006-06-01 Lillian Angel <langel@redhat.com>
17590 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17591 (prependCodebase): Fixed check. No dirname was ever considered to
17592 be a file, so every applet fell into the if-statement causing a lot
17593 of classloading problems with the applets.
17595 2006-06-01 Sven de Marothy <sven@physto.se>
17597 Patch submitted by Boris Dusek.
17598 * native/jni/qt-peer/qtmenupeer.cpp
17601 2006-06-01 Roman Kennke <kennke@aicas.com>
17603 * javax/swing/JTable.java
17604 (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17605 why the behaviour is like it is.
17606 (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17607 (AccessibleJTableHeader): New inner class.
17608 (AccessibleJTableHeaderCell): New inner class.
17609 (AccessibleJTable.lastSelectedRow): New field.
17610 (AccessibleJTable.lastSelectedColumn): New field.
17611 (AccessibleJTable.caption): New field.
17612 (AccessibleJTable.summary): New field.
17613 (AccessibleJTable.rowDescriptions): New field.
17614 (AccessibleJTable.columnDescriptions): New field.
17615 (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17616 (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17617 (AccessibleJTable.isAccessibleChildSelected): Implemented.
17618 (AccessibleJTable.addAccessibleSelection): Implemented.
17619 (AccessibleJTable.removeAccessibleSelection): Implemented.
17620 (AccessibleJTable.clearAccessibleSelection): Implemented.
17621 (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17622 (AccessibleJTable.valueChange): Implemented.
17623 (AccessibleJTable.tableRowsInserted): Implemented.
17624 (AccessibleJTable.tableRowsDeleted): Implemented.
17625 (AccessibleJTable.handleRowChange): New helper method.
17626 (AccessibleJTable.columnAdded): Implemented.
17627 (AccessibleJTable.columnMarginChanged): Implemented.
17628 (AccessibleJTable.columnMoved): Implemented.
17629 (AccessibleJTable.columnRemoved): Implemented.
17630 (AccessibleJTable.columnSelectionChanged): Implemented.
17631 (AccessibleJTable.handleColumnChange): New helper method.
17632 (AccessibleJTable.editingCanceled): Implemented.
17633 (AccessibleJTable.editingStopped): Implemented.
17634 (AccessibleJTable.getAccessibleRow): Implemented.
17635 (AccessibleJTable.getAccessibleColumn): Implemented.
17636 (AccessibleJTable.getAccessibleIndex): Implemented.
17637 (AccessibleJTable.getAccessibleCaption): Implemented.
17638 (AccessibleJTable.setAccessibleCaption): Implemented.
17639 (AccessibleJTable.getAccessibleSummary): Implemented.
17640 (AccessibleJTable.setAccessibleSummary): Implemented.
17641 (AccessibleJTable.getAccessibleRowCount): Implemented.
17642 (AccessibleJTable.getAccessibleColumnCount): Implemented.
17643 (AccessibleJTable.getAccessibleAt): Implemented.
17644 (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17645 (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17646 (AccessibleJTable.getAccessibleRowHeader): Implemented.
17647 (AccessibleJTable.setAccessibleRowHeader): Implemented.
17648 (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17649 (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17650 (AccessibleJTable.getAccessibleRowDescription): Implemented.
17651 (AccessibleJTable.setAccessibleRowDescription): Implemented.
17652 (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17653 (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17654 (AccessibleJTable.isAccessibleSelected): Implemented.
17655 (AccessibleJTable.isAccessibleRowSelected): Implemented.
17656 (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17657 (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17658 (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17659 (getAccessibleContext): Register listeners for the accessibility
17660 class on the JTable.
17662 2006-06-01 Sven de Marothy <sven@physto.se>
17664 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17665 (setPaint): Scale +1 pixel larger.
17667 2006-06-01 Sven de Marothy <sven@physto.se>
17670 * gnu/java/awt/Buffers.java (getData): Reimplement.
17671 * gnu/java/awt/peer/gtk/CairoSurface.java
17672 (getElem, setElem): Call native methods.
17674 2006-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17676 * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17678 2006-06-01 Sven de Marothy <sven@physto.se>
17680 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17681 (drawImage): Check for zero size.
17682 * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17683 (setFont): Declare new native method.
17684 (GdkTextLayout): Read some attributes.
17685 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17686 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17687 (setFont): New native method.
17689 2006-06-01 Sven de Marothy <sven@physto.se>
17691 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17692 (updateBufferedImage): Fix some errors.
17694 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17696 * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style
17698 * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17699 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17700 * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17701 * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17702 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17703 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17704 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17705 * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17706 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17707 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17709 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17711 * javax/swing/JComboBox.java: Minor source code formatting fixes,
17712 * javax/swing/JEditorPane.java: Likewise,
17713 * javax/swing/JFormattedTextField.java: Likewise,
17714 * javax/swing/JLayeredPane.java: Likewise,
17715 * javax/swing/JScrollPane.java: Likewise,
17716 * javax/swing/JSlider.java: Likewise,
17717 * javax/swing/JSpinner.java: Likewise,
17718 * javax/swing/JTree.java: Likewise,
17719 * javax/swing/JViewport.java: Likewise,
17720 * javax/swing/UIDefaults.java: Likewise,
17721 * javax/swing/UIManager.java: Likewise.
17723 2006-06-01 Sven de Marothy <sven@physto.se>
17725 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17726 (BufferedImageGraphics): Cache surfaces.
17727 (updateBufferedImage): Copy directly for certain color models.
17728 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17729 (drawImage): Reimplement.
17731 2006-06-01 Sven de Marothy <sven@physto.se>
17733 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17734 (setPixels): Don't swap, correct size.
17736 2006-05-31 Anthony Green <green@redhat.com>
17739 * java/net/InetSocketAddress.java: Defer getting the host
17740 name until somebody calls InetSocketAddress.getHostName().
17741 Fix "represenation" typo.
17743 2006-06-01 Sven de Marothy <sven@physto.se>
17745 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17746 (updateBufferedImage): Simplify.
17747 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17748 (getPixels): Don't swap.
17750 2006-06-01 Sven de Marothy <sven@physto.se>
17752 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17753 (setGradient): Reimplement.
17755 2006-06-01 Andreas Tobler <a.tobler@schweiz.ch>
17757 * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17758 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17759 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17760 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17761 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17762 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17763 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17766 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17768 * javax/swing/table/JTableHeader.java
17769 (getColumnHeaderRenderer): New method,
17770 (getAccessibleColumnHeaderRenderer): Delegate part to new
17771 getColumnHeaderRenderer() method,
17772 (getLocale): Implemented.
17774 2006-05-31 Andreas Tobler <a.tobler@schweiz.ch>
17776 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17777 (cp_gtk_grab_current_drawable): Rename
17778 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17779 cp_gtk_grab_current_drawable, remove static declaration.
17780 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17782 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17783 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17784 Remove prototype of
17785 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17786 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17788 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17789 * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17790 cp_gtk_grab_current_drawable here.
17792 2006-05-31 Sven de Marothy <sven@physto.se>
17794 Should fix PR 27835
17795 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17796 (updateBufferedImage): Keep within image bounds.
17798 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
17799 Andreas Tobler <a.tobler@schweiz.ch>
17801 * configure.ac: Check for libXrender when the GTK peers are
17802 enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17804 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17805 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17806 [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17808 2006-05-31 Lillian Angel <langel@redhat.com>
17810 * javax/swing/plaf/basic/BasicProgressBarUI.java
17811 (paintString): Implemented to paint the string vertically.
17813 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17815 * javax/swing/JTable.java
17816 (AccessibleJTable.AccessibleJTable()): Check for null editor,
17817 (AccessibleJTable.getAccessibleRole()): Overridden to return correct
17819 (AccessibleJTable.getAccessibleTable()): Likewise,
17820 (getAccessibleContext): Create new context if required.
17822 2006-05-31 Roman Kennke <kennke@aicas.com>
17824 * javax/swing/JTabbedPane.java
17825 (AccessibleJTabbedPane.stateChanged): Implemented.
17826 (Page.getAccessibleStateSet): Implemented.
17827 (Page.getAccessibleIndexInParent): Implemented.
17828 (getAccessibleContext): Add AccessibleJTabbedPane object
17829 as ChangeListener to the JTabbedPane.
17831 2006-05-31 Roman Kennke <kennke@aicas.com>
17833 * javax/swing/JMenuItem.java
17834 (getAccessibleContext): Register accessible object as ChangeListener
17836 (AccessibleJMenuItem.armed): New field.
17837 (AccessibleJMenuItem.focusOwner): New field.
17838 (AccessibleJMenuItem.pressed): New field.
17839 (AccessibleJMenuItem.selected): New field.
17840 (stateChanged): Implemented.
17842 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17844 * javax/swing/ListSelectionModel.java: Added API docs all over.
17846 2006-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17848 * examples/gnu/classpath/examples/swing/FillRect.java
17849 (paintComponent): Optionally paint lines rather than rectangles.
17850 (createContent): Added option to test line painting.
17852 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17854 * javax/swing/event/EventListenerList.java
17855 (getListenerList): Updated API docs.
17857 2006-05-30 Sven de Marothy <sven@physto.se>
17859 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17860 (drawImage): Clip scaled image to dest rectangle.
17862 2006-05-30 Sven de Marothy <sven@physto.se>
17864 * gnu/java/awt/peer/gtk/CairoSurface.java:
17865 (CairoSurface): Convert pixels properly.
17866 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17867 Remove commented-out lines.
17869 2006-05-30 Sven de Marothy <sven@physto.se>
17871 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17872 (drawImage): Use Toolkit to convert to BufferedImage.
17873 * gnu/java/awt/peer/gtk/CairoSurface.java
17874 (CairoSurface(GtkImage)): New Constructor.
17875 (getBufferedImage): New method.
17876 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17877 Don't fill background - FIXME.
17878 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17879 Remove unused methods.
17880 * gnu/java/awt/peer/gtk/GtkImage.java:
17881 (pixbuflock): New field. Methods change to use this lock.
17882 * gnu/java/awt/peer/gtk/GtkToolkit.java
17883 (createImage): Use Cairo-backed surfaces via GtkImage instead of
17885 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17886 (setPixels): Correct length in bytes.
17888 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17890 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
17891 System.loadLibrary unconditionally.
17892 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
17893 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
17894 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
17895 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
17897 2006-05-30 Mark Wielaard <mark@klomp.org>
17899 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17900 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
17901 Mark unused parameters, remove unused variables.
17903 2006-05-30 Sven de Marothy <sven@physto.se>
17905 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17906 (copyArea): Implemented.
17907 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17908 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17909 (copyAreaNative): New method.
17911 2006-05-30 Andreas Tobler <a.tobler@schweiz.ch>
17913 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17914 (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
17915 for non big endian systems.
17916 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
17918 2006-05-30 Roman Kennke <kennke@aicas.com>
17920 * gnu/java/awt/java2d/TexturePaintContext.java: New file.
17921 * java/awt/TexturePaint.java
17922 (createContext): Implemented.
17924 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17926 * javax/swing/table/DefaultTableMode.java: Initialize dataVector
17929 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17931 * java/awt/Container.java:
17932 (removeAll): Reimplemented, added note.
17934 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17936 * java/awt/Container.java:
17937 (removeAll): Implemented different removal mechanism, added note.
17939 2006-05-30 Lillian Angel <langel@redhat.com>
17942 * java/awt/Component.java:
17943 (translateEvent): Added handling to translate WindowEvents
17944 * java/awt/Window.java:
17945 Removed unneeded imports.
17947 2006-05-30 Mark Wielaard <mark@klomp.org>
17949 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
17952 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17954 * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
17956 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17958 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17959 (clearRect): Do not reuse the fg field, call updateColor.
17960 (drawRaster): Likewise.
17961 (setColor): Call updateColor.
17962 (updateColor): New method.
17964 2006-05-30 Mark Wielaard <mark@klomp.org>
17966 * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
17967 (PTR_TO_JLONG): Likewise.
17968 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17969 (getPointer): Use new conversion macros.
17970 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
17971 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17972 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
17974 (setNativeObject): Likewise.
17975 (getNativeObject): Likewise.
17976 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17977 (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
17979 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
17980 Correctly cast XID and pointer values.
17981 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17982 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
17983 Mark unused variables.
17984 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
17986 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17987 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17988 Remove unused cairographics2d struct.
17989 (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
17990 (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
17991 Use new conversion macros.
17992 * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
17994 2006-05-30 Mark Wielaard <mark@klomp.org>
17996 * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
17998 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18000 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18001 (copy): Do not reuse the fd field.
18002 (setColor): Do not set the color if the parameter
18004 (translate(double, double): Rewritten to use
18005 AffineTransform.translate.
18007 2006-05-30 Sven de Marothy <sven@physto.se>
18009 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
18010 * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
18011 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
18013 * include/Makefile.am
18014 * native/jni/gtk-peer/Makefile.am
18016 * gnu/java/awt/peer/gtk/CairoSurface.java
18017 (getSharedGtkImage): New method.
18018 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18019 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18021 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18022 Support a non-xrender context.
18023 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18025 * gnu/java/awt/peer/gtk/GtkImage.java
18026 * include/gnu_java_awt_peer_gtk_GtkImage.h
18027 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18028 (initFromBuffer): New method.
18029 * native/jni/gtk-peer/gtkpeer.h:
18030 Remove declarations of previouslyremoved methods.
18032 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
18034 * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
18036 2006-05-29 Mark Wielaard <mark@klomp.org>
18038 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18039 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
18041 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18042 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
18043 early. Remove unused return statement in void function.
18044 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
18046 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18047 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
18049 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
18050 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
18052 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
18055 2006-05-29 Sven de Marothy <sven@physto.se>
18057 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18058 (setPixels): Remove superfluous return statement.
18060 2006-05-29 Sven de Marothy <sven@physto.se>
18062 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
18063 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18064 * gnu/java/awt/peer/gtk/CairoSurface.java
18065 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18066 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18067 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
18068 * include/gnu_java_awt_peer_gtk_CairoSurface.h
18069 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18070 * native/jni/gtk-peer/cairographics2d.h
18071 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18072 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18075 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18076 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18077 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
18080 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
18081 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18082 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18083 (releasePeerGraphicsResource): Moved to Font peer class.
18085 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
18086 (createGraphics): Use new context classes.
18088 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
18089 Use native BufferedImages where possible.
18091 * gnu/java/awt/peer/gtk/GdkTextLayout.java
18092 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
18093 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18094 Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
18095 renamed to cairoDrawGdkTextLayout.
18097 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
18098 (getGraphics): Use ComponentGraphics context.
18099 (createImage): Use native BufferedImage.
18101 * gnu/java/awt/peer/gtk/GtkImage.java:
18102 * include/gnu_java_awt_peer_gtk_GtkImage.h
18103 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18104 Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
18105 Remove drawing methods.
18107 * gnu/java/awt/print/JavaPrinterGraphics.java:
18108 Use CairoSurface instead of GtkImage.
18110 * include/Makefile.am
18111 * native/jni/gtk-peer/Makefile.am
18112 Update for new files.
18114 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
18115 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
18116 Remove superfluous GtkImage code for GdkPixmaps.
18118 * native/jni/gtk-peer/gtkpeer.h
18119 Remove graphics2d structure.
18121 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18123 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
18124 Do not reuse fg in the constructor.
18126 2006-05-29 Carsten Neumann <cn-develop@gmx.net>
18128 * java/io/ObjectStreamConstants.java: Added API docs.
18130 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18132 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
18133 Take no action if this color is already set.
18135 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18137 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
18139 * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
18140 Optionally paint with translation. (createContent): Added option
18141 to test painting with translation
18143 2006-05-29 Raif S. Naffah <raif@swiftdsl.com.au>
18145 * java/util/logging/FileHandler.java (FileHandler): Set the instance field
18146 pattern to the default value when null.
18147 Pass field pattern, and not parameter with same name to createFileStream.
18149 2006-05-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
18151 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
18152 New class implementing the OS bean.
18153 * gnu/java/lang/management/package.html:
18154 New file to document the gnu.java.lang.management package.
18155 * java/lang/management/ManagementFactory.java:
18156 New class to provide access to the OS bean.
18157 * java/lang/management/OperatingSystemMXBean.java:
18159 * java/lang/management/package.html:
18160 New file to document the java.lang.management package.
18162 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18164 * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
18167 (SECURITY): Likewise.
18168 (CACERTS): Likewise.
18169 (CACERTS_GKR): Likewise.
18170 (gkrCaCertsPathName): New field.
18171 (jksCaCertsPathName): Likewise.
18172 (selfSignedCertificate): Likewise.
18173 (start): Initialize trusted certificate key stores if -trustcacerts is
18175 (ensureReplyIsOurs): Initialize selfSignedCertificate.
18176 (orderChain): Implemented.
18177 (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
18178 certificate key stores if -trustcacerts option is specified.
18179 (findTrustInCACerts): Removed.
18180 (getCertPathParameters): New method.
18181 (validate): New method.
18182 * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
18184 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18186 * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
18187 (PATTERN_KEY): Likewise.
18188 (DEFAULT_PATTERN): Likewise.
18189 (LIMIT_KEY): Likewise.
18190 (DEFAULT_LIMIT): Likewise.
18191 (COUNT_KEY): Likewise.
18192 (DEFAULT_COUNT): Likewise.
18193 (APPEND_KEY): Likewise.
18194 (DEFAULT_APPEND): Likewise.
18195 (FileHandler()): Use pattern value as set in logging.properties.
18196 Use constants defined above.
18197 (FileHandler(1)): Use constants defined above.
18198 (FileHandler(2)): Likewise.
18199 (FileHandler(3)): Likewise.
18200 (FileHandler(4)): Likewise.
18201 (createFileStream): Likewise.
18203 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18205 * java/util/logging/FileHandler.java: Reverted previous patch.
18206 * java/util/logging/LogManager.java: Likewise.
18208 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18210 * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
18211 (DEFAULT_PATTERN): Likewise.
18212 (FileHandler()): Use configured pattern property if any; otherwise use a
18213 default value as per RI documentation.
18214 * java/util/logging/LogManager.java (getStringProperty): New method.
18216 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
18218 * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
18220 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
18222 * configure.ac (FOUND_CACAO): New automake conditional.
18223 Add --enable-tool-wrappers.
18224 * NEWS: Introduce the --enable-tool-wrappers option.
18225 * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
18226 * tools/appletviewer.c: Remove file. Make tool-indepedent and
18228 * tools/toolwrapper.c: New file.
18230 2006-05-27 Dalibor Topic <robilad@kaffe.org>
18232 * java/awt/Graphics2D.java: Use full class name for
18233 PrinterJob in javadoc.
18235 2006-05-27 Andreas Tobler <a.tobler@schweiz.ch>
18237 * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
18238 (callMouseMethod): Likewise.
18240 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
18242 * native/jni/java-net/java_net_VMURLConnection.c:
18243 Fix function declarations to specify unused parameters.
18244 * scripts/check_jni_methods.sh:
18245 Remove copies of the same function using uniq.
18247 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
18249 * vm/reference/java/net/VMURLConnection.java:
18250 Make package-private and final.
18252 2006-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18254 * examples/gnu/classpath/examples/swing/TableDemo.java
18255 (TModed): Added editor for the icons column.
18256 (createContent): Increase the row height by 2 px.
18258 2006-05-26 Tom Tromey <tromey@redhat.com>
18260 PR classpath/27685:
18261 * java/math/BigInteger.java (modPow): Correctly handle negative
18264 2006-05-26 Tom Tromey <tromey@redhat.com>
18266 * configure.ac: Check for magic.h and -lmagic.
18267 * vm/reference/java/net/VMURLConnection.java: New file.
18268 * include/java_net_VMURLConnection.h: New file.
18269 * include/Makefile.am (H_FILES): Add VMURLConnection.h.
18270 ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
18271 * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
18273 (libjavanet_la_LIBADD): Add $(LIBMAGIC).
18274 * native/jni/java-net/java_net_VMURLConnection.c: New file.
18276 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18278 * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
18280 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18282 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
18283 libjawtgnu.la libjawt.la.
18285 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18287 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18290 2006-05-25 Lillian Angel <langel@redhat.com>
18293 * java/awt/Window.java
18294 (Window): Moved code to helper.
18295 (addWindowFocusListener): New function. Handles focus
18296 listener code. Added code to handle focus lost/gained
18299 2006-05-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
18302 Make pkg-config check for GTK+ >= 2.8.
18304 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18306 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18307 (flush): Remove debugging printfs.
18309 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18311 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18312 (schedule_flush): New function.
18313 (end_drawing_operation): Call schedule_flush.
18315 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18317 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
18318 paint performance demo.
18319 * examples/gnu/classpath/examples/swing/FillRect.java: New file.
18321 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18323 * INSTALL: Bump GTK requirement to 2.8 or higher. Do not mention
18324 Cairo version requirement. Do not mention --enable-gtk-cairo
18326 * NEWS: Add entry for GdkGraphics2D.
18327 * configure.ac: Remove --enable-gtk-cairo and explicit checks for
18328 Cairo library and headers.
18329 * .externalToolBuilders/Configure.launch: Remove
18330 --enable-gtk-cairo from configure line.
18331 * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
18333 * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
18334 * gnu/java/awt/peer/gtk/GdkFontPeer.java,
18335 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
18336 useGraphics2D references. Always assume Graphics2D is enabled.
18337 * gnu/java/awt/peer/gtk/GdkGraphics.java,
18338 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
18339 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
18340 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
18341 Unlocked method variants. Remove GTK_CAIRO_ENABLED and
18342 useGraphics2D references. Always assume Graphics2D is enabled.
18343 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
18344 Graphics2D check. Always assume Graphics2D is enabled.
18345 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
18346 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
18347 (realize): Remove method.
18348 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
18349 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18350 (isRealized): Remove method.
18351 (realize): Implement as a native method. Remove useGraphics2D
18352 references. Always assume Graphics2D is enabled.
18353 * gnu/java/awt/peer/gtk/GtkImage.java,
18354 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
18355 GdkGraphics references with GdkGraphics2D references.
18356 * gnu/java/awt/peer/gtk/GtkToolkit.java,
18357 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
18358 useGraphics2D references. Always assume Graphics2D is enabled.
18359 * include/Makefile.am (GTKPEER_H_FILES): Remove
18360 gnu_java_awt_peer_gtk_GdkGraphics.h.
18361 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
18362 * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
18363 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
18364 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
18365 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
18366 * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
18367 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18368 gnu_java_awt_peer_gtk_GdkGraphics.c. Include
18369 gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
18370 (AM_LDFLAGS): Remove CAIRO_LIBS.
18371 (AM_CFLAGS): Remove CAIRO_CFLAGS.
18372 * native/jni/gtk-peer/gtkcairopeer.h: Remove. Move declarations
18374 * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
18376 2006-05-25 Lillian Angel <langel@redhat.com>
18378 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18379 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
18380 Added check to prevent assertion error. If widget->window is null, then
18381 use the parent widget's window to set the cursor on.
18383 2006-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18385 * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
18388 2006-05-24 Lillian Angel <langel@redhat.com>
18390 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
18391 (prependCodeBase): Added check to determine if the documentbase
18392 points to a directory or a file.
18394 2006-05-24 Sven de Marothy <sven@physto.se>
18396 * java/awt/dnd/DragGestureRecognizer.java
18397 (resetRecognizer): Implement.
18398 (fireDragGestureRecognized): Implement.
18400 2006-05-24 David Gilbert <david.gilbert@object-refinery.com>
18402 * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
18403 fixed source code formatting.
18405 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18407 * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
18409 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18411 Reported by Antony Balkisson.
18412 * javax/swing/JTable.java (selectAll): Return without action
18413 if the table is empty.
18415 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18417 * examples/gnu/classpath/examples/swing/TableDemo.java:
18418 (SliderCell): New inner class. (setCustomEditors,
18419 setInformativeHeaders): New fields. (createContent):
18421 * javax/swing/DefaultCellEditor.java
18422 (JComboBoxDelegate.shouldSelectCell): New method.
18423 * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
18424 * javax/swing/plaf/basic/BasicTableUI.java
18425 (MouseInputHandler.mouseClicked): Start editing on a single
18426 click if the cell editor is not a default cell editor.
18428 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18430 * javax/swing/naming/CompositeName.java,
18431 javax/swing/naming/CompoundName.java:
18434 2006-05-23 Archie Cobbs <archie@dellroad.org>
18436 * vm/reference/java/lang/VMClassLoader.java: fix static initializer
18439 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18441 * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
18442 * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
18443 * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
18444 * javax/swing/tree/DefaultTreeModel.java: Likewise,
18445 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18446 * javax/swing/tree/ExpandVetoException.java: Likewise,
18447 * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18448 * javax/swing/tree/RowMapper.java: Likewise,
18449 * javax/swing/tree/TreeNode.java: Likewise,
18450 * javax/swing/tree/TreeSelectionModel.java: Likewise,
18451 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18453 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18455 * javax/swing/tree/DefaultTreeCellRenderer.java
18456 (DefaultTreeCellRenderer): Changed key for
18457 setBackgroundNonSelectionColor(),
18458 plus API docs all over.
18460 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18463 * javax/swing/JTable.java (booleanInvertingEditor): New field.
18464 (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18465 Initialise in constructor. (columnMoved): Cancel editing.
18466 (createDefaultEditors): Rewritten. (editCellAt):
18467 Just invert the value if this is a boolean cell.
18468 (initialiseLocalVars): Do not initialise renderer and editor tables.
18469 (setUI): Create editors and renderers here.
18471 2006-05-23 Robert Schuster <robertschuster@fsfe.org>
18473 * examples/gnu/classpath/examples/awt/Demo.java:
18474 (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18475 instance as subframe.
18476 (ResolutionWindow): New inner class.
18477 (FullscreenWindow): New inner class.
18479 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18482 * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18483 Set horizontal alignment to centered.
18485 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18487 * javax/accessibility/AccessibleContext.java
18488 (getAccessibleComponent): Fixed typo in docs,
18489 * javax/swing/JLabel.java:
18490 (AccessibleJLabel.getAccessibleName): Check for explicit
18492 * javax/swing/JTableHeader.java
18493 (AccessibleJTableHeaderEntry.columnIndex): New field,
18494 (AccessibleJTableHeaderEntry.parent): New field,
18495 (AccessibleJTableHeaderEntry.table): New field,
18496 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()):
18498 (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New
18500 (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18501 (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18502 (AccessibleJTableHeaderEntry.contains): Implemented,
18503 (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18504 (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18505 (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18506 (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18507 (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18508 (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18509 (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18510 (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18511 (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18512 (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18513 (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18514 (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18515 (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18516 (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18517 (AccessibleJTableHeaderEntry.getBackground): Implemented,
18518 (AccessibleJTableHeaderEntry.getBounds): Implemented,
18519 (AccessibleJTableHeaderEntry.getCursor): Implemented,
18520 (AccessibleJTableHeaderEntry.getFont): Implemented,
18521 (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18522 (AccessibleJTableHeaderEntry.getForeground): Implemented,
18523 (AccessibleJTableHeaderEntry.getLocation): Implemented,
18524 (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18525 (AccessibleJTableHeaderEntry.getSize): Implemented,
18526 (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18527 (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18528 (AccessibleJTableHeaderEntry.isShowing): Implemented,
18529 (AccessibleJTableHeaderEntry.isVisible): Implemented,
18530 (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18531 (AccessibleJTableHeaderEntry.removePropertyChangeListener):
18533 (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18534 (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18535 (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18536 (AccessibleJTableHeaderEntry.setBackground): Implemented,
18537 (AccessibleJTableHeaderEntry.setBounds): Implemented,
18538 (AccessibleJTableHeaderEntry.setCursor): Implemented,
18539 (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18540 (AccessibleJTableHeaderEntry.setFont): Implemented,
18541 (AccessibleJTableHeaderEntry.setForeground): Implemented,
18542 (AccessibleJTableHeaderEntry.setLocation): Implemented,
18543 (AccessibleJTableHeaderEntry.setSize): Implemented,
18544 (AccessibleJTableHeaderEntry.setVisible): Implemented,
18545 (AccessibleJTableHeader.getAccessibleRole): Implemented,
18546 (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18547 (AccessibleJTableHeader.getAccessibleChild): Implemented,
18548 (AccessibleJTableHeader.getAccessibleAt): Implemented.
18550 2006-05-22 Tom Tromey <tromey@redhat.com>
18554 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18556 * javax/swing/JLabel.java
18557 (AccessibleJLabel.getAccessibleName): New method (override),
18558 (setLabelFor): Fire 'labelFor' property change event before other
18561 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18563 * javax/swing/JLabel.java
18564 (AccessibleJLabel.getAccessibleRole): New method (override).
18566 2006-05-22 Tom Tromey <tromey@redhat.com>
18568 * resource/gnu/classpath/tools/serialver/messages.properties: New
18570 * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18571 * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18573 (classpath): Likewise.
18576 (addFileURL): New method.
18577 (getClassLoader): Likewise.
18578 (printMessage): Likewise.
18580 2006-05-22 Tom Tromey <tromey@redhat.com>
18582 * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18584 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18586 * javax/swing/JTable.java (doLayout): In the column
18587 resize mode, only repaing the changed part of the table.
18588 (getLeftResizingBoundary): New method.
18590 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18592 * javax/naming/spi/InitialContextFactory.java,
18593 javax/naming/spi/InitialContextFactoryBuilder.java,
18594 javax/naming/spi/NamingManager.java,
18595 javax/naming/spi/ObjectFactory.java,
18596 javax/naming/spi/ResolveResult.java,
18597 javax/naming/spi/Resolver.java,
18598 javax/naming/spi/StateFactory.java: Documented.
18600 2006-05-21 Tom Tromey <tromey@redhat.com>
18602 PR classpath/27688:
18603 * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18605 (initSet): Removed.
18606 (shouldExtract): Removed.
18608 * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18609 * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18612 (allItems): New field.
18613 (run): Initialize it.
18616 2006-05-22 Sven de Marothy <sven@physto.se>
18618 * java/nio/CharBuffer.java
18619 (wrap): Fix bounds checking.
18621 2004-08-26 Tom Tromey <tromey@redhat.com>
18623 * java/io/OutputStream.java
18624 (OutputStream): Implements Closeable, Flushable.
18626 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
18628 * java/io/ObjectOutputStream.java:
18629 (writeObject(Object)): Added enum support.
18630 (writeClassDescriptor(ObjectStreamClass)): Likewise.
18631 * java/io/ObjectStreamClass.java:
18632 (isEnum()): New package-private method.
18633 (setFlags(Class)): Added enum support.
18634 * java/io/ObjectStreamConstants.java:
18637 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
18639 * java/io/ObjectInputStream.java:
18640 (parseContent(byte)): Added enum support.
18641 * java/io/ObjectStreamConstants.java:
18643 (TC_MAX): Changed to new maximum, TC_ENUM.
18645 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18647 * java/beans/beancontext/BeanContextSupport.java:
18648 (instantiateChild(String)): Implemented.
18650 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18652 * java/beans/beancontext/BeanContextSupport.java:
18653 (add(Object)): Add further documentation.
18654 (isEmpty()): Documented.
18655 (propertyChange(PropertyChangeEvent)): Implemented.
18656 (remove(Object)): Documented.
18657 (remove(Object,boolean)): Documented and implemented.
18658 (vetoableChange(PropertyChangeEvent)): Marked as
18659 implemented (only subclasses appear to need this).
18661 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18663 * java/beans/beancontext/BeanContextSupport.java:
18664 (add(Object)): Implement support for the child being
18665 a BeanContextChild.
18666 (avoidingGui()): Implemented.
18667 (dontUseGui()): Likewise.
18668 (needsGui()): Likewise.
18669 (okToUseGui()): Likewise.
18671 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18673 * javax/naming/Context.java,
18674 javax/naming/ContextNotEmptyException.java,
18675 javax/naming/Reference.java: Documented.
18677 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18679 * javax/swing/text/html/MinimalHTMLWriter.java
18680 (writeComponent, writeImage): Declare that the method
18681 may throw the IOException.
18683 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18686 * javax/naming/InitialContext.java (colon_list): Changed type to
18687 hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18688 (merge): Rewritten.
18690 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18692 * javax/naming/InitialContext.java: Documented.
18694 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18696 * javax/naming/NameParser.java,
18697 javax/naming/NamingEnumeration.java,
18698 javax/naming/PartialResultException.java,
18699 javax/naming/SizeLimitExceededException.java,
18700 javax/naming/spi/ObjectFactory.java,
18701 javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18703 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18705 * gnu/java/net/loader/JarURLLoader.java:
18706 Use Map.Entry instead of LinkedHashMap.Entry
18708 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18710 * javax/naming/Context.java: Documented.
18712 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18714 * javax/naming/Referenceable.java: Documented.
18715 * javax/naming/spi/NamingManager.java: Documented.
18717 2006-05-21 Raif S. Naffah <raif@swiftdsl.com.au>
18719 * doc/tools.texinfo: Replaced references to MessageBundle.properties
18720 to messages.properties.
18721 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18722 Renamed to messages.properties.
18723 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18725 * resource/gnu/classpath/tools/jarsigner/messages.properties:
18726 Renamed from MessageBundle.properties.
18727 Added copyright notice.
18728 * resource/gnu/classpath/tools/keytool/messages.properties:
18730 * tools/gnu/classpath/tools/jarsigner/Messages.java
18731 (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18732 (getFormattedString): Fixed a spelling mistake.
18733 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18735 2006-05-20 Sven de Marothy <sven@physto.se>
18737 * gnu/java/awt/font/opentype/NameDecoder.java
18739 (getName): Use getShort instead of getChar(), fix PS name.
18740 (decodeName): New method.
18741 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18742 (getSubFamilyName): Implement.
18743 (getPostScriptName): Use the NameDecoder class instead.
18744 (parsePSName): Removed.
18747 2006-05-20 Sven de Marothy <sven@physto.se>
18749 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18750 (getTrueTypeTable): New native method.
18751 (getPostScriptName): Reimplement.
18752 (parsePSName): New method.
18753 (getNumGlyphs): Implement.
18754 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18755 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18756 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18757 New function. File is now explicitly dependent on FT2.
18759 2006-05-20 Tom Tromey <tromey@redhat.com>
18761 * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18762 * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18764 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18765 (HandleFile): New class.
18766 (input, output, encoding, reversed): New fields.
18767 (createParser): New method.
18770 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18771 (notifyFile): Throws OptionException.
18773 2006-05-20 Tom Tromey <tromey@redhat.com>
18775 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18778 2006-05-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
18780 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18781 (JCL_print_buffer): Fix to work with -Werror on 64-bit
18784 2006-05-20 Sven de Marothy <sven@physto.se>
18786 * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18788 2006-05-20 Sven de Marothy <sven@physto.se>
18790 * gnu/java/awt/print/JavaPrinterJob.java
18791 (print): Use PostScriptGraphics2D.
18792 * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18794 2006-05-20 Sven de Marothy <sven@physto.se>
18796 * javax/swing/text/html/MinimalHTMLWriter.java: New file
18798 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18800 * gnu/java/security/OID.java: Updated copyright year.
18801 (OID): Removed unused Javadoc param tag.
18802 * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18803 * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18805 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18807 * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18809 Added trace/debug statements.
18810 (engineSetCertificateEntry): Ensure alias is not already used for a Key
18811 Entry. Also ensure that any previous entry for this alias is removed
18812 before a new one is added.
18813 (engineGetKey): Do not trace/log passwords.
18814 Trace key's class name only.
18815 (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18816 Certificate Entry. Also ensure that previous entry for this alias is
18817 removed before a new one is added.
18818 (engineLoad): Do not trace/log passwords.
18819 (engineStore): Likewise.
18820 (engineSize): Use size of enumeration instead of collection size.
18822 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18824 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
18825 (toString): New method.
18826 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
18827 Do not trace/log passwords.
18828 Set masked to false before decoding envelope.
18829 Do not set payload to null.
18830 (encrypt): Set masked to true.
18831 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
18832 Do not trace/log passwords.
18833 Set masked to false before decoding envelope.
18834 Do not set payload to null.
18835 Added trace/debug statements.
18836 (authenticate): Do not trace/log passwords.
18837 Set masked to true.
18838 Added trace/debug statements.
18839 (getMac): Added trace/debug statements.
18840 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
18841 (remove(String)): Changed the signature to return a boolean.
18842 (toString): New method.
18843 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
18845 (getCertificate): Likewise.
18846 (putCertificate): Likewise.
18848 Do not trace/log passwords.
18850 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
18851 Do not trace/log passwords.
18852 Added more trace/logging statements.
18853 (putPrivateKey): Do not trace/log passwords.
18854 Trace only key's class name.
18856 (containsPublicKey): Formatting.
18857 (getPublicKey): Likewise.
18858 Trace only key's class name.
18859 (putPublicKey): Trace only key's class name.
18860 (containsCertPath): Formatting.
18861 (getCertPath): Likewise.
18862 (putCertPath): Likewise.
18863 (load): Do not trace/log passwords.
18866 * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
18867 (add): Do not set payload to null.
18868 Added trace/debug statements.
18869 (containsAlias): Added trace/debug statements.
18871 (remove(Entry)): Likewise.
18872 (remove(String)): Likewise.
18873 Changed the signature to return a boolean.
18874 Do not set payload to null unless really removed.
18875 (toString): New method.
18876 (decodeEnvelope): Clear entries before proceeding.
18877 (makeAliasList): Added trace/debug statements.
18878 Ensure only non-null aliases and alias-lists are added.
18879 * gnu/javax/crypto/keyring/Entry.java (log): New field.
18880 (TYPES): New constant.
18881 (toString): New method.
18882 (defaultDecode): Add trace/debug statement.
18884 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18886 * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
18887 Increased visibility.
18888 (setup): Do not trace/log passwords.
18889 (parsed): Was not setting correct (rfc) field; fixed.
18890 (print1Chain): Formatting.
18891 * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
18892 Do not trace/log passwords.
18893 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
18894 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
18895 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
18896 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
18897 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
18898 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
18899 (orderChain): Added FIXME.
18900 * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
18901 Do not trace/log passwords.
18902 Removed commented out code.
18903 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
18904 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
18905 * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
18906 (setKeystoreURLParam): Likewise.
18907 (setKeystorePasswordParam): Do not trace/log passwords.
18908 (saveKeyStore): Likewise.
18910 2006-05-19 Roman Kennke <kennke@aicas.com>
18912 * gnu/java/awt/java2d/AbstractGraphics2D.java
18914 (pixel): Removed obsolete field.
18915 (draw(Shape)): Removed commented out code.
18916 (drawImage): Formatting.
18917 (drawString): Added optimization hook.
18918 (setPaint): Removed rawSetForeground().
18919 (getFontRenderContext): Return context with correct transform.
18920 (drawGlyphVector): Draw complete outline in one go.
18921 (copyArea): Added optimization hook.
18922 (clearRect): Added optimization hook.
18923 (drawImage): Added optimization hook.
18924 (fillShape): (Temporarily) Set antialiasing off by default for
18925 font rendering. Adjust the shape by some bits to improve rendering.
18926 Pass clip bounds to the render methods.
18927 (drawPixel): Removed.
18928 (rawSetPixel): Removed.
18929 (rawSetForeground): Removed.
18930 (rawDrawLine): Default impl calls standard pipeline.
18931 (rawDrawString): New method, calls standard pipeline for rendering.
18932 (rawClearRect): New method, calls standard pipeline for rendering.
18933 (rawFillRect): New method, calls standard pipeline for rendering.
18934 (rawDrawImage): New method, calls standard pipeline for rendering.
18935 (rawCopyArea): New method.
18936 (copyAreaImpl): New method.
18937 (rawFillShape): Renamed to fillShapeImpl(). Small optimization
18939 (fillShapeAntialias): Fixed AA rendering.
18940 (fillScanlineAA): Fixed AA rendering.
18941 (getSegments): Take offset into account.
18943 2006-05-19 Sven de Marothy <sven@physto.se>
18945 * javax/swing/text/AbstractWriter.java
18946 (getText): Fix parameters (start, length) not (start, end).
18948 2006-05-19 Tom Tromey <tromey@redhat.com>
18950 PR classpath/27444:
18951 * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
18952 Changed return type.
18953 * java/net/URLClassLoader.java (urlloaders): Removed.
18954 (addURLImpl): Updated.
18955 * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
18956 (indexSet): Likewise.
18957 (classPath): Changed type.
18958 (JarURLLoader): New constructor.
18959 (initialize): New method.
18960 (getResource): Use index set if it exists.
18961 (getClassPath): Updated.
18962 * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
18963 (prefixes): New field.
18964 (headers): Removed.
18965 (IndexListParser): Fill in prefixes.
18966 (clearAll): Clear prefixes.
18967 (getHeaders): Changed return type.
18969 2006-05-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18971 * javax/swing/plaf/basic/BasicTableHeaderUI.java
18972 (MouseInputHandler.mouseExitted): No nothing there.
18973 (MouseInputHandler.endDragging): Move column to the
18974 first/last position if released outside the horizontal
18977 2006-05-19 Lillian Angel <langel@redhat.com>
18979 * java/awt/font/GlyphVector.java
18980 (getGlyphCharIndex): Implemented.
18981 (getGlyphCharIndices): Implemented.
18982 (getGlyphOutline): Implemented.
18983 (getGlyphVisualBounds): Implemented.
18984 (getGlyphVisualBounds): Implemented.
18985 (getPixelBounds): Implemented.
18986 (getLayoutFlags): Implemented.
18988 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18990 * java/awt/LightweightDispatcher.java: Added field dragButton and
18991 documentation for it.
18992 (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
18993 added subexpression to if-clause in MOUSE_RELEASED case.
18995 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18997 * javax/swing/metal/MetalButtonUI.java:
18998 (update): Removed some subexpression from if-clause and call
18999 updateWithGradient.
19000 (updateWithGradient): New method.
19002 2006-05-19 Roman Kennke <kennke@aicas.com>
19004 * javax/swing/JComponent.java
19005 (findOverlapFreeParent): Implemented algorithm for finding
19006 overlapping in component hierarchy.
19008 2006-05-19 Jeroen Frijters <jeroen@frijters.net>
19010 * java/lang/Thread.java
19011 (contextClassLoaderIsSystemClassLoader): New field.
19012 (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
19013 (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
19014 and set contextClassLoaderIsSystemClassLoader.
19015 (Thread(ThreadGroup,Runnable,String,long)):
19016 Set contextClassLoaderIsSystemClassLoader.
19017 (createAnonymousThreadName): New method.
19018 (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
19019 and fixed security check.
19020 (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
19022 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
19024 * javax/swing/plaf/basic/BasicToolBarUI.java:
19025 (createNonRolloverBorder): Rewritten.
19026 (createRolloverBorder): Rewritten.
19027 (setToNonRolloverBorder): Store old border instance in hashtable.
19028 (setToRolloverBorder): Store old border instance in hashtable, use
19029 AbstractButton instead of JButton in statements.
19030 (setBorderToNormal): Rewritten.
19031 * javax/swing/plaf/metal/MetalLookAndFeel.java:
19032 (initComponentDefaults): Added values for ToolBar.rolloverBorder and
19033 ToolBar.nonrolloverBorder.
19035 2006-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
19037 * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
19038 * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
19040 2006-05-18 Lillian Angel <langel@redhat.com>
19042 * java/awt/font/GlyphMetrics.java
19043 (getLSB): Implemented.
19044 (getRSB): Implemented.
19046 2006-05-18 Lillian Angel <langel@redhat.com>
19048 * java/awt/font/GraphicAttribute.java:
19049 Documented entire class.
19050 (GraphicAttribute): Added check for alignment.
19051 (getBounds): Implemented.
19052 (getJustificationInfo): Implemented.
19054 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
19056 * java/awt/LightweightDispatcher.java:
19057 (handleMouseEvent): Added note, added subexpression to if-statement.
19059 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
19061 * javax/swing/plaf/basic/BasicToolBarUI.java:
19062 (navigateFocusedComp): Marked as stub.
19063 (createRolloverBorder): Create a different Border instance, added note.
19064 * javax/swing/plaf/metal/MetalBorders.java:
19065 (ButtonBorder): Added documentation.
19066 (ButtonBorder.paintDefaultButtonBorder): Added else-block.
19067 (ButtonBorder.paintOceanButtonBorder): Added else-block, added
19068 subexpression into if-else cascade, added note.
19070 2006-05-18 Lillian Angel <langel@redhat.com>
19072 * java/awt/font/ShapeGraphicAttribute.java:
19073 Documented entire class.
19074 (ShapeGraphicAttribute): Initialized bounds field.
19075 (draw): Implemented.
19076 (equals): Implemented.
19077 (getAdvance): Implemented.
19078 (getAscent): Implemented.
19079 (getBounds): Implemented.
19080 (getDescent): Implemented.
19081 (hashCode): Implemented.
19083 2006-05-18 Roman Kennke <kennke@aicas.com>
19085 * javax/swing/CellRendererPane.java
19086 (CellRendererPane): Set CellRendererPane to invisible.
19088 2006-05-18 Roman Kennke <kennke@aicas.com>
19090 * gnu/java/awt/peer/gtk/GdkGraphics.java
19091 (clipRect): Removed old intersection statement.
19093 2006-05-18 Roman Kennke <kennke@aicas.com>
19095 * gnu/java/awt/peer/gtk/GdkGraphics.java
19096 (clipRect): Don't use Rectangle.intersection() to avoid creating
19097 2 unnecessary Rectangle instances and fix a clipping problem.
19098 (computeIntersection): New helper method, adapted from SwingUtilities.
19100 2006-05-18 Roman Kennke <kennke@aicas.com>
19102 * javax/swing/JComponent.java
19103 (isCompletelyDirty): Removed.
19104 (paint): Don't mark children as clean, this is no longer necessary.
19105 (findOverlapFreeParent): Don't stop at Viewports, this breaks
19106 painting when something overlaps the viewport (like a popup/menu).
19107 * javax/swing/RepaintManager.java
19108 (currentRepaintManagers): Made package private to avoid accessor
19110 (dirtyComponents): Made private.
19111 (dirtyComponentsWork): Made private.
19112 (markCompletelyDirty): Fixed bounds of dirtyrect to be
19113 component-local not parent-local. Do not set flag in JComponent.
19114 (markCompletelyClean): Don't set JComponent flag.
19115 (isCompletelyDirty): Rewritten to return true when the complete
19116 component is marked dirty.
19117 (paintDirtyRegions): Improved parent-merging so that the merged-in
19118 components don't get painted too. 'Outsourced' the compilation
19119 of the repaint root components.
19120 (compileRepaintRoots): New helper method.
19122 2006-05-18 Roman Kennke <kennke@aicas.com>
19125 * javax/swing/text/GapContent.java
19126 (GapContentPosition(int)): Use adapted binarySearch method to
19127 allow for having a greater array than number of entries.
19128 (numMarks): New field, holds the end of the marks list.
19129 (GapContent): Initialize positionMarks with size of 10 instead of 0.
19130 (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
19131 (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
19132 (setPositionsInRange): Changed signature to narrow the purpose and
19133 special cases inside. Reimplemented to crunch together equal marks.
19134 (adjustPositionsInRange): Added assertion to make sure we do
19135 not accidentally change the order of the mark. Added some debug
19136 output for a special case of which I don't know if it even exists.
19137 (resetMarksAtZero): Made impl simpler.
19138 (dumpMarks): New debug helper method.
19139 (insertMark): Grow array in bigger chunks to avoid excessive copying.
19140 (binarySearch): New method. An adaption of Arrays.binarySearch()
19141 that allows for an maxIndex parameter.
19143 2006-05-18 Roman Kennke <kennke@aicas.com>
19145 * javax/swing/KeyboardManager.java
19146 (topLevelLookup): Use WeakHashMap to avoid memory leak.
19148 2006-05-18 Jeroen Frijters <jeroen@frijters.net>
19150 * gnu/java/net/loader/JarURLLoader.java
19151 (JarURLLoader): Use a slightly more efficient URL constructor.
19153 2006-05-18 David Gilbert <david.gilbert@object-refinery.com>
19155 * gnu/java/awt/print/JavaPrinterGraphics.java
19156 (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
19157 (drawImage(Image, int, int, ImageObserver)): Likewise,
19158 (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
19159 (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
19160 (drawImage(Image, int, int, int, int, int, int, int, int, Color,
19161 ImageObserver)): Likewise,
19162 (drawImage(Image, int, int, int, int, int, int, int, int,
19163 ImageObserver)): Likewise.
19165 2006-05-17 Tom Tromey <tromey@redhat.com>
19167 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
19170 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
19172 * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
19173 * javax/swing/border/BevelBorder.java: Likewise,
19174 * javax/swing/border/CompoundBorder.java: Likewise,
19175 * javax/swing/border/TitledBorder.java: Likewise.
19177 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
19179 * javax/swing/table/AbstractTableModel.java: Formatting fixes,
19180 * javax/swing/table/DefaultTableModel.java: Likewise,
19181 * javax/swing/table/TableCellEditor.java: Likewise,
19182 * javax/swing/table/TableCellRenderer.java: Likewise.
19184 2006-05-17 Lillian Angel <langel@redhat.com>
19186 * java/awt/font/ImageGraphicAttribute.java:
19187 Documented entire class.
19188 (ImageGraphicAttribute): Changed to call this.
19189 (ImageGraphicAttribute): Implemented.
19190 (draw): Implemented.
19191 (equals): Implemented.
19192 (getAdvance): Implemented.
19193 (getAscent): Implemented.
19194 (getBounds): Implemented.
19195 (getDescent): Implemented.
19196 (hashCode): Implemented.
19197 * javax/swing/text/html/HTMLDocument.java
19198 (create): Removed. Sufficent enough for
19199 super to be called.
19200 (insert): Likewise.
19201 (insertUpdate): Likewise.
19202 (processHTMLFrameHyperlinkEvent): Marked as stub.
19203 (start): Removed FIXME.
19205 (start): Called super.
19206 (end): Called super.
19207 (getElement): removed unneeded code.
19208 (setParagraphAttribute): Removed. Sufficent enough
19209 for super to be called.
19210 (fireChangedUpdate): Likewise.
19211 (fireUndoableEditUpdate): Likewise.
19213 2006-05-17 Lillian Angel <langel@redhat.com>
19215 * java/awt/TexturePaint.java:
19216 Added documentation for class and all functions.
19217 (getTransparency): Implemented.
19219 2006-05-17 Roman Kennke <kennke@aicas.com>
19221 * java/awt/LightweightDispatcher.java
19222 (findTarget): Translate point to child components.
19224 2006-05-17 Roman Kennke <kennke@aicas.com>
19227 * javax/swing/text/GapContent.java
19228 (GapContentPosition): Do no more implement Comparable.
19229 (GapContentPosition.mark): Removed field.
19230 (GapContentPosition.index): New field to hold the index into
19231 the positions array.
19232 (GapContentPosition(int)): Rewritten to use the new indirection
19233 to the positions array.
19234 (GapContentPosition.compareTo): Removed.
19235 (GapContentPosition.getOffset): Synchronized. Fetch mark from
19236 positionMarks array.
19237 (WeakPositionComparator): Removed obsolete class.
19238 (positions): Changed type to WeakHashMap.
19239 (positionMarks): New field, holds the marks of the positions.
19240 (GapContent): Initialize new fields.
19241 (createPosition): Rewritten to use the new indirection
19242 to the positions array.
19243 (getPositionsInRange): Rewritten to use the new indirection
19244 to the positions array.
19245 (setPositionsInRange): Rewritten to use the new indirection
19246 to the positions array.
19247 (adjustPositionsInRange): Rewritten to use the new indirection
19248 to the positions array.
19249 (insertMark): New helper method.
19250 (clearPositionReferences): Removed obsolete methods.
19252 2006-05-17 Lillian Angel <langel@redhat.com>
19254 * java/awt/GraphicsConfiguration.java
19255 (getImageCapabilities): Implemented.
19256 (getBufferCapabilities): Implemented.
19258 2006-05-17 Lillian Angel <langel@redhat.com>
19260 * javax/swing/plaf/basic/BasicSliderUI.java
19261 (focusGained): Implemented.
19262 (focusLost): Implemented.
19263 (paint): Added code to paint the focus.
19264 * javax/swing/plaf/metal/MetalSliderUI.java
19265 (paintThumb): Added code to set the thumbColor.
19266 (paintFocus): Implemented properly.
19268 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19271 * javax/naming/spi/NamingManager.java (getURLContext):
19272 Always search for the factory class in all possible places
19273 and use VMStackWalker.
19274 (forName): New method.
19276 2006-05-17 Roman Kennke <kennke@aicas.com>
19278 * java/awt/LightweightDispatcher.java
19279 (handleMouseEvent): Fixed search algorithm for finding the
19280 mouse event target.
19281 (findTarget): Fixed search algorithm for finding the
19282 mouse event target.
19284 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19286 * javax/naming/spi/NamingManager.java: Documented.
19288 2006-05-17 Mark Wielaard <mark@klomp.org>
19290 * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
19291 * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
19292 * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
19293 * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
19295 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19298 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
19300 (BorderListener.mouseClicked): Detect double-clicks in title pane,
19302 BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
19304 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19307 * java/awt/LightweightDispatcher.java:
19308 (handleMouseEvent): Moved assignment into switch-block, added notes.
19310 2006-05-16 Lillian Angel <langel@redhat.com>
19312 * javax/swing/text/StyleContext.java:
19313 Changed staticAttributeKeys to be a Hashtable.
19314 (getStaticAttribute): Implemented.
19315 (getStaticAttributeKey): Implemented.
19316 (readAttributeSet): Implemented.
19317 (writeAttributeSet): Added FIXME. Not sure how
19319 (readAttributes): Implemented.
19320 (writeAttributes): Implemented.
19321 (registerStaticAttibuteKey): Fixed to add key to
19324 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19326 * javax/swing/DefaultButtonModel.java
19327 (setGroup): Removed event notification.
19329 2006-05-16 Lillian Angel <langel@redhat.com>
19331 * javax/swing/plaf/basic/BasicComboBoxUI.java
19332 (installKeyboardActions): Implemented.
19333 (uninstallKeyboardActions): Implemented.
19334 * javax/swing/plaf/basic/BasicComboPopup.java
19335 (uninstallKeyboardActions): Removed FIXME. Nothing
19337 (installKeyboardActions): Likewise.
19338 * javax/swing/plaf/basic/BasicTextUI.java
19339 (uninstallKeyboardActions): Implemented.
19340 * javax/swing/plaf/basic/BasicTreeUI.java:
19341 Added field for hashColor.
19342 Marked stub methods.
19343 (getHashColor): Implemented to use field.
19344 (setHashColor): Likewise.
19345 (getRowX): Implemented.
19346 (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.
19348 2006-05-16 Roman Kennke <kennke@aicas.com>
19351 * javax/swing/JTable.java
19352 (rowHeights): New field.
19353 (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
19354 in order to initialize rowHeights correctly.
19355 (tableChanged): Nullify rowHeights when model changes. Only
19356 create default columns from model when corresponding property
19357 is set. Sync table model with rowHeights as appropriate.
19358 (valueChanged): Call repaint with the correct rectangle.
19359 (rowAtPoint): Handle rowHeights.
19360 (getCellRect): Mostly rewritten. Check for boundaries
19361 of model and return (0,0,0,0) or (0,0,width,height) when outside.
19362 Handle component orientation. Round correctly.
19363 (getRowHeight(int)): Implemented for variable row height.
19364 (setRowHeight(int,int)): Implemented for variable row height.
19365 (setRowHeight(int)): Nullify rowHeights.
19366 (setModel): Notify tableChanged().
19367 * javax/swing/plaf/basic/BasicTableUI.java
19368 (installDefaults): Create rendererPane in installUI.
19369 (installUI): Create and install rendererPane.
19370 (uninstallUI): Uninstall rendererPane and nullify rendererPane
19372 (paint): Correctly handle rowMargin.
19374 2006-05-16 Tom Tromey <tromey@redhat.com>
19376 PR classpath/27563:
19377 * java/text/NumberFormat.java (getIntegerInstance): Use
19378 "integerFormat", not "numberFormat".
19380 2006-05-16 Lillian Angel <langel@redhat.com>
19382 * javax/swing/JPopupMenu.java
19383 (addMenuKeyListener): Implemented.
19384 (removeMenuKeyListener): Implemented.
19385 (getMenuKeyListeners): Implemented.
19386 * javax/swing/ProgressMonitor.java:
19387 Added new protected field.
19388 (getAccessibleContext): Implemented.
19390 2006-05-16 Lillian Angel <langel@redhat.com>
19392 * javax/swing/JFileChooser.java:
19393 Added new private field.
19394 (setDragEnabled): Implemented.
19395 (getDragEnabled): Implemented.
19397 2006-05-16 Lillian Angel <langel@redhat.com>
19399 * java/awt/Window.java
19400 (applyResourceBundle): Implemented.
19402 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19404 * javax/swing/DefaultButtonModel.java
19405 (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
19408 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19410 * javax/swing/JList.java (getSelectedValues):
19411 Ask the value for the indexed array element.
19413 2006-05-16 Roman Kennke <kennke@aicas.com>
19415 * javax/swing/JTable.java
19416 (valueChanged): Also repaint when table has only 1 row. Fixed
19417 repaint rectangle to span the entire changed rows.
19419 2006-05-16 Roman Kennke <kennke@aicas.com>
19422 * javax/swing/JOptionPane.java
19423 (startModal): Rewritten. The events are now dispatched, even
19424 when the event dispatch thread gets blocked by the call
19425 to this method. Also, mouse events get intercepted outside the
19428 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19430 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19431 (BorderListener.mouseDragged):Do not set cursor
19432 if the frame is being dragged.
19434 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19436 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19437 (BorderListener): Rewritten. (InternalFrameBorder):
19438 Made package private.
19439 (InternalFrameBorder.offset):
19440 Renamed to cornerSize, made package private.
19441 (bSize): Made package private.
19443 2006-05-16 Roman Kennke <kennke@aicas.com>
19445 * javax/swing/JMenu.java
19446 (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19447 (AccessibleJMenu.getAccessibleChild): Implemented.
19448 (AccessibleJMenu.getAccessibleSelection): Implemented.
19449 (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19450 (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19451 (AccessibleJMenu.getAccessibleRole): Documented.
19452 (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19453 (AccessibleJMenu.addAccessibleSelection): Implemented.
19454 (AccessibleJMenu.removeAccessibleSelection): Implemented.
19455 (AccessibleJMenu.clearAccessibleSelection): Implemented.
19456 (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19457 (createPath): New helper method.
19459 2006-05-15 Tom Tromey <tromey@redhat.com>
19461 * java/text/MessageFormat.java (format): Now varargs.
19463 2006-05-15 Tom Tromey <tromey@redhat.com>
19465 * java/lang/Thread.java (State): Fixed typo.
19467 2006-05-15 Tom Tromey <tromey@redhat.com>
19469 * java/net/URLClassLoader.java: Moved inner classes to
19470 gnu.java.net.loader.
19471 (factoryCache): Changed type.
19472 (URL_LOADER_PREFIX): New constant.
19473 (URLClassLoader): Updated for new factoryCache.
19474 (addURLImpl): Use reflection to search for a loader.
19475 (findClass): Use getClass method on URLLoader.
19476 (getURLStreamHandler): Removed.
19477 * gnu/java/net/loader/URLLoader.java: New file, extracted
19478 from URLClassLoader.
19479 * gnu/java/net/loader/Resource.java: Likewise.
19480 * gnu/java/net/loader/FileResource.java: Likewise.
19481 * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19482 * gnu/java/net/loader/JarURLLoader.java: Likewise.
19483 * gnu/java/net/loader/JarURLResource.java: Likewise.
19484 * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19485 * gnu/java/net/loader/RemoteResource.java: Likewise.
19486 * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19488 2006-05-15 Sven de Marothy <sven@physto.se>
19490 * native/target/generic/target_generic_network.h:
19491 Add a pair of parenthesis.
19493 2006-05-15 Mark Wielaard <mark@klomp.org>
19495 * java/awt/Graphics2D.java: Remove PrinterJob import.
19497 2006-05-15 Mark Wielaard <mark@klomp.org>
19499 * doc/www.gnu.org/announce/20060515.wml: New file.
19500 * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19501 * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19503 2006-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
19505 * NEWS: Announce inclusion of gcjwebplugin.
19506 Announce inclusion of appletviewer.
19507 * INSTALL: Note gcjwebplugin dependencies.
19509 2006-05-15 Mark Wielaard <mark@klomp.org>
19511 * configure.ac (VERSION): Set to 0.91-generics.
19513 2006-05-15 Mark Wielaard <mark@klomp.org>
19515 * NEWS: Add release date and VMClassLoader.getBootPackages()
19518 2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
19520 * README: Added CACAO to list of VMs.
19522 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19524 * javax/swing/RepaintManager.java (paintDirtyRegions):
19525 Break loop as soon as the component repaint is merged
19526 with some parent. (ComponentComparator): Removed.
19527 (comparator): Removed.
19529 2006-05-15 Roman Kennke <kennke@aicas.com>
19531 * javax/swing/border/TitledBorder.java
19532 (paintBorderWithTitle): Fixed indentation.
19534 2006-05-15 Roman Kennke <kennke@aicas.com>
19536 * javax/swing/border/TitledBorder.java
19537 (layoutBorderWithTitle): Fetch border using getBorder() instead
19538 of using the border field directly. Allows for the use of
19539 an UI supplied border in the case when a null border was set.
19540 Fixed component orientation.
19541 (paintBorderWithTitle): Fetch border using getBorder() instead
19542 of using the border field directly. Allows for the use of
19543 an UI supplied border in the case when a null border was set.
19545 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19547 * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19548 (contains): New method.
19550 2006-05-15 Tom Tromey <tromey@redhat.com>
19552 * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19554 * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19557 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19559 * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19561 * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19562 region. (paintDirtyRegions): Rewritten.
19564 2006-05-15 Tom Tromey <tromey@redhat.com>
19566 * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19568 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19570 * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19571 (run): Use MessageFormat.
19572 * resource/gnu/classpath/tools/jar/messages.properties: New file.
19573 * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19574 (writeFile): Use MessageFormat.
19576 2006-05-15 Jeroen Frijters <jeroen@frijters.net>
19578 * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19579 instead of directly calling the class loader.
19581 2006-05-15 Tom Tromey <tromey@redhat.com>
19583 * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19584 Removed old comment.
19585 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19586 Externalized strings.
19587 (getVersionString): Use MessageFormat.
19588 * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19589 * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19590 * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19591 (getArgument): Use a MessageFormat.
19592 (handleLongOption): Likewise.
19595 2006-05-15 Robert Schuster <robertschuster@fsfe.org>
19598 * javax/swing/text/FieldView.java:
19599 (paint): Calculate intersection between clip and allocation area and
19600 set that as new clip.
19602 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19604 * javax/swing/text/JTextComponent.java: Marked stub methods.
19606 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19608 * javax/swing/JTable.java: Marked stub methods.
19610 2006-05-15 Raif S. Naffah <raif@swiftdsl.com.au>
19612 * tools/gnu/classpath/tools/jarsigner/Main.java:
19613 Increased visibility of fields used by parser anonymous classes.
19614 (KEYTOOL_TOOL): New constant.
19615 (cmdLineParser): Changed type to ToolParser.
19616 (fileAndAlias): new field.
19617 (main): Don't catch OptionException.
19618 (processArgs): Removed validation checks; now handled by ToolParser.
19619 (getParser): Removed.
19620 (ToolParserCallback): New inner class.
19621 (ToolParser): Likewise.
19623 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19625 * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19628 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19630 * javax/swing/DefaultDesktopManager.java (endDraggingFrame,
19631 endResizingFrame): Do not repaint, unless in the outline mode.
19633 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19635 * javax/swing/JTabbedPane.java
19636 (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19637 (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19638 (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19639 (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19640 (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19641 (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19642 (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19643 (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19644 (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19645 (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19646 (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19647 (Page.getAccessibleName): Implemented.
19649 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19651 * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19652 Do not repaint nor revalidate here.
19654 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19656 * javax/swing/RepaintManager.java (addDirtyRegion):
19657 If there is a lightweight parent, recursively add the corresponding
19658 region of the parent instead.
19660 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19662 * java/awt/Graphics2D.java: Added some API doc comments.
19664 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19666 * javax/swing/JTabbedPane.java
19667 (paramString): Reimplemented,
19668 (getAccessibleContext): Added API docs.
19670 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19672 * javax/swing/JFileChooser.java
19673 (paramString): Reimplemented,
19674 (getAccessibleContext): Updated API docs,
19675 (AccessibleJFileChooser): Added API docs.
19677 2006-05-14 Tom Tromey <tromey@redhat.com>
19679 * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19681 * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19683 * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19685 * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed. Moved
19686 validation to JarParser.
19687 * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19688 (run): Moved validation to JarParser. Don't throw OptionException.
19689 (initializeParser): Create a JarParser.
19690 (main): Don't catch OptionException.
19691 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19693 (validate): New method.
19694 (parse): Call it. Print '-help' in error message when long-only.
19696 2006-05-14 Tom Tromey <tromey@redhat.com>
19698 * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19701 2006-05-15 Sven de Marothy <sven@physto.se>
19703 * gnu/java/awt/print/JavaPrinterGraphics.java:
19704 Sweeping changes I can't be bothered to document in detail.
19705 * gnu/java/awt/print/JavaPrinterJob.java
19706 (getPageAttributes): New method.
19707 (setPageable,cancel,isCancelled): Implement.
19709 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19711 * javax/swing/JCheckBoxMenuItem.java
19712 (requestFocus): Fixed typo in API docs,
19713 (paramString): Just call super.paramString(),
19714 (getAccessibleContext): Added API docs,
19715 (AccessibleJCheckBoxMenuItem): Likewise.
19717 2006-05-14 Tom Tromey <tromey@redhat.com>
19719 * tools/gnu/classpath/tools/jar/Indexer.java
19720 (writeCommandLineEntries): Simplify insertion.
19721 * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19724 2006-05-14 Tom Tromey <tromey@redhat.com>
19726 PR classpath/27514:
19727 * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed. Now
19729 (JAR_INDEX_VERSION_KEY): Likewise.
19730 (IndexListParser): Updated.
19731 (getVersionInfo): Likewise.
19732 * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19733 * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19735 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19737 (ModeOption): New constructor.
19738 (parsed): Updated. Use setArchiveFile.
19739 (setArchiveFile): New method.
19740 (run): Handle no-argument case.
19741 (main): Emit --help message on option error.
19742 * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19743 (createManifest): New method.
19744 (run): Updated. Throws OptionException. Correctly copy zip entry.
19745 * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19747 (writeManifest): Removed.
19748 (outputStream): Now a JarOutputStream.
19749 (writeCommandLineEntries): Changed parameters. Updated callers.
19750 (run): Throws OptionException.
19751 * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19752 * java/util/jar/Manifest.java (read): Typo fix.
19754 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19756 * javax/swing/JMenuItem.java
19757 (paramString): Fixed class name in API doc comment.
19759 2006-05-14 Tom Tromey <tromey@redhat.com>
19761 * native/plugin/.cvsignore: Updated.
19763 2006-05-14 Mark Wielaard <mark@klomp.org>
19765 * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19768 2006-05-14 Chris Burdess <dog@gnu.org>
19770 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19771 nodes to be preserved during cloneNode.
19773 2006-05-14 Mark Wielaard <mark@klomp.org>
19776 * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19777 inherited timeout on socket.
19779 2006-05-14 Lillian Angel <langel@redhat.com>
19781 * java/util/SimpleTimeZone.java: Reverted patch.
19782 (SimpleTimeZone): Throw exception if startMonth ==
19784 (SimpleTimeZone): Likewise.
19785 (checkRule): Rewritten to properly check all values (more
19787 This code is now more stable, at least less buggy than before.
19788 Fixed API documentation.
19789 (setStartRule): Moved checkRule call to end.
19790 (setStartRule): Likewise.
19791 (setEndRule): Likewise.
19792 (setEndRule): Likewise.
19794 2006-05-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19796 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19799 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19802 * javax/swing/text/AbstractDocument.java:
19803 (insertString): Flipped if-expression and its blocks.
19805 (replace): Flipped if-expression and its blocks, added note, invoke
19806 insertString and remove instead of insertStringImpl and removeImpl.
19808 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19810 * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19812 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19814 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19816 * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
19817 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java:
19818 Increased visibility of fields used by parser anonymous classes.
19819 (processArgs): Removed.
19820 (getParser): New method.
19821 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
19822 (setup): Mark (Eclipse) strings that need not be externalised.
19824 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
19825 * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
19826 command line option parsing.
19827 * tools/gnu/classpath/tools/keytool/ListCmd.java:
19828 Increased visibility of fields used by parser anonymous classes.
19829 (processArgs): Removed.
19830 (setup): set 'all' local field.
19831 (getParser): New method.
19832 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java:
19833 Increased visibility of fields used by parser anonymous classes.
19834 (processArgs): Removed.
19835 (getParser): New method.
19836 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
19837 (setNewKeyPassword): Fixed comments.
19838 * tools/gnu/classpath/tools/keytool/ImportCmd.java:
19839 Increased visibility of fields used by parser anonymous classes.
19840 (processArgs): Removed.
19841 (getParser): New method.
19842 (findTrustInCACerts): Mark (Eclipse) strings that need not be
19844 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java:
19845 Increased visibility of fields used by parser anonymous classes.
19846 (processArgs): Removed.
19847 (setup): Mark (Eclipse) strings that need not be externalised.
19848 (getParser): New method.
19849 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
19850 * tools/gnu/classpath/tools/keytool/DeleteCmd.java:
19851 Increased visibility of fields used by parser anonymous classes.
19852 (processArgs): Removed.
19853 (getParser): New method.
19854 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
19855 (ATTRIBUTES_OPT): New constant.
19856 * tools/gnu/classpath/tools/keytool/ExportCmd.java:
19857 Increased visibility of fields used by parser anonymous classes.
19858 (processArgs): Removed.
19859 (setup): Mark (Eclipse) strings that need not be externalised.
19861 Reduced logging level.
19862 (getParser): New method.
19863 * tools/gnu/classpath/tools/keytool/Command.java
19864 (processArgs): Made it concrete.
19865 (getParser): New abstract method.
19866 * tools/Makefile.am (KEYTOOL_HELPS): Removed.
19868 2006-05-13 Casey Marshall <csm@gnu.org>
19870 Patch by Michael Barker <mike@middlesoft.co.uk>.
19871 * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
19872 * gnu/java/nio/SelectorImpl.java (register): Added condition for
19873 gnu.java.nio.SocketChannelSelectionKeyImpl.
19874 * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
19875 * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
19877 * include/gnu_java_nio_VMChannel.h: new file.
19878 * java/nio/FileChannel.java (read,write): changed to call abstract
19880 * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
19881 * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
19882 `gnu_java_nio_VMChannel.c.'
19883 * vm/reference/gnu/java/nio/VMChannel.java: new file.
19885 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19887 * javax/swing/text/AbstractDocument.java:
19888 (insertString): Flipped if-expression and its blocks.
19890 (replace): Flipped if-expression and its blocks, added note, invoke
19891 insertString and remove instead of insertStringImpl and removeImpl.
19893 2006-05-13 Tom Tromey <tromey@redhat.com>
19895 * java/nio/ByteBufferImpl.java (compact): Always set position.
19897 2006-05-13 Sven de Marothy <sven@physto.se>
19899 * gnu/java/awt/print/JavaPrinterGraphics.java
19900 (spoolPostScript): Use a faster writer.
19902 2006-05-13 Sven de Marothy <sven@physto.se>
19904 * gnu/java/awt/print/JavaPrinterGraphics.java
19905 (colorTripleHex): Reimplement better.
19907 2006-05-13 Sven de Marothy <sven@physto.se>
19909 * javax/swing/text/html/HTMLDocument.java
19910 (CharacterAction.start): Translate tag to StyleAttribute.
19911 (pushCharacterStyle): Push copy of attributes onto stack.
19912 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
19915 2006-05-13 Sven de Marothy <sven@physto.se>
19917 * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
19918 * java/awt/print/PrinterJob.java
19919 (getPrinterJob): Return a JavaPrinterJob
19920 (setPrintService,getPrintService): Implement.
19921 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
19922 (getPixels): Gtk_threads_enter required.
19923 * gnu/java/awt/print/JavaPrinterGraphics.java
19924 * gnu/java/awt/print/JavaPrinterJob.java
19925 * gnu/java/awt/print/SpooledDocumet.java:
19928 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19930 * javax/swing/text/TextAction.java:
19931 (HorizontalMovementAction): New inner class.
19932 (VerticalMovementAction): New inner class.
19933 * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
19934 new inner classes to array 'defaultActions'.
19935 (SelectionBeginWordAction): New inner class.
19936 (SelectionEndWordAction): New inner class.
19937 (BeginWordAction): New inner class.
19938 (EndWordAction): New inner class.
19939 (PreviousWordAction.actionPerformed): Rewritten.
19940 (SelectLineAction): New inner class.
19941 (SelectWordAction): New inner class.
19942 (SelectionDownAction): Rewritten.
19943 (SelectionUpAction): Rewritten.
19944 (DownAction): Rewritten.
19945 (UpAction): Rewritten.
19946 (SelectionForwardAction): Rewritten.
19947 (SelectionBackwardAction): Rewritten.
19948 (ForwardAction): Rewritten.
19949 (BackwardAction): Rewritten.
19950 (BeginAction): New inner class.
19951 (EndAction): New inner class.
19952 (DefaultKeyTypedAction.actionPerformed): Use int variant of
19953 Character.isISOControl.
19955 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19957 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
19958 (WordFilter.getNextVisualPositionFrom): Added statement to check
19959 for variable pt not being null.
19961 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19963 * javax/swing/text/Utilities.java:
19964 (getNextWord): Fixed grammar in exception message.
19965 (getPreviousWord): Changed expression in first if-clause, added sub-
19966 expression to if-clause in while-loop.
19967 (getWordStart): Changed expression in if-clause.
19968 getNextVisualPositionFrom): Added package-private helper method.
19970 2006-05-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19972 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19975 2006-05-13 Raif S. Naffah <raif@swiftdsl.com.au>
19977 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
19979 * tools/Makefile.am (JARSIGNER_HELPS): Removed.
19980 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
19981 * tools/gnu/classpath/tools/jarsigner/Main.java:
19982 Increased visibility of fields used by parser anonymous classes.
19983 (HELP_PATH): Removed.
19984 (cmdLineParser): New field.
19985 (main): Handle JVM exit status.
19986 Handle command line parsing exceptions.
19987 (processArgs): Use getopt command line parser.
19988 (getParser): New method.
19989 (setupCommonParams): Removed checks now handled by processArgs().
19990 (setupSigningParams): Likewise.
19991 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
19992 Reuse an existing message-bundle constant.
19994 2006-05-12 Tom Tromey <tromey@redhat.com>
19996 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
19997 Explicitly specify class for synchronization.
19999 2006-05-12 Tom Tromey <tromey@redhat.com>
20001 * java/util/logging/Logger.java (resetLogger): Fixed typo.
20003 2006-05-12 Sven de Marothy <sven@physto.se>
20005 * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
20006 * gnu/java/net/protocol/http/HTTPURLConnection.java
20007 (setConnectTimeout): New method.
20008 (getConnection): Add timeout parameter.
20009 * java/net/URLConnection.java
20010 (getConnectTimeout, setConnectTimeout): Implement.
20011 * native/target/generic/target_generic_network.h:
20012 Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
20014 2006-05-12 Sven de Marothy <sven@physto.se>
20016 * gnu/javax/print/CupsServer.java
20017 (CupsServer): Make the Cups host configurable.
20018 * java/lang/System.java: Document the system property.
20020 2006-05-12 Roman Kennke <kennke@aicas.com>
20022 * javax/swing/border/TitledBorder.java
20023 (paintBorder): Rewritten for simplicity and correctness.
20024 (layoutBorderWithTitle): New helper method.
20025 (paintBorderWithTitle): New helper method.
20026 (getBorderInsets): Rewritten.
20027 (getMinimumSize): Rewritten.
20028 (getRealJustification): Removed.
20029 (getMeasurements): Removed.
20030 (Measurements): Removed.
20032 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
20034 * javax/swing/plaf/basic/BasicPanelUI.java
20035 (sharedUI): New field,
20036 (createUI): Return a shared instance rather than a new instance,
20037 (installUI): Reformatted and added API docs,
20038 (installDefaults): Install border if one is defined,
20039 (uninstallDefaults): Uninstall border.
20041 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
20043 * javax/swing/JProgressBar.java: Updated API docs all over.
20045 2006-05-11 Lillian Angel <langel@redhat.com>
20047 * java/awt/ContainerOrderFocusTraversalPolicy.java
20048 (getComponentAfter): Should not throw exception if
20049 the ancestor is null. Added a check for this.
20050 Also, changed to use new helper function, we should
20051 iterate through all the components at least once.
20052 (getNextAvailableComponent): New helper function.
20053 (getPrevAvailableComponent): New helper function.
20054 (getComponentBefore): Should not throw exception if
20055 the ancestor is null. Added a check for this.
20056 Also, changed to use new helper function, we should
20057 iterate through all the components at least once.
20058 (getFirstComponent): Changed check to manually check
20059 fields. Calling accept() casts the object to a Component,
20060 so different values may be returned.
20061 (getLastComponent): Likewise.
20063 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20065 * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
20066 * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
20067 * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
20068 * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
20069 * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
20070 * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
20071 * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
20072 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
20073 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
20074 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
20075 * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
20076 * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
20077 * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
20078 * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
20079 * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
20080 * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
20081 * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
20082 * javax/swing/plaf/metal/MetalUtils.java: Likewise.
20084 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20086 * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
20087 package-private, added field 'active'.
20088 (PropertyChangeHandler.propertyChange): Added variable 'name', added
20089 cases to update field 'active'.
20090 (mouseDragged): Added documentation, added if-clause to update
20091 selection or caret position.
20092 (mouseClicked): Added early return when text component is disabled.
20093 (focusGained): Moved statements into an if-clause.
20094 (focusLost): Added subexpression to if-clause.
20095 (install): Preset value of 'active'.
20096 (paint): Added subexpression to if-clause.
20097 (isVisible): Extended return expression.
20098 * javax/swing/text/JTextComponent.java:
20099 (copy): Copy only if component is enabled.
20100 (cut): Cut only if component is enabled and editable.
20103 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20105 * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
20106 * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
20107 * javax/swing/plaf/multi/MultiListUI.java: Likewise,
20108 * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
20109 * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
20110 * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
20111 * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.
20113 2006-05-11 Roman Kennke <kennke@aicas.com>
20115 * gnu/java/awt/font/GNUGlyphVector.java
20116 (GNUGlyphVector): Don't apply the font renderer context's
20119 2006-05-11 Mark Wielaard <mark@klomp.org>
20121 * java/util/logging/Logger.java (global): Initialize inside static
20124 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20126 * javax/swing/JFrame.java
20127 (EXIT_ON_CLOSE): Added note to API docs,
20128 (close_action): Renamed closeAction,
20129 (JFrame()): Change title to "",
20130 (JFrame(String)): Added API docs,
20131 (getAccessibleContext): Likewise,
20132 (getDefaultCloseOperation): Updated for renamed field, added API docs,
20133 (processWindowEvent): Updated for renamed field,
20134 (setDefaultCloseOperation): Likewise, and updated API docs.
20136 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20138 * javax/swing/JFrame.java
20139 (paramString): Reimplemented,
20140 * javax/swing/SwingUtilities.java
20141 (convertWindowConstantToString): New method.
20143 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20145 * javax/swing/WindowConstants.java: Updated API docs.
20147 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20149 * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
20150 (createUI): Removed 'final' qualifier for parameter,
20151 (paint): Reformatted.
20153 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20155 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
20156 (createUI): Removed 'final' qualifier on method argument.
20158 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20160 * javax/swing/plaf/basic/BasicCheckBoxUI.java
20161 (getDefaultIcon): Removed this redundant method.
20163 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20165 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20166 (paint): Pass component size to paintFocus().
20168 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20170 * java/awt/Component.java:
20171 (dispatchEventImpl): Added comment.
20173 2006-05-11 Mark Wielaard <mark@klomp.org>
20175 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
20176 Option constructor null argument to String.
20178 2006-05-11 Mark Wielaard <mark@klomp.org>
20180 * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
20181 Fully qualify PathIterator constants
20183 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20185 * java/awt/Component.java:
20186 (dispatchEventImpl): Added subexpression to if-clause.
20188 2006-05-11 Mark Wielaard <mark@klomp.org>
20190 * java/util/Collections.java (UnmodifiableMapEntry): Qualify
20193 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20195 * javax/swing/TransferHandler.java: Marked stub methods.
20197 2006-05-10 Roman Kennke <kennke@aicas.com>
20200 * javax/swing/plaf/basic/BasicInternalFrameUI.java
20201 (installDefaults): Set background of content pane to null, if
20202 no custom color has been installed by the application yet.
20204 2006-05-10 Roman Kennke <kennke@aicas.com>
20207 * javax/swing/JRootPane.java
20208 (createContentPane): Don't set background to null.
20210 2006-05-10 Sven de Marothy <sven@physto.se>
20212 * java/awt/print/PrinterJob.java:
20213 (lookupPrintServices): Un-comment-out.
20215 2006-05-11 Raif S. Naffah <raif@swiftdsl.com.au>
20217 * tools/gnu/classpath/tools/getopt/OptionGroup.java
20218 (FILLER): New constant.
20219 (formatText(PrintStream,String,int)): New method.
20220 (formatText(PrintStream,String,int,Locale)): Likewise.
20221 (printHelp): Use formatText method.
20222 * tools/gnu/classpath/tools/getopt/Parser.java
20223 (MAX_LINE_LENGTH): New constant.
20224 (formatText(PrintStream,String)): New method.
20225 (formatText(PrintStream,String,Locale)): Likewise.
20226 (printHelp): New method.
20227 (printHelp(PrintStream)): Increased visibility to protected.
20228 Use formatText method.
20230 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20232 * javax/swing/plaf/metal/MetalRadioButtonUI.java
20233 (installDefaults): Use getPropertyPrefix() to allow subclasses to
20234 modify the lookup key.
20236 2006-05-10 Lillian Angel <langel@redhat.com>
20238 * java/util/SimpleTimeZone.java: Reverted patch.
20239 (SimpleTimeZone): Throw exception if startMonth ==
20241 (SimpleTimeZone): Likewise.
20242 (checkRule): Rewritten to properly check all values (more
20244 This code is now more stable, at least less buggy than before.
20245 Fixed API documentation.
20246 (setStartRule): Moved checkRule call to end.
20247 (setStartRule): Likewise.
20248 (setEndRule): Likewise.
20249 (setEndRule): Likewise.
20251 2006-05-10 Roman Kennke <kennke@aicas.com>
20253 * gnu/java/awt/peer/swing/SwingComponent.java:
20254 Some API comment fixlets.
20255 * gnu/java/awt/peer/swing/SwingComponentPeer.java:
20256 (createImage): Create a BufferedImage, not a Toolkit image.
20257 (paint): Removed bogus API comment.
20258 (prepareImage): Added checks to avoid NPE.
20259 * gnu/java/awt/peer/swing/SwingContainerPeer.java:
20260 (getInsets): Added check to avoid NPE.
20261 (handleMouseEvent): Added check to avoid NPE.
20262 * gnu/java/awt/peer/swing/SwingFramePeer.java:
20263 Some API comment fixlets.
20264 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
20265 Some API comment fixlets.
20266 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
20267 Changed start_pos name to startPos.
20268 * gnu/java/awt/peer/swing/SwingWindowPeer.java:
20269 Some API comment fixlets.
20271 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20273 * java/awt/BasicStroke.java
20274 (equals): Fixed typo in HTML tag for API doc comment.
20276 2006-05-10 Gary Benson <gbenson@redhat.com>
20278 * java/lang/ThreadGroup.java (parent): Make package-private.
20279 * java/lang/SecurityManager.java (checkAccess(Thread)):
20280 Reference ThreadGroup.parent directly to avoid extra checks.
20281 * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
20284 2006-05-10 Roman Kennke <kennke@aicas.com>
20286 Reported by Ingo Proetel (proetel@aicas.com)
20287 * java/awt/EventDispatchThread.java
20288 (DEFAULT_PRIORITY): New constant field.
20289 (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
20290 system property for adjusting the priority of the event
20293 2006-05-10 Roman Kennke <kennke@aicas.com>
20295 Reported by Ingo Proetel (proetel@aicas.com)
20296 * java/awt/image/ColorModel.java
20297 (S_RGB_MODEL): New constant field.
20298 (getRGBDefault): Return constant SRGBColorModel.
20299 (SRGBColorModel): Specialized color model for sRGB.
20301 2006-05-10 Roman Kennke <kennke@aicas.com>
20303 * java/awt/ColorPaintContext.java
20304 (getRaster): Create Raster with (0,0) as source location.
20306 2006-05-10 Roman Kennke <kennke@aicas.com>
20308 * gnu/java/awt/java2d/AlphaCompositeContext.java
20309 (compose): Don't premultiply alpha to alpha itself.
20311 2006-05-10 Roman Kennke <kennke@aicas.com>
20313 * gnu/java/awt/java2d/AbstractGraphics2D.java
20314 (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
20315 (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
20317 (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
20318 (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
20319 (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
20321 (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
20322 (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
20324 (scale): Inverse transform by doing 1/scale instead of -scale.
20325 (drawImage(Image,int,int,ImageObserver)): Implemented.
20326 (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
20327 (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
20328 (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
20329 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
20331 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
20333 (fillScanline): Work on translated destination raster for
20334 correct compositin.
20335 (init): Fetch the clip after the destination raster is initialized.
20336 * gnu/java/awt/java2d/ImagePaint.java: New file.
20337 * gnu/java/awt/java2d/RasterGraphics
20338 (drawImage): Removed.
20340 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20342 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20343 Clarify option descriptions.
20344 * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
20345 uppercase for metasyntactic variables.
20347 2006-05-09 Robert Schuster <robertschuster@fsfe.org>
20350 * javax/swing/text/AbstractDocument.java:
20351 (insertString): Added more documentation, added argument check.
20352 (remove): Added more documentation.
20353 (removeImpl): Added argument check.
20354 (replace): Added more documentation, added argument check.
20356 2006-05-09 Tom Tromey <tromey@redhat.com>
20358 * tools/.cvsignore: Added appletviewer.
20360 2006-05-09 Tom Tromey <tromey@redhat.com>
20362 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
20365 2006-05-09 Tom Tromey <tromey@redhat.com>
20367 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp):
20368 Special case for '-J'. Use space instead of '='.
20369 * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
20372 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20374 * configure.ac: Add --disable-plugin and --with-vm options. Check
20375 for plugin support headers and libraries.
20376 * native/Makefile.am: Recurse into plugin directory.
20377 * native/plugin/.cvsignore: New file.
20378 * native/plugin/Makefile.am: New file.
20379 * native/plugin/gcjwebplugin.cc: New file.
20380 * tools/Makefile.am: Install appletviewer wrapper script.
20381 * tools/appletviewer.in: Replace VM location heuristic with
20382 VM_BINARY configure substitution.
20384 2006-05-09 Tom Tromey <tromey@redhat.com>
20386 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
20387 an initial pass to look for short options. Added 'longOnly' option.
20388 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
20390 * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
20391 options into final group. Added -J.
20392 (add): Insert new groups before final group.
20393 (printHelp): Updated.
20395 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20398 * tools/gnu/classpath/tools/giop/GRMIC.java (main),
20399 tools/gnu/classpath/tools/rmi/RMIC.java (main):
20400 Expect -classpath option.
20401 * tools/gnu/classpath/tools/rmi/RMIC.txt,
20402 tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
20404 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
20405 (classLoader): New field. (loadClass, setClassPath):
20408 2006-05-09 Roman Kennke <kennke@aicas.com>
20410 * gnu/java/awt/java2d/RasterGraphics.java
20411 (RasterGraphics): Call init() and super().
20412 (drawImage): Temporary drawImage impl until AbstractGraphics2D has
20415 2006-05-09 Gary Benson <gbenson@redhat.com>
20417 * java/lang/Thread.java (Thread): Always perform threadgroup
20418 access checks on thread creation.
20420 2006-05-09 Chris Burdess <dog@gnu.org>
20422 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
20423 be preserved during cloneNode.
20425 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20428 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
20429 Do not demand all thrown exceptions to be an instance of RemoteException.
20431 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20433 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20434 Use hash-style comments.
20435 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20438 2006-05-09 David Gilbert <david.gilbert@object-refinery.com>
20440 * javax/swing/JLabel.java
20441 (paramString): Added more attribute details,
20442 * javax/swing/SwingUtilities.java
20443 (convertHorizontalAlignmentCodeToString): New method,
20444 (convertVerticalAlignmentCodeToString): New method.
20446 2006-05-08 Tom Tromey <tromey@redhat.com>
20448 * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20449 * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20450 * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20453 * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20455 (run): Use ZipInputStream.
20456 (initSet): New method.
20457 (shouldExtract): Likewise.
20458 (run): Use new methods.
20459 * tools/gnu/classpath/tools/jar/Creator.java
20460 (writeCommandLineEntries): New overload.
20461 (writeFile): Use System.err for verbose.
20462 (writeManifest): New method.
20463 (writtenItems): New field.
20464 (writeFile): Update it.
20465 (writeCommandLineEntries): Return void. Call writeManifest.
20466 (addEntries): Don't add extra '/'.
20467 * NEWS: Mention jar.
20469 2006-05-08 Lillian Angel <langel@redhat.com>
20471 * gnu/java/net/IndexListParser.java: New class.
20472 * java/net/URLClassLoader.java
20473 (JarURLLoader): Fixed code to use new class.
20475 2006-05-08 Roman Kennke <kennke@aicas.com>
20477 * javax/swing/JComboBox.java
20478 (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20479 (AccessibleJComboBox.getAccessibleChild): Implemented.
20480 (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20481 (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20482 (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20483 (AccessibleJComboBox.getAccessibleAction): Implemented.
20484 (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20485 (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20486 (AccessibleJComboBox.doAccessibleAction): Implemented.
20487 (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20488 (AccessibleJComboBox.addAccessibleSelection): Implemented.
20489 (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20490 (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20491 (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20493 2006-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
20495 * configure.ac: Add support for building appletviewer.
20496 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20498 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20500 * tools/appletviewer.c: New file.
20501 * tools/appletviewer.in: New file.
20502 * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20504 * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20506 * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20507 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20509 * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20511 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20513 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20515 * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20517 * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20518 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20520 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20522 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20524 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20526 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20528 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20530 * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20533 2006-05-08 Tom Tromey <tromey@redhat.com>
20535 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20536 * tools/gnu/classpath/tools/jar/Action.java: New file.
20537 * tools/gnu/classpath/tools/jar/Creator.java: New file.
20538 * tools/gnu/classpath/tools/jar/Entry.java: New file.
20539 * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20540 * tools/gnu/classpath/tools/jar/Lister.java: New file.
20541 * tools/gnu/classpath/tools/jar/Main.java: New file.
20542 * tools/gnu/classpath/tools/jar/Updater.java: New file.
20543 * tools/gnu/classpath/tools/getopt/Option.java: New file.
20544 * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20545 * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20546 * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20547 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20550 2006-05-08 Lillian Angel <langel@redhat.com>
20552 * java/net/URLClassLoader.java
20553 (JarURLLoader): Added check to make sure the INDEX.LIST file
20556 2006-05-08 Roman Kennke <kennke@aicas.com>
20558 * gnu/java/awt/java2d/AbstractGraphics2D.java
20559 (fill): Removed commented out code.
20560 (fillShape): Also determine the outline of the clip and feed
20561 it into the rendering method. Use new helper method for
20562 converting the shapes into lists of segments.
20563 (getUserBounds): Removed obsolete method.
20564 (rawFillShape): Respect the clip when rendering shapes.
20565 (fillShapeAntialias): Adjusted signature for new clipped rendering.
20566 However, the implementation can't clip still.
20567 (getSegments): New helper method for converting a shape into
20568 a list of segments.
20569 (clipShape): Removed obsolete method.
20570 * gnu/java/awt/java2d/PolyEdge.java
20571 (isClip): New field.
20572 (PolyEdge): Added isField argument to constructor.
20574 2006-05-08 Roman Kennke <kennke@aicas.com>
20577 * javax/swing/JRootPane.java
20578 (createContentPane): Set background of the content pane to null,
20579 so that the content pane inherits its background from the
20582 2006-05-08 Roman Kennke <kennke@aicas.com>
20585 * javax/swing/ButtonGroup.java
20586 (add): Check if new button is selected and if so, deselect other
20587 buttons in the group.
20589 2006-05-08 Lillian Angel <langel@redhat.com>
20592 * java/net/URLClassLoader.java
20593 (JarURLLoader): Added code to go through
20594 META-INF/INDEX.LIST file to load all jars listed.
20596 2006-05-08 Roman Kennke <kennke@aicas.com>
20599 * javax/swing/ImageIcon.java
20600 (ImageIcon(URL)): Set description to URL.toString().
20602 2006-05-08 Roman Kennke <kennke@aicas.com>
20605 * javax/swing/JTable.java
20606 (IconCellRenderer.getTableCellRendererComponent): Set icon to
20607 null when cell value is null.
20609 2006-05-08 Roman Kennke <kennke@aicas.com>
20612 * javax/swing/DefaultDesktopManager.java
20613 (closeFrame): Don't perform default close action on the frame
20614 to prevent endless loop.
20616 2006-05-08 Roman Kennke <kennke@aicas.com>
20619 * javax/swing/table/DefaultTableModel.java
20620 (addExtraRows): New helper method.
20621 (checkSize): New helper method.
20622 (setRowCount): Use addExtraRows helper method.
20623 (addColumn): Use addExtraRows helper method.
20624 (getColumnName): Check and adjust size if necessary using
20627 2006-05-08 Roman Kennke <kennke@aicas.com>
20630 * javax/swing/JTable.java
20631 (setValueAt): Allow setting values even when table is editable.
20633 2006-05-08 Tom Tromey <tromey@redhat.com>
20635 * java/text/SimpleDateFormat.java (compileFormat): Added missing
20636 space to error message.
20638 2006-05-08 David Gilbert <david.gilbert@object-refinery.com>
20640 * javax/swing/AbstractButton.java: Fixed comment typos.
20642 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20644 PR classpath/27435:
20645 * java/util/zip/DeflaterEngine.java:
20646 (deflateFast(boolean,boolean)): Empty buffer when full.
20648 2006-05-07 Sven de Marothy <sven@physto.se>
20651 * java/util/Calendar.java (setTimeZone): Force recalculation.
20653 2006-05-07 Sven de Marothy <sven@physto.se>
20656 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20657 (propertyChange): Handle FRAME_ICON_PROPERTY property.
20659 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20661 PR classpath/27311:
20662 * gnu/java/text/StringFormatBuffer.java:
20663 (toString()): Implemented so we can see the contents.
20664 * java/text/DecimalFormat.java:
20665 (formatInternal(double,StringFormatBuffer,FieldPosition)):
20666 Don't calculate the exponent when the number is 0 or less.
20667 Also, use log10 instead of log now it's available.
20669 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20671 * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20672 Use instance's field creationDate not the constructor's argument.
20673 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20674 Removed unused imports.
20677 (decrypt): Added trace/debug/timing statements.
20678 (encrypt): Likewise.
20679 Use PRNG instead of instantiating every time a new SecureRandom.
20680 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20681 Removed unused imports.
20684 (verify): Added trace/debug/timing statements.
20685 (authenticate): Likewise.
20686 Use PRNG instead of instantiating every time a new SecureRandom.
20688 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20690 * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20691 (THREAD_FORMAT): Likewise.
20692 (dateFormat): Added field.
20693 (threadFormat): Added field.
20694 (format): Initialize instance fields if null.
20695 Use StringBuilder instead of StringBuffer.
20697 2006-05-07 Roman Kennke <kennke@aicas.com>
20699 * gnu/java/awt/java2d/RasterGraphics.java: New file.
20701 2006-05-07 Roman Kennke <kennke@aicas.com>
20703 * gnu/java/awt/java2d/AbstractGraphics2D.java
20704 (fillShape): Determine user space bounds of shape and feed them
20705 into the actual rendering pipeline.
20706 (rawSetPixel): Made non-abstract for now. Maybe remove later.
20707 (rawSetForeground): Likewise.
20708 (getDestinationColorModel): Removed.
20709 (getDeviceBounds): Made non-abstract. Provide useful default impl.
20710 (rawFillShape): Handle paint context.
20711 (fillScanline): Implement painting and compositing.
20712 (fillShapeAntialias): Handle paint context.
20713 (fillScanlineAA): Implemented preliminary antialiasing based on
20714 composite context. Not working yet.
20715 (fillScanlineAlpha): Removed.
20716 (init): Fetch destination raster.
20717 (getDestinationRaster): New abstract method.
20718 (updateRaster): New backend method.
20720 2006-05-07 Roman Kennke <kennke@aicas.com>
20722 * gnu/java/awt/java2d/AlphaCompositeContext.java
20723 (compose): Fixed loops, conditions and logic to make compositing
20726 2006-05-07 Roman Kennke <kennke@aicas.com>
20728 * java/awt/ColorPaintContext.java
20729 (ColorPaintContext): Fixed filling of the raster.
20731 2006-05-07 Sven de Marothy <sven@physto.se>
20734 * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20735 * java/awt/Component.java (processMouseEvent):
20736 Do lightweight cursor handling.
20737 * javax/swing/plaf/basic/BasicTableHeaderUI.java
20738 (endResizing,mouseMoved): Save and reset original cursor, not the
20741 2006-05-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20744 * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20745 getNodeDimensions): Mind the size of the node icon. (getRowX):
20746 use totalChildIndent. (TreeExpansionHandler): Set maximal height
20747 to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20748 Return nullIcon if there is no other icon. (getNodeIcon): New method.
20749 (installDefaults): assign totalChildIndent. (installUI): Call
20750 updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20751 (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20754 2006-05-06 Sven de Marothy <sven@physto.se>
20757 * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled):
20758 Check for zero image sizes.
20760 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20763 * java/util/Calendar.java (clear(int)): Forced internal state
20764 completion before performing a field clearing.
20766 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20768 * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20769 UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20770 (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20771 UnmodifiableMap.UnmodifiableEntrySet.toArray,
20772 UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20773 UnmodifiableMapEntry as part of their return value.
20775 2006-05-06 Raif S. Naffah <raif@swiftdsl.com.au>
20777 * tools/keytool.sh.in: Removed (renamed to keytool.in).
20778 * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20779 * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20780 Generate jarsigner and keytool scripts.
20781 * tools/keytool.in: New file (renamed from keytool.sh.in).
20782 * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20783 * tools/.cvsignore: Replaced *.sh with *
20784 * configure.ac: Replaced tools/*.sh with tools/*.
20786 2006-05-05 Roman Kennke <kennke@aicas.com>
20788 * java/awt/image/ColorModel.java
20789 (getNormalizedComponents): Implemented.
20791 2006-05-05 Roman Kennke <kennke@aicas.com>
20793 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20794 (paint): Query the button model for it's state, not the
20797 2006-05-05 Roman Kennke <kennke@aicas.com>
20799 * javax/swing/JTable.java
20800 (tableChanged): Sync selection model with table model changes.
20802 2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20804 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20805 if there are no visible nodes to paint.
20807 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20809 * javax/swing/JOptionPane.java: API doc updates.
20811 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20813 * javax/swing/JToolBar.java
20814 (paramString): Reimplemented.
20816 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20818 * javax/swing/JScrollBar.java
20819 (paramString): Reimplemented.
20821 2006-05-04 Tom Tromey <tromey@redhat.com>
20823 PR classpath/27375:
20824 * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
20825 (readEntries): Updated.
20826 (getEntries): Likewise.
20827 (getEntry): Likewise.
20828 (getInputStream): Likewise.
20830 2006-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
20832 * gnu/javax/imageio/jpeg/DCT.java,
20833 gnu/javax/imageio/jpeg/HuffmanTable.java,
20834 gnu/javax/imageio/jpeg/JPEGComponent.java,
20835 gnu/javax/imageio/jpeg/JPEGDecoder.java,
20836 gnu/javax/imageio/jpeg/JPEGException.java,
20837 gnu/javax/imageio/jpeg/JPEGFrame.java,
20838 gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
20839 gnu/javax/imageio/jpeg/JPEGImageReader.java,
20840 gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
20841 gnu/javax/imageio/jpeg/JPEGMarker.java,
20842 gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
20843 gnu/javax/imageio/jpeg/JPEGScan.java,
20844 gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
20845 gnu/javax/imageio/jpeg/ZigZag.java: New files.
20847 2006-05-04 Lillian Angel <langel@redhat.com>
20849 * javax/swing/JLabel.java
20850 (JLabel): Pass in an empty string for the text parameter.
20851 (JLabel): Likewise.
20852 (JLabel): Likewise.
20854 2006-05-04 Roman Kennke <kennke@aicas.com>
20856 * javax/swing/plaf/basic/BasicButtonListener.java
20857 (mouseEntered): Fixed conditions for changing states.
20859 2006-05-04 Roman Kennke <kennke@aicas.com>
20861 * javax/swing/JOptionPane.java
20862 (AccessibleJOptionPane.getAccessibleRole): Implemented method.
20864 2006-05-04 Roman Kennke <kennke@aicas.com>
20866 * javax/swing/JLabel.java
20867 (AccessibleJLabel.getSelectedText): Return null instead of "".
20868 (AccessibleJLabel.getSelectionStart): Added comment why
20869 return -1 is correct here.
20870 (AccessibleJLabel.getSelectionEnd): Added comment why
20871 return -1 is correct here.
20872 (AccessibleJLabel.getCharacterAttribute): Added comment about what
20874 (AccessibleJLabel.getCharCount): Added comment about what
20876 (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
20877 (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
20878 (paramString): Return super.paramString() here, this provides
20879 a more meaningful output.
20881 2006-05-04 Roman Kennke <kennke@aicas.com>
20883 * javax/swing/JComponent.java
20884 (paint): Added null check to avoid NPE when clip == null.
20886 2006-05-04 Roman Kennke <kennke@aicas.com>
20888 * javax/swing/AbstractButton.java
20889 (addImpl): New method. Installs an OverlayLayout if no
20890 other layout has been installed before.
20891 (setLayout): New method. Detect if a client app installs a custom
20894 2006-05-04 Roman Kennke <kennke@aicas.com>
20896 * javax/swing/table/DefaultTableCellRenderer.java
20897 (noFocusBorder): Fixed width of empty border to 1.
20898 (getTableCellRendererComponent): Don't change the colors for
20899 focuses cells. Fixed border for focused cells.
20901 2006-05-04 Roman Kennke <kennke@aicas.com>
20903 * javax/swing/JTable.java
20904 (moveToCellBeingEdited): Adjust bounding box of editing component
20905 to exactly cover the grid.
20906 * javax/swing/plaf/basic/BasicTableUI.java
20907 (paint): Paint grid to the bottom and right of the cells instead
20908 of left and top. Adjust bounding box of cells accordingly.
20909 * javax/swing/plaf/metal/MetalLookAndFeel.java
20910 (initComponentDefaults): Fixed color of JTable selection border.
20911 * javax/swing/plaf/metal/OceanTheme.java
20912 (addCustomEntriesToTable): Fixed color of JTable selection border.
20914 2006-05-04 Raif S. Naffah <raif@swiftdsl.com.au>
20916 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
20917 Use _alias instead of alias.
20919 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20922 Set version to 0.92-pre.
20924 Add space for 0.92 entries.
20926 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20928 * include/Makefile.am:
20929 Added rules for gnu.java.net.local.LocalSocketImpl.h
20930 * include/java_lang_VMSystem.h:
20931 Regenerated correctly.
20933 2006-05-03 Sven de Marothy <sven@physto.se>
20936 * java/awt/Image.java:
20937 (getScaledInstance): Default to AreaAveraging for "smooth",
20938 don't thrown an error on illegal flag values.
20939 * java/awt/image/AreaAveragingScaleFilter.java: Implement.
20941 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20943 * javax/swing/text/FieldView.java:
20944 (adjustAllocation): Added if-block to return null when shape argument
20946 * javax/swing/text/PlainView.java:
20947 (updateDamage): Added if-block to return early if a is null.
20949 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20951 * javax/swing/plaf/basic/BasicTextUI.java:
20952 (changeUpdate): Added note.
20953 (removeUpdate): Dito.
20954 (insertUpdate): Dito.
20955 (damageRange): Added if-block to return early.
20956 (modelToView): Added check of getVisibleEditorRect's return value.
20957 (getVisibleEditorRect): Return null instead of empty rectangle.
20958 * javax/swing/text/DefaultCaret.java:
20959 (clearHighlight): Removed if-clause to create a highlight entry if it
20960 did not exist before.
20961 * javax/swing/text/WrappedPlainView.java:
20962 (WrappedLine.modelToView): Throw exception if allocation area is empty,
20963 removed 2nd part of if-expression.
20964 (WrappedLine.updateDamage): Added more documentation, added check
20965 whether allocation area rectangle is null.
20967 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20969 * javax/swing/JSplitPane.java (setDividerLocation(int)):
20970 Reset to preferred sizes if the argument is negative.
20972 2006-05-03 David Gilbert <david.gilbert@object-refinery.com>
20974 * javax/swing/JList.java: Added/updated API docs.
20976 2006-05-03 Lillian Angel <langel@redhat.com>
20978 * javax/swing/JComponent.java
20979 (getRoot): New private function. Gets the root appropriate
20980 for painting. If an applet exists as a parent, then it is returned.
20981 (paintDoubleBuffered): Changed to use new function.
20982 * javax/swing/RepaintManager.java
20983 (getRoot): New private function. Gets the root appropriate
20984 for painting. If an applet exists as a parent, then it is returned.
20985 (getOffscreenBuffer): Changed to use new function.
20986 * javax/swing/SwingUtilties.java
20987 (getRoot): Reverted last patch to return Window, even if
20990 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
20992 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
20993 a pair of one public keyring and one private keyring.
20994 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
20995 (containsCertificate): Added logging.
20996 (getCertificate): Likewise.
20997 (putCertificate): Likewsie.
21000 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
21001 (containsPrivateKey): Added logging.
21002 (getPrivateKey): Likewise.
21003 (putPrivateKey): Likewise.
21004 (containsPublicKey): Likewise.
21005 (getPublicKey): Likewise.
21006 (putPublicKey): Likewise.
21007 (containsCertPath): Likewise.
21008 (getCertPath): Likewise.
21009 (putCertPath): Likewise.
21013 2006-05-03 Roman Kennke <kennke@aicas.com>
21015 * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
21016 * java/awt/AlphaComposite.java
21017 (createContext): Implemented.
21019 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21021 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
21022 Set the current color again after drawing the raster.
21024 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21026 * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
21027 Do not check pos < currLineEnd if currLineStart == currLineEnd.
21029 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
21031 * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
21032 Assign returned value to field handler.
21033 * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
21036 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21038 * javax/swing/ScrollPaneLayout.java (layoutContainer):
21039 Return without action if there is no view in the viewport.
21040 * javax/swing/text/WrappedPlainView.java
21041 (WrappedLine.getPreferredSpan): If metrics == null, update
21043 * javax/swing/tree/DefaultTreeModel.java (constructors):
21044 Do not call setRoot, assign the root node directly.
21046 2006-05-02 Lillian Angel <langel@redhat.com>
21048 * javax/swing/SwingUtilities.java
21049 (getRoot): Should return the Applet if it exists.
21050 Only return the Window if an Applet has not been
21053 2006-05-02 Lillian Angel <langel@redhat.com>
21055 * gnu/javax/swing/text/html/parser/support/Parser.java
21056 (readAttributes): Reverted Audrius' last patch. There is
21057 a slight difference in code between the NUMTOKEN and SLASH case.
21059 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
21061 * javax/swing/text/JTextComponent.java:
21062 (setText): Throw InternalError from catch-block.
21063 * javax/swing/text/GapContent.java:
21064 (removed): Removed if-expression, changed '>' to '>='.
21066 2006-05-02 Roman Kennke <kennke@aicas.com>
21068 * gnu/java/awt/java2d/AbstractGraphics2D.java
21069 (AA_SAMPLING): New constant.
21070 (alpha): New field. Used in the antialiasing renderer.
21071 (edgeTable): New field. Used in the antialiasing renderer.
21072 (AbstractGraphics2D): Initialize rendering hints wrt
21074 (draw): Clip after stroking. Commented out clipping for now,
21075 it seems to be buggy.
21076 (fill): Commented out clipping for now, it seems to be buggy.
21077 (setComposite): Don't create composite context.
21078 (setPaint): Only change paint when parameter is not null.
21079 (translate): Call setClip() so subclasses can update their clip
21081 (clip): Call setClip() so subclasses can update their clip
21083 (drawGlyphVector): Added clipping, but left it commented out
21084 because it's buggy.
21085 (getClipBounds): Returns null when clip is null.
21086 (drawLine): Call rawDrawLine with translation applied.
21087 (filLRect): Call rawFillRect with translation applied.
21088 (fillShape): Added support for anti-aliasing.
21089 (rawSetForeground(int,int,int)): New method.
21090 (rawFillShape): A couple of painting fixes.
21091 (fillScanline): Implemented to call rawDrawLine.
21092 (fillShapeAntialias): New method. Implements an anti-aliasing
21094 (fillScanlineAA): New method. Used for the anti-aliasing
21096 (fillScanlineAlpha): New method. Used for the anti-aliasing
21098 (init): Initialize clip with the device bounds.
21099 (updateOptimization): Fixed the optimization condition.
21101 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
21103 * javax/swing/text/GapContent.java:
21104 (GapContent): Restrict size argument by 2.
21105 (insertString): Changed expression from >= to >.
21106 (remove): Changed right side of expression to 'length - 1', changed
21108 (getChars): Throw exception if where below 0.
21109 (replace): Replaced call to setPositionsInRange() with
21110 resetMarksAtZero(), removed note.
21112 2006-05-02 Roman Kennke <kennke@aicas.com>
21115 * javax/swing/MenuSelectionManager.java
21116 (setSelectedPath): Rewritten.
21118 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21120 * gnu/javax/swing/text/html/parser/support/Parser.java
21121 (readAttributes): Merge case NUMTOKEN: and case SLASH:
21124 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21126 * tools/.cvsignore: Added keytool.sh.
21127 * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
21129 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21131 * doc/tools.texinfo: New file.
21132 * doc/Makefile.am: Generate tools documentation.
21134 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21136 * tools/keytool.sh.in: New file.
21137 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
21138 * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
21139 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
21140 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
21141 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
21142 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
21143 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
21144 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
21145 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
21146 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
21147 * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
21148 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
21149 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
21150 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
21151 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
21152 * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
21153 * tools/gnu/classpath/tools/keytool/package.html: Likewise.
21154 * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
21156 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21158 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
21159 resemble more closely man-page style text.
21160 * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
21161 Mark (Eclipse) strings that need not be externalised.
21162 (writeSF): Likewise.
21163 (writeDSA): Likewise.
21164 Use package-private Messages class to provide i18n-ready strings.
21166 Use package-private Messages class to provide i18n-ready strings.
21167 (updateEntry): Likewise.
21168 Mark (Eclipse) strings that need not be externalised.
21169 (finishSigning): Likewise.
21170 * tools/gnu/classpath/tools/jarsigner/Main.java:
21171 Mark (Eclipse) strings that need not be externalised.
21172 (main): Do not use constant strings as class name.
21173 Use package-private Messages class to provide i18n-ready strings.
21174 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21175 (processArgs): Do not use constant strings as class name.
21176 Mark (Eclipse) strings that need not be externalised.
21177 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21178 (start): Do not use constant strings as class name.
21179 (teardown): Likewise.
21181 (setupCommonParams): Do not use constant strings as class name.
21182 Use package-private Messages class to provide i18n-ready strings.
21183 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21184 (installNewProvider): Do not use constant strings as class name.
21186 (setupSigningParams): Do not use constant strings as class name.
21187 Use package-private Messages class to provide i18n-ready strings.
21188 Mark (Eclipse) strings that need not be externalised.
21189 (getCallbackHandler): Use CallbackUtil.
21190 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
21191 Use package-private Messages class to provide i18n-ready strings.
21192 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21193 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
21194 (verifySF): Likewise.
21195 (verifySFEntries): Do not use constant strings as class name.
21196 Use Boolean.valueOf instead of new Boolean().
21197 (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
21198 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
21200 * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
21201 * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
21203 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21205 * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
21206 * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
21207 * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
21209 2006-05-01 Tom Tromey <tromey@redhat.com>
21211 * java/nio/ByteBufferImpl.java (compact): Don't reset position
21213 * gnu/java/nio/ChannelReader.java (read): Synchronize.
21214 (close): Synchronize.
21215 * java/nio/ShortBufferImpl.java (compact): Rewrote.
21216 * java/nio/LongBufferImpl.java (compact): Rewrote.
21217 * java/nio/IntBufferImpl.java (compact): Rewrote.
21218 * java/nio/FloatBufferImpl.java (compact): Rewrote.
21219 * java/nio/DoubleBufferImpl.java (compact): Rewrote.
21220 * java/nio/CharBufferImpl.java (compact): Rewrote.
21221 * gnu/java/nio/ChannelWriter.java: New file.
21222 * java/nio/channels/Channels.java (newWriter): Implemented.
21224 2006-05-01 Lillian Angel <langel@redhat.com>
21226 * java/util/SimpleTimeZone.java
21227 (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
21228 (SimpleTimeZone): Likewise.
21229 (checkRule): Rewritten to properly check all values (more efficently).
21230 This code is now more stable, at least less buggy than before. Fixed
21232 (setStartRule): Moved checkRule call to end.
21233 (setStartRule): Likewise.
21234 (setEndRule): Likewise.
21235 (setEndRule): Likewise.
21237 2006-05-01 Tom Tromey <tromey@redhat.com>
21239 * lib/.cvsignore: Added classes.2.
21241 2006-05-01 Tom Tromey <tromey@redhat.com>
21243 * java/util/jar/JarFile.java (provider): Now package-private.
21244 * java/lang/Enum.java (compareTo): Javadoc fix.
21245 * java/lang/Boolean.java (compareTo): Javadoc fix.
21247 2006-05-01 Lillian Angel <langel@redhat.com>
21249 * gnu/javax/swing/text/html/parser/support/Parser.java
21250 (readAttributes): Formatted function. Added handling for
21251 SLASH token. The value of an attribute may start with a slash
21252 (i.e. a path). I added handling similar to to the NUMTOKEN code.
21253 We should not be skipping over these type of attributes.
21255 2006-04-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
21257 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21258 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21259 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21260 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21261 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21262 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21263 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21264 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21265 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21266 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21267 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21268 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21269 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21270 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21271 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21272 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21273 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21274 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21275 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21276 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21277 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21278 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21279 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21280 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21281 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21282 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21283 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21284 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21285 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21286 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21287 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21288 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21289 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21290 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21291 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21292 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21293 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21294 * include/gnu_java_awt_peer_qt_QMatrix.h,
21295 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21296 * include/gnu_java_awt_peer_qt_QPen.h,
21297 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21298 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21299 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21300 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21301 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21302 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21303 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21304 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21305 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21306 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21307 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21308 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21309 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21310 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21311 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21312 * include/gnu_java_awt_peer_qt_QtImage.h,
21313 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21314 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21315 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21316 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21317 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21318 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21319 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21320 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21321 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21322 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21323 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21324 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21325 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21326 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21327 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21328 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21329 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21330 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21331 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21332 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21333 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21334 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21335 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21336 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21337 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21338 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21339 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21340 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21341 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21342 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21343 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21344 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21345 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21346 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21347 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21348 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21349 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21350 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21351 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21352 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21353 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21354 * include/java_lang_VMProcess.h:
21356 * native/jni/java-lang/java_lang_VMProcess.c:
21357 Redirect when pipe_count is 2 not 3.
21359 2006-04-30 Sascha Brawer <sascha@brawer.ch>
21361 * gnu/java/awt/font/FontDelegate.java,
21362 * gnu/java/awt/font/FontFactory.java,
21363 * gnu/java/awt/font/GNUGlyphVector.java,
21364 * gnu/java/awt/font/opentype/CharGlyphMap.java,
21365 * gnu/java/awt/font/opentype/GlyphNamer.java,
21366 * gnu/java/awt/font/opentype/MacResourceFork.java,
21367 * gnu/java/awt/font/opentype/NameDecoder.java,
21368 * gnu/java/awt/font/opentype/OpenTypeFont.java,
21369 * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
21370 * gnu/java/awt/font/opentype/Scaler.java,
21371 * gnu/java/awt/font/opentype/truetype/Fixed.java,
21372 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
21373 * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
21374 * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
21375 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
21376 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
21377 * gnu/java/awt/font/opentype/truetype/Zone.java,
21378 * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
21379 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
21380 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
21381 New files. Imported font framework from:
21382 http://www.brawer.ch/software/fonts/
21384 2006-04-30 Roman Kennke <kennke@aicas.com>
21386 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21387 (lastTabInRun): Fix calculation of the last tab in a run. This
21388 has caused painting problems sometimes, making the
21389 last tab painted incorrectly.
21391 2006-04-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21394 * javax/swing/JComponent.java (paintChildrenWithOverlap):
21395 Use for and not while to prevent the endless loop.
21397 2006-04-29 David Gilbert <david.gilbert@object-refinery.com>
21399 * javax/swing/JList.java
21400 (paramString): Changed from public to protected.
21402 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21404 * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
21405 (printHelpAndExit): Re-factored to use the above method.
21407 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21409 * tools/jarsigner.sh.in: Changed license to GPL + Exception.
21410 Use -Xbootclasspath/p instead of -cp when invoking the main class.
21411 * tools/gnu/classpath/tools/jarsigner/Main.java:
21412 Changed license to GPL + Exception.
21413 (handler): New field.
21414 (getCallbackHandler): New method.
21415 (setupSigningParams): Use above method.
21416 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
21417 Changed license to GPL + Exception.
21418 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
21419 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
21420 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
21421 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
21423 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21425 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
21426 (handleConfirmation): Use print instead of println.
21427 (handleConfirmation): When case is YES_NO_OPTION, print default option
21429 (handleLanguage): Use print instead of println.
21431 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21433 * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
21434 (putComponent): Handle O and OU components.
21435 (getDer): Use correct (it2) iterator.
21436 (readAttributeValue): Read next character and break if end-of-stream.
21438 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21440 * gnu/java/security/provider/Gnu.java (run):
21441 Add "RSA" as an alias to MD5withRSA.
21442 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
21443 Always encode a NULL as the value of an algorithm parameters field.
21444 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
21445 (encodePrivateKey): Added trace/log statements.
21446 (decodePrivateKey): Likewise.
21447 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21448 (setup): Added trace/log statements.
21449 (generate): Likewise.
21450 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21451 (toString): New method.
21452 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21454 (toString): New method.
21455 * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21456 (getEncoded): Use defaultFormat.
21457 (toString): New method.
21458 * gnu/java/security/key/dss/DSSKey.java (toString):
21459 Include defaultFormat in string.
21460 * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21461 Break if successfully decoded public key.
21462 (engineGeneratePrivate): Break if successfully decoded private key.
21464 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21466 * java/security/Security.java <clinit>: Add our Callback provider.
21467 * resource/java/security/classpath.security: Likewise
21469 2006-04-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21472 * javax/swing/ScrollPaneLayout.java (layoutContainer):
21473 Decide about scroll bars from the preferred view size, not
21475 * javax/swing/ViewportLayout.java (layoutContainer):
21476 Do not change returned preferred size. Do not treat JScrollPane
21479 2006-04-28 Sven de Marothy <sven@physto.se>
21481 * java/awt/image/ReplicateScaleFilter.java: Fix comment.
21482 * javax/swing/ProgressMonitor.java (actionPerformed):
21483 Avoid divide-by-zero.
21485 2006-04-28 Sven de Marothy <sven@physto.se>
21487 * javax/swing/JSpinner.java: Fix default text justification.
21488 * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21490 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21492 * javax/swing/JList.java
21493 (getMinSelectionIndex): Return correct value, added API docs,
21494 (getMaxSelectionIndex): Added API docs.
21496 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21498 * javax/swing/JList.java
21499 (JList(Object[])): Pass new model directly to init(),
21500 (JList(Vector)): Likewise,
21501 (JList(ListModel)): Renamed argument and updated API docs,
21502 (init): Throw IllegalArgumentException for null argument,
21503 (setListData(Object[])): Delegate model creation,
21504 (setListData(Vector)): Likewise,
21505 (createListModel(Object[])): New private method,
21506 (createListModel(Vector)): New private method,
21507 (paramString): Implemented.
21509 2006-04-28 Tom Tromey <tromey@redhat.com>
21511 * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21513 (isSynthetic): Likewise.
21514 (isAnnotation): Likewise.
21515 * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21516 (isAnnotation): Likewise.
21517 (isEnum): Likewise.
21519 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21521 * javax/swing/text/View.java:
21522 (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21525 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21527 * javax/swing/text/View.java:
21528 (getNextVisualPositionFrom): Rewritten.
21529 * javax/swing/text/CompositeView.java:
21530 (getNextEastWestVisualPositionFrom): Partly implemented.
21531 (getNextNorthSouthVisualPositionFrom): Partly implemented.
21533 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21535 * javax/swing/JList.java
21536 (setFixedCellHeight): Use correct property name for event.
21538 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21540 * javax/swing/text/Utilities.java:
21541 (getNextWord): Use codePointAt instead of charAt, added note, changed
21542 if-expression, added throwing of exception.
21543 (getPreviousWord): Use codePointAt instead of charAt.
21545 2006-04-28 Jeroen Frijters <jeroen@frijters.net>
21547 * java/lang/StringBuilder.java
21548 (ensureCapacity, getChars, append(StringBuffer),
21549 append(char[],int,int), delete, replace, insert(int,char[],int,int),
21550 insert(int,String), insert(int,char), trimToSize): Replaced
21551 System.arraycopy calls with VMSystem.arraycopy.
21553 2006-04-27 Tom Tromey <tromey@redhat.com>
21555 * java/awt/image/renderable/RenderableImageProducer.java
21556 (requestTopDownLeftRightResend): Implemented.
21558 (startProduction): Add new consumer.
21560 2006-04-27 Sven de Marothy <sven@physto.se>
21562 * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21564 2006-04-27 Roman Kennke <kennke@aicas.com>
21566 * java/awt/LightweightDispatcher.java
21567 Dispatch events only to targets that have a mouselistener
21568 attached. Changed to also handle null targets.
21570 2006-04-27 Roman Kennke <kennke@aicas.com>
21572 * NEWS: Added entries about accessibility support and L&F
21573 window decorations.
21575 2006-04-27 Robert Schuster <robertschuster@fsfe.org>
21577 * javax/swing/text/Utilities.java:
21578 (getTabbedTextOffset): Introduced width variable, rewritten the check
21579 which ends the loop.
21580 (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21583 2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21585 * examples/gnu/classpath/examples/swing/TreeDemo.java
21586 (createContent): Added root visibility and selection listener demos.
21587 * javax/swing/JTree.java (setRootVisible): If false, unselect
21588 the root node, if it is selected.
21589 * javax/swing/plaf/basic/BasicTreeUI.java
21590 (TreeTraverseAction.actionPerformed): Do not select the root if it
21592 * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21593 removeSelectionPaths): Reset lead to null if the current lead path is
21594 removed from selection.
21595 * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21596 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21597 Return the same path regardless is root visible or not. (update):
21598 Reduce the identation if the root is not visible.
21599 * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21600 Return the same path regardless is root visible or not. (update):
21601 Reduce the identation if the root is not visible.
21603 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org
21605 * javax/swing/plaf/basic/BasicTreeUI.java
21606 (TreeAction.actionPerformed):Newly obtain the current lead
21607 path that must stay visible.
21608 (TreeTraverseAction.actionPerformed):Rewritten.
21609 * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21610 Do not treat root specially. (setModel): Assume the root node
21611 initially expanded.
21612 * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21613 Do not treat root specially. (setModel): Assume the root node
21614 initially expanded.
21616 2006-04-26 Chris Burdess <dog@gnu.org>
21619 * javax/xml/datatype/DatatypeFactory.java: Use complete
21620 implementation resolution mechanism.
21622 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21624 * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged):
21626 * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21627 Removed NoImplementException form the implemented method.
21629 2006-04-26 Tom Tromey <tromey@redhat.com>
21631 * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21634 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21636 * javax/swing/DefaultListSelectionModel.java
21637 (clone): Initialise empty listener list,
21638 (setSelectionMode): Throw IllegalArgumentException for bad input.
21640 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21642 * javax/swing/DefaultListSelectionModel.java
21643 (clearSelection): Clear the Bitset.
21645 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21647 * javax/swing/JTree.java (setLeadSelectionPath):
21648 Repaint the new and old lead pathes.
21649 * javax/swing/plaf/basic/BasicTreeUI.java
21650 (FocusHandler): Repaint the lead row when focus changes.
21651 (PropertyChangeHandler): Use existing constants, not the
21652 string literals for the property names.
21653 (TreeIncrementAction): Shrink the selection when moving
21654 from the selection edge to the selection anchor.
21655 (TreeSelectionHandler.valueChanged): Repaint the
21656 new and old lead pathes.
21657 (paintRow): Treat row as focused only if it is the lead row.
21658 * javax/swing/tree/DefaultTreeCellRenderer.java
21659 (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21660 (paint): Rewritten.
21661 * javax/swing/tree/DefaultTreeSelectionModel.java
21662 (addSelectionPath): Event construction fix (old and new lead were
21664 (addSelectionPaths): Likewise.
21665 * javax/swing/JComponent.java (setOpaque): Explained.
21666 * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21668 * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21671 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21673 * examples/gnu/classpath/examples/swing/TreeDemo.java
21674 (createContent): Call DefaultTreeModel.reload(), not the
21675 tree.repaint(). Expand the parent of the added node.
21676 * javax/swing/JTree.java (constructor): Do not call
21677 UpdateUI (and documented why). (treeDidChange):
21678 Added comment, excluding the misinterpretation of this method.
21679 * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21680 focusListener, keyListener, mouseListener, propertyListener,
21681 selectionModelPropertyChangeListener, treeModelListener,
21682 treeSelectionListener): Made package private.
21683 (PropertyChangeHandler): If the model changes, install the
21684 listener on it. (installUI): Assign treeModel.
21685 * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21686 comment, excluding misinterpretation.
21687 * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21688 (reload(TreeNode)): Implemented.
21690 2006-04-25 Tom Tromey <tromey@redhat.com>
21692 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21693 * javax/swing/tree/VariableHeightLayoutCache.java
21694 (getVisiblePathsFrom): Genericized.
21695 * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21698 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21700 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21701 If clicked on the other row, cancel the current editing session.
21703 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21705 * javax/swing/plaf/basic/BasicTreeUI.java
21706 (NodeDimensionsHandler.getRowX): Add half of the icon width.
21707 (paintExpandControl): Always paint in one gap distance from the left
21708 border of the path bounds.
21709 (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21710 into consideration.
21711 (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21714 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21716 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21718 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21720 * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21721 Allow slashes (/) in the unquoted parameter value.
21723 2006-04-25 Roman Kennke <kennke@aicas.com>
21725 * gnu/java/awt/java2d/AbstractGraphics2D.java
21726 (drawString(String,int,int)): Implemented.
21727 (drawString(String,float,float)): Implemented.
21728 (drawString(AttributedCharacterIterator,int,int)): Implemented.
21729 (drawString(AttributedCharacterIterator,float,float)): Implemented.
21730 (getFontRenderContext): Implemented.
21731 (drawGlyphVector): Implemented.
21732 (getFont): Implemented.
21733 (setFont): Don't change font setting when null.
21734 (getFontMetrics): Implemented.
21735 (fillShape): Re-written to fill call rawFillShape() with a list
21736 of the edges instead of double arrays.
21737 (rawFillShape): Implemented using a polygon scanline conversion.
21738 (fillScanline): New helper method.
21739 (init): Initialize foreground black. Set font.
21740 * gnu/java/awt/java2d/PolyEdge.java: New file.
21741 * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21743 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21745 * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21747 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21749 * javax/swing/JTable.java: Fixed API doc tags,
21750 * javax/swing/text/AsyncBoxView.java: Likewise,
21751 * javax/swing/text/FlowView.java: Likewise.
21753 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21755 * javax/swing/table/DefaultTableColumnModel.java
21756 (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21758 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21760 * javax/swing/table/DefaultTableColumnModel.java
21761 (DefaultTableColumnModel): Set selection model field and add 'this' as
21763 (addColumn): Add 'this' as a PropertyChangeListener,
21764 (removeColumn): Remove column before firing event, and remove 'this' as
21765 a PropertyChangeListener,
21766 (setSelectionModel): Remove 'this' as a listener from old model,
21767 (propertyChange): Check for 'width' property rather than
21768 TableColumn.COLUMN_WIDTH_PROPERTY.
21770 2006-04-24 Chris Burdess <dog@gnu.org>
21773 * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21774 attributes when no doctype exists.
21776 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21778 * javax/swing/event/ChangeEvent.java: Updated API docs,
21779 * javax/swing/event/ChangeListener.java: Likewise,
21780 * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21781 * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21782 * javax/swing/table/TableColumnModel.java: Likewise.
21784 2006-04-24 Robert Schuster <robertschuster@fsfe.org>
21786 * javax/swing/text/Utilities.java:
21787 (getBreakLocation): Introduced shift variable, added notes.
21788 * javax/swing/text/WrappedPlainView.java:
21789 (calculateBreakPosition): Decrease allocation area bounds by insets,
21790 added early return when allocation area is empty, provide start offset
21792 (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21793 (WrappedPlainView.WrappedLine.paint): Added count variable, update
21794 numLines after loop.
21795 (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21796 (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21797 (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21798 decreasing variable end by one, changed break condition in while-loop,
21799 added check for return value.
21800 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21801 allocation area is empty.
21803 2006-04-24 Sven de Marothy <sven@physto.se>
21805 * gnu/java/awt/java2d/Segment.java: New file.
21806 * gnu/java/awt/java2d/CubicSegment.java: New file.
21807 * gnu/java/awt/java2d/QuadSegment.java: New file.
21808 * gnu/java/awt/java2d/LineSegment.java: New file.
21809 * java/awt/BasicStroke.java
21810 (start): New field.
21812 (createStrokedShape): Implemented.
21813 (solidStroke): New method.
21814 (dashedStroke): New method.
21815 (capEnds): New method.
21816 (convertPath): New method.
21817 (addSegments): New method.
21818 (capEnd): New method.
21819 (lineIntersection): New method.
21820 (joinSegments): New method.
21822 2006-04-24 Roman Kennke <kennke@aicas.com>
21824 * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
21827 (clip): Changed clip to be in user space not in target space.
21828 (isOptimized): Added flag to allow optimized drawing for
21829 primitive operations (e.g. for Swing).
21830 (AbstractGraphics2D()): Set foreground in init() to avoid trouble
21831 with the paint context etc.
21832 (draw): Clip the shape before drawing it.
21833 (fill): Clip the shape before drawing it.
21834 (setComposite): Update isOptimized flag.
21835 (setPaint): Likewise.
21836 (setStroke): Likewise.
21837 (translate): Update the clip.
21838 (rotate): Likewise.
21841 (transform): Likewise.
21842 (setTransform): Likewise.
21843 (clip): Added optimization for rectangle clips.
21844 (create): Implemented.
21845 (clone): New method.
21846 (setFont): Basic implementation.
21847 (setClip): Update opimization flag.
21848 (drawLine): Added possible optimization.
21849 (fillRect): Added possible optimization.
21850 (fillShape): Implemented shape-filling by filling the flattended
21851 shape using polygon fill.
21852 (drawPixel): Added basic painting.
21853 (rawSetPixel): Changed signature to only take coordinates.
21854 (rawSetForeground): New abstract method.
21855 (getUserBounds): Implemented default for this method.
21856 (rawDrawLine): New method.
21857 (rawFillRect): New method.
21858 (rawFillPolygon): New method.
21859 (init): New method.
21860 (updateOptimization): New method.
21861 (computeIntersection): New method.
21862 (updateClip): New method.
21863 (clipShape): New method.
21865 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21867 * java/lang/Package.java: Added compatibility constructor to ease
21868 VM interface migration.
21870 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21872 * java/lang/Class.java (getEnumConstants): Implemented without
21873 delegating to VMClass.
21874 * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
21876 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21878 * java/lang/ClassLoader.java (definePackage): Added argument to
21879 Package constructor.
21880 * java/lang/Package.java (Package): Added ClassLoader argument.
21881 (loader): New field.
21882 (getDeclaredAnnotations): Implemented without help from VMPackage.
21883 * vm/reference/java/lang/VMClassLoader.java (static): Added argument
21884 to Package constructor.
21885 * vm/reference/java/lang/VMPackage.java: Removed.
21887 2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21889 * examples/gnu/classpath/examples/swing/TreeDemo.java:
21890 (createContent): Added check box to swith between single and
21891 multiple selection.
21892 * javax/swing/JTree.java (leadSelectionPath): Removed.
21893 (addSelectionInterval): Explained. (getLeadSelectionPath):
21894 Request the path from model. (getPathsBetweenRows): Explained.
21895 (setLeadSelectionPath): Set the path in model.
21896 * javax/swing/plaf/basic/BasicTreeUI.java
21897 (TreeIncrementAction.actionPerformed, isMultiSelectionEvent,
21898 isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
21899 (MouseHandler.mousePressed): Call selectPathForEvent.
21901 2006-04-23 Roman Kennke <kennke@aicas.com>
21903 * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
21905 2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
21908 Mention changes to VMProcess and VMSystem.
21909 * doc/vmintegration.texinfo:
21910 Change documentation on VMProcess and VMSystem.
21911 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21912 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21913 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21914 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21915 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21916 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21917 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21918 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21919 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21920 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21921 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21922 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21923 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21924 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21925 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21926 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21927 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21928 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21929 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21930 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21931 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21932 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21933 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21934 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21935 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21936 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21937 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21938 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21939 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21940 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21941 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21942 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21943 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21944 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21945 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21946 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21947 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21948 * include/gnu_java_awt_peer_qt_QMatrix.h,
21949 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21950 * include/gnu_java_awt_peer_qt_QPen.h,
21951 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21952 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21953 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21954 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21955 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21956 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21957 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21958 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21959 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21960 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21961 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21962 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21963 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21964 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21965 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21966 * include/gnu_java_awt_peer_qt_QtImage.h,
21967 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21968 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21969 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21970 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21971 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21972 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21973 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21974 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21975 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21976 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21977 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21978 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21979 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21980 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21981 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21982 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21983 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21984 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21985 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21986 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21987 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21988 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21989 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21990 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21991 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21992 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21993 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21994 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21995 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21996 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21997 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21998 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21999 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
22000 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
22001 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
22002 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
22003 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
22004 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
22005 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
22006 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
22007 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
22008 * include/java_lang_VMProcess.h,
22009 * include/java_lang_VMSystem.h:
22010 Regenerated with GCJ 4.1.
22012 2006-04-22 Casey Marshall <csm@gnu.org>
22014 Fixes PR classpath/27228.
22015 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
22016 (initialize): also accept `DHParameterSpec.'
22017 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
22018 handle a passed-in `DHParameterSpec' properly.
22019 (generate): don't check if the random exponent is less than `q -
22020 1' if no `q' was specified.
22022 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22024 * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
22025 Only repaint the patches, speficied in the passed event.
22026 (expandPath): Do nothing if the path is already expanded.
22027 (scrollPathToVisible): Only scroll to visible, do nothing else.
22028 * javax/swing/plaf/basic/BasicTreeUI.java
22029 (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
22030 (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
22031 (TreeTraverseAction.actionPerformed): Collapse the node on the
22032 action "selectParent". (selectPath): Rewritten.
22033 * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
22034 Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
22035 Do not reuse selection array.
22036 * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
22038 * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
22041 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22043 * javax/swing/tree/DefaultTreeSelectionModel.java
22044 (addSelectionPath): If the path cannot be added, set it.
22045 (addSelectionPaths): Call insureRowContinuity.
22046 (arePathsContiguous): Implemented.
22047 (canPathBeAdded): New private method.
22048 (canPathsBeAdded): Implemented.
22049 (canPathsBeRemoved): Implemented.
22050 (getPath): New private method.
22051 (insureRowContinuity): Implemented.
22052 (removeSelectionPath): Call insureRowContinuity.
22053 (removeSelectionPaths): Call insureRowContinuity.
22054 (resetRowSelection): Removed stub marking, not used in implementation
22055 (nothing to do there).
22056 (selectOne): New private method.
22057 (setSelectionMode) Call insureRowContinuity.
22058 (setSelectionPaths) Remove the current selection by clearing it.
22060 2006-04-22 Carsten Neumann <cn-develop@gmx.net>
22062 * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
22063 parameters consistendly, documented some methods.
22064 * java/sql/Blob.java: Likewise.
22065 * java/sql/CallableStatement.java: Likewise.
22066 * java/sql/Clob.java: Likewise.
22067 * java/sql/Connection.java: Likewise.
22068 * java/sql/DatabaseMetaData.java: Likewise.
22069 * java/sql/Date.java: Likewise.
22070 * java/sql/Driver.java: Likewise.
22071 * java/sql/PreparedStatement.java: Likewise.
22072 * java/sql/ResultSet.java: Likewise.
22073 * java/sql/ResultSetMetaData.java: Likewise.
22074 * java/sql/SQLData.java: Likewise.
22075 * java/sql/SQLOutput.java: Likewise.
22076 * java/sql/SQLWarning.java: Likewise.
22077 * java/sql/Statement.java: Likewise.
22078 * java/sql/Time.java: Likewise.
22079 * java/sql/Timestamp.java: Likewise.
22081 2006-04-21 Jeroen Frijters <jeroen@frijters.net>
22083 * java/lang/reflect/AccessibleObject.java:
22084 Implemented AnnotatedElement.
22085 (getAnnotation, getAnnotations, getDeclaredAnnotations,
22086 isAnnotationPresent): New methods.
22088 2006-04-21 Tom Tromey <tromey@redhat.com>
22090 PR classpath/27163:
22091 * gnu/java/net/protocol/ftp/FTPConnection.java
22092 (changeWorkingDirectory): Do nothing if path is empty.
22094 2006-04-21 Tom Tromey <tromey@redhat.com>
22097 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
22098 case where no '/' appears in 'location'.
22100 2006-04-21 Tom Tromey <tromey@redhat.com>
22102 * java/security/Security.java (<clinit>): Add all default providers.
22103 * resource/java/security/classpath.security: Added comment.
22105 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22107 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
22108 * javax/swing/SpinnerNumberModel.java: Likewise.
22110 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22112 * javax/swing/SpinnerDateModel.java
22113 (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
22114 checking to call compareTo() on start and end.
22116 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22118 * javax/swing/border/AbstractBorder.java: API doc updates,
22119 * javax/swing/border/BevelBorder.java: Likewise,
22120 * javax/swing/border/CompoundBorder.java: Likewise,
22121 * javax/swing/border/EtchedBorder.java: Likewise,
22122 * javax/swing/border/LineBorder.java: Likewise,
22123 * javax/swing/border/MatteBorder.java: Likewise,
22124 * javax/swing/border/TitledBorder.java: Likewise.
22126 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22128 * gnu/javax/crypto/cipher/Anubis.java:
22129 (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
22131 * gnu/javax/crypto/cipher/Blowfish.java:
22132 (selfTest): Likewise,
22133 * gnu/javax/crypto/cipher/Cast5.java:
22134 (selfTest): Likewise,
22135 * gnu/javax/crypto/cipher/Khazad.java:
22136 (selfTest): Likewise,
22137 * gnu/javax/crypto/cipher/Rijndael.java:
22138 (selfTest): Likewise,
22139 * gnu/javax/crypto/cipher/Serpent.java:
22140 (selfTest): Likewise,
22141 * gnu/javax/crypto/cipher/Square.java:
22142 (selfTest): Likewise,
22143 * gnu/javax/crypto/cipher/Twofish.java:
22144 (selfTest): Likewise,
22145 * gnu/javax/crypto/mac/UMac32.java:
22146 (selfTest): Likewise,
22147 * gnu/javax/crypto/prng/CSPRNG.java:
22148 (getSystemInstance): Likewise.
22150 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22152 * gnu/java/security/hash/Haval.java:
22153 (selfTest): Use Boolean.valueOf() to avoid creating new Boolean
22155 * gnu/java/security/hash/MD2.java:
22156 (selfTest): Likewise,
22157 * gnu/java/security/hash/MD4.java:
22158 (selfTest): Likewise,
22159 * gnu/java/security/hash/MD5.java:
22160 (selfTest): Likewise,
22161 * gnu/java/security/hash/RipeMD128.java:
22162 (selfTest): Likewise,
22163 * gnu/java/security/hash/RipeMD160.java:
22164 (selfTest): Likewise,
22165 * gnu/java/security/hash/Sha160.java:
22166 (selfTest): Likewise,
22167 * gnu/java/security/hash/Sha256.java:
22168 (selfTest): Likewise,
22169 * gnu/java/security/hash/Sha384.java:
22170 (selfTest): Likewise,
22171 * gnu/java/security/hash/Sha512.java:
22172 (selfTest): Likewise,
22173 * gnu/java/security/hash/Tiger.java:
22174 (selfTest): Likewise,
22175 * gnu/java/security/hash/Whirlpool.java:
22176 (selfTest): Likewise.
22178 2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22180 * javax/swing/plaf/basic/BasicTreeUI.java
22181 (PropertyChangeHandler.propertyChange): Set the row mapper
22182 for the selection model.
22183 * javax/swing/tree/AbstractLayoutCache.java
22184 (NodeDimensions.getNodeDimensions): Explained.
22185 (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
22186 Implemented. (setRowHeight): Invalidate sizes.
22187 * javax/swing/tree/DefaultTreeSelectionModel.java
22188 (addSelectionPath, addSelectionPaths): Update lead row.
22189 (removeSelectionPath, removeSelectionPaths): Do nothing if
22190 selection is empty.
22191 (clone): Only clone list selection model if it is not null.
22192 (getRow): New method. (isRowSelected, getLeadSelectionRow,
22193 setSelectionPath, setSelectionPaths, toString): Implemented.
22194 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
22195 Pass the empty rectangle. (isFixedRowHeight): New method.
22196 * javax/swing/tree/VariableHeightLayoutCache.java
22197 (NodeRecord.getBounds): Pass the empty rectangle.
22199 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22201 * gnu/java/security/Properties.java
22202 (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
22204 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22206 * gnu/classpath/jdwp/util/Value.java
22207 (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid
22208 creating new Boolean instances.
22210 2006-04-20 Mark Wielaard <mark@klomp.org>
22212 * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
22213 PrivilegedAction. Access awt.toolkit through SystemProperties.
22215 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22217 * javax/swing/ActionMap.java: Removed unused imports,
22218 * javax/swing/DefaultListSelectionModel.java
22219 (clearSelection): Removed unused label,
22220 * javax/swing/JScrollPane.java: Removed unused imports,
22221 * javax/swing/UIManager.java: Likewise,
22222 * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
22224 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22226 * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
22227 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
22228 * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
22229 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
22230 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
22232 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22234 * java/sql/Array.java: Fixed Eclipse API doc warnings,
22235 * java/sql/Blob.java: Likewise,
22236 * java/sql/CallableStatement.java: Likewise,
22237 * java/sql/Clob.java: Likewise,
22238 * java/sql/Connection.java: Likewise,
22239 * java/sql/DatabaseMetaData.java: Likewise,
22240 * java/sql/Date.java: Likewise,
22241 * java/sql/Driver.java: Likewise,
22242 * java/sql/PreparedStatement.java: Likewise,
22243 * java/sql/ResultSet.java: Likewise,
22244 * java/sql/ResultSetMetaData.java: Likewise,
22245 * java/sql/SQLData.java: Likewise,
22246 * java/sql/SQLOutput.java: Likewise,
22247 * java/sql/SQLWarning.java: Likewise,
22248 * java/sql/Statement.java: Likewise,
22249 * java/sql/Time.java: Likewise,
22250 * java/sql/Timestamp.java: Likewise.
22252 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22254 * java/sql/DriverManager.java
22255 (setLoginTimeout): Use incoming argument,
22256 (setLogStream): Likewise,
22257 (println): Fix API doc comment.
22259 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22261 * javax/swing/JMenuItem.java
22262 (paramString): Updated API docs,
22263 (getAccessibleContext): Added API docs,
22264 (AccessibleJMenuItem.stateChanged): Marked as stub,
22265 (AccessibleJMenuItem.getAccessibleRole): Added API docs,
22266 * javax/swing/JSlider.java
22267 (paramString): Fix for API docs,
22268 * javax/swing/JToolTip.java
22269 (getAccessibleContext): Fix for API docs.
22271 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22273 * javax/swing/JRadioButtonMenuItem.java
22274 (paramString): Reimplemented,
22275 (getAccessibleContext): API docs added,
22276 (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()):
22278 (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
22280 2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22282 * javax/swing/plaf/basic/BasicTreeUI.java
22283 (finish): Invalidate path bounds.
22284 (getMaxHeight): Set the row height to the layout cache.
22285 (startEditing): Do not request to recalculated
22286 row height and preferred size.
22287 * javax/swing/tree/DefaultTreeCellEditor.java
22288 (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
22290 * javax/swing/tree/FixedHeightLayoutCache.java:
22293 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22295 * javax/swing/JDesktopPane.java
22296 (paramString): Reimplemented,
22297 plus API doc updates in AccessibleJDesktopPane.
22299 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22301 * javax/swing/ImageIcon.java:
22302 (AccessibleImageIcon.getAccessibleStateSet): Return null always,
22303 (AccessibleImageIcon.getLocale): Declared exception and always return
22305 (getAccessibleContext): Updated API docs,
22306 plus updated API docs all over AccessibleImageIcon.
22308 2006-04-20 Roman Kennke <kennke@aicas.com>
22311 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
22312 (paintText): Fetch the ascent only once. Add the ascent to
22313 the text rect also when tabs are disabled.
22315 2006-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
22317 * java/util/Locale.java (defaultLocale): Set to en_US per
22318 default and use user.country but prioritize user.region if
22320 (getLocale(String language, String country)): Renamed region to
22322 (getLocale(String language, String region, String variant)):
22324 (getAvailableLocales): Likewise.
22326 2006-04-20 Roman Kennke <kennke@aicas.com>
22329 * javax/swing/JList.java
22330 (JList()): Call init() with DefaultListModel instance.
22331 (JList(Object[])): Call init() with null.
22332 (JList(Vector)): Call init() with null.
22333 (JList(ListModel)): Call init() with model.
22334 (init): Changed to take the model as argument. Don't call
22335 setter methods and initialize stuff directly instead.
22336 (getCellBounds): Check if UI is null.
22338 2006-04-20 Robert Schuster <robertschuster@fsfe.org>
22340 * javax/swing/text/WrappedPlainView.java: Initialize
22341 WrappedLine.numLines with -1.
22342 (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
22343 numLines is -1 and reculcalate the value appropriately.
22344 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
22345 allocation area is empty.
22347 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22349 * javax/swing/JTabbedPane.java
22350 (AccessibleJTabbedPane.stateChanged): Marked as stub,
22351 (AccessibleJTabbedPane.getAccessibleRole): Likewise,
22352 (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
22353 (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
22354 (AccessibleJTabbedPane.getAccessibleAt): Likewise,
22355 (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
22356 (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
22357 (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
22358 (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
22359 (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
22360 (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
22361 (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
22362 (Page.getAccessibleStateSet): Likewise,
22363 (Page.getAccessibleIndexInParent): Likewise.
22365 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22367 * javax/swing/JProgressBar.java
22368 (paramString): Reimplemented.
22370 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22372 * javax/swing/JButton.java: Updated API docs all over.
22374 2006-04-19 Roman Kennke <kennke@aicas.com>
22376 * java/awt/Toolkit.java
22377 (getDefaultToolkit): Use system classloader to load the
22380 2006-04-19 Robert Schuster <robertschuster@fsfe.org>
22382 * javax/swing/text/DefaultCaret.java:
22383 (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
22384 instead of DefaultCaret.setDot.
22386 2006-04-19 Roman Kennke <kennke@aicas.com>
22388 * native/jni/java-net/local.c
22389 (local_read): Handle EINTR correctly.
22390 (local_write): Likewise.
22392 2006-04-19 Riccardo Mottola <multix@gmail.com>
22394 PR classpath/27062, PR classpath/25650:
22395 * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
22397 2006-04-19 Tom Tromey <tromey@redhat.com>
22399 * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
22400 value of 'pureMinutes'. PR classpath/27189.
22402 2006-04-19 Olivier Jolly <olivier.jolly@pcedev.com>
22404 * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
22405 boot packages list from the META-INF/INDEX.LIST file if it exists.
22407 2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au>
22409 Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
22410 * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
22411 (ITERATION_COUNT): Removed modifiers.
22412 (PASSWORD): Likewise.
22414 (PASSWORD_ENCODING): New property.
22415 (DEFAULT_PASSWORD_ENCODING): New constant.
22416 * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
22417 material (bytes) before a password (chars).
22419 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22421 * javax/swing/JMenu.java
22422 (getAccessibleChildrenCount): Marked as stub,
22423 (getAccessibleChild): Likewise,
22424 (getAccessibleSelection): Likewise,
22425 (getAccessibleSelection(int)): Likewise,
22426 (isAccessibleChildSelected): Likewise,
22427 (getAccessibleSelectionCount): Likewise,
22428 (addAccessibleSelection): Likewise,
22429 (removeAccessibleSelection): Likewise,
22430 (clearAccessibleSelection): Likewise,
22431 (selectAllAccessibleSelection): Likewise.
22433 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22435 * javax/swing/JSplitPane.java
22436 (getAccessibleContext): Added API docs,
22437 (paramString): Reimplemented,
22438 (setOrientation): Updated API docs,
22439 (setResizeWeight): Added argument checking and event notification.
22441 2006-04-18 Casey Marshall <csm@gnu.org>
22443 Fixes PR classpath/25673
22444 * java/security/KeyStore.java (getDefaultType): return "gkr" if no
22445 property is set. Update JavaDoc to reflect this.
22447 2006-04-18 Lillian Angel <langel@redhat.com>
22449 * gnu/xml/dom/DomDocument.java
22450 (setCheckingCharacters): New function used to set
22451 checkingCharacters flag.
22452 * gnu/xml/dom/html2/DomHTMLParser.java
22453 (parseDocument): Added call to set checkingCharacters flag
22456 2006-04-18 Lillian Angel <langel@redhat.com>
22458 * gnu/xml/dom/DomDocument.java
22459 (checkNCName): Reverted last patch. Added check for colon at
22460 last position back in.
22462 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22464 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22466 * examples/gnu/classpath/examples/swing/Demo.java:
22467 (mkMenuBar): Added NavigationFilter demo.
22469 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22471 * javax/swing/JSeparator.java: Updated API docs all over, plus
22472 (setOrientation): Fire PropertyChangeEvent,
22473 (paramString): Reimplemented.
22475 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22477 * javax/swing/plaf/basic/BasicTextUI.java:
22478 (getNextVisualPositionFrom): Implemented.
22480 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22482 * javax/swing/JPanel.java: Updated API docs all over, plus
22483 (JPanel(LayoutManager, boolean)): Pass on null layout, set
22484 double-buffer flag.
22486 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22488 * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22490 * examples/gnu/classpath/examples/swing/Demo.java:
22491 (mkMenuBar): Added DocumenFilter demo.
22493 2006-04-18 Tom Tromey <tromey@redhat.com>
22495 * doc/www.gnu.org/include/layout.wml: Add FMJ.
22497 2006-04-18 Mark Wielaard <mark@klomp.org>
22499 Reported by John Sullivan (johns@fsf.org)
22500 * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22502 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22504 * javax/swing/JInternalFrame.java
22505 (JDesktopIcon.getAccessibleContext): Added API docs,
22506 (getDefaultCloseOperation): Likewise,
22507 (paramString): Added 'title' attribute,
22508 (setDefaultCloseOperation): Added API docs.
22510 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22512 * javax/swing/JSlider.java
22513 (paramString): Reimplemented.
22515 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22517 * javax/swing/JComboBox.java
22518 (paramString): Reimplemented,
22519 (getAccessibleContext): Added API docs,
22520 (AccessibleJComboBox.getAccessibleRole): Likewise.
22522 2006-04-18 Roman Kennke <kennke@aicas.com>
22524 * javax/swing/RepaintManager.java
22525 (dirtyComponentsWork): New field.
22526 (ComponentComparator): Use dirtyComponentsWork instead of
22528 (RepaintManager): Initialize new field.
22529 (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22530 and work on the copy.
22532 2006-04-18 Roman Kennke <kennke@aicas.com>
22534 * gnu/java/awt/peer/swing/SwingComponentPeer.java
22535 (setBounds): Call reshape().
22536 * gnu/java/awt/peer/swing/SwingContainerPeer.java
22537 (SwingContainerPeer): Changed argument to be a Component
22538 instead a Container.
22539 (getInsets): Call insets().
22540 (handleMouseEvent): Added null check to avoid NPE.
22541 (handleMouseMotionEvent): Added null check to avoid NPE.
22543 2006-04-18 Roman Kennke <kennke@aicas.com>
22546 * javax/swing/JComponent.java
22547 (paintChildrenWithOverlap): When one child is not opaque, propagate
22548 the dirty rectangles to the next child.
22549 (paintChildrenOptimized): Removed unnecessary 'optimization'.
22550 This actually didn't work right and probably gained nothing.
22552 2006-04-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22554 * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22555 (moveToCellBeingEdited): Do not clone the rectangle here.
22557 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22559 * javax/swing/plaf/basic/BasicSliderUI.java
22560 (getActionMap): Fixed lookup key,
22561 (createActionMap): Modified actions to fetch slider/ui from the event
22564 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22566 * java/lang/Enum.java: Documented.
22568 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22570 * gnu/java/lang/InstrumentationImpl.java:
22571 Moved from java.lang.
22572 * java/lang/InstrumentationImpl.java:
22574 * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22575 Moved from java.lang.
22576 * vm/reference/java/lang/VMClassLoader.java:
22577 Corrected reference to InstrumentationImpl.
22578 * vm/reference/java/lang/VMInstrumentationImpl.java:
22581 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22583 * java/lang/annotation/Annotation.java:
22586 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22588 * javax/swing/JToolBar.java
22589 (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22590 (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22591 (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22592 (getAccessibleContext): Likewise.
22594 2006-04-17 Dalibor Topic <robilad@kaffe.org>
22597 Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22599 * native/fdlibm/Makefile.am,
22600 native/jni/classpath/Makefile.am:
22601 Don't use -module and -version-info for convenience libraries LDFLAGS.
22602 Fixes libtool warnings.
22604 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22606 * javax/swing/plaf/basic/BasicComboBoxUI.java:
22607 (installKeyboardActions): Marked as stub,
22608 (uninstallKeyboardActions): Likewise,
22609 * javax/swing/plaf/basic/BasicComboPopup.java:
22610 (installKeyboardActions): Marked as stub,
22611 (uninstallKeyboardActions): Likewise,
22612 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22613 (installKeyboardActions): Marked as stub,
22614 (uninstallKeyboardActions): Likewise,
22615 * javax/swing/plaf/basic/BasicLabelUI.java:
22616 (installKeyboardActions): Marked as stub,
22617 (uninstallKeyboardActions): Likewise,
22618 * javax/swing/plaf/basic/BasicListUI.java:
22619 (installKeyboardActions): Marked as stub,
22620 (uninstallKeyboardActions): Likewise,
22621 * javax/swing/plaf/basic/BasicMenuBarUI.java:
22622 (installKeyboardActions): Marked as stub,
22623 (uninstallKeyboardActions): Likewise,
22624 * javax/swing/plaf/basic/BasicMenuUI.java:
22625 (installKeyboardActions): Marked as stub,
22626 (uninstallKeyboardActions): Likewise,
22627 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22628 (installKeyboardActions): Marked as stub,
22629 (uninstallKeyboardActions): Likewise,
22630 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22631 (installKeyboardActions): Marked as stub,
22632 (uninstallKeyboardActions): Likewise,
22633 * javax/swing/plaf/basic/BasicScrollBarUI.java:
22634 (installKeyboardActions): Marked as stub,
22635 (uninstallKeyboardActions): Likewise,
22636 * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22637 (installKeyboardActions): Marked as stub,
22638 (uninstallKeyboardActions): Likewise,
22639 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22640 (installKeyboardActions): Marked as stub,
22641 (uninstallKeyboardActions): Likewise,
22642 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22643 (installKeyboardActions): Marked as stub,
22644 (uninstallKeyboardActions): Likewise,
22645 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22646 (installKeyboardActions): Marked as stub,
22647 (uninstallKeyboardActions): Likewise,
22648 * javax/swing/plaf/basic/BasicTableUI.java:
22649 (installKeyboardActions): Marked as stub,
22650 (uninstallKeyboardActions): Likewise,
22651 * javax/swing/plaf/basic/BasicTextUI.java:
22652 (installKeyboardActions): Marked as stub,
22653 (uninstallKeyboardActions): Likewise,
22654 * javax/swing/plaf/basic/BasicToolBarUI.java:
22655 (installKeyboardActions): Marked as stub,
22656 (uninstallKeyboardActions): Likewise.
22658 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22660 * javax/swing/plaf/basic/BasicSliderUI.java
22661 (installKeyboardActions): Implemented,
22662 (uninstallKeyboardActions): Implemented,
22663 (scrollByBlock): Accept any value for direction,
22664 (scrollByUnit): Likewise,
22665 (getInputMap): New method,
22666 (getActionMap): New method,
22667 (createActionMap): New method.
22670 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22672 * doc/vmintegration.texinfo:
22675 2006-04-16 Tom Tromey <tromey@redhat.com>
22677 * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22679 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22682 Mention generics additions to the VM interface.
22683 * doc/vmintegration.texinfo:
22684 Added information on VMClass 1.5 additions and
22687 2006-04-16 Casey Marshall <csm@gnu.org>
22689 * NEWS: add an entry mentioning local socket support.
22691 2006-04-16 Casey Marshall <csm@gnu.org>
22693 * configure.ac (--enable-local-sockets): new enable argument.
22694 (ENABLE_LOCAL_SOCKETS): new define.
22695 * native/jni/java-net/Makefile.am (local_sources): new variable.
22696 (lib_javanet_la_SOURCES): append `local_sources.'
22697 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22698 * native/jni/java-net/local.c,
22699 * native/jni/java-net/local.h,
22700 * include/gnu_java_net_local_LocalSocketImpl.h,
22701 * gnu/java/net/local/LocalServerSocket.java,
22702 * gnu/java/net/local/LocalSocket.java,
22703 * gnu/java/net/local/LocalSocketAddress.java,
22704 * gnu/java/net/local/LocalSocketImpl.java: new files.
22706 2006-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
22708 * javax/accessibility/AccessibleAction.java:
22709 (DECREMENT): Added field.
22710 (INCREMENT): Likewise.
22711 (TOGGLE_EXPAND): Likewise.
22712 * javax/accessibility/AccessibleRole.java:
22713 (EDITBAR): Added field.
22714 (FOOTER): Likewise.
22715 (HEADER): Likewise.
22716 (PARAGRAPH): Likewise.
22717 (PROGRESS_MONITOR): Likewise.
22719 * javax/accessibility/AccessibleState.java:
22720 (INDETERMINATE): Added field.
22721 (MANAGES_DESCENDANTS): Likewise.
22722 (TRUNCATED): Likewise.
22724 2006-04-14 Tom Tromey <tromey@redhat.com>
22726 * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22728 * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22731 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22733 * javax/swing/text/DefaultCaret.java:
22734 (getBypass): New method.
22735 (moveDot): Rewritten.
22736 (moveDotImpl): New method.
22737 (setDot): Rewritten.
22738 (setDotImpl): New method.
22739 (DefaultCaret.Bypass): New class.
22741 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22743 * javax/swing/text/AbstractDocument.java:
22744 (getBypass): New method.
22745 (insertString): Rewritten.
22746 (remove): Rewritten.
22747 (replace): Rewritten.
22748 (insertStringImpl): New method.
22749 (removeImpl): New method.
22750 (replaceImpl): New method.
22751 (AbstractDocument.Bypass): New class.
22753 2006-04-14 Casey Marshall <csm@gnu.org>
22755 Fixes PR classpath/24642
22756 * NEWS: add note about SecureRandom changes, and addition of
22758 * java/security/SecureRandom.java (isSeeded): new field.
22759 (setSeed, setSeed): set `isSeeded' to `true.'
22760 (nextBytes): seed this instance if `isSeeded' is false.
22761 (getSeed): call `generateSeed.'
22762 (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22763 (generateSeed, generateSeed): new methods.
22764 * vm/reference/java/security/VMSecureRandom.java: new file.
22766 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22768 * javax/swing/text/FieldView.java:
22769 (paint): Apply clipping rectangle of the allocation area
22770 before painting the text.
22771 * javax/swing/text/DefaultHighlighter.java:
22772 (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22773 compute union and intersection, calculate intersection with allocation
22774 area before painting, adjust x and width when painting multiple lines
22775 by the range of the allocation area.
22777 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22779 * javax/swing/text/DefaultHighlighter.java:
22780 (paintLayeredHighlights): Marked as stub.
22782 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22784 * javax/swing/plaf/basic/BasicTextFieldUI.java:
22785 (propertyChanged): Added note, change color only if current background
22786 is a ColorUIResource instance.
22788 2006-04-14 Tom Tromey <tromey@redhat.com>
22790 * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22794 2006-04-14 Tom Tromey <tromey@redhat.com>
22796 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22798 2006-04-14 Mark Wielaard <mark@klomp.org>
22800 * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22801 thread group when exceptionHandler isn't set.
22802 * vm/reference/java/lang/VMThread.java (run): Use result of
22803 thread.getUncaughtExceptionHandler directly.
22805 2006-04-14 David Gilbert <david.gilbert@object-refinery.com>
22807 * javax/swing/JSplitPane.java
22808 (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22809 (AccessibleJSplitPane.getAccessibleRole): Implemented,
22810 (AccessibleJSplitPane.getAccessibleValue): Implemented,
22811 (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22812 (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22813 (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22814 (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22816 2006-04-10 Tom Tromey <tromey@redhat.com>
22818 * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
22819 Fixed parameter bounds.
22821 2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
22823 * gnu/javax/crypto/assembly/Assembly.java,
22824 * gnu/javax/crypto/assembly/Cascade.java,
22825 * gnu/javax/crypto/assembly/CascadeStage.java,
22826 * gnu/javax/crypto/assembly/CascadeTransformer.java,
22827 * gnu/javax/crypto/assembly/Direction.java,
22828 * gnu/javax/crypto/assembly/LoopbackTransformer.java,
22829 * gnu/javax/crypto/assembly/ModeStage.java,
22830 * gnu/javax/crypto/assembly/Operation.java,
22831 * gnu/javax/crypto/assembly/PaddingTransformer.java,
22832 * gnu/javax/crypto/assembly/Stage.java,
22833 * gnu/javax/crypto/assembly/Transformer.java,
22834 * gnu/javax/crypto/cipher/Square.java,
22835 * gnu/javax/crypto/jce/cipher/AESSpi.java,
22836 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
22837 * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
22838 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
22839 * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
22840 * gnu/javax/crypto/jce/cipher/DESSpi.java,
22841 * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
22842 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
22843 * gnu/javax/crypto/jce/cipher/PBES2.java,
22844 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
22845 * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
22846 * gnu/javax/crypto/jce/cipher/SquareSpi.java,
22847 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
22848 * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
22849 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
22850 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
22851 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
22852 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
22853 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
22854 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
22855 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
22856 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
22857 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
22858 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
22859 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
22860 * gnu/javax/crypto/jce/mac/MacAdapter.java,
22861 * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
22862 * gnu/javax/crypto/jce/mac/UHash32Spi.java,
22863 * gnu/javax/crypto/jce/mac/UMac32Spi.java,
22864 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
22865 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
22866 * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
22867 * gnu/javax/crypto/mode/IAuthenticatedMode.java,
22868 * gnu/javax/crypto/pad/WrongPaddingException.java,
22869 * gnu/javax/crypto/prng/ICMGenerator.java,
22870 * gnu/javax/crypto/prng/IPBE.java,
22871 * gnu/javax/crypto/prng/PBKDF2.java,
22872 * gnu/javax/crypto/sasl/ConfidentialityException.java,
22873 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
22874 * gnu/javax/crypto/sasl/srp/IALG.java,
22875 * gnu/javax/crypto/sasl/srp/SRPServer.java:
22876 Remove CVS revision tags.
22878 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22880 * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize):
22881 Removed debugging code.
22883 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22885 * javax/swing/JTree.java (getPreferredSize): Return the
22887 * javax/swing/ViewportLayout.java (layoutContainer):
22888 Do not manage the view size and location if the view is
22889 in the scroll pane. Also manage size and location for
22890 Scrollable, if it is not in the scroll pane.
22891 * javax/swing/plaf/basic/BasicTreeUI.java,
22892 * javax/swing/tree/FixedHeightLayoutCache.java,
22893 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22894 * gnu/javax/swing/tree/GnuPath.java: New file.
22896 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22898 * javax/swing/JToolBar.java
22899 (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
22901 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22903 * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
22904 (createCustomColoredPanel): Set background color as demo intends,
22905 changed custom selection color to red.
22906 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
22907 Replaced various single variables with a Compound instance, added
22908 custom highlighter demo.
22909 (TextFieldDemo.DemoHighlightPainter): New class (taken from
22911 (TextFieldDemo.Compound): New class.
22912 (createTextFieldCompound): New method.
22913 (createLeftAlignedPanel): Rewritten.
22914 (createRightAlignedPanel): Rewritten.
22915 (createCenteredPanel): Rewritten.
22916 (createCustomColoredPanel): Removed.
22917 (createCustomColoredPanel1): New method.
22918 (createCustomColoredPanel2): New method.
22919 (createCustomBordersPanel): New method.
22920 (createMiscPanel): Rewritten.
22921 (actionPerformed): Rewritten.
22922 (createContent): Add panels of new compounds to main panel, put
22923 main panel in a JScrollPane.
22924 * examples/gnu/classpath/examples/swing/Demo.java:
22925 (Demo): Put desktop in a scrollpane.
22926 (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
22927 method via reflection.
22929 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22931 * javax/swing/plaf/metal/MetalDesktopIconUI.java
22932 (createUI): Return new instance rather than shared instance.
22934 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22936 * javax/swing/text/FieldView.java:
22937 (checkContainer): Call updateVisibility() at the end.
22939 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22941 * java/awt/event/MouseEvent.java:
22942 (paramString): Add value of 'consumed' variable in string.
22944 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22947 * javax/swing/JTextField.java: Removed scrollOffset variable.
22948 (JTextField): Moved up initialization of horizontalVisibility field.
22949 (getScrollOffset): Implemented.
22950 (setScrollOffset): Implemented.
22951 (getHorizonztalVisibility): Removed note.
22952 (scrollRectToVisible): New method.
22953 * javax/swing/text/FieldView.java: Added cachedSpan variable.
22954 (checkContainer): New method.
22955 (updateVisibility): New method.
22956 (calculateHorizontalSpan): New method.
22957 (adjustAllocation): Removed unneeded local variables, added code
22958 to handle scrolling.
22959 (getPreferredSpan): Use new method calculateHorizontalSpan,
22960 avoid calculation by returning cached value cachedSpan.
22961 (paint): Added check whether the hosted component is a JTextField.
22962 (insertUpdate): Invalidate cached span value, update visibility
22964 (removeUpdate): Dito.
22965 (changeUpdate): Dito.
22967 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22969 * javax/swing/JInternalFrame.java
22970 (setTitle): Set old value to 'this.title', not 'title'.
22972 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22974 * javax/swing/JInternalFrame.java
22975 (AccessibleJInternalFrame.getAccessibleName): Implemented,
22976 (AccessibleJInternalFrame.getAccessibleRole): Implemented,
22977 (AccessibleJInternalFrame.getAccessibleValue): Implemented,
22978 (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
22979 (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
22980 (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
22981 (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
22982 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
22983 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
22984 (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue):
22986 (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue):
22988 (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue):
22990 (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue):
22992 (JInternalFrame()): Use "" for default title,
22993 (getAccessibleContext): Updated API docs,
22994 (getDesktopIcon): Likewise,
22995 (getLayer): Check for layer in client properties, and return
22996 DEFAULT_LAYER if no setting is found,
22997 (getTitle): Updated API docs,
22998 (setDesktopIcon): Fire property change event.
23000 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23002 * javax/swing/ScrollPaneLayout.java (layoutContainer):
23003 Mind that the presence of one scroll bar may cause the
23006 2006-04-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
23008 * gnu/regexp/REToken.java(unicodeAware): New field,
23009 (toLowerCase, toUpperCase): New methods.
23010 * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
23011 gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
23012 Use toLowerCase and toUpperCase defined in REToken instead of
23013 those defined in java.lang.Character.
23014 * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
23015 (initialize): Sets unicodeAware of the generated REToken to false if
23016 REG_ICASE_USASCII is set.
23017 * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
23018 to lower case and keep the original value.
23019 (matchOneString): Use the new method charEquals to compare characters.
23020 (charEquals): New method to compare characters.
23021 * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
23023 2006-04-12 David Gilbert <david.gilbert@object-refinery.com>
23025 * javax/swing/event/InternalFrameEvent.java:
23026 (paramString): Implemented,
23027 updated API docs all over.
23029 2006-04-12 Casey Marshall <csm@gnu.org>
23031 * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
23032 (Generator.setup): call `fillBlock.'
23034 2006-04-12 Casey Marshall <csm@gnu.org>
23036 Fixes PR classpath/24481.
23037 * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
23038 initialize the adaptee.
23039 (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
23040 * gnu/java/security/prng/MDGenerator.java (addRandomByte,
23041 addRandomBytes): new methods.
23043 2006-04-12 Tom Tromey <tromey@redhat.com>
23045 * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
23048 2006-04-12 Lillian Angel <langel@redhat.com>
23050 * gnu/xml/dom/DomDocument.java
23051 (checkNCName): Removed unneeded part of check.
23052 * gnu/xml/dom/DomNode.java
23053 (dispatchEvent): Added code to grow ancestors array
23054 if needed. Changed checks to use depth of node instead.
23055 Fixes an infinite loop and segmentation fault.
23056 * gnu/xml/dom/html2/DomHTMLParser.java
23057 (handleEndTag): No need to use/make a copy of the node.
23058 Causes an infinite loop.
23060 2006-04-12 Tom Tromey <tromey@redhat.com>
23062 PR classpath/27131:
23063 * java/util/BitSet.java (get): Early return if to==from.
23065 2006-04-12 Mark Wielaard <mark@klomp.org>
23067 * java/security/SecureRandom.java (algorithm): New private field.
23068 (SecureRandom): Initialize algorithm.
23069 (SecureRandom(SecureRandomSpi,Provider,String)): New private
23071 (getInstance): Call 3 argument constructor.
23072 (getAlgorithm): New method.
23074 2006-04-12 Mark Wielaard <mark@klomp.org>
23076 Port UncaughtExceptionHandler support from generics branch.
23077 * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
23079 2006-04-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
23081 * java/lang/Thread.java:
23082 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
23083 Added docs and security check.
23084 (getUncaughtExceptionHandler()): Documented.
23085 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
23086 Added docs and security check.
23087 (getDefaultUncaughtExceptionHandler()): Documented.
23088 (getId()): Documented.
23090 2006-04-12 Tom Tromey <tromey@redhat.com>
23092 * vm/reference/java/lang/VMThread.java (run): Use thread's
23094 * java/lang/Thread.java (defaultHandler): New field.
23095 (setDefaultUncaughtExceptionHandler,
23096 getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
23097 getUncaughtExceptionHandler): New methods.
23098 * java/lang/ThreadGroup.java (ThreadGroup): Implements
23099 UncaughtExceptionHandler.
23100 (uncaughtException): Use getDefaultUncaughtExceptionHandler.
23102 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
23104 * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
23105 buffer. Loop only once to determine Utf8 length when possible. Make
23106 the inner loop bounded by buf.length.
23107 (getUTFlength): New private method.
23108 (buf): New private field.
23110 2006-04-11 Lillian Angel <langel@redhat.com>
23112 * gnu/xml/dom/DomNodeIterator.java
23113 (nextNode): Moved line of code to avoid an infinite loop.
23114 * gnu/xml/dom/html2/DomHTMLAppletElement.java
23115 (getCls): New function.
23116 (setCls): Likewise.
23117 (getSrc): Likewise.
23118 (setSrc): Likewise.
23119 * gnu/xml/dom/html2/DomHTMLDocument.java:
23120 Added DomHTMLEmbedElement to map.
23121 (getApplets): Added node name, 'embed'.
23122 * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
23124 * gnu/xml/dom/html2/DomHTMLObjectElement.java
23125 (getJavaCode): New function.
23126 (setJavaCode): Likewise.
23127 (getObject): Likewise.
23128 (setObject): Likewise.
23129 (getJavaObject): Likewise.
23130 (setJavaObject): Likewise.
23131 (getJavaArchive): Likewise.
23132 (setJavaArchive): Likewise.
23133 (getJavaCodeBase): Likewise.
23134 (setJavaCodeBase): Likewise.
23135 (getJavaType): Likewise.
23136 (setJavaType): Likewise.
23137 (setMayscript): Likewise.
23138 (getMayscript): Likewise.
23139 (setScriptable): Likewise.
23140 (getScriptable): Likewise.
23141 * gnu/xml/dom/html2/DomHTMLParser.java
23142 (parseDocument): Should not check for well formedness
23143 when parsing an html document.
23144 * java/awt/Window.java
23145 (dispatchEvent): Added check to avoid NPE.
23147 2006-04-10 Tom Tromey <tromey@redhat.com>
23149 * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
23151 * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
23152 (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23154 2006-04-10 Robert Schuster <robertschuster@fsfe.org>
23156 * javax/swing/plaf/basic/BasicTextUI.java:
23157 (getNextVisualPositionFrom): Marked as stub.
23159 2006-04-10 Roman Kennke <kennke@aicas.com>
23161 * javax/swing/plaf/basic/BasicLookAndFeel.java
23162 (initSystemColorDefaults): Changed to use loadSystemColorDefaults
23163 and create the defaults as strings constants.
23164 (loadSystemColors): Implemented stubbed method.
23166 2006-04-10 Tom Tromey <tromey@redhat.com>
23168 * .settings/org.eclipse.core.resources.prefs: Set encoding for
23171 2006-04-10 Tom Tromey <tromey@redhat.com>
23173 * java/io/CharArrayWriter.java (append): Javadoc fix.
23174 (append): Likewise.
23176 2006-04-10 Tom Tromey <tromey@redhat.com>
23178 * javax/accessibility/AccessibleTextSequence.java: New file.
23179 * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
23181 (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
23182 EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
23183 FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
23184 SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23185 * javax/accessibility/AccessibleExtendedText.java: New file.
23186 * javax/accessibility/AccessibleContext.java
23187 (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
23188 (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
23189 (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
23190 * javax/accessibility/AccessibleAttributeSequence.java: New file.
23191 * javax/accessibility/AccessibleStreamable.java: New file.
23192 * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
23195 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23197 * javax/swing/tree/AbstractLayoutCache.java
23198 (getNodeDimensions, getRowsForPath): Implemented.
23199 * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
23200 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23202 2006-04-10 Roman Kennke <kennke@aicas.com>
23204 * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
23206 2006-04-10 Roman Kennke <kennke@aicas.com>
23208 * javax/swing/JInternalFrame.java
23209 (AccessibleJInternalFrame): Marked all stubbed methods as such
23210 by adding throws NotImplementedException.
23212 2006-04-10 Roman Kennke <kennke@aicas.com>
23214 * javax/swing/JFileChooser.java
23215 (getAccessibleContext): Don't create a new instance on each
23216 call, instead store the accessible context in the
23217 accessibleContext field.
23219 2006-04-10 Roman Kennke <kennke@aicas.com>
23221 * javax/swing/JComboBox.java
23222 (AccessibleJComboBox): Marked all stubbed methods as such
23223 by adding throws NotImplementedException.
23225 2006-04-10 Roman Kennke <kennke@aicas.com>
23227 * javax/swing/ActionMap.java
23228 (readObject): Removed.
23229 (writeObject): Removed.
23231 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23233 * javax/swing/tree/DefaultTreeSelectionModel.java
23234 (addSelectionPaths, setSelectionPaths): Call
23235 insureUniqueness. (clone, setRowMapper): Implemented.
23236 * TreePath (path): Marked final.
23238 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23240 * javax/swing/tree/DefaultTreeSelectionModel.java:
23241 Documented and autoformatted. (insureUniqueness):
23242 Removed stub marking.
23244 2006-04-09 David Gilbert <david.gilbert@object-refinery.com>
23246 * javax/swing/SizeSequence.java
23247 (sizes): Don't initialise here,
23248 (SizeSequence(int, int)): Initialise sizes field,
23249 (SizeSequence(int[])): Clone argument instead of calling setSizes(),
23250 (setSize): Do nothing when index is out of bounds,
23251 (getIndex): Implemented,
23252 (setSizes): Reimplemented,
23253 (getSizes): Likewise,
23254 (insertEntries): Likewise,
23255 (removeEntries): Likewise,
23256 plus added API docs all over.
23258 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org
23260 * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
23261 one way message and retry after any IOException.
23263 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23265 * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
23266 Set the byte order.
23268 2006-04-09 Wolfgang Baer <WBaer@gmx.de>
23270 * org/omg/PortableServer/ServantLocatorPOA.java:
23271 (preinvoke, postinvoke): Remove default implementation.
23272 * org/omg/PortableServer/ServantActivatorPOA.java:
23273 (incarnate, etherealize): Remove default implementation.
23274 * org/omg/PortableInterceptor/ObjectReferenceFactory.java:
23275 Extends from ValueBase and not from ObjectReferenceFactoryOperations.
23276 (make_object): Moved method from ObjectReferenceFactoryOperations.
23277 * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java:
23278 Removed unspecified interface.
23279 * org/omg/DynamicAny/_DynAnyStub.java:
23280 (_DynAnyStub(Delegate)): Removed constructor.
23281 * org/omg/DynamicAny/_DynArrayStub.java,
23282 * org/omg/DynamicAny/_DynAnyFactoryStub.java,
23283 * org/omg/DynamicAny/_DynEnumStub.java,
23284 * org/omg/DynamicAny/_DynFixedStub.java,
23285 * org/omg/DynamicAny/_DynSequenceStub.java,
23286 * org/omg/DynamicAny/_DynStructStub.java,
23287 * org/omg/DynamicAny/_DynUnionStub.java,
23288 * org/omg/DynamicAny/_DynValueStub.java:
23289 Extend from ObjectImpl and not from _DynAnyStub.
23290 (type, next, destroy, copy, rewind, assign, component_count,
23291 current_component, equal, from_any, get_any, get_boolean, get_char,
23292 get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet,
23293 get_reference, get_short, get_string, get_typecode, get_ulong,
23294 get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
23295 insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
23296 insert_long, insert_longlong, insert_octet, insert_reference,
23297 insert_short, insert_string, insert_typecode, insert_ulong,
23298 insert_ulonglong, insert_ushort, insert_val, insert_wchar,
23299 insert_wstring, seek, to_any): New methods copied from _DynAnyStub.
23300 * org/omg/CosNaming/_BindingIteratorStub.java:
23301 (_BindingIteratorStub(Delegate)): Made package private.
23302 * org/omg/CosNaming/_NamingContextExtStub.java:
23303 (_NamingContextExtStub(Delegate)): Made package private.
23304 * org/omg/CosNaming/_NamingContextStub.java:
23305 (_NamingContextStub(Delegate)): Made package private.
23306 (throw4, throw5): Likewise.
23307 * gnu/CORBA/NamingService/NameParser.java (resolve):
23308 Adapt to package private constructor. Use _set_delegate instead.
23309 * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
23310 * org/omg/CORBA/ORB.java:
23311 (create_recursive_sequence_tc): Made abstract.
23312 (get_default_context): Likewise.
23313 * gnu/CORBA/OrbRestricted.java:
23314 (create_recursive_sequence_tc): New moved method.
23315 (get_default_context): Likewise.
23316 * org/omg/CORBA/ParameterMode.java:
23317 (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final.
23319 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23321 * gnu/CORBA/GIOP/MessageHeader.java (write):
23322 More informative exception.
23323 * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
23324 * gnu/CORBA/SocketRepository.java (get_socket):
23325 Removed debugging code.
23327 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23329 * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
23330 one way message, but ignore if EOF was received.
23331 * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
23332 Minor.EOF if the end of file is received instead of the header.
23334 2006-04-09 Roman Kennke <kennke@aicas.com>
23336 * javax/swing/plaf/metal/MetalRootPaneUI.java
23337 (MetalTitlePane.IconifyAction): New inner class.
23338 (MetalTitlePane.MaximizeAction): New inner class.
23339 (MetalTitlePane.createActions): Create iconifyAction and
23341 (MetalRootLayout.titlePane): New field.
23342 (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
23344 (MetalRootLayout.preferredLayoutSize): Changed to not make
23345 assumptions about the actual component order.
23346 (MetalRootLayout.layoutContainer): Changed to not make
23347 assumptions about the actual component order.
23348 (installWindowDecorations): Pass the titlePane as parameter to
23349 the MetalRootLayout constructor.
23350 (uninstallWindowDecorations): Changed to not make
23351 assumptions about the actual component order.
23353 2006-04-08 Roman Kennke <kennke@aicas.com>
23355 * javax/swing/plaf/metal/MetalRootPaneUI.java
23356 (MetalTitlePane.MouseHandler): New inner class to handle dragging
23358 (MetalTitlePane.installListeners): Don't register a focus listener
23359 on the window. This is a potential memory leak and must be
23360 implemented on a different way. Install mouse listener here.
23361 (installWindowDecorations): Fixed assertion condition. Always
23362 insert the window decoration at index#1 in the layered
23365 2006-04-08 Roman Kennke <kennke@aicas.com>
23367 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
23368 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
23369 Only resize window if actual width or height value changes.
23370 Avoids nasty flicker when only setLocation() is beeing called
23373 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23375 * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
23376 exception if the magic sequence does not match.
23378 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23380 * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
23381 response for the one way messages.
23383 2006-04-08 Roman Kennke <kennke@aicas.com>
23385 * javax/swing/MenuSelectionManager.java
23386 (processKeyEvent): Implemented stub method.
23387 * javax/swing/JMenu.java
23388 (processKeyEvent): Implemented stub method.
23389 * javax/swing/JMenu.java
23390 (processKeyEvent): Implemented stub method.
23391 (processMenuKeyEvent): Implemented stub method.
23393 2006-04-08 Roman Kennke <kennke@aicas.com>
23395 * javax/swing/AbstractAction.java
23396 (readObject): Removed unneeded method.
23397 (writeObject): Removed unneeded method.
23399 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23401 * javax/swing/plaf/synth/SynthPainter.java:
23402 (paintSplitPaneDividerBorder): Removed.
23404 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23406 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
23407 (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
23408 No longer constants.
23409 (static_initializer): Added to initialize above fields.
23410 * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY,
23411 MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
23412 (static_initializer): Added to initialize above fields.
23414 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23416 * java/awt/Dialog.java: Improved documentation all over.
23417 (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
23418 (Dialog(Dialog)): Likewise.
23420 2006-04-08 Mark Wielaard <mark@klomp.org>
23422 * java/util/jar/JarFile.java (provider): New static field.
23423 (verify, verifyHashes, EntryInputStream.<init>): Pass provider
23426 2006-04-08 Mark Wielaard <mark@klomp.org>
23429 * java/lang/StackTraceElement.java (toString): Don't add space
23430 between type and source indicator.
23432 2006-04-07 Casey Marshall <csm@gnu.org>
23434 Fixes PR classpath/24464
23435 * java/util/jar/JarFile.java (verify, verifyHashes,
23436 EntryInputStream.<init>): pass the Gnu provider directly to
23439 2006-04-08 Raif S. Naffah <raif@swiftdsl.com.au>
23442 * gnu/java/security/hash/Whirlpool.java: Updated documentation.
23443 (DIGEST0): Use version 3 test vector.
23445 (S_box): New field: Version 3 S-box values.
23446 (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23447 (transform): Formating.
23448 (padBuffer): Likewise.
23449 (getResult): Likewise.
23450 (selfTest): Likewise.
23452 2006-04-07 Tom Tromey <tromey@redhat.com>
23454 * java/util/InvalidPropertiesFormatException.java
23455 (serialVersionUID): New field.
23456 (readObject, writeObject): New methods.
23457 * java/util/Arrays.java (toString): Javadoc fixes.
23458 * java/net/URLConnection.java: Cleaned up imports.
23459 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23460 * java/lang/reflect/MalformedParameterizedTypeException.java
23461 (serialVersionUID): New field.
23462 * java/lang/reflect/GenericSignatureFormatError.java
23463 (serialVersionUID): New field.
23464 * java/lang/Class.java (Class): Javado fixes.
23465 (getComponentType): Likewise.
23466 (getGenericInterfaces): Likewise.
23467 (getTypeParameters): Likewise.
23468 * java/io/CharArrayWriter.java (append): Javadoc fixes.
23469 * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23471 * java/lang/TypeNotPresentException.java (serialVersionUID): New
23473 * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23476 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23478 * java/awt/Dialog.java
23479 (AccessibleAWTDialog): Added api docs
23480 (AccessibleAWTDialog.getAccessibleStateSet):
23481 Renamed from getAccessibleState.
23482 * java/awt/Frame.java
23483 (AccessibleAWTFrame): Added api docs
23484 (AccessibleAWTFrame.getAccessibleStateSet):
23485 Renamed from getAccessibleState.
23487 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23489 * java/awt/Dialog.java: Reformatted.
23491 2006-04-07 Lillian Angel <langel@redhat.com>
23493 * java/awt/Component.java
23494 (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23495 HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23497 2006-04-07 Tom Tromey <tromey@redhat.com>
23499 * java/beans/beancontext/BeanContextMembershipEvent.java
23500 (serialVersionUID): New field.
23501 * java/beans/beancontext/BeanContextServicesSupport.java
23502 (addBeanContextServicesListener): Synchronize.
23503 (addService): Implemented.
23504 (createBCSChild): Implemented.
23505 (BCSSChild): Added arguments.
23506 (fireServiceAdded): Implemented.
23507 (fireServiceRevoked): Implemented.
23508 (getCurrentServiceSelectors): Implemented.
23509 (hasService): Implemented.
23510 (removeBeanContextServicesListener): Implemented.
23511 (serviceAvailable): Implemented.
23512 (serviceRevoked): Implemented.
23513 * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23515 (createBCSChild): Implemented.
23516 (BeanContextSupport):
23517 (addBeanContextMembershipListener): Synchronize.
23518 (fireChildrenAdded): Implemented.
23519 (fireChildrenRemoved): Implemented.
23520 (BeanContextSupport): Use default locale.
23521 (isEmpty): Implemented.
23522 (isDesignTime): Implemented.
23523 (size): Implemented.
23524 (toArray): Synchronized.
23525 (toArray): Likewise.
23526 (iterator): Likewise.
23527 (BCSIterator): Implemented.
23528 (bcsChildren): Implemented.
23529 (validatePendingAdd): Implemented.
23530 (validatePendingRemove): Likewise.
23531 (childJustAddedHook): Implemented.
23532 (childJustRemovedHook): Likewise.
23533 (classEquals): Likewise.
23534 (toArray): Mark as stub.
23535 (setDesignTime): Implemented.
23536 (copyChildren): Implemented.
23537 (containsKey): Implemented.
23538 (contains): Likewise.
23539 (containsAll): Likewise.
23540 (getResource): Implemented.
23541 (getResourceAsStream): Likewise.
23542 (removeBeanContextMembershipListener): Likewise.
23543 * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23544 (serialVersionUID): New field.
23545 * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23546 (serialVersionUID): New field.
23547 * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23550 2006-04-06 Roman Kennke <kennke@aicas.com>
23553 * javax/swing/MenuSelectionManager.java
23554 (setSelectedPath): Search one more item in the loop.
23556 2006-04-06 Tom Tromey <tromey@redhat.com>
23558 * java/awt/image/renderable/RenderableImageProducer.java
23559 (image, context, consumers): New fields.
23560 (RenderableImageProducer): Implemented.
23561 (setRenderContext): Likewise.
23562 (addConsumer): Likewise.
23563 (isConsumer): Likewise.
23564 (removeConsumer): Likewise.
23565 (startProduction): Likewise.
23567 2006-04-06 Roman Kennke <kennke@aicas.com>
23569 * java/awt/Component.java
23570 (AccessibleAWTComponent.getBounds): Return the component
23571 bounds regardless of its showing state.
23572 (AccessibleAWTComponent.getLocation): Return the component
23573 location regardless of its showing state.
23574 (AccessibleAWTComponent.getSize): Return the component
23575 size regardless of its showing state.
23577 2006-04-06 Roman Kennke <kennke@aicas.com>
23579 * javax/swing/JRootPane.java
23580 (getAccessibleContext): New method. Provides an accessibleContext
23583 2006-04-06 Roman Kennke <kennke@aicas.com>
23585 * java/awt/Toolkit.java
23586 (initAccessibility): Use the 'gnu.classpath.home.url' property
23587 to determine the system confiuration directory.
23588 * java/awt/Component.java
23589 (dispatchEvent): Trigger Toolkit dispatching here.
23590 (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23591 so it can't be overridden by subclasses and is performed in
23594 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23596 * javax/naming/Binding.java: Added API docs.
23597 * javax/naming/NameClassPair.java: Added API docs.
23598 (fullName): New field.
23599 (setNameInNamespace): New 1.5 method.
23600 (getNameInNamespace): Likewise.
23602 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23604 * javax/naming/CompositeName.java:
23605 (readObject): New deserialization method.
23606 (writeObject): New serialization method.
23608 2006-03-29 Nektarios K. Papadopoulos <npapadop at inaccessnetworks.com>
23610 * javax/security/auth/x500/X500Principal.java
23611 (readAttributeValue) Check for separator after quoted value was
23612 failing in all cases.
23614 2006-04-06 Mark Wielaard <mark@klomp.org>
23616 * java/lang/Class.java (getClassLoader): Don't do security check
23617 when loader is null.
23619 2006-04-06 Roman Kennke <kennke@aicas.com>
23621 * java/awt/Toolkit.java
23622 (getDefaultToolkit): Initialize accessibility after setting
23624 (initAccessibility): New helper method to setup accessibility.
23626 2006-04-06 Roman Kennke <kennke@aicas.com>
23628 * javax/swing/AbstractButton.java
23629 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23630 (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23632 (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23633 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23634 (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23635 (AccessibleAbstractButton.getCharCount): Implemented stub.
23636 (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23637 (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23638 (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23639 (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23640 (AccessibleAbstractButton.getSelectedText): Implemented stub.
23641 (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23644 2006-04-06 Roman Kennke <kennke@aicas.com>
23646 * java/awt/Component.java
23647 (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23648 state here. This is only done in JComponent.
23649 * javax/swing/JComponent.java
23650 (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23652 (getNextFocusableComponent): Implemented stub method.
23653 (grabFocus): Implemented stub method.
23654 (unregisterKeyboardAction): Implemented stub method.
23655 (setNextFocusableComponent): Implemented stub method.
23656 * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23657 This is a helper class for providing compatibility with the older
23660 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23663 * javax/naming/directory/BasicAttribute.java,
23664 * javax/naming/directory/BasicAttributes.java:
23665 (readObject): New deserialization method.
23666 (writeObject): New serialization method.
23668 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23670 * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23671 (getErrorHandler): Made method abstract.
23672 (setErrorHanlder): Likewise.
23673 * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23674 (getErrorHandler): Implement abstract method from superclass.
23675 (setErrorHandler): Likewise.
23676 (errorHandler): New field.
23677 * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:
23678 (getErrorHandler): Implement abstract method from superclass.
23679 (setErrorHandler): Likewise.
23680 (errorHandler): New field.
23681 * javax/xml/XMLConstants.java: Corrected since tag.
23682 (XMLConstants): Added private constructor.
23683 * javax/xml/datatype/Duration.java: Corrected since tag.
23684 (multiply): Made method abstract.
23685 * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23686 (DatatypeConstants): Added private constructor.
23687 * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23688 (XPathConstants): Added private constructor.
23690 2006-04-05 Tom Tromey <tromey@redhat.com>
23692 * javax/security/auth/kerberos/ServicePermission.java: Now final.
23694 2006-04-05 Tom Tromey <tromey@redhat.com>
23697 * lib/Makefile.am (compile-classes): Touch the output file.
23699 2006-04-05 Roman Kennke <kennke@aicas.com>
23701 * javax/swing/AbstractButton.java
23702 (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23703 of the focused state. This is already done in AccessibleAWTComponent.
23705 2006-04-05 Roman Kennke <kennke@aicas.com>
23707 * javax/swing/JComponent.java
23708 (accessibleContext): Fixed API doc for this field.
23709 (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23710 (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23711 Implemented and added API docs.
23712 (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23713 Implemented and added API docs.
23714 (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23715 (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23716 Implemented and added API docs.
23717 (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23718 Implemented and added API docs.
23719 (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23720 (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23721 (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23722 (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23723 (AccessibleJComponent.getAccessibleStateSet): Simply return
23724 super here. Added comment about this.
23726 2006-04-05 Roman Kennke <kennke@aicas.com>
23728 * javax/swing/JComponent.java
23729 (AccessibleJComponent.addPropertyChangeListener): Install
23730 ContainerHandler and FocusHandler here.
23731 (AccessibleJComponent.removePropertyChangeListener): Uninstall
23732 ContainerHandler and FocusHandler here.
23733 (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23734 by super.getAccessibleChildrenCount().
23735 (AccessibleJComponent.getAccessibleChild): Replaced
23736 by super.getAccessibleChild().
23737 (AccessibleJComponent.getAccessibleStateSet): Implemented by
23738 adding OPAQUE to the supported states.
23739 (AccessibleJComponent.getAccessibleName): Added titled border
23740 and label fallbacks.
23741 (AccessibleJComponent.getAccessibleDescription): Added tooltip
23742 and label fallbacks.
23743 (AccessibleJComponent.getAccessibleRole): Removed TODO.
23744 (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23745 explaining why return null seems correct here.
23746 * javax/swing/JLabel.java
23747 (LABEL_PROPERTY): New constant.
23748 (setLabelFor): Store label in labeled component's client properties
23749 for the AccessibleJComponent to read.
23751 2006-04-05 Tom Tromey <tromey@redhat.com>
23753 * java/util/zip/ZipFile.java (available): Defer to super if
23754 entry's size is unknown.
23756 2006-04-05 Tom Tromey <tromey@redhat.com>
23758 * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23759 property with mime.types name.
23760 * gnu/classpath/SystemProperties.java: Set
23761 gnu.classpath.mime.types.file if not already set.
23762 * java/net/URLConnection.java (defaultFactory): New field.
23763 (guessContentTypeFromStream): Mark as unimplemented.
23764 (getContentHandler): Updated with libgcj's implementation.
23765 * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23768 2006-04-05 Bryce McKinlay <mckinlay@redhat.com>
23772 * java/util/AbstractList.java (hasNext): Don't throw
23773 ConcurrentModificationException. Update Javadoc.
23774 (hasPrevious): Likewise.
23775 (nextIndex): Likewise.
23776 (previousIndex): Likewise.
23777 * java/util/HashMap.java (hasNext): Likewise.
23778 * java/util/Hashtable.java (hasNext): Likewise.
23779 * java/util/IdentityHashMap.java (hasNext): Likewise.
23780 * java/util/LinkedHashMap.java (hasNext): Likewise.
23781 * java/util/LinkedList.java (nextIndex): Likewise.
23782 (previousIndex): Likewise.
23783 (hasNext): Likewise.
23784 (hasPrevious): Likewise.
23785 * java/util/TreeMap.java (hasNext): Likewise.
23786 * java/util/WeakHashMap.java (hasNext): Likewise.
23788 2006-04-05 Roman Kennke <kennke@aicas.com>
23790 * javax/swing/AbstractButton.java
23791 (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23792 (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23793 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23794 (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23795 (AccessibleAbstractButton.getAccessibleActionDescription):
23797 (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23798 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23799 (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23800 (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23801 (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23802 (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23804 2006-04-05 Roman Kennke <kennke@aicas.com>
23806 * javax/swing/JComboBox.java
23807 (selectWithKeyChar): Implemented stubbed method.
23809 2006-04-05 Roman Kennke <kennke@aicas.com>
23811 * javax/swing/LookAndFeel.java
23812 (installProperty): New method. Allows primitive typed properties
23813 to be handled like UIResources.
23814 * javax/swing/AbstractButton.java
23815 (clientBorderPaintedSet): New field.
23816 (clientRolloverEnabledSet): New field.
23817 (clientIconTextGapSet): New field.
23818 (clientContentAreaFilledSet): New field.
23819 (setRolloverEnabled): Set the client field to true.
23820 (setBorderPainted): Likewise.
23821 (setIconTextGap): Likewise.
23822 (setContentAreaFilled): Likewise.
23823 (setUIProperty): New helper method.
23824 * javax/swing/JComponent.java
23825 (clientOpaqueSet): New field.
23826 (clientAutoscrollsSet): New field.
23827 (setAutoscrolls): Set the client field to true.
23828 (setOpaque): Likewise.
23829 (setUIProperty): New helper method.
23830 * javax/swing/JDesktopPane.java
23831 (clientDragModeSet): New field.
23832 (setDragMode): Set the client field to true.
23833 (setUIProperty): New helper method.
23834 * javax/swing/JSplitPane.java
23835 (clientDividerSizeSet): New field.
23836 (clientOneTouchExpandableSet): New field.
23837 (setDividerSize): Set the client field to true.
23838 (setOneTouchExpandable): Likewise.
23839 (setUIProperty): New helper method.
23840 * javax/swing/JTable.java
23841 (clientRowHeightSet): New field.
23842 (setRowHeight): Set the client field to true.
23843 (setUIProperty): New helper method.
23844 * javax/swing/JTree.java
23845 (clientRowHeightSet): New field.
23846 (clientScrollsOnExpandSet): New field.
23847 (clientShowsRootHandlesSet): New field.
23848 (setRowHeight): Set the client field to true.
23849 (setShowsRootHandles): Likewise.
23850 (setScrollsOnExpand): Likewise.
23851 (setUIProperty): New helper method.
23853 2006-04-05 Roman Kennke <kennke@aicas.com>
23855 * java/awt/Component.java
23856 (getFont): Don't request the font from the peer's graphics. The
23857 graphics should instead get the font from the Component, which might
23859 (getFocusCycleAncestor): Don't special case Window.
23860 (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
23861 to here. Correctly determine the focus cycle root.
23862 (transferFocusBackward): Likewise.
23863 (transferFocusUpCycle): Likewise.
23864 * java/awt/Container.java
23865 (transferFocusDownCycle): Moved implementation from
23866 DefaultKeyboardFocusManager to here.
23867 * java/awt/DefaultKeyboardFocusManager.java
23868 (focusPreviousComponent): Moved implementation to
23869 Component.transferFocusBackward().
23870 (focusNextComponent): Moved implementation to
23871 Component.nextFocus().
23872 (upFocusCycle): Moved implementation to
23873 Component.transferFocusUpCycle().
23874 (downFocusCycle): Moved implementation to
23875 Container.transferFocusDownCycle().
23877 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23879 * java/awt/image/ComponentSampleModel.java
23880 (equals): Implemented,
23881 (hashCode): Likewise.
23883 2006-04-05 Jeroen Frijters <jeroen@frijters.net>
23885 * java/lang/Class.java
23886 (cast): New method.
23888 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23890 * java/awt/image/ComponentSampleModel.java
23891 (getBankIndices): Return a copy of the array, not a reference to the
23893 (getBandOffsets): Likewise.
23895 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23897 * java/awt/image/ComponentSampleModel.java: Added API docs all over.
23899 2006-04-04 Tom Tromey <tromey@redhat.com>
23901 * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
23903 2006-04-04 Tom Tromey <tromey@redhat.com>
23905 * java/net/MimeTypeMapper.java (mime_types): No longer static.
23906 (MimeTypeMapper): Initialize.
23907 (fillFromFile): New method.
23908 (main): New method.
23909 (mime_strings): Updated.
23911 2006-04-04 Tom Tromey <tromey@redhat.com>
23913 * lib/gen-classlist.sh.in: Correct handle generated files.
23915 2006-04-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
23917 * gnu/regexp/CharIndexed.java(setAnchor): New method.
23918 * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
23919 * gnu/regexp/CharIndexedCharSequence.java: New file.
23920 * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
23921 gnu.regexp.CharIndexedCharSequence.
23922 * gnu/regexp/CharIndexedString.java: Likewise.
23923 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
23924 * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
23925 using CharIndexedCharSequence. Use setAnchor when the input
23926 object is already a CharIndexed.
23927 * java/util/regex/Matcher.java(inputCharIndexed): New field
23928 to be used as a parameter of the RE#getMatch.
23930 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23932 * java/awt/image/SampleModel.java: Reformatted.
23934 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23936 * java/awt/image/ComponentSampleModel.java
23937 (ComponentSampleModel(int, int, int, int, int[])): Added API
23939 (ComponentSampleModel(int, int, int, int, int[], int[]): Throw
23940 IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
23941 of the bandOffsets and bankIndices arguments, added API documentation,
23942 * java/awt/image/SampleModel.java
23943 (SampleModel(int, int, int, int): Throw IllegalArgumentException for
23944 unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
23945 less than or equal to zero, added API documentation.
23947 2006-04-04 Lillian Angel <langel@redhat.com>
23949 * java/util/zip/ZipFile.java
23950 (getInputStream): Fixed to return size of ZipEntry
23951 minus the total bytes read. This guarantees that the
23952 right value is returned even if some bytes have already
23955 2006-04-04 Thomas Fitzsimmons <fitzsim@redhat.com>
23957 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
23958 Remove static modifier.
23960 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23962 * java/awt/image/ComponentSampleModel.java: Reformatted.
23964 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23966 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
23967 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
23968 retrieval instructions to javadoc header.
23969 * javax/imageio/ImageWriteParam.java: Fix javadoc for
23970 compressionType field.
23971 * lib/Makefile.am (propertydirs): Add javax directory.
23972 (propertyfiles): Likewise.
23973 * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
23976 2006-04-03 Tom Tromey <tromey@redhat.com>
23978 PR classpath/26971:
23979 * javax/naming/directory/BasicAttribute.java: Added missing @since.
23980 (BasicAttributeEnumeration.where): Initialize to 0.
23981 (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
23983 2006-04-03 Lillian Angel <langel@redhat.com>
23985 PR classpath/24596 and PR classpath/26930
23986 * java/util/zip/ZipFile.java
23987 (getInputStream): Override available function for
23988 InflaterInputStream instance.
23990 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23992 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
23994 2006-04-03 Tom Tromey <tromey@redhat.com>
23996 * javax/security/auth/kerberos/ServicePermission.java: New file.
23997 * javax/security/auth/kerberos/DelegationPermission.java: New file.
23998 * javax/security/auth/kerberos/KerberosKey.java: New file.
23999 * javax/security/auth/kerberos/KeyImpl.java: New file.
24000 * javax/security/auth/kerberos/KerberosTicket.java: New file.
24001 * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
24003 2006-04-03 Sven de Marothy <sven@physto.se>
24005 * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
24006 non-GtkImage images.
24008 2006-04-03 Mark Wielaard <mark@klomp.org>
24010 * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
24011 as temporary file name.
24013 2006-04-03 Dalibor Topic <robilad@kaffe.org>
24015 * INSTALL: Documented --with-glibj-zip option.
24017 2006-04-03 Dalibor Topic <robilad@kaffe.org>
24019 Fixed all pscan warnings.
24021 * native/jni/classpath/jcl.c (JCL_ThrowException),
24022 native/jni/classpath/jcl.h (DBG),
24023 native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
24024 native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
24025 Use "%s" format in fprintf and snprintf explicitely when printing a single
24026 string to prevent format string exploits.
24028 * native/jni/java-net/javanet.h (DBG): Removed duplicate
24029 definition. Included jcl.h instead.
24031 2006-04-03 Raif S. Naffah <raif@swiftdsl.com.au>
24033 * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
24034 (provider): Made it protected.
24035 (providerInstalled): New field.
24036 (Main): Made it a 0-arguments constructor.
24037 Removed throws clasue.
24038 (main): Removed throws clause.
24039 Call processArgs(args) after constructing instance.
24040 Call teardown() before existing.
24041 (processArgs): Added javadoc.
24042 Reduced to throws Exception.
24044 (teardown): New method.
24045 (setupCommonParams): Added javadoc.
24046 Install designated provider if not already installed.
24047 (installNewProvider): New method.
24048 (setupSigningParams): Added javadoc.
24049 Instantiate the KeyStore using type only.
24050 * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
24051 Removed unused imports.
24052 (start): Reduced to throws Exception.
24053 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
24054 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
24055 Re-organized imports.
24056 * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
24057 Test ignoring case.
24058 (getNames): Add "dsa" as an algorithm provided by this Factory.
24059 (makeInstance): Construct IllegalArgumentException with 2 arguments.
24061 2006-04-03 Roman Kennke <kennke@aicas.com>
24063 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
24064 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
24065 Replaced g_free() with pango_item_free() to avoid problems
24066 with the allocator.
24068 2006-04-03 Rafael H. Schloming <rafaels@redhat.com>
24071 * java/util/logging/Level.java (parse): Document.
24072 * java/util/logging/LogManager.java (rootLogger): Removed.
24073 (LogManager): Just set loggers to new HashMap.
24074 (getLogManager): Make synchronized. Create and init LogManager if it
24076 (static): Removed block.
24077 (MANAGER_PROPERTY): New private final string.
24078 (makeLogManager): Use new property string, move warning to
24079 createInstance() method.
24080 (CONFIG_PROPERTY): New private final string.
24081 (initLogManager): New method.
24082 (addLogger): Use Logger.root, not rootLogger.
24083 (findAncestor): Likewise.
24084 (readConfiguration): Move warning to createInstance() method.
24085 Add handlers directly to Logger.root. Warn about bad level values.
24086 (getClassProperty): Use new locateClass() method.
24087 (getInstanceProperty): Only catch specific newInstance Errors.
24088 (createInstance): Make private and takes a string to use in warning
24089 messages. Use new locateClass() method and generate appropriate
24091 (warn): New methods.
24092 (locateClass): Locates a class through the context class loader and
24093 system class loader as backup.
24094 * java/util/logging/Logger.java (root): New static final field.
24095 (Logger): Set parent to root.
24096 (setParent): Directly check root field.
24098 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
24100 * java/util/Collections.java:
24101 (binarySearch(List, T)): Fixed signature.
24102 (unmodifiableList(List)): Likewise.
24103 (UnmodifiableList(List)): Fixed constructor.
24104 (UnmodifiableRandomAccessList(List)): Likewise.
24105 (unmodifiableMap(Map)): Fixed signature.
24106 (UnmodifiableMap(Map)): Fixed constructor.
24107 (unmodifiableSortedMap(Map)): Fixed signature.
24108 (UnmodifiableSortedMap(Map)): Fixed constructor.
24110 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
24112 * java/io/ObjectOutputStream.java:
24113 (writeObject(Object)): Added enum support.
24114 (writeClassDescriptor(ObjectStreamClass)): Likewise.
24115 * java/io/ObjectStreamClass.java:
24116 (isEnum()): New package-private method.
24117 (setFlags(Class)): Added enum support.
24118 * java/io/ObjectStreamConstants.java:
24121 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24123 * javax/swing/text/Segment.java:
24124 (setPosition): Make exception message more verbose.
24125 * javax/swing/text/WrappedPlainView.java:
24126 (insertUpdate): Removed unneeded repaint call.
24127 (changeUpdate): Dito.
24128 (removeUpdate): Dito.
24129 (WrappedLine.determineNumLines): Do not return numLines, break
24130 from loop if no new break point has been calculated.
24131 (WrappedLine.updateDamage): Rewritten.
24132 (WrappedLine.insertUpdate): Removed unneeded update code.
24133 (WrappedLine.removeUpdate): Removed unneeded update code, added
24136 2006-04-02 Dalibor Topic <robilad@kaffe.org>
24138 * configure.ac (with-glibj-zip): Added new option.
24140 * examples/Makefile.am,
24142 tools/Makefile.am: Adapted build classpath to use glibj.zip,
24143 in addition to classes in lib directory.
24145 2006-04-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24147 * tools/gnu/classpath/tools/giop/GRMIC.java,
24148 tools/gnu/classpath/tools/giop/IorParser.java,
24149 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
24150 tools/gnu/classpath/tools/giop/grmic/Generator.java,
24151 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
24152 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
24153 tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
24154 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
24155 tools/gnu/classpath/tools/rmi/RMIC.java,
24156 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
24157 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
24158 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
24159 linking exception from the licensing header.
24160 * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24161 Added licensing header.
24163 2006-04-02 Mark Wielaard <mark@klomp.org>
24165 * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
24166 (jarsigner): Removed.
24168 2006-04-02 Dalibor Topic <robilad@kaffe.org>
24170 * configure.ac: don't check for isnan function.
24171 * native/fdlibm/fdlibm.h: Always use the isnan macro.
24173 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
24175 * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
24176 * tools/Makefile.am: Generate jarsigner shell script.
24177 * tools/jarsigner.sh.in: New template.
24178 * tools/.cvsignore: Added jarsigner.sh.
24180 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
24182 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
24183 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24184 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24185 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24186 * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
24187 Re-organised imports.
24189 2006-04-01 Bernhard Rosenkraenzer <bero@arklinux.org>
24191 PR classpath/25924:
24192 * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
24193 Handle case where alpha==0.
24195 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24198 * javax/swing/text/Utilities.java:
24199 (getTabbedTextOffset): Added check to decrement pos not below zero,
24200 changed '>' comparison to '>='.
24201 * javax/swing/text/WrappedPlainView.java:
24202 (lineHeight): New field.
24203 (calculateBreakPosition): Throw InternalError in catch block, removed
24204 unneeded brackets, use specific version of
24205 Utilities.getTabbedTextOffset.
24206 (paint): Set various properties neccessary for drawing.
24207 (WrappedLine.paint): Removed code to set field of outer class.
24208 (WrappedLine.modelToView): Removed unneeded expression from
24210 (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
24211 -1 from return statement, copy only a subset into the Segment, removed
24212 special handling of mark value - just return it, simplified
24213 incrementation of currLineStart.
24214 (WrappedLine.insertUpdate): Recalculate numLines, report preference
24215 change to parent view.
24216 (WrappedLine.removeUpdate): Dito.
24218 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24220 * javax/swing/text/Segment.java:
24221 (toString): Return empty string when array is null.
24223 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24225 * javax/swing/plaf/basic/BasicTextUI.java:
24226 (damageRange): Use SwingUtilities.computeUnion to avoid
24227 unneccessary Rectangle instantiation.
24229 2006-04-01 Tom Tromey <tromey@redhat.com>
24231 * java/security/cert/Certificate.java (serialVersionUID): Fixed.
24233 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24235 * javax/swing/text/CompositeView.java: Fixed copyright header.
24236 * javax/swing/text/BoxView.java: Fixed copyright header.
24237 * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
24238 * javax/swing/text/Utilities.java: Fixed copyright header.
24240 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24242 * javax/swing/text/CompositeView.java:
24243 (modelToView): Throw BadLocationException when no child
24244 view can be found, restructed to throw exception as early
24246 (viewToModel): Use mutable allocation as argument for viewToModel
24247 call on child view.
24248 * javax/swing/text/BoxView.java:
24249 (getViewAtPoint): Call setBounds() r before method returns with
24250 suitable child view.
24251 * javax/swing/text/Utilities.java:
24252 (getPositionBelow): Added try-catch-block around modelToView call,
24253 added method return when BadLocationException was thrown.
24254 * javax/swing/text/WrappedPlainView.java:
24255 (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
24256 added note about meaning of rect.x and rect.width, removed unneeded
24257 checks, added code to not return the last possible document offset.
24259 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24261 * javax/swing/text/WrappedPlainView.java:
24262 (WrappedLine.viewToModel): Change < to <= in if-statement,
24263 removed addition of currLineStart to return value.
24264 * javax/swing/text/BoxView.java:
24265 (getViewAtPoint): Use copy instead of r for method call
24266 which modifies the second argument.
24268 2006-04-01 Mark Wielaard <mark@klomp.org>
24271 * java/util/jar/Attributes.java: Fully qualify java.util.Map.
24273 2006-03-31 Tom Tromey <tromey@redhat.com>
24275 * lib/split-for-gcj.sh: Updated for multi-field format.
24276 * lib/Makefile.am (CLEANFILES): Added classes.2.
24277 * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and
24278 classes.2 using multiple fields.
24280 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24282 * javax/swing/JTable.java (columnSelectionChanged):
24283 Removed print statement.
24284 * javax/swing/DefaultListSelectionModel.java
24285 (addSelectionInterval, removeSelectionInterval):
24286 Fire the difference between selection. (setLeadSelectionIndex):
24287 Fire the difference and mark current and previous lead
24288 selection indexes for repaint.
24290 2006-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
24292 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
24293 unnecessary copying.
24294 * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
24296 2006-03-31 Lillian Angel <langel@redhat.com>
24298 * java/awt/Component.java
24299 (translateEvent): oldKey should be the value of the
24302 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24304 * javax/swing/JTable.java (columnSelectionChanged):
24305 Treat second repaint parameter as width.
24307 2006-03-31 Lillian Angel <langel@redhat.com>
24310 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
24311 (realize): New native function.
24312 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
24313 Added new function declaration.
24314 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
24315 (realize): New function.
24317 2006-03-31 Robert Schuster <robertschuster@fsfe.org>
24319 * javax/swing/text/GapContent.java:
24320 (replace): Move all Position instances from gap's end to
24321 it's start before increasing the gap start.
24322 * javax/swing/plaf/basic/BasicTextAreaUI.java:
24323 (propertyChanged): Update the view only instead of
24324 indicating a document change.
24326 2006-03-31 Roman Kennke <kennke@aicas.com>
24328 * javax/swing/JTextField.java
24329 (fireActionPerformed): Put the textfields text in the action
24330 instead of the action name.
24332 2006-04-01 Raif S. Naffah <raif@swiftdsl.com.au>
24334 * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
24335 Check for null jar-file argument.
24336 (setupSigningParams): Check for null alias argument.
24338 2006-03-31 Roman Kennke <kennke@aicas.com>
24340 * javax/swing/JComponent.java
24341 (paintChildren): Split up in two cases, depending on the
24342 optimizedDrawingEnabled flag.
24343 (paintChildrenWithOverlap): New method. Paints children when
24344 not optimizedDrawingEnabled. This implements better painting
24345 algorithm for overlapping components, so that the painted
24346 regions are minimized.
24347 (paintChildrenOptimized): New method. Paints children when
24348 when optimizedDrawingEnabled. This implements a painting
24349 algorithm that is optimized for the case when all children
24350 are guaranteed to be tiled.
24352 2006-03-31 Raif S. Naffah <raif@swiftdsl.com.au>
24354 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
24355 Attributes.putValue(String,String).
24356 (finishSigning): Likewise.
24357 * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
24358 (SIGNATURE_VERSION): Likewise.
24359 (readSFManifest): Use local string constant.
24360 (readMainSection): Likewise.
24361 (readVersionInfo): Likewise.
24362 * java/util/jar/Attributes.java (MANIFEST_VERSION):
24363 Redefined using JarUtils constant.
24364 (SIGNATURE_VERSION): Likewise.
24365 (putValue(Name,String)): Made it private.
24367 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24369 * javax/swing/DefaultListSelectionModel.java (fireDifference):
24370 New method. (clearSelection): Rewritten. (setSelectionInterval):
24371 Fire the difference between current and new selection.
24372 * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
24373 Only repaint the region, where selection has been changed.
24374 * javax/swing/plaf/basic/BasicTableUI.java
24375 (TableAction.actionPerformed): Do not change the column selection
24376 when only row selection change is wanted (and in reverse) and
24377 do not call the repaint() here.
24379 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24382 * javax/swing/DefaultComboBoxModel.java
24383 (DefaultComboBoxModel(Vector)): Call getSize() instead of
24385 (addElement): Call list.addElement() rather than list.add(), and only
24386 update selected item if it is currently null,
24387 (removeElementAt): Update selected item, then remove the element.
24389 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24392 * java/awt/geom/Point2D.java
24393 (distanceSq(double, double)): Fixed order of arguments,
24394 (distanceSq(Point2D)): Likewise,
24395 (distance(double, double)): Likewise,
24396 (distance(Point2D)): Likewise.
24398 2006-03-30 Thomas Fitzsimmons <fitzsim@redhat.com>
24400 * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
24401 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
24402 (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
24403 ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
24404 DCLuminanceLengths, DCLuminanceValues): Remove fields.
24406 2006-03-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24408 * javax.swing.JTable (constructor): Initialize column
24409 model column margin and table row margin before setting the
24410 table column model. (initialiseLocalVars): Do not call
24411 setIntercellSpacing.
24413 2006-03-30 Chris Burdess <dog@gnu.org>
24415 * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
24417 * javax/xml/validation/SchemaFactoryLoader.java: New file.
24419 2006-03-30 Mark Wielaard <mark@klomp.org>
24422 * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
24423 adjust bounds. On resize invalidate and validate container.
24424 Always pass on ComponentEvents to Container super class.
24425 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
24426 menuBar and pass to GtkWindowPeer super class.
24427 (postConfigureEvent): Adjust menu bar width. Adjust y and height
24428 bounds and pass to GtkWindowPeer super class.
24429 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
24430 New fields for local bounds.
24431 (getX, getY): New methods.
24432 (getWidth): Don't call into awtComponent.
24433 (getHeight): Likewise.
24434 (create): Cache local bounds.
24435 (setLocation): Documented, made protected and just call
24437 (setLocationUnlocked): Removed unused method.
24438 (setBoundsUnlocked): Likewise.
24439 (setBounds): Check whether bounds actually changed and cache local
24441 (setSize): Documented and made protected.
24442 (setResizable): Documented and cache local bounds.
24443 (postConfigureEvent): Update local bounds. Don't call awtComponent
24444 directly but post ComponentEvents.
24445 (show): Cache local bounds.
24446 (getBounds): Override to return cached bounds.
24448 2006-03-30 Lillian Angel <langel@redhat.com>
24450 * gnu/java/awt/peer/gtk/GdkGraphics.java
24451 (drawImage): Added check to prevent NPE.
24452 (drawImage): Likewise.
24453 (drawImage): Likewise.
24454 * java/awt/Choice.java
24455 (dispatchEventImpl): New function. selectedIndex was
24456 not being updated properly otherwise.
24458 2006-03-30 Roman Kennke <kennke@aicas.com>
24460 * javax/swing/JTabbedPane.java
24461 (removeTabAt): Removed debug code.
24463 2006-03-30 Roman Kennke <kennke@aicas.com>
24466 * javax/swing/plaf/basic/BasicTextUI.java
24467 (installKeyboardActions): Simply call getKeymap() and install this.
24468 (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24470 2006-03-30 Roman Kennke <kennke@aicas.com>
24472 * javax/swing/JTabbedPane.java
24473 (removeTabAt): Adjust selection correctly when removing a tab
24474 before the selected tab. Also remove the component from the
24475 container, not only the tab object. Repaint and revalidate the
24476 component after the removal.
24477 (removeAll): Set selection to -1 before removing the tabs.
24479 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
24481 * java/io/ObjectInputStream.java:
24482 (parseContent(byte)): Added enum support.
24483 * java/io/ObjectStreamConstants.java:
24485 (TC_MAX): Changed to new maximum, TC_ENUM.
24487 2006-03-29 Lillian Angel <langel@redhat.com>
24489 Partial fix for bug #26929
24490 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24491 (updateComponent): Removed. We want to clear the panel
24493 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24494 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24495 Should set the background to the saved background color.
24497 2006-03-29 Mark Wielaard <mark@klomp.org>
24499 Partial fix for bug #26848 (pack).
24500 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24501 Always show instances of Window.
24503 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24505 * javax/swing/JSlider.java
24506 (setPaintLabels): Only create standard labels if labelTable is null,
24507 * javax/swing/plaf/basic/BasicSliderUI.java
24508 (PropertyChangeHandler.propertyChange): Recalculate geometry for
24509 "paintTicks" property change,
24510 (calculateThumbSize): Updated API docs,
24511 (calculateContentRect): Likewise,
24512 (calculateTrackBuffer): Take into account the lowest and highest
24513 labels when calculating buffer space,
24514 (calculateTrackRect): Include labels, if visible, in the calculation of
24515 the trackRect position,
24516 (calculateTickRect): Height is zero if ticks are not painted,
24517 (calculateLabelRect): Use max dimensions of actual labels,
24518 (getWidthOfHighValueLabel): Use preferred size,
24519 (getWidthOfLowValueLabel): Likewise,
24520 (getHeightOfHighValueLabel): Likewise,
24521 (getHeightOfLowValueLabel): Likewise,
24522 (drawInverted): Just return slider setting,
24523 (getHighestValueLabel): Updated API docs,
24524 (paintTicks): Removed redundant (and buggy) code, replaced with calls
24525 to xPositionForValue() and yPositionForValue(),
24526 (paintHorizontalLabel): Removed full qualification of class name,
24527 (paintVerticalLabel): Likewise,
24528 (xPositionForValue): Reimplemented,
24529 (yPositionForValue): Reimplemented,
24530 * javax/swing/plaf/metal/MetalSliderUI.java
24531 (paintTrack): Made track one pixel longer.
24533 2006-03-29 Tom Tromey <tromey@redhat.com>
24536 * tools/Makefile.am (JCOMPILER): Added encoding options.
24537 * examples/Makefile.am (JCOMPILER): Added encoding options.
24539 2006-03-29 Gary Benson <gbenson@redhat.com>
24541 Partial fix for PR classpath/24895
24542 * java/io/FilePermission.java (implies): Canonicalize paths.
24544 2006-03-29 Robert Schuster <robertschuster@fsfe.org>
24547 * javax/swing/text/GapContent.java:
24548 (replace): Added call to resetMarksAtZero.
24550 2006-03-29 Roman Kennke <kennke@aicas.com>
24553 * javax/swing/plaf/basic/BasicMenuItemUI.java
24554 (cachedRect): New field.
24555 (BasicMenuItemUI): Initialize cachedRect field.
24556 (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24557 to determine layout. Store maximum accelerator and text width
24558 in client properties of parent to allow correct alignment
24559 of accelerators among menu items of one menu.
24560 (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24561 method. Align accelerators according to the values calculated
24562 in getPreferredMenuItemSize.
24563 (getAcceleratorString) New helper method.
24564 (layoutMenuItem): New helper method.
24566 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24568 * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24569 * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24570 * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24572 * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass,
24573 readExternal, writeExternal): New methods.
24574 * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24575 two stages, invokeCommon(Remote, ...) and
24576 invokeCommen(UnicastConnection, ...).
24577 * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24578 also the ActivatableRef. toString(): Documented.
24579 * gnu/java/rmi/server/ActivatableRef.java,
24580 tools/gnu/classpath/tools/rmi/Persistent.java,
24581 tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24582 tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24583 tools/gnu/classpath/tools/rmi/REGISTRY.java,
24584 tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24585 tools/gnu/classpath/tools/rmi/RMID.java,
24586 tools/gnu/classpath/tools/rmi/RMID.txt,
24587 tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24588 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24589 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24590 tools/gnu/classpath/tools/rmi/registry/package.html,
24591 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24592 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24594 * tools/README: Documented.
24595 * NEWS: Added entry about the activation.
24597 2006-03-29 Roman Kennke <kennke@aicas.com>
24600 * javax/swing/plaf/basic/BasicMenuItemUI.java
24601 (viewRect): New field.
24602 (textRect): New field.
24603 (accelRect): New field.
24604 (iconRect): New field.
24605 (arrowIconRect): New field.
24606 (checkIconRect): New field.
24607 (BasicMenuItemUI): Initialize new fields.
24608 (paintMenuItem): Rewritten to correctly layout and paint
24609 the menu item in a more straightforward way. Use cached rectangle
24610 objects for layout.
24611 (paintAccelerator): Pulled inside the paintMenuItem method.
24613 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24615 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24616 Do not use initCause with UnexpectedException.
24617 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24620 2006-03-29 Mark Wielaard <mark@klomp.org>
24622 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24623 (setCursorID): Removed unused static variable.
24625 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24627 * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24629 2006-03-29 Mark Wielaard <mark@klomp.org>
24632 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24633 (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24635 2006-03-28 Roman Kennke <kennke@aicas.com>
24637 * javax/swing/UIManager.java
24638 (installLookAndFeel): Implemented.
24639 (setInstalledLookAndFeels): Implemented.
24641 2006-03-28 Roman Kennke <kennke@aicas.com>
24643 * javax/swing/plaf/metal/MetalButtonUI.java
24644 (update): Paint gradient only when the background color
24645 is not a UIResource and if the button is neither armed nor
24646 pressed and if the button is contentAreaFilled.
24648 2006-03-28 Roman Kennke <kennke@aicas.com>
24650 * javax/swing/JLayeredPane.java
24651 (addImpl): Repaint added component.
24653 2006-03-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
24655 * java/util/regex/Matcher.java: Reverted.
24657 2006-03-28 Roman Kennke <kennke@aicas.com>
24659 * javax/swing/text/AsyncBoxView.java
24660 (setEstimatedMajorSpan): Made method protected.
24661 (getEstimatedMajorSpan): Made method protected.
24662 * javax/swing/text/BoxView.java
24663 (flipEastAndWestAtEnds): Fixed typo.
24664 * javax/swing/text/InternationalFormatter.java
24665 (getActions): Made method protected.
24666 * javax/swing/text/Position.java
24667 (Bias): Made class final.
24668 * javax/swing/text/html/HTML.java
24669 (MEDIA): Made field package private. Not specified.
24670 (NOBR): Made field package private. Not specified.
24671 * javax/swing/text/html/NullView.java
24672 Made class package private.
24673 * javax/swing/text/html/parser/Entity.java
24674 Made class non-serializable as specified.
24676 2006-03-28 Roman Kennke <kennke@aicas.com>
24678 * javax/swing/plaf/metal/MetalButtonUI.java
24679 (update): Don't paint gradient if the background color is
24680 no UIResource. Removed double getModel() call. Don't check for
24683 2006-03-28 Roman Kennke <kennke@aicas.com>
24685 * javax/swing/plaf/basic/BasicMenuItemUI.java
24686 (paint): Call paintMenuItem with the selectionBackground as
24688 (paintBackground): Fixed the condition and color for the background
24691 2006-03-28 Roman Kennke <kennke@aicas.com>
24693 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24694 (tabsOpaque): New field.
24695 (paintLeftTabBorder): Paint some parts only when the tabs are
24696 opaque. Determine the tab background using the paintLeftTabBorder()
24698 (paintRightTabBorder): Likewise.
24699 (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24701 2006-03-27 Tom Tromey <tromey@redhat.com>
24703 PR classpath/25189:
24704 * java/lang/Enum.java (valueOf): Ensure that the named field
24705 is an enum constant.
24706 (compareTo): Check class of enum.
24708 2006-03-27 Tom Tromey <tromey@redhat.com>
24710 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24712 2006-03-27 Tom Tromey <tromey@redhat.com>
24714 * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24716 (getModifiersInternal): Renamed from getModifiers.
24717 (getModifiers): New method.
24718 (isBridge): Likewise.
24719 (isSynthetic): Likewise.
24720 (isVarArgs): Likewise.
24721 * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24723 (getModifiersInternal): Renamed from getModifiers.
24724 (getModifiers): New method.
24725 (isSynthetic): Likewise.
24726 (isEnumConstant): Likewise.
24727 * vm/reference/java/lang/reflect/Constructor.java
24728 (getModifiersInternal): Renamed from getModifiers.
24729 (getModifiers): New method
24730 (CONSTRUCTOR_MODIFIERS): New constant.
24731 (isSynthetic): New method.
24732 (isVarArgs): Likewise.
24733 * java/lang/reflect/Member.java (isSynthetic): New method.
24735 2006-03-28 Tom Tromey <tromey@redhat.com>
24737 * java/net/Proxy.java (TYPE): Added missing ";".
24739 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24741 * java/math/RoundingMode.java:
24742 Fixed serialization UID.
24743 * java/net/Proxy.java:
24746 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24748 * java/io/CharArrayWriter.java:
24749 (append(char)): Documented.
24750 (append(CharSequence)): Likewise.
24751 (append(CharSequence,int,int)): Likewise.
24753 2006-03-27 Jeroen Frijters <jeroen@frijters.net>
24755 * vm/reference/java/lang/reflect/Constructor.java
24756 (getTypeParameters): Check return value of getSignature for null.
24757 * vm/reference/java/lang/reflect/Method.java
24758 (getTypeParameters): Check return value of getSignature for null.
24760 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24762 * java/rmi/activation/ActivationGroup_Stub.java:
24765 2006-03-27 Tom Tromey <tromey@redhat.com>
24767 * java/io/CharArrayWriter.java (append): New overloads.
24769 2006-03-27 Lillian Angel <langel@redhat.com>
24771 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24772 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24773 Added check for colormap. Prevents assertion error.
24774 (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24776 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24778 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24780 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24782 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24785 2006-03-27 Dalibor Topic <robilad@kaffe.org>
24787 * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use
24788 AC_MSG_ERROR instead of echoing the error message
24789 that no compiler has been found manually.
24791 2006-03-27 Roman Kennke <kennke@aicas.com>
24793 * javax/swing/RepaintManager.java
24794 (commitBuffer): Use simple drawImage() method instead of the
24797 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24799 * javax/swing/text/PlainView.java:
24800 (drawLine): Use 'endOffset' instead of 'selectionEnd'
24801 for painting the selected line.
24803 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24805 * javax/swing/plaf/basic/BasicSliderUI.java
24806 (getThumbSize): Removed TODO and updated API docs.
24808 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24810 * javax/swing/text/DefaultCaret.java:
24811 (mouseClicked): Word selection rewritten.
24812 (paint): Draw line inside the bounding rectangle.
24813 (damage): Retrieve caret height from line height.
24815 2006-03-28 Raif S. Naffah <raif@swiftdsl.com.au>
24817 * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
24819 Check for -help option.
24820 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
24822 2006-03-27 Roman Kennke <kennke@aicas.com>
24824 * javax/swing/text/FieldView.java
24825 (getPreferredSpan): Don't include trailing newline in
24827 * javax/swing/text/PlainView.java
24828 (drawLine): Don't include trailing newline.
24829 (determineMaxLineLength): Don't include trailing newline.
24830 (getLineBuffer): Made method final.
24832 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24834 * javax/swing/JSlider.java
24835 (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
24836 (AccessibleJSlider.getAccessibleRole): Removed declaration of
24837 NotImplementedException,
24838 (AccessibleJSlider.getAccessibleValue): Updated API docs.
24840 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24842 * java/lang/ProcessBuilder.java:
24845 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24847 * gnu/java/net/protocol/http/Headers.java:
24848 Match layout of file on HEAD.
24849 * gnu/javax/swing/text/html/parser/htmlValidator.java:
24851 * java/awt/datatransfer/DataFlavor.java
24854 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24856 * gnu/java/security/jce/hash/HavalSpi.java,
24857 * gnu/java/security/jce/hash/MD2Spi.java,
24858 * gnu/java/security/jce/hash/MD4Spi.java,
24859 * gnu/java/security/jce/hash/MD5Spi.java,
24860 * gnu/java/security/jce/hash/MessageDigestAdapter.java,
24861 * gnu/java/security/jce/hash/RipeMD128Spi.java,
24862 * gnu/java/security/jce/hash/RipeMD160Spi.java,
24863 * gnu/java/security/jce/hash/Sha160Spi.java,
24864 * gnu/java/security/jce/hash/Sha256Spi.java,
24865 * gnu/java/security/jce/hash/Sha384Spi.java,
24866 * gnu/java/security/jce/hash/Sha512Spi.java,
24867 * gnu/java/security/jce/hash/TigerSpi.java,
24868 * gnu/java/security/jce/hash/WhirlpoolSpi.java,
24869 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
24870 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
24871 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
24872 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
24873 * gnu/java/security/jce/sig/SignatureAdapter.java,
24874 * gnu/java/security/key/IKeyPairCodec.java,
24875 * gnu/java/security/key/IKeyPairGenerator.java,
24876 * gnu/java/security/key/KeyPairGeneratorFactory.java,
24877 * gnu/java/security/key/dss/DSSKey.java,
24878 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
24879 * gnu/java/security/key/dss/DSSPrivateKey.java,
24880 * gnu/java/security/key/dss/DSSPublicKey.java,
24881 * gnu/java/security/key/dss/FIPS186.java,
24882 * gnu/java/security/key/rsa/GnuRSAKey.java,
24883 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
24884 * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
24885 * gnu/java/security/sig/ISignature.java,
24886 * gnu/java/security/sig/ISignatureCodec.java,
24887 * gnu/java/security/sig/dss/DSSSignature.java,
24888 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
24889 * gnu/java/security/sig/rsa/RSAPSSSignature.java,
24890 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
24891 * gnu/java/security/util/Util.java:
24892 Remove CVS revision tags.
24894 2006-03-26 Tom Tromey <tromey@redhat.com>
24896 * java/io/InputStream.java (InputStream): Implements Closeable.
24898 2006-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
24900 * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
24902 * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
24903 getAnchor): New methods.
24904 * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
24905 getAnchor): New methods.
24906 * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
24907 getAnchor): New methods.
24908 * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
24909 getAnchor): New methods.
24910 * gnu/regexp/REMatch.java(start1): New field.
24911 * gnu/regexp/RE.java(initialize): Added support for \z and \G,
24912 (match): set the starting position to start1[] instead of start[],
24913 (getMatchImpl): Set the found REMatch to the input,
24914 (makeCharIndexed): Made public.
24915 * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
24916 * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
24917 set the value of start[] copying from start1[].
24918 * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
24920 * java/util/regex/Matcher.java(inputCharIndexed): New field
24921 to be used as a parameter of the RE#getMatch.
24923 2006-03-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24925 * gnu/java/rmi/activation/DefaultActivationGroup.java:
24926 Documented the default jre spawning strategy (none).
24927 * java/rmi/activation/ActivationGroup.java (currentGroupId,
24928 getSystem): Obtain the acticivation system from the
24929 DefaultActivationSystem.
24931 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24933 * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
24934 Ask user for keystore password if one was not provided.
24936 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24938 * tools/README: Added Security tools section.
24939 Documented the jarsigner tool.
24941 2006-03-25 David Gilbert <david.gilbert@object-refinery.com>
24943 * javax/swing/JScrollBar.java
24944 (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
24945 (AccessibleJScrollBar.getAccessibleRole): Likewise,
24946 (AccessibleJScrollBar.getAccessibleValue): Likewise,
24947 (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
24948 (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
24949 (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
24950 (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
24951 (getAccessibleContext): Updated API docs.
24953 2006-03-25 Tom Tromey <tromey@redhat.com>
24955 * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
24956 change or if generator script changes.
24958 2006-03-25 Tom Tromey <tromey@redhat.com>
24960 * javax/naming/ldap/StartTlsRequest.java: New file.
24961 * javax/naming/ldap/StartTlsResponse.java: New file.
24963 2006-03-25 Olivier Jolly <olivier.jolly@pcedev.com>
24965 * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
24966 to validate all components of a resource path.
24967 (FileURLLoader.walkPathComponents): Helper which ensures that we are
24968 allowed to walk through every component of a resource path.
24970 2006-03-25 Michael Koch <konqueror@gmx.de>
24972 * NEWS: Added item for CLDR 1.3 update.
24974 2006-03-25 Michael Koch <konqueror@gmx.de>
24976 * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
24977 resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
24978 resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
24979 resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
24980 resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
24981 resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
24984 2006-03-25 Michael Koch <konqueror@gmx.de>
24986 * resource/gnu/java/locale/LocaleInformation_az.properties,
24987 resource/gnu/java/locale/LocaleInformation_bs.properties,
24988 resource/gnu/java/locale/LocaleInformation_byn.properties,
24989 resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
24990 resource/gnu/java/locale/LocaleInformation_el_CY.properties,
24991 resource/gnu/java/locale/LocaleInformation_gez.properties,
24992 resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
24993 resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
24994 resource/gnu/java/locale/LocaleInformation_haw.properties,
24995 resource/gnu/java/locale/LocaleInformation_haw_US.properties,
24996 resource/gnu/java/locale/LocaleInformation_kok.properties,
24997 resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
24998 resource/gnu/java/locale/LocaleInformation_sid.properties,
24999 resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
25000 resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
25001 resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
25002 resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
25003 resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
25004 resource/gnu/java/locale/LocaleInformation_syr.properties,
25005 resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
25006 resource/gnu/java/locale/LocaleInformation_tig.properties,
25007 resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
25008 resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
25009 resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
25010 resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
25011 resource/gnu/java/locale/LocaleInformation_wal.properties,
25012 resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
25015 2006-03-25 Michael Koch <konqueror@gmx.de>
25017 * resource/gnu/java/locale/LocaleInformation_fa.properties,
25018 resource/gnu/java/locale/LocaleInformation_kn.properties,
25019 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25020 resource/gnu/java/locale/LocaleInformation_ko.properties,
25021 resource/gnu/java/locale/LocaleInformation_sl.properties,
25022 resource/gnu/java/locale/LocaleInformation_so.properties,
25023 resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
25024 resource/gnu/java/locale/LocaleInformation_so_ET.properties,
25025 resource/gnu/java/locale/LocaleInformation_so_SO.properties,
25026 resource/gnu/java/locale/LocaleInformation_sr.properties:
25027 Random fixes I forgot to commit before.
25029 2006-03-25 Michael Koch <konqueror@gmx.de>
25031 * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
25032 resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
25033 resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
25034 resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
25035 resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
25036 resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
25037 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
25038 resource/gnu/java/locale/LocaleInformation_be_BY.properties,
25039 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
25040 resource/gnu/java/locale/LocaleInformation_en.properties,
25041 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
25042 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
25043 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
25044 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
25045 resource/gnu/java/locale/LocaleInformation_fa.properties,
25046 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
25047 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25048 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25049 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25050 resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
25051 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25052 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
25053 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
25054 resource/gnu/java/locale/LocaleInformation_pa.properties,
25055 resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
25056 resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
25057 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
25058 resource/gnu/java/locale/LocaleInformation_sa.properties,
25059 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
25060 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
25061 resource/gnu/java/locale/LocaleInformation_te_IN.properties:
25062 Updated currency formats.
25064 2006-03-25 Roman Kennke <kennke@aicas.com>
25066 * javax/swing/text/AbstractDocument.java
25067 (getAttributeContext): Made method final.
25068 (getCurrentWriter): Likewise.
25069 (getEndPosition): Likewise.
25070 (getProperty): Likewise.
25071 (getStartPosition): Likewise.
25072 (putProperty): Likewise.
25073 (readLock): Likewise.
25074 (readUnlock): Likewise.
25075 (writeLock): Likewise.
25076 (writeUnlock): Likewise.
25078 2006-03-25 Roman Kennke <kennke@aicas.com>
25080 * javax/swing/InputMap.java
25081 (allKeys): Check if parent keys is null.
25082 * javax/swing/KeyboardManager.java
25083 (registerEntireMap): Also register map's parent keys.
25084 * javax/swing/plaf/metal/MetalRootPaneUI.java
25085 (propertyChange): Also call super.propertyChange().
25087 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25089 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
25090 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
25091 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
25092 * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
25093 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
25094 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
25096 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25098 * gnu/java/util/jar/JarUtils.java: New file.
25099 * java/util/jar/Manifest.java (CRLF): Removed.
25100 (read_main_section): Likewise.
25101 (read_version_info): Likewise.
25102 (expect_header(String,BufferedReader)): Likewise.
25103 (expect_header(String,BufferedReader,String)): Likewise.
25104 (read_header_value): Likewise.
25105 (read_attributes): Likewise.
25106 (read_attribute): Likewise.
25107 (read_individual_sections): Likewise.
25108 (read_section_name): Likewise.
25109 (write_main_section): Likewise.
25110 (write_version_info): Likewise.
25111 (write_header): Likewise.
25112 (write_main_attributes): Likewise.
25113 (write_attribute_entry): Likewise.
25114 (write_individual_sections): Likewise.
25115 (write_entry_attributes): Likewise.
25116 (read): use JarUtils.
25119 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25121 * gnu/java/security/pkcs/SignerInfo.java (log): New field.
25124 (SignerInfo(BERReader)): Updated javadoc.
25126 (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
25128 (encode): New method.
25129 * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
25130 (PKCS7_DATA): Removed.
25133 (PKCS7SignedData(BERReader)): Updated javadoc.
25135 (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
25137 (encode): New method.
25138 * gnu/java/security/pkcs/PKCS7Data.java: New file.
25139 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
25140 (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
25141 (decodePrivateKey): Decode x from an OCTET STRING.
25142 * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
25143 (toString): New method.
25144 * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
25146 (toString): New method.
25147 * gnu/java/security/key/dss/DSSKey.java (str): New Field.
25148 (toString): New method.
25149 * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
25151 2006-03-25 Roman Kennke <kennke@aicas.com>
25153 * java/util/GregorianCalender.java
25154 (computeTime): Fix comparison to correctly calculate the
25157 2006-03-25 Wolfgang Baer <WBaer@gmx.de>
25160 * java/awt/Window.java:
25161 (setFocusCycleRoot): New overriden method.
25162 (isFocusCycleRoot): Likewise.
25163 (getFocusCycleRootAncestor): Likewise.
25164 * java/awt/Container.java:
25165 (getFocusTraversalPolicy): Check also for anchestor == null.
25167 2006-03-25 Mark Wielaard <mark@klomp.org>
25169 Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
25170 * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
25173 2006-03-24 Tom Tromey <tromey@redhat.com>
25175 * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
25177 (writeChar): Removed useless cast.
25178 (writeChars(String)): Implemented.
25179 (writeDouble): Rewrote.
25180 (writeFloat): Likewise.
25181 (writeUTF): Implemented.
25182 * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
25185 2006-03-24 Roman Kennke <kennke@aicas.com>
25187 * javax/swing/JButton.java
25188 (def): Replaced field with defaultCapable field.
25189 (is_def): Removed field.
25190 (JButton): Initialize defaultCapable with true.
25191 (isDefaultButton): Documented and implemented method by querying
25192 the button's root pane if present.
25193 (isDefaultCapable): Changed def field to defaultCapable.
25194 Added documentation.
25195 (paramString): Call isDefaultButton() instead of accessing field,
25197 (setDefaultCapable): Changed def field to defaultCapable.
25198 Added documentation.
25199 * javax/swing/JRootPane.java
25200 (setDefaultButton): Only change the default button if the
25201 new button is defaultCapable.
25202 * javax/swing/plaf/basic/BasicRootPaneUI.java
25203 (DefaultPressAction): New class.
25204 (DefaultReleaseAction): New class.
25205 (installKeyboardActions): Implemented.
25206 (uninstallKeyboardActions): Implemented.
25207 (propertyChange): Implemented.
25208 * javax/swing/plaf/metal/MetalBorders.java
25209 (ButtonBorder.paintBorder): 'Outsourced' default theme
25210 painting to paintDefaultButtonBorder().
25211 (ButtonBorder.paintDefaultButtonBorder): New helper method
25212 to paint the border in the default theme. This also fixes
25213 painting of the border for default buttons.
25214 (ButtonBorder.paintOceanButtonBorder): Added support for
25215 default button painting. Fixed border for pressed/default state.
25216 * javax/swing/plaf/metal/MetalButtonUI.java
25217 (update): Only paint gradient when in OceanTheme and when the
25218 button is not armed.
25220 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25222 * gnu/java/rmi/activation/ActivationSystemTransient.java:
25223 Inherit from Activator.
25225 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25227 * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
25228 Print debug message if debug flag is set.
25229 * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
25230 * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
25231 detail, do not call iniCause(). (exportClass): New method.
25232 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
25233 Ignore null (bootstrap) class loader.
25234 * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
25235 buildMethodHash, findStubSkelClass, getHelperClass): Changed
25236 visibility to protected.
25237 * java/rmi/activation/Activatable.java (export, register): Rewritten.
25238 (toStub): New method.
25239 * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
25240 * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT):
25241 Explained property java.rmi.activation.port.
25243 2006-03-24 Tom Tromey <tromey@redhat.com>
25245 * .externalToolBuilders/CreateLocaleData.launch: Updated.
25246 * gnu/java/locale/.cvsignore: New file.
25247 * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
25248 * java/util/Locale.java (getAvailableLocales): Clone result.
25249 (getISOCountries): Likewise.
25250 (getISOLanguages): Likewise.
25251 * scripts/generate-locale-list.sh: Make class public. Added new
25253 * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
25254 (getLocaleCount): Likewise.
25255 * java/text/Collator.java (getInstance): Javadoc typo fix.
25256 (getAvailableLocales): Wrote.
25258 2006-03-24 Roman Kennke <kennke@aicas.com>
25260 * javax/swing/JTabbedPane.java
25261 (getSelectedComponent): Return null when no component is
25264 2006-03-24 Mark Wielaard <mark@klomp.org>
25266 * NEWS: Add cursor and selection improvements.
25268 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25270 * java/awt/Component.java
25271 (getAccessibleName): Just return accessibleName,
25272 * javax/swing/AbstractButton.java
25273 (getAccessibleStateSet): Mark as stub,
25274 (getAccessibleName): Implemented,
25275 (getAcessibleIcon): Mark as stub,
25276 (getAccessibleRelationSet): Likewise,
25277 (getAccessibleAction): Likewise,
25278 (getAccessibleValue): Likewise,
25279 (getAccessibleActionCount): Likewise,
25280 (getAccessibleActionDescription): Likewise,
25281 (doAccessibleAction): Likewise,
25282 (getCurrentAccessibleValue): Likewise,
25283 (setCurrentAccessibleValue): Likewise,
25284 (getMinimumAccessibleValue): Likewise,
25285 (getMaximumAccessibleValue): Likewise,
25286 (getAccessibleText): Likewise,
25287 (getIndexAtPoint): Likewise,
25288 (getCharacterBounds): Likewise,
25289 (getCharCount): Likewise,
25290 (getCaretPosition): Likewise,
25291 (getAtIndex): Likewise,
25292 (getAfterIndex): Likewise,
25293 (getBeforeIndex): Likewise,
25294 (getCharacterAttribute): Likewise,
25295 (getSelectionStart): Likewise,
25296 (getSelectionEnd): Likewise,
25297 (getSelectedText): Likewise,
25298 (getTextRectangle): Likewise,
25299 (setIconTextGap): Fire PropertyChangeEvent, not state changed,
25300 (getIconTextGap): Added @since 1.4,
25301 (setContentAreaFilled): Reordered code to make event sequence match
25302 reference implementation,
25303 * javax/swing/JButton.java
25304 (getSelectedObjects): Removed,
25305 *javax/swing/JComponent.java
25306 (getAccessibleName): Call super.
25308 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25310 * javax/swing/JProgressBar.java
25311 (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
25312 (AccessibleJProgressBar.getAccessibleRole): Added API docs,
25313 (AccessibleJProgressBar.getAccessibleValue): Implemented,
25314 (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
25315 (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
25316 (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
25317 (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
25318 (getAccessibleContext): Added API docs.
25320 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25322 * javax/swing/plaf/basic/BasicTextUI.java:
25323 (FocusListener.focusLost): Put current selection into the system
25326 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25328 * java/awt/Component.java:
25329 (processMouseEvent): Remove call to consume event.
25330 (dispatchEventImpl): Handle specific events first, do focus request
25331 only when mouse event was not yet consumed.
25332 * javax/swing/text/DefaultCaret.java:
25333 (mousePressed): Rewritten.
25334 (setDot): Changed order of operations.
25337 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25339 * javax/swing/JComponent.java
25340 (AccessibleJComponent.changeSupport): Removed field,
25341 (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
25342 (AccessibleJComponent.addPropertyChangeListener): Call super,
25343 (AccessibleJComponent.removePropertyChangeListener): Likewise,
25344 * javax/swing/JSlider.java
25345 (AccessibleJSlider.getAccessibleStateSet): Implemented,
25346 (AccessibleJSlider.getAccessibleRole): Likewise,
25347 (AccessibleJSlider.getAccessibleValue): Likewise,
25348 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25349 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25350 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25351 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25352 (getAccessibleContext): Added API docs.
25354 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25356 * gnu/java/rmi/activation/ActivationSystemTransient.java
25357 (debug): Made public. (constructor): Made protected.
25358 (activate, getActivationDesc): Throw more informative exceptions.
25359 * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
25361 * gnu/java/rmi/server/UnicastRef.java (remoteToString):
25363 * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
25365 * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
25367 * java/rmi/activation/Activatable.java (obtainId): Use the activation
25368 system, passed in the activation descriptor field.
25369 * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
25370 * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
25371 to package private final. (equals): Compare uid, not the system.
25372 (hashCode): Forward to uid.hashCode(). toString(): New method.
25373 * java/rmi/activation/ActivationID.java (readObject, writeObject):
25374 Rewritten. (equals): Compare UID only. toString(): New method.
25375 * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
25376 UID (space). (hashCode, toString): Rewritten.
25377 * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs):
25378 New method. (invoke): Treat null as an empty array for parameters.
25379 * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
25380 Include count, do not include the static machineId.
25382 2006-03-23 Tom Tromey <tromey@redhat.com>
25384 * java/net/URLConnection.java (getContent(Class[])): Implemented.
25386 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25388 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
25389 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
25390 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
25391 (force): New field. (setForce): New method. (compile): Handle -force.
25392 * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
25393 * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
25395 2006-03-23 Roman Kennke <kennke@aicas.com>
25397 * javax/swing/JTabbedPane.java
25398 (Page.getBackground): Return the JTabbedPane's background,
25399 rather than the page's component background.
25400 (Page.getForeground): Return the JTabbedPane's foreground,
25401 rather than the page's component foreground.
25402 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25403 (uninstallUI): Don't set colors to null.
25404 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25405 (paintTabBackground): Correctly determine the tab background.
25406 (getUnselectedBackground): New helper method to
25407 handle the UI property 'TabbedPane.unselectedBackground'
25410 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25412 * javax/swing/plaf/basic/BasicInternalFrameUI.java
25413 (BorderListener.showingResizeCursor): New field.
25414 (BorderListener.mouseMoved, BorderListner.mouseExited):
25417 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25419 * javax/swing/JComboBox.java
25420 (selectWithKeyChar): Mark as stub,
25421 * javax/swing/JFileChooser.java
25422 (setDragEnabled): Mark as stub,
25423 (getDragEnabled): Likewise,
25424 * javax/swing/JSlider.java
25425 (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
25426 (AccessibleJSlider.getAccessibleRole): Likewise,
25427 (AccessibleJSlider.getAccessibleValue): Likewise,
25428 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25429 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25430 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25431 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25432 * javax/swing/UIManager.java
25433 (installLookAndFeel): Mark as stub,
25434 (setInstalledLookAndFeels): Likewise.
25436 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25438 * javax/swing/filechooser/UnixFileSystemView.java
25439 (getSystemDisplayName): Mark as stub,
25440 (getSystemIcon): Likewise,
25441 (getSystemTypeDescription): Likewise.
25443 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25445 * javax/swing/tree/AbstractLayoutCache.java
25446 (getNodeDimensions): Mark as stub,
25447 (getPreferredHeight): Likewise,
25448 (getPreferredWidth): Likewise,
25449 (getRowsForPaths): Likewise,
25450 (isFixedRowHeight): Likewise,
25451 * javax/swing/tree/DefaultTreeModel.java
25452 (reload()): Mark as stub,
25453 (reload(TreeNode)): Likewise,
25454 (nodeStructureChanged): Likewise,
25455 * javax/swing/tree/DefaultTreeSelectionModel.java
25456 (clone): Mark as stub,
25457 (setRowMapper): Likewise,
25458 (setSelectionPaths): Likewise,
25459 (isRowSelected): Likewise,
25460 (resetRowSelection): Likewise,
25461 (insureRowContinuity): Likewise,
25462 (arePathsContiguous): Likewise,
25463 (canPathsBeAdded): Likewise,
25464 (canPathsBeRemoved): Likewise,
25465 (notifyPathChange): Likewise,
25466 (updateLeadIndex): Likewise,
25467 (insureUniqueness): Likewise,
25468 * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25470 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25472 2006-03-22 Tom Tromey <tromey@redhat.com>
25474 * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25476 (getStaticAttributeKey): Likewise.
25477 (readAttributeSet): Likewise.
25478 (writeAttributeSet): Likewise.
25479 (readAttributes): Likewise.
25480 (writeAttributes): Likewise.
25481 * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25483 * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25485 (fireChangedUpdate): Likewise.
25488 (handleEndOfLineString): Likewise.
25489 (textAreaContent): Likewise.
25490 (preContent): Likewise.
25491 (addSpecialElement): Likewise.
25492 (setInnerHTML): Likewise.
25493 (setOuterHTML): Likewise.
25494 (insertBeforeStart): Likewise.
25495 (insertBeforeEnd): Likewise.
25496 (insertAfterEnd): Likewise.
25497 (insertAfterStart): Likewise.
25498 * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25499 Mark all methods as stub.s
25500 * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25502 (paintHorizontalSeparators): Likewise.
25503 * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25505 * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25507 * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25509 * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25512 2006-03-22 Mark Wielaard <mark@klomp.org>
25514 * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25516 2006-03-22 Mark Wielaard <mark@klomp.org>
25519 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25520 Takes GtkImage, x and y coordinates.
25521 (gtkWidgetSetCursorUnlocked): Likewise.
25522 (GtkComponentPeer): Set cursor when set.
25523 (setCursor): Handle GtkCursor.
25524 * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25526 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25527 (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25528 (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25529 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25531 2006-03-23 Roman Kennke <kennke@aicas.com>
25534 * gnu/java/security/Registry.java
25535 (PKCS5_PAD): Added pad PKCS#5 algorithm.
25536 * gnu/javax/crypto/pad/PadFactory.java
25537 (getInstance): For PKCS#5, also return PKCS#7 pad
25539 (getNames): Added PKCS#5.
25540 * javax/crypto/KeyGenerator.java
25541 (getInstance): Initialize key generator before returning
25544 2006-03-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
25546 * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25547 (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25548 * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25549 if COMMENTS is set.
25551 2006-03-22 Tom Tromey <tromey@redhat.com>
25553 * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25554 (getBoolean): Likewise.
25555 (getString): Likewise.
25556 (getIcon): Likewise.
25558 2006-03-22 Mark Wielaard <mark@klomp.org>
25561 * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25562 (GLightweightPeer(Component)): Install MouseListener.
25563 (setCursor): Implement.
25564 (mouseEntered): New method.
25566 2006-03-22 Tom Tromey <tromey@redhat.com>
25568 * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25570 * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25572 (getFontForState): Likewise.
25573 (getInsets): Added 'result' argument.
25574 (getPainter): Renamed.
25576 2006-03-22 Tom Tromey <tromey@redhat.com>
25578 * javax/swing/plaf/synth/SynthPainter.java
25579 (paintScrollBarThumbBackground): Added 'orientation' argument.
25580 (paintScrollBarThumbBorder): Likewise.
25581 (paintSliderThumbBackground): Likewise.
25582 (paintSliderThumbBorder): Likewise.
25583 (paintTabbedPaneTabBackground): Added 'index' argument.
25584 (paintTabbedPaneTabBorder): Likewise.
25586 2006-03-22 Tom Tromey <tromey@redhat.com>
25588 * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25589 (toString): New method.
25591 2006-03-22 Tom Tromey <tromey@redhat.com>
25593 * doc/hacking.texinfo (Source Code Style Guide): Mention
25594 NotImplementedException.
25595 * javax/imageio/stream/MemoryCacheImageOutputStream.java
25596 (flushBefore): Mark as stub.
25598 * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25600 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25603 (writeBit): Likewise.
25604 (writeChars): Likewise.
25605 (writeUTF): Likewise.
25606 * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25609 * java/net/URLConnection.java (getContent): Mark as stub.
25610 * java/awt/Window.java (applyResourceBundle): Mark as stub.
25611 * java/awt/TexturePaint.java (createContext): Mark as stub.
25612 (getTransparency): Mark as stub.
25613 * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25614 * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25615 * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25617 (getImageCapabilities): Likewise.
25618 * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25619 * java/awt/AlphaComposite.java (createContext): Mark as stub.
25620 * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25622 * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25623 (getAdvanceBetween): Likewise.
25624 (getLayout): Likewise.
25625 (insertChar): Likewise.
25626 (getLineBreakIndex): Likewise.
25627 * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25628 (getAdvance): Likewise.
25629 (getAscent): Likewise.
25630 (getDescent): Likewise.
25631 * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25632 (insertChar): Likewise.
25633 (nextLayout): Likewise.
25634 (nextLayout): Likewise.
25635 (nextOffset): Likewise.
25636 (nextOffset): Likewise.
25637 * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25638 (equals): Likewise.
25639 (getAdvance): Likewise.
25640 (getAscent): Likewise.
25641 (getBounds): Likewise.
25642 (getDescent): Likewise.
25643 (hashCode): Likewise.
25644 (ImageGraphicAttribute): Likewise.
25645 * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25646 (getJustificationInfo): Likewise.
25647 * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25648 (getGlyphCharIndices): Likewise.
25649 (getGlyphOutline): Likewise.
25650 (getGlyphPixelBounds): Likewise.
25651 (getLayoutFlags): Likewise.
25652 (getPixelBounds): Likewise.
25653 * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25654 (getRSB): Likewise.
25655 * java/nio/channels/Channels.java (newWriter): Mark as stub.
25656 * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25657 * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25659 (resetRecognizer): Likewise.
25660 * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25662 (getNativesForFlavor): Likewise.
25663 * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25664 * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25666 (getRegion): Likewise.
25667 (createUI): Likewise.
25668 (initialize): Likewise.
25669 (uninitialize): Likewise.
25670 (getDefaults): Likewise.
25672 (shouldUpdateStyleOnAncestorChanged): Likewise.
25673 * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25675 (getPreferredSize): Likewise.
25676 (getMaximumSize): Likewise.
25677 (paintText): Likewise.
25678 * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25680 * java/text/Collator.java (getAvailableLocales): Mark as stub.
25682 2006-03-22 Wolfgang Baer <WBaer@gmx.de>
25684 * java/io/ObjectStreamConstants.java: Added since tag.
25685 (PROTOCOL_VERSION_1): Added javadoc.
25686 (PROTOCOL_VERSION_2): Likewise.
25687 * java/io/ObjectOutputStream.java:
25688 (setDefaultProtocolVersion): Removed.
25689 (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25691 2006-03-21 Lillian Angel <langel@redhat.com>
25693 * gnu/javax/imageio/bmp/BMPInfoHeader.java
25694 (BMPInfoHeader): Removed debug lines.
25695 * gnu/javax/imageio/bmp/EncodeRLE4.java
25696 (encode): Implemented.
25697 (uncompress): New function implemented to
25698 uncompress the image before encoding.
25699 * gnu/javax/imageio/bmp/EncodeRLE8.java
25700 (encode): Implemented.
25701 (uncompress): New function implemented to
25702 uncompress the image before encoding.
25704 2006-03-21 Roman Kennke <kennke@aicas.com>
25706 * javax/swing/text/html/FormView.java
25707 (getImageData): New helper method.
25709 2006-03-21 Tom Tromey <tromey@redhat.com>
25711 * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25713 (Unsafe): Now final.
25715 2006-03-21 Roman Kennke <kennke@aicas.com>
25717 * javax/swing/text/html/FormView.java
25718 (MouseEventListener): New inner class.
25720 2006-03-21 Roman Kennke <kennke@aicas.com>
25722 * javax/swing/text/html/ListView.java: New file.
25724 2006-03-21 Tom Tromey <tromey@redhat.com>
25726 * java/text/Bidi.java: Completed.
25728 2006-03-21 Anthony Balkissoon <abalkiss@redhat.com>
25730 * javax/swing/JTable.java:
25731 (columnAtPoint): Removed the null check, this method should throw a NPE
25732 if the argument is null.
25734 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25736 * javax/swing/text/DefaultHighlighter.java:
25737 (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25739 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25741 * javax/swing/text/DefaultCaret.java: Added class variable denoting
25742 the textcomponent having a selection.
25743 (clearSelection): Clear 'componentWithSelection' variable.
25744 (handleSelection): Clear selection of current component having a
25745 selection before setting a new selection in another component.
25746 (mouseDragged): Only react on left mouse button.
25747 (mouseClicked): Only react on left mouse button.
25749 2006-03-21 Roman Kennke <kennke@aicas.com>
25751 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25752 (paintContentBorderTopEdge): Implemented.
25753 (paintContentBorderBottomEdge): Implemented.
25754 (paintContentBorderLeftEdge): Implemented.
25755 (paintContentBorderRightEdge): Implemented.
25756 (isLastTabInRun): New helper method.
25758 2006-03-21 Roman Kennke <kennke@aicas.com>
25760 * javax/swing/JTabbedPane.java
25761 (Page.getForeground): Fall back to returning the tabbed pane's
25762 foreground if no foreground has been exclicitly set.
25764 2006-03-21 Roman Kennke <kennke@aicas.com>
25766 * javax/swing/plaf/metal/MetalComboBoxButton.java
25767 (setEnabled): Update colors of button correctly.
25768 * javax/swing/plaf/metal/MetalComboBoxUI.java
25769 (MetalPropertyChangeListener.propertyChange): Update the colors
25770 of the list and the button when any of the color properties
25771 of the ComboBox change.
25773 2006-03-21 Roman Kennke <kennke@aicas.com>
25775 * javax/swing/plaf/basic/BasicButtonUI.java
25776 (uninstallDefaults): Only nullify button colors if they are
25777 not UIResource instances.
25779 2006-03-21 David Gilbert <david.gilbert@object-refinery.com>
25781 * javax/swing/JComponent.java
25782 (AccessibleJComponent.getAccessibleDescription): Call super,
25783 * javax/swing/JToolTip.java: API doc updates all over, plus
25784 (AccessibleJToolTip.getAccessibleDescription): Implemented,
25785 (AccessibleJToolTip.getAccessibleRole): Implemented,
25786 (getAccessibleContext): Implemented,
25787 (paramString): Reimplemented,
25788 (setComponent): Fire PropertyChangeEvent,
25789 (setTipText): Likewise.
25791 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25793 * java/util/Formatter.java:
25794 Make the class final.
25796 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25798 * java/lang/System.java:
25799 (nanoTime()): Documented.
25800 * java/lang/Thread.java:
25801 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25802 Added docs and security check.
25803 (getUncaughtExceptionHandler()): Documented.
25804 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25805 Added docs and security check.
25806 (getDefaultUncaughtExceptionHandler()): Documented.
25807 (getId()): Documented.
25808 (Thread.State): Documented.
25809 * vm/reference/gnu/classpath/Unsafe.java:
25811 (getUnsafe()): Updated to handle security.
25813 2006-03-20 Tom Tromey <tromey@redhat.com>
25815 * java/lang/System.java:
25816 (nanoTime()): Implemented.
25817 * java/lang/Thread.java:
25818 (getId()): Implemented.
25819 * java/util/AbstractMap.java:
25820 (SimpleImmutableEntry): New 1.6 class.
25821 (BasicMapEntry): Modified to be SimpleEntry.
25822 * java/util/Collections.java:
25823 Modified to use SimpleEntry.
25824 * java/util/EnumMap.java: Likewise.
25825 * java/util/HashMap.java: Likewise.
25826 * java/util/Hashtable.java: Likewise.
25827 * java/util/TreeMap.java: Likewise.
25828 * vm/reference/gnu/classpath/Unsafe.java:
25829 New class to handle low-level facilities for concurrency.
25830 * vm/reference/java/lang/VMSystem.java:
25831 (nanoTime()): Implemented.
25833 2006-03-20 Tom Tromey <tromey@redhat.com>
25835 * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
25836 * java/security/cert/CertStoreSpi.java: Added import for javadoc.
25837 (CertStoreSpi): Updated throws clause.
25838 * java/security/cert/CertPathValidatorSpi.java: Added import for
25840 (engineValidate): Updated 'throws' clause.
25841 * java/security/cert/PKIXParameters.java: Javadoc fix.
25842 * java/security/cert/X509CertSelector.java
25843 (setAuthorityKeyIdentifier): Javadoc fix.
25845 2006-03-20 Tom Tromey <tromey@redhat.com>
25847 * .classpath: Build gnu.javax.swing.plaf.
25849 2006-03-20 Lillian Angel <langel@redhat.com>
25851 * gnu/javax/imageio/bmp/BMPDecoder.java:
25852 Removed unneeded import.
25853 * gnu/javax/imageio/bmp/BMPEncoder.java:
25855 * gnu/javax/imageio/bmp/BMPFileHeader.java
25856 (BMPFileHeader): New constructor used to create info header
25857 for an output stream.
25858 (write): Fixed indexes.
25859 * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
25860 Initialized writerSpiNames field.
25861 * gnu/javax/imageio/bmp/BMPImageWriter.java:
25863 * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
25865 * gnu/javax/imageio/bmp/BMPInfoHeader.java:
25866 Change visibility for fields.
25867 (BMPInfoHeader): New constructor used to create
25868 file header for an output stream.
25869 (intToDWord): New method. Converts an int to a
25871 (intToWord): New method. Converts an int to a word.
25872 * gnu/javax/imageio/bmp/DecodeBF32.java:
25873 Removed unneeded imports.
25874 * gnu/javax/imageio/bmp/EncodeRGB1.java:
25876 * gnu/javax/imageio/bmp/EncodeRGB16.java:
25878 * gnu/javax/imageio/bmp/EncodeRGB24.java:
25880 * gnu/javax/imageio/bmp/EncodeRGB32.java:
25882 * gnu/javax/imageio/bmp/EncodeRGB4.java:
25884 * gnu/javax/imageio/bmp/EncodeRGB8.java:
25886 * gnu/javax/imageio/bmp/EncodeRLE4.java:
25888 * gnu/javax/imageio/bmp/EncodeRLE8.java:
25890 * javax/imageio/ImageIO.java:
25893 2006-03-20 Roman Kennke <kennke@aicas.com>
25895 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25896 (TabbedPaneLayout.normalizeTabRuns): New method.
25897 (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
25898 (paintTabBorder): Replaced if-else chain with switch.
25899 (paintTopTabBorder): Rewritten to correctly paint tab. Also support
25901 (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
25903 (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
25905 (paintRightTabBorder): Rewritten to correctly paint tab. Also support
25907 (paintTabBackground): Fetch background color from the TabbedPane.
25908 Fixed painting and improved by not using fillPolygon, and instead
25909 using fillRectangle. Replaced if-else chain with switch.
25910 (calculateMaxTabHeight): Added overridden method with FIXME.
25911 (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
25913 (paintContentBorderTopEdge): Added stub with FIXME.
25914 (paintContentBorderBottomEdge): Added stub with FIXME.
25915 (paintContentBorderLeftEdge): Added stub with FIXME.
25916 (paintContentBorderRightEdge): Added stub with FIXME.
25918 2006-03-20 Roman Kennke <kennke@aicas.com>
25920 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25921 (tabsOpaque): New field.
25922 (installDefaults): Fetch tabsOpaque property from UIManager.
25923 (paintTab): Fill tab background when tabsOpaque property is true.
25924 * javax/swing/plaf/basic/BasicLookAndFeel.java
25925 (initComponentDefaults): Added TabbedPane.tabsOpaque property.
25927 2006-03-20 Roman Kennke <kennke@aicas.com>
25929 * javax/swing/JTabbedPane.java
25930 (Pane.getBackground): When no background was explicitly set, return
25931 the JTabbedPane's background.
25933 2006-03-20 Wolfgang Baer <WBaer@gmx.de>
25935 * org/omg/CORBA/ACTIVITY_COMPLETED.java,
25936 * org/omg/CORBA/ACTIVITY_REQUIRED.java,
25937 * org/omg/CORBA/BAD_INV_ORDER.java,
25938 * org/omg/CORBA/BAD_CONTEXT.java,
25939 * org/omg/CORBA/BAD_OPERATION.java,
25940 * org/omg/CORBA/BAD_PARAM.java,
25941 * org/omg/CORBA/BAD_QOS.java,
25942 * org/omg/CORBA/BAD_TYPECODE.java,
25943 * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
25944 * org/omg/CORBA/COMM_FAILURE.java,
25945 * org/omg/CORBA/CurrentHolder.java,
25946 * org/omg/CORBA/DATA_CONVERSION.java,
25947 * org/omg/CORBA/FREE_MEM.java,
25948 * org/omg/CORBA/IMP_LIMIT.java,
25949 * org/omg/CORBA/INITIALIZE.java,
25950 * org/omg/CORBA/INTERNAL.java,
25951 * org/omg/CORBA/INTF_REPOS.java,
25952 * org/omg/CORBA/INVALID_ACTIVITY.java,
25953 * org/omg/CORBA/INVALID_TRANSACTION.java,
25954 * org/omg/CORBA/INV_FLAG.java,
25955 * org/omg/CORBA/INV_IDENT.java,
25956 * org/omg/CORBA/INV_OBJREF.java,
25957 * org/omg/CORBA/INV_POLICY.java,
25958 * org/omg/CORBA/MARSHAL.java,
25959 * org/omg/CORBA/NO_RESOURCES.java,
25960 * org/omg/CORBA/NO_MEMORY.java,
25961 * org/omg/CORBA/NO_IMPLEMENT.java,
25962 * org/omg/CORBA/NO_PERMISSION.java,
25963 * org/omg/CORBA/NO_RESPONSE.java,
25964 * org/omg/CORBA/OBJECT_NOT_EXIST.java,
25965 * org/omg/CORBA/OBJ_ADAPTER.java,
25966 * org/omg/CORBA/ParameterModeHolder.java,
25967 * org/omg/CORBA/PolicyError.java,
25968 * org/omg/CORBA/PolicyErrorHolder.java,
25969 * org/omg/CORBA/PolicyHolder.java,
25970 * org/omg/CORBA/PolicyListHolder.java,
25971 * org/omg/CORBA/REBIND.java,
25972 * org/omg/CORBA/TIMEOUT.java,
25973 * org/omg/CORBA/TRANSACTION_MODE.java,
25974 * org/omg/CORBA/TRANSACTION_REQUIRED.java,
25975 * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
25976 * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
25977 * org/omg/CORBA/TRANSIENT.java,
25978 * org/omg/CORBA/TypeCodeHolder.java,
25979 * org/omg/CORBA/UNKNOWN.java,
25980 * org/omg/CORBA/UnionMember.java,
25981 * org/omg/CORBA/UnknownUserException.java,
25982 * org/omg/CORBA/UnknownUserExceptionHolder.java,
25983 * org/omg/CORBA/WrongTransactionHolder.java,
25984 * org/omg/IOP/IOR.java,
25985 * org/omg/IOP/IORHolder.java,
25986 * org/omg/IOP/MultipleComponentProfileHolder.java,
25987 * org/omg/IOP/ServiceContextHolder.java,
25988 * org/omg/IOP/ServiceContextListHolder.java,
25989 * org/omg/IOP/TaggedComponentHolder.java,
25990 * org/omg/IOP/TaggedProfileHolder.java,
25991 * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
25992 * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
25993 * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
25994 * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
25995 Made class final, various javadoc fixlets.
25996 * org/omg/CORBA/CompletionStatus.java,
25997 * org/omg/CORBA/PERSIST_STORE.java,
25998 * org/omg/CORBA/ValueMember.java,
25999 * org/omg/PortableInterceptor/ForwardRequest.java,
26000 * org/omg/PortableInterceptor/InvalidSlot.java,
26001 * org/omg/IOP/CodecPackage/TypeMismatch.java,
26002 * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
26003 * org/omg/IOP/CodecPackage/FormatMismatch.java,
26004 * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
26005 * org/omg/IOP/Encoding.java,
26006 * org/omg/IOP/TaggedComponent.java,
26007 * org/omg/IOP/TaggedProfile.java: Made class final.
26008 * org/omg/CORBA/SystemException.java: Made class abstract.
26009 * org/omg/CORBA/UserException.java: Made class abstract.
26010 (UserException): Now protected.
26011 (UserException(String)): Likewise.
26012 * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
26013 (typecode): Removed unused private variable.
26015 2006-03-20 Chris Burdess <dog@gnu.org>
26018 * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
26020 2006-03-20 Roman Kennke <kennke@aicas.com>
26022 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26023 (paintTabArea): Look up tab run indices in tabRuns array instead
26024 of using the index directly.
26026 2006-03-20 Roman Kennke <kennke@aicas.com>
26028 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26029 (paintTab): Fixed painting.
26030 (paintText): Fixed text painting.
26031 (paintFocusIndicator): Fixed painting of the focus rectangle.
26032 (paintContentBorder): Fixed painting of the content area.
26034 2006-03-20 Mark Wielaard <mark@klomp.org>
26036 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
26037 static lock Object field.
26038 (produce): Synchronize on pixbufLock when calling initState(),
26039 pumpBytes() and pumpDone().
26040 (finalize): Likewise when calling finish().
26041 (GdkPixbufWriter.write): Likewise when calling streamImage().
26042 * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
26043 when calling loadPixbuf. Chain exception.
26044 (GtkImage(byte[])): Likewise when calling loadImageFromData.
26045 (GtkImage(URL)): Likewise.
26046 (GtkImage(int,int)): Likewise when calling createPixmap().
26047 (GtkImage(GtkImage,int,int,int)): Likewise when calling
26048 createScaledPixmap().
26049 (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
26050 (setImage): Likewise when calling createPixmap() and setPixels().
26051 (getSource): Likewise when calling getPixels().
26052 (flush): Likewise when calling freePixmap().
26053 (finalize): Likewise.
26054 (drawImage): Likewise when calling drawPixelsScaledFlipped() and
26055 drawPixelsScaledFlipped().
26056 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
26057 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
26058 gdk_threads_enter/leave().
26059 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
26060 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
26061 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
26062 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
26063 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
26064 (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
26065 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
26066 (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
26067 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
26068 (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
26069 (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
26070 (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
26071 (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
26073 2006-03-20 Roman Kennke <kennke@aicas.com>
26075 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26076 (calculateTabHeight): Not need to use SwingUtilities here.
26077 (getTabInsets): Do not rotate insets.
26079 2006-03-20 Roman Kennke <kennke@aicas.com>
26081 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26082 (paint): Make sure the layout is valid before painting.
26083 (paintTabArea): Made tab painting more straightforward and efficient.
26085 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26087 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
26088 (getScrollableUnitIncrement): Rewritten.
26089 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
26090 (getScrollableUnitIncrement): Rewritten.
26091 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26092 (ROWS_PER_WHEEL_CLICK): New field.
26093 (MouseWheelHandler.mouseWheelMoved): Rewritten.
26095 2006-03-20 Roman Kennke <kennke@aicas.com>
26097 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26098 (paint): Make sure the layout is valid before painting.
26099 (paintTabArea): Made tab painting more straightforward and efficient.
26101 2006-03-20 Roman Kennke <kennke@aicas.com>
26103 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26104 (MouseHandler.mousePressed): Rewritten for clearer and simpler
26106 (MouseHandler.mouseEntered): Implemented to set the rollover tab.
26107 (MouseHandler.mouseMoved): Implemented to set the rollover tab.
26108 (MouseHandler.mouseExited): Implemented to unset the rollover tab.
26109 (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
26110 bounds here. That is moved into layoutContainer().
26111 (calculateSize): Correctly respect insets. Made code slightly more
26112 clear and efficient.
26113 (calculateTabRects): Rewritten completely. The old code was
26114 not quite right and unstable in some situations.
26115 (layoutContainer): Moved layout of tabbed pane's subcomponents
26117 (tabRunsDirty): New field.
26118 (rolloverTab): New field.
26119 (tabForCoordinate): Rewritten for simplicity and correctness.
26120 (setRolloverTab): New method.
26121 (getRolloverTab): New method.
26123 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26125 * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
26126 * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
26127 (getScrollableUnitIncrement
26128 * javax/swing/Scrollable.java: Documented.
26129 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26130 (MouseWheelHandler):Rewritten.
26132 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
26134 * doc/vmintegration.texinfo:
26135 Updated with gnu.classpath.Unsafe
26137 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
26140 Updated with VMArray and Unsafe changes.
26142 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26144 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
26145 (getScrollableUnitIncrement): Rewritten.
26146 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
26147 (getScrollableUnitIncrement): Rewritten.
26148 (getScrollableBlockIncrement): Rewritten.
26149 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26150 (MouseWheelHandler): Implemented. (ViewportContainerListener):
26151 New class. (containerListener): New field. (SCROLL_NON_SCROLABLES):
26152 New field. (installListeners): Install wheel listeners.
26153 (uninstallListeners): Uninstall wheel listeners.
26154 * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
26155 of the MouseWheelListener. (installListeners): Do not install wheel
26156 listener. (ROWS_PER_WHEEL_CLICK): Removed.
26158 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
26160 * vm/reference/gnu/classpath/Unsafe.java:
26162 (getUnsafe()): Updated to handle security.
26164 2006-03-19 Tom Tromey <tromey@redhat.com>
26166 * vm/reference/gnu/classpath/Unsafe.java:
26167 New class to handle low-level facilities for concurrency.
26169 2006-03-19 Mark Wielaard <mark@klomp.org>
26171 * include/Makefile.am: Rename PlainDatagramSocketImpl to
26172 VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
26173 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
26174 * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
26176 2006-03-19 Mark Wielaard <mark@klomp.org>
26178 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
26180 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
26182 2006-03-19 Michael Koch <konqueror@gmx.de>
26184 * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
26185 resource/gnu/java/locale/LocaleInformation_am.properties,
26186 resource/gnu/java/locale/LocaleInformation_am_ET.properties,
26187 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
26188 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26189 resource/gnu/java/locale/LocaleInformation_bg.properties,
26190 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
26191 resource/gnu/java/locale/LocaleInformation_ca.properties,
26192 resource/gnu/java/locale/LocaleInformation_cs.properties,
26193 resource/gnu/java/locale/LocaleInformation_cy.properties,
26194 resource/gnu/java/locale/LocaleInformation_da.properties,
26195 resource/gnu/java/locale/LocaleInformation_de.properties,
26196 resource/gnu/java/locale/LocaleInformation_dv.properties,
26197 resource/gnu/java/locale/LocaleInformation_el.properties,
26198 resource/gnu/java/locale/LocaleInformation_en.properties,
26199 resource/gnu/java/locale/LocaleInformation_en_GB.properties,
26200 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
26201 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
26202 resource/gnu/java/locale/LocaleInformation_en_SG.properties,
26203 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
26204 resource/gnu/java/locale/LocaleInformation_es.properties,
26205 resource/gnu/java/locale/LocaleInformation_es_AR.properties,
26206 resource/gnu/java/locale/LocaleInformation_es_BO.properties,
26207 resource/gnu/java/locale/LocaleInformation_es_CL.properties,
26208 resource/gnu/java/locale/LocaleInformation_es_CO.properties,
26209 resource/gnu/java/locale/LocaleInformation_es_CR.properties,
26210 resource/gnu/java/locale/LocaleInformation_es_DO.properties,
26211 resource/gnu/java/locale/LocaleInformation_es_EC.properties,
26212 resource/gnu/java/locale/LocaleInformation_es_ES.properties,
26213 resource/gnu/java/locale/LocaleInformation_es_GT.properties,
26214 resource/gnu/java/locale/LocaleInformation_es_HN.properties,
26215 resource/gnu/java/locale/LocaleInformation_es_MX.properties,
26216 resource/gnu/java/locale/LocaleInformation_es_NI.properties,
26217 resource/gnu/java/locale/LocaleInformation_es_PA.properties,
26218 resource/gnu/java/locale/LocaleInformation_es_PE.properties,
26219 resource/gnu/java/locale/LocaleInformation_es_PR.properties,
26220 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
26221 resource/gnu/java/locale/LocaleInformation_es_SV.properties,
26222 resource/gnu/java/locale/LocaleInformation_es_US.properties,
26223 resource/gnu/java/locale/LocaleInformation_es_UY.properties,
26224 resource/gnu/java/locale/LocaleInformation_es_VE.properties,
26225 resource/gnu/java/locale/LocaleInformation_fa.properties,
26226 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26227 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
26228 resource/gnu/java/locale/LocaleInformation_fi.properties,
26229 resource/gnu/java/locale/LocaleInformation_fr.properties,
26230 resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
26231 resource/gnu/java/locale/LocaleInformation_ga.properties,
26232 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
26233 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
26234 resource/gnu/java/locale/LocaleInformation_hr.properties,
26235 resource/gnu/java/locale/LocaleInformation_hu.properties,
26236 resource/gnu/java/locale/LocaleInformation_id.properties,
26237 resource/gnu/java/locale/LocaleInformation_is.properties,
26238 resource/gnu/java/locale/LocaleInformation_it.properties,
26239 resource/gnu/java/locale/LocaleInformation_ja.properties,
26240 resource/gnu/java/locale/LocaleInformation_kk.properties,
26241 resource/gnu/java/locale/LocaleInformation_kl.properties,
26242 resource/gnu/java/locale/LocaleInformation_km.properties,
26243 resource/gnu/java/locale/LocaleInformation_ky.properties,
26244 resource/gnu/java/locale/LocaleInformation_lo.properties,
26245 resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
26246 resource/gnu/java/locale/LocaleInformation_lt.properties,
26247 resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
26248 resource/gnu/java/locale/LocaleInformation_lv.properties,
26249 resource/gnu/java/locale/LocaleInformation_mk.properties,
26250 resource/gnu/java/locale/LocaleInformation_mn.properties,
26251 resource/gnu/java/locale/LocaleInformation_mr.properties,
26252 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
26253 resource/gnu/java/locale/LocaleInformation_ms.properties,
26254 resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
26255 resource/gnu/java/locale/LocaleInformation_mt.properties,
26256 resource/gnu/java/locale/LocaleInformation_nb.properties,
26257 resource/gnu/java/locale/LocaleInformation_nl.properties,
26258 resource/gnu/java/locale/LocaleInformation_nn.properties,
26259 resource/gnu/java/locale/LocaleInformation_om_ET.properties,
26260 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
26261 resource/gnu/java/locale/LocaleInformation_pa.properties,
26262 resource/gnu/java/locale/LocaleInformation_pl.properties,
26263 resource/gnu/java/locale/LocaleInformation_pt.properties,
26264 resource/gnu/java/locale/LocaleInformation_ru.properties,
26265 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
26266 resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
26267 resource/gnu/java/locale/LocaleInformation_sa.properties,
26268 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
26269 resource/gnu/java/locale/LocaleInformation_sk.properties,
26270 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26271 resource/gnu/java/locale/LocaleInformation_sv.properties,
26272 resource/gnu/java/locale/LocaleInformation_sw.properties,
26273 resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
26274 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
26275 resource/gnu/java/locale/LocaleInformation_te.properties,
26276 resource/gnu/java/locale/LocaleInformation_te_IN.properties,
26277 resource/gnu/java/locale/LocaleInformation_th.properties,
26278 resource/gnu/java/locale/LocaleInformation_ti.properties,
26279 resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
26280 resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
26281 resource/gnu/java/locale/LocaleInformation_tr.properties,
26282 resource/gnu/java/locale/LocaleInformation_tt.properties,
26283 resource/gnu/java/locale/LocaleInformation_uk.properties,
26284 resource/gnu/java/locale/LocaleInformation_ur.properties,
26285 resource/gnu/java/locale/LocaleInformation_uz.properties,
26286 resource/gnu/java/locale/LocaleInformation_zh.properties,
26287 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26288 More updates for CLDR 1.3.
26290 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
26292 * doc/vmintegration.texinfo:
26293 Updated to include VMArray.
26294 * include/Makefile.am:
26295 Replace java_lang_reflect_Array.h with
26296 java_lang_reflect_VMArray.h
26297 * include/java_lang_reflect_VMArray.h:
26298 New autogenerated header.
26299 * include/java_lang_reflect_Array.h:
26301 * java/lang/reflect/Array.java:
26302 (newInstance(Class,int)): Calls VMArray.
26303 (createMultiArray(Class,int[],int)): Likewise.
26304 (createObjectArray(Class,int)): Removed.
26305 * native/jni/java-lang/Makefile.am:
26306 Replaced java_lang_reflect_Array.c with
26307 java_lang_reflect_VMArray.c
26308 * native/jni/java-lang/java_lang_reflect_VMArray.c:
26309 Renamed from java_lang_reflect_Array.c.
26310 * vm/reference/java/lang/reflect/VMArray.java:
26311 (createObjectArray(Class,int)): Native method moved
26312 from java.lang.reflect.Array.
26314 2006-03-19 Roman Kennke <kennke@aicas.com>
26316 * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
26317 * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
26319 * examples/gnu/classpath/examples/swing/Demo.java
26320 (mkButtonBar): Hook up theme editor.
26321 (mkMenuBar): Hook up theme editor.
26323 2006-03-19 Roman Kennke <kennke@aicas.com>
26325 * javax/swing/plaf/basic/BasicFileChooserUI.java
26326 (ApproveSelectionAction.actionPerformed): Added case for when
26327 nothing has been selected but the user has typed a filename
26328 into the textfield.
26329 (getFileName): Return the value of the text field.
26331 2006-03-19 Roman Kennke <kennke@aicas.com>
26333 * javax/swing/JColorChooser.java
26334 (createDialog): Create JDialog instead of ModalDialog. Make this
26335 dialog modal by calling setModal(true).
26336 (ModalDialog): Removed unnecessary inner class.
26338 2006-03-19 Tom Tromey <tromey@redhat.com>
26340 * java/awt/font/NumericShaper.java: Rewrote.
26342 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26344 * javax/swing/plaf/basic/BasicTableUI.java:
26345 Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
26346 New field. MouseInputHandler.mouseWheelMoved): New method.
26347 (installListeners): Register MouseInputHandler as
26348 wheel listener also.
26350 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26353 * javax/swing/ViewportLayout.java (layoutContainer):
26354 If Scrollable tracks dimension, set view size to the port size.
26355 If port is larger than the view, move the view to the top/left.
26357 2006-03-19 Roman Kennke <kennke@aicas.com>
26359 * javax/swing/MenuSelectionManager.java
26360 (isComponentPartOfCurrentMenu): Also consider the first element
26361 in a menu selection list. Make a isDescendentFrom check instead
26362 of simple equals to also catch sub components.
26364 2006-03-19 Roman Kennke <kennke@aicas.com>
26366 * javax/swing/JComboBox.java
26367 (actionPerformed): Fetch selected item directly from the editor
26368 instead of trying to get it from the event.
26370 2006-03-19 Roman Kennke <kennke@aicas.com>
26372 * javax/swing/plaf/basic/BasicComboBoxEditor.java
26373 (listener): Removed field.
26374 (BasicComboBoxEditor): Removed initialization of listener field.
26375 (addActionListener): Add listener directly to editor.
26376 (removeActionListener): Remove listener directly from editor.
26377 (ComboBoxEditorListener): Removed class.
26378 * javax/swing/plaf/basic/BasicComboBoxUI.java
26379 (getPreferredSize): Fixed to return the minimumSize.
26380 (getMinimumSize): Improved code for more clearness.
26381 (getMaximumSize): Return (32767,32767) as requested by the mauve test.
26382 (rectangleForCurrentValue): Correctly respect insets.
26383 (getDefaultSize): Return preferredSize here. Dont override height
26385 (getDisplaySize): Moved around code for more clearness. Added
26386 handling of prototype renderer.
26387 (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
26388 arrowButton bounds since the former depends on the latter.
26389 * javax/swing/plaf/metal/MetalComboBoxButton.java:
26390 (MetalComboBoxButton): Make button rollover disabled.
26391 (isFocusTraversable): Return false unconditionally.
26392 * javax/swing/plaf/metal/MetalComboBoxEditor.java:
26393 (EditorTextField): New class. Fixes the size properties.
26394 (MetalComboBoxEditor): Create instance of EditorTextField.
26395 * javax/swing/plaf/metal/MetalComboBoxUI.java:
26396 (getMinimumSize): Fixed editable size.
26398 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26400 * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
26402 2006-03-18 Roman Kennke <kennke@aicas.com>
26404 * javax/swing/plaf/metal/MetalToolBarUI.java
26405 (update): Added overridden method to support OceanTheme.
26407 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26409 * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped):
26410 Activate the cell editing on character keystroke.
26412 2006-03-18 Mark Wielaard <mark@klomp.org>
26414 * java/awt/Component.java (eventTypeEnabled): Handle
26415 MouseEvent.MOUSE_WHEEL.
26416 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
26417 New callback method.
26418 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
26419 (AWT_MOUSE_WHEEL): New constant.
26420 (AWT_WHEEL_UNIT_SCROLL): Likewise.
26421 (postMouseWheelEventID): New static variable.
26422 (cp_gtk_component_init_jni): Record postMouseWheelEventID.
26423 (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
26424 (button_number): Renamed to ...
26425 (button_number_direction): variable to hold button number or scroll
26427 (component_button_press_cb): Use button_number_direction.
26428 (component_scroll_cb): New static callback function.
26430 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26432 * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
26433 Return without action.
26435 2006-03-18 Mark Wielaard <mark@klomp.org>
26437 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
26438 Don't cast graphics object to GdkGraphics.
26439 (updateComponent): Likewise.
26441 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26443 * examples/gnu/classpath/examples/swing/TableDemo.java
26444 (TModel.getColumnClass): Set second column to Icon.
26445 (TModel.isCellEditable): Say icons are not editable.
26446 (createContent): Fill the in second column with some icons from
26449 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26451 * examples/gnu/classpath/examples/swing/Demo.java
26452 (mkButtonBar): Set maximal button bar height to the preferred height.
26454 2006-03-18 Roman Kennke <kennke@aicas.com>
26456 * javax/swing/plaf/basic/BasicComboPopup.java
26457 (show): Substract insets from scroller width.
26458 (getPopupHeightForRowCount): If height==0, return a default of 100
26459 instead for empty ComboBoxes.
26461 2006-03-18 Roman Kennke <kennke@aicas.com>
26463 * javax/swing/plaf/basic/BasicLookAndFeel.java
26464 (PopupHelper.autoClosePopups): Removed field.
26465 (PopupHelper.mousePressed): Removed processing of registered
26467 (registerForAutoClose): Removed unneeded method.
26468 (autoClosePopups): Removed unneeded method.
26469 (registerForAutoClose): Removed unneeded method.
26471 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26473 * javax.swing.JTable.java (TableTextField): Set border.
26474 (moveToCellBeingEdited): Do not adjust the editor boundaries
26476 2006-03-18 Michael Koch <konqueror@gmx.de>
26478 * resource/gnu/java/locale/LocaleInformation_aa.properties,
26479 resource/gnu/java/locale/LocaleInformation_af.properties,
26480 resource/gnu/java/locale/LocaleInformation_am.properties,
26481 resource/gnu/java/locale/LocaleInformation_ar.properties,
26482 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26483 resource/gnu/java/locale/LocaleInformation_be.properties,
26484 resource/gnu/java/locale/LocaleInformation_bg.properties,
26485 resource/gnu/java/locale/LocaleInformation_bn.properties,
26486 resource/gnu/java/locale/LocaleInformation_ca.properties,
26487 resource/gnu/java/locale/LocaleInformation_cs.properties,
26488 resource/gnu/java/locale/LocaleInformation_cy.properties,
26489 resource/gnu/java/locale/LocaleInformation_da.properties,
26490 resource/gnu/java/locale/LocaleInformation_de.properties,
26491 resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26492 resource/gnu/java/locale/LocaleInformation_dz.properties,
26493 resource/gnu/java/locale/LocaleInformation_en.properties,
26494 resource/gnu/java/locale/LocaleInformation_eo.properties,
26495 resource/gnu/java/locale/LocaleInformation_es.properties,
26496 resource/gnu/java/locale/LocaleInformation_et.properties,
26497 resource/gnu/java/locale/LocaleInformation_eu.properties,
26498 resource/gnu/java/locale/LocaleInformation_fa.properties,
26499 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26500 resource/gnu/java/locale/LocaleInformation_fi.properties,
26501 resource/gnu/java/locale/LocaleInformation_fo.properties,
26502 resource/gnu/java/locale/LocaleInformation_fr.properties,
26503 resource/gnu/java/locale/LocaleInformation_ga.properties,
26504 resource/gnu/java/locale/LocaleInformation_gl.properties,
26505 resource/gnu/java/locale/LocaleInformation_gu.properties,
26506 resource/gnu/java/locale/LocaleInformation_he.properties,
26507 resource/gnu/java/locale/LocaleInformation_hi.properties,
26508 resource/gnu/java/locale/LocaleInformation_hr.properties,
26509 resource/gnu/java/locale/LocaleInformation_hu.properties,
26510 resource/gnu/java/locale/LocaleInformation_hy.properties,
26511 resource/gnu/java/locale/LocaleInformation_id.properties,
26512 resource/gnu/java/locale/LocaleInformation_is.properties,
26513 resource/gnu/java/locale/LocaleInformation_it.properties,
26514 resource/gnu/java/locale/LocaleInformation_ja.properties,
26515 resource/gnu/java/locale/LocaleInformation_ka.properties,
26516 resource/gnu/java/locale/LocaleInformation_km.properties,
26517 resource/gnu/java/locale/LocaleInformation_ko.properties,
26518 resource/gnu/java/locale/LocaleInformation_lo.properties,
26519 resource/gnu/java/locale/LocaleInformation_lt.properties,
26520 resource/gnu/java/locale/LocaleInformation_lv.properties,
26521 resource/gnu/java/locale/LocaleInformation_mk.properties,
26522 resource/gnu/java/locale/LocaleInformation_mr.properties,
26523 resource/gnu/java/locale/LocaleInformation_ms.properties,
26524 resource/gnu/java/locale/LocaleInformation_mt.properties,
26525 resource/gnu/java/locale/LocaleInformation_nb.properties,
26526 resource/gnu/java/locale/LocaleInformation_nl.properties,
26527 resource/gnu/java/locale/LocaleInformation_nn.properties,
26528 resource/gnu/java/locale/LocaleInformation_om.properties,
26529 resource/gnu/java/locale/LocaleInformation_pl.properties,
26530 resource/gnu/java/locale/LocaleInformation_ps.properties,
26531 resource/gnu/java/locale/LocaleInformation_pt.properties,
26532 resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26533 resource/gnu/java/locale/LocaleInformation_ro.properties,
26534 resource/gnu/java/locale/LocaleInformation_ru.properties,
26535 resource/gnu/java/locale/LocaleInformation_sk.properties,
26536 resource/gnu/java/locale/LocaleInformation_sl.properties,
26537 resource/gnu/java/locale/LocaleInformation_so.properties,
26538 resource/gnu/java/locale/LocaleInformation_sq.properties,
26539 resource/gnu/java/locale/LocaleInformation_sr.properties,
26540 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26541 resource/gnu/java/locale/LocaleInformation_sv.properties,
26542 resource/gnu/java/locale/LocaleInformation_sw.properties,
26543 resource/gnu/java/locale/LocaleInformation_ta.properties,
26544 resource/gnu/java/locale/LocaleInformation_te.properties,
26545 resource/gnu/java/locale/LocaleInformation_th.properties,
26546 resource/gnu/java/locale/LocaleInformation_tr.properties,
26547 resource/gnu/java/locale/LocaleInformation_uk.properties,
26548 resource/gnu/java/locale/LocaleInformation_uz.properties,
26549 resource/gnu/java/locale/LocaleInformation_vi.properties,
26550 resource/gnu/java/locale/LocaleInformation_zh.properties,
26551 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26552 Updated to use the new localized strings for currencies, languages,
26553 variants, territories, etc.
26555 2006-03-18 Ito Kazumitsu <kaz@maczuka.gcd.org>
26557 * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26558 (start, end): Added comment about the negative values of them,
26559 (finish): Saves the input text in matchedCharIndexed,
26560 (toString): If the start or end index is out of bounds of the
26561 matched text, get the substring from matchedCharIndexed.
26562 Added special handlings in case start/end index < -1,
26563 (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26564 Added special handlings in case start/end index < -1,
26565 * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26566 found match, but keep the index as the original match.
26567 * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26568 found match, but keep the index as the original match.
26569 * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26570 in case start/end index < -1.
26572 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26574 * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26577 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26579 * javax/swing/text/DefaultCaret.java:
26580 (mouseClicked) Use setDot() and moveDot() instead of
26581 JTextComponent.select().
26583 2006-03-17 Roman Kennke <kennke@aicas.com>
26585 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26586 (MetalComboBoxEditorBorder.paintBorder): Implemented special
26587 border painting for the Ocean theme.
26588 (MetalComboBoxEditor): Create editor directly instead of going
26591 2006-03-17 Roman Kennke <kennke@aicas.com>
26593 * javax/swing/text/JTextComponent.java
26594 (JTextComponent): Make text components opaque.
26596 2006-03-17 Roman Kennke <kennke@aicas.com>
26598 * javax/swing/plaf/metal/MetalComboBoxUI.java
26599 (MetalComboBoxLayoutManager.layoutContainer): Forward to
26601 (MetalPropertyChangeListener.propertyChange): Update focusable
26602 flag according to the enable and editable state.
26603 (editablePropertyChanged): Removed unnecessary code.
26604 (getMinimumSize): Rewritten to correctly compute the
26605 size, respecting the insets of the components and the icon,
26606 the visual properties of the combobox, etc.
26607 (configureEditor): Update listeners correctly.
26608 (unconfigureEditor): Update listeners correctly.
26609 (layoutComboBox): Implemented.
26611 2006-03-17 Roman Kennke <kennke@aicas.com>
26613 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26614 (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26615 instead of Flush3DBorder.
26616 (paintBorder): Fixed border painting.
26617 (editorBorderInsets): Fixed border's insets.
26619 2006-03-17 Roman Kennke <kennke@aicas.com>
26621 * javax/swing/plaf/metal/MetalComboBoxButton.java
26622 (rendererPane): Documented.
26623 (MetalComboBoxButton): Set enabled flag from ComboBox.
26624 Set focusable flag from ComboBox's enabled flag.
26625 (isFocusTraversable): Make button focus traversable if
26626 ComboBox is not editable but enable.
26627 (paintComponent): Fixed painting to correctly adjust
26628 the boxes of the renderer and button.
26630 2006-03-17 Roman Kennke <kennke@aicas.com>
26632 * javax/swing/plaf/basic/BasicButtonUI.java
26633 (installDefaults): Only install UI margin if installed margin.
26634 is null or a UIResource.
26635 (uninstallDefaults): Only uninstall margin if it's
26638 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26640 * javax/swing/text/DefaultCaret.java:
26641 (mouseClicked) Use setDot() and moveDot() instead of
26642 JTextComponent.select().
26644 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26646 * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26647 inner classes into package-private inner classes, added actions
26648 for caret movement and selection to the next and previous word
26649 and an action which selects the whole text.
26651 2006-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
26653 * javax/swing/Spring.java: Uncomment springdebug methods and
26654 rename them toString.
26655 * javax/swing/SpringLayout.java: Likewise.
26657 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26659 * javax/swing/text/FieldView.java:
26660 (viewToModel): Added call to adjust allocation area.
26662 2006-03-17 Roman Kennke <kennke@aicas.com>
26664 * javax/swing/plaf/basic/BasicComboBoxUI.java
26665 (mouseListener): Removed field.
26666 (buttonBackground): Removed field.
26667 (buttonShadow): Removed field.
26668 (buttonDarkShadow): Removed field.
26669 (buttonHighlight): Removed field.
26670 (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26671 (installUI): Initialize and configure renderer and editor here.
26672 (uninstallUI): Close popup before uninitializing.
26673 Message popup that we are uninitializing. Clear layout.
26674 (installDefaults): Install UI border. Don't install colors.
26675 (installListeners): Install listeners fetched from the popup.
26676 Remove handling of mouseListener.
26677 (uninstallDefaults): Uninstall border. Don't handle colors.
26678 (uninstallListeners): Don't handle mouseListener. Uninstall
26679 listener from the popup.
26680 (createMouseListener): Removed method.
26681 (createRenderer): Create UIResource.
26682 (installComponents): Cleaned up.
26683 (uninstallComponents): Only remove renderer when it is
26685 (addEditor): Remove editor before adding new one.
26686 Fetch editor from comboBox.
26687 (removeEditor): Only do something when editor != null. Unconfigure
26688 editor before removing.
26689 (configureEditor): Add key listener. Call comboBox.configureEditor.
26690 (unconfigureEditor): Removed key listener.
26691 (configureArrowButton): Only handle when arrowButton != null.
26692 Add mouse listeners to arrow button.
26693 (unconfigureArrowButton): Remove listeners.
26694 (createArrowButton): Don't handle colors here.
26695 (setPopupVisible): Don't handle focus here.
26696 (paint): Only paint when comboBox is not editable. Update
26698 (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26699 (getMinimumSize): Respect insets here.
26700 (getMaximumSize): Return preferredSize with width of 32767.
26701 (getInsets): Return ComboBox insets.
26702 (paintCurrentValue): Paint using currentValuePane.
26703 Install correct colors. Don't revalidate.
26704 (paintCurrentValueBackground): Implemented.
26705 (getDefaultSize): Reimplemented using a default renderer.
26706 (getDisplaySize): Reimplemented to use renderer.
26707 (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26708 (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26709 (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26710 (FocusHandler.focusGained): Don't invalidate minimumSize.
26711 (FocusHandler.focusLost): Don't invalidate minimumSize.
26712 Only close popup if focus change is not temporary.
26713 (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26714 Reconfigure editor if not null.
26715 (ListDataHandler.contentsChanged): Revalidate and reconfigure
26716 editor if necessary.
26717 (ListDataHandler.intervalAdded): Fixed updating of the display size.
26718 (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26719 (MouseHandler): Removed unnecessary class.
26721 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26723 * examples/gnu/classpath/examples/swing/Demo.java:
26724 (Demo): Set default closing operation to shutdown the runtime.
26726 2006-03-17 Roman Kennke <kennke@aicas.com>
26728 * javax/swing/plaf/basic/BasicComboPopup.java
26729 (BasicComboPopup): Create listeners here.
26730 Configure components here.
26731 (show): Correctly calculate bounds using computePopupBounds().
26732 Make scroller fixed-size. Removed special autocloser handling.
26733 (hide): Rewritten to use MenuSelectionHandler.
26734 (createList): Don't set selection mode here.
26735 (configureList): Correctly install colors and fonts and selectionMode.
26736 (createScroller): Set scrollpane policies.
26737 (configureScroller): Make scroller and scrollbar not-focusable.
26738 (configurePopup): Make popup opaque and borderPainted.
26739 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26740 (delegateFocus): Implemented.
26741 (convertMouseEvent): Implemented.
26742 (updateListBoxSelectionForEvent): Implemented to also handle
26744 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26745 Only open popup on left mouse-click.
26746 (InvocationMouseHandler.mouseReleased): Rewritten.
26747 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26748 support autoscrolling.
26749 (ItemHandler.itemStateChanged): Implemented to sync selection with
26751 (ListMouseHandler.mouseReleased): Fetch selected index directly
26753 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26755 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26756 When model changes, then update listeners correctly.
26757 (uninstallListeners): Don't uninstall list listeners.
26758 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26760 (syncSelection): New helper method.
26762 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26764 * javax/swing/text/PlainView.java:
26765 (drawLine): Rewritten.
26766 (drawSelectedText): Corrected last argument for
26767 Utilities.drawTabbedText() call.
26768 (paint): Store start and end of selection in object variables,
26769 store constant values of for-loop in local variables.
26770 * javax/swing/text/Utilities.java:
26771 (drawTabbedText): Add 'pixelWidth' to the return value, store
26772 constant value of for-loop in local variable.
26774 2006-03-17 Roman Kennke <kennke@aicas.com>
26776 * javax/swing/plaf/basic/BasicComboPopup.java
26777 (BasicComboPopup): Create listeners here.
26778 Configure components here.
26779 (show): Correctly calculate bounds using computePopupBounds().
26780 Make scroller fixed-size. Removed special autocloser handling.
26781 (hide): Rewritten to use MenuSelectionHandler.
26782 (createList): Don't set selection mode here.
26783 (configureList): Correctly install colors and fonts and selectionMode.
26784 (createScroller): Set scrollpane policies.
26785 (configureScroller): Make scroller and scrollbar not-focusable.
26786 (configurePopup): Make popup opaque and borderPainted.
26787 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26788 (delegateFocus): Implemented.
26789 (convertMouseEvent): Implemented.
26790 (updateListBoxSelectionForEvent): Implemented to also handle
26792 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26793 Only open popup on left mouse-click.
26794 (InvocationMouseHandler.mouseReleased): Rewritten.
26795 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26796 support autoscrolling.
26797 (ItemHandler.itemStateChanged): Implemented to sync selection with
26799 (ListMouseHandler.mouseReleased): Fetch selected index directly
26801 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26803 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26804 When model changes, then update listeners correctly.
26805 (uninstallListeners): Don't uninstall list listeners.
26806 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26808 (syncSelection): New helper method.
26810 2006-03-17 Roman Kennke <kennke@aicas.com>
26812 * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26813 (noFocusBorder): Make border with insets of (1,1,1,1).
26814 (BasicComboBoxRenderer): Make renderer opaque.
26815 No need to explicitly set alignment.
26816 (getListCellRendererComponent): Rewritten to correctly initialize
26819 2006-03-17 Roman Kennke <kennke@aicas.com>
26821 * javax/swing/JPopupMenu.java
26822 (setVisible): Handle JPopupMenu opening and closing via
26823 the MenuSelectionHandler.
26825 2006-03-17 Wolfgang Baer <WBaer@gmx.de>
26827 * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
26828 * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
26829 * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java:
26831 * org/omg/CORBA/portable/RemarshalException.java: Likewise
26832 * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
26833 * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
26834 * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
26835 * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
26836 * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
26837 * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
26838 * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
26839 * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
26840 * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
26842 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26844 * java/rmi/activation/Activatable.java: Implemented.
26845 java/rmi/activation/ActivationDesc.java: Implemented.
26846 java/rmi/activation/ActivationGroup.java: Implemented.
26847 java/rmi/activation/ActivationGroupDesc.java: Implemented.
26848 java/rmi/activation/ActivationID.java: Implemented.
26849 java/rmi/activation/ActivationSystem.java: Implemented.
26850 * gnu/java/rmi/server/UnicastServerRef.java
26851 (exportObject, incommingMessageCall): Documented.
26852 * java/rmi/activation/package.html: Documented.
26853 * java/rmi/server/ObjID.java (objNum, space): Made package
26855 * gnu/java/rmi/server/UnicastServer.java: Rewritten.
26856 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
26858 * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
26859 gnu/java/rmi/activation/BidiTable.java: New file.
26860 gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
26861 gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
26862 gnu/java/rmi/server/ActivatableServerRef.java: New file.
26864 2006-03-17 Mark Wielaard <mark@klomp.org>
26866 * java/security/BasicPermission.java (BasicPermission): Check
26867 name equals empty string to force NullPointerException.
26869 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26872 Commit patch by Caolan McNamara <caolanm@redhat.com>
26873 * javax/swing/Spring.java: Complete implementation
26874 * javax/swing/SpringLayout.java: Likewise.
26876 2006-03-16 Keith Seitz <keiths@redhat.com>
26878 * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
26880 (run): Remove catch clause for InterruptedException. It is no
26883 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26885 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26886 (getFontMetrics): Handle monospaced fonts specially.
26888 2006-03-16 Keith Seitz <keiths@redhat.com>
26890 * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
26891 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
26892 (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
26893 Don't suspend the current thread unless it is not part of the JDWP
26896 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26898 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
26900 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
26901 font metrics through toolkit.
26902 * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
26904 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26905 (getFontMetrics): To calculate Java logical ascent and descent
26906 values, average Pango ink and logical values.
26908 2006-03-16 Anthony Balkissoon <abalkiss@redhat.com>
26910 * java/lang/Character.java: Updated header comment.
26912 2006-03-16 Tom Tromey <tromey@redhat.com>
26914 * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
26916 * javax/sound/sampled/FloatControl.java: Now abstract.
26917 * javax/sound/sampled/EnumControl.java: Now abstract.
26918 * javax/sound/sampled/CompoundControl.java: Now abstract.
26919 * javax/sound/sampled/BooleanControl.java: Now abstract.
26921 2006-03-16 Tom Tromey <tromey@redhat.com>
26923 * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
26925 2006-03-16 Roman Kennke <kennke@aicas.com>
26927 * java/util/zip/ZipFile.java
26928 (openFile): New helper method.
26929 (ZipFile): Use new openFile method to ensure the proper
26930 exception is thrown. This applies for all overloaded constructors.
26932 2006-03-16 Roman Kennke <kennke@aicas.com>
26934 * java/text/DateFormatSymbols.java
26935 (setAmPmStrings): Added null check and throw NPE.
26936 (setEras): Likewise.
26937 (setLocalPatternChars): Likewise.
26938 (setMonths): Likewise.
26939 (setShortMonths): Likewise.
26940 (setShortWeekdays): Likewise.
26941 (setWeekdays): Likewise.
26942 (setZoneStrings): Likewise.
26944 2006-03-16 Roman Kennke <kennke@aicas.com>
26946 * javax/swing/DefaultDesktopManager.java
26947 (iconifyFrame): Repaint after removing the frame.
26948 (removeIconFor): Repaint after removing the icon.
26950 2006-03-16 Roman Kennke <kennke@aicas.com>
26952 * javax/swing/JInternalFrame.java
26953 (remove): Respect the rootPaneCheckingEnabled flag here.
26955 2006-03-16 Roman Kennke <kennke@aicas.com>
26957 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
26958 Moved from examples into gnu.javax.swing.. namespace.
26959 * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
26960 Moved to gnu.javax.swing.. namespace.
26961 * examples/gnu/classpath/examples/swing/Demo.java:
26962 (themesMenu): New field. Used to disable theme switch in
26964 (mkMenuBar): Added L&F menu.
26965 (ChangeThemeAction.actionPerformed): Only switch theme when
26967 (ChangeLAFAction): New class used for changing themes.
26968 * javax/swing/UIManager.java
26969 (installed): Added GNU L&F as installed L&F.
26971 2006-03-16 Mark Wielaard <mark@klomp.org>
26973 * examples/gnu/classpath/examples/swing/badge.png: Removed.
26974 * examples/gnu/classpath/examples/icons/badge.png: Added.
26975 * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
26976 from icon directory.
26978 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26980 * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
26982 * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
26983 * examples/gnu/classpath/examples/awt/Demo.java: Add
26984 AnimationApplet demo.
26985 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
26988 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26991 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
26993 (handleEvent): Likewise.
26994 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
26996 (beginNativeRepaint): Remove method.
26997 (endNativeRepaint): Likewise.
26998 (handleEvent): Call paintComponent and updateComponent.
26999 (paintComponent): New method.
27000 (updateComponent): Likewise.
27001 (repaint): Return early if width or height is less than one.
27002 (postExposeEvent): Remove isInRepaint reference.
27003 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
27005 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
27006 from GtkWindowPeer.
27007 (postMouseEvent): Likewise.
27008 (postExposeEvent): Likewise.
27009 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
27010 Override to do nothing.
27011 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
27012 from GtkWindowPeer.
27013 (postMouseEvent): Likewise.
27014 (postExposeEvent): Likewise.
27015 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
27016 paint and update handling from GtkComponentPeer.
27017 (updateComponent): Override to call paintComponent.
27018 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
27019 gdk_flush calls with schedule_flush calls.
27020 (flush): New function.
27021 (schedule_flush): Likewise.
27023 2006-03-15 Tom Tromey <tromey@redhat.com>
27025 * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
27027 (BCSIterator): Likewise.
27028 * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
27030 (BCSSProxyServiceProvider): Likewise.
27031 (BCSSServiceProvider): Likewise.
27033 2006-03-15 Tom Tromey <tromey@redhat.com>
27035 * javax/sound/midi/Track.java (Track): New constructor.
27036 (events): Now package-private.
27037 * javax/sound/midi/MidiUnavailableException.java
27038 (MidiUnavailableException): Removed invalid constructors.
27039 * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
27040 * javax/sound/midi/InvalidMidiDataException.java
27041 (InvalidMidiDataException): Removed invalid constructors.
27042 * javax/sound/midi/Sequencer.java (hashCode): Now final.
27043 * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
27044 * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
27045 (SYSTEM_EXCLUSIVE): Removed.
27046 (getDataLength): Updated.
27047 * javax/sound/midi/MidiDevice.java (Info): Now protected.
27048 (equals): Now final
27049 (getName): Now final.
27050 (getVendor): Now final.
27051 (getDescription): Likewise.
27052 (hashCode): Likewise.
27053 (getVersion): Likewise.
27054 (toString): Likewise.
27055 * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
27056 * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
27057 (getEarlyReflectionDelay): Likewise.
27058 (getEarlyReflectionIntensity): Likewise.
27059 (getLateReflectionDelay): Likewise.
27060 (getLateReflectionIntensity): Likewise.
27061 (toString): Likewise.
27062 * javax/sound/sampled/Port.java (toString): Now final.
27063 * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
27064 (getLine): Likewise.
27065 (getType): Likewise.
27066 * javax/sound/sampled/Mixer.java (Info): Now protected.
27067 (getDescription): Now final.
27068 (getName): Likewise.
27069 (getVendor): Likewise.
27070 (getVersion): Likewise.
27071 (toString): Likewise.
27072 * javax/sound/sampled/Control.java: Now abstract.
27073 (Type.toString): Now final.
27075 2006-03-15 Keith Seitz <keiths@redhat.com>
27077 * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
27078 of this redundant variable.
27079 (LineTable): Assert that the number of line numbers and the number of
27080 code indicies is the same.
27082 2006-03-15 Tom Tromey <tromey@redhat.com>
27084 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
27086 * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
27088 * java/util/zip/ZipFile.java (ENDNRD): New constant.
27089 * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
27090 * java/util/zip/Inflater.java (end): Not deprecated.
27091 * java/util/zip/Deflater.java (end): Not deprecated.
27092 * java/text/Bidi.java (Bidi): Now final.
27093 * java/nio/MappedByteBuffer.java (finalize): Now protected.
27095 2006-03-15 Keith Seitz <keiths@redhat.com>
27097 * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
27098 (Location): Index is a long, not an int.
27099 (getMethod): New method.
27100 (getIndex): New method.
27101 (toString): New method.
27103 2006-03-15 Tom Tromey <tromey@redhat.com>
27105 * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
27106 * java/awt/image/LookupOp.java (filter): Now final.
27107 (getBounds2D): Likewise.
27108 (getPoint2D): Likewise.
27109 (getTable): Likewise.
27110 (getRenderingHints): Likewise.
27111 * java/awt/image/ConvolveOp.java (filter): Now final.
27112 (getBounds2D): Likewise.
27113 (getKernel): Likewise.
27114 (getPoint2D): Likewise.
27115 (getRenderingHints): Likewise.
27116 * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
27117 (getMatrix): Likewise.
27118 (getBounds2D): Likewise.
27119 (getRenderingHints): Likewise.
27120 * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
27121 * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
27123 * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
27125 * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
27127 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
27129 2006-03-15 Keith Seitz <keiths@redhat.com>
27131 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
27133 (matches): Implement.
27135 2006-03-15 Keith Seitz <keiths@redhat.com>
27137 * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
27139 * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
27141 2006-03-15 Tom Tromey <tromey@redhat.com>
27143 * java/lang/StrictMath.java (signum): New methods.
27145 2006-03-15 Tom Tromey <tromey@redhat.com>
27147 * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
27149 2006-03-15 Lillian Angel <langel@redhat.com>
27152 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
27153 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
27154 Added check to avoid segmentation fault.
27156 2006-03-15 Lillian Angel <langel@redhat.com>
27158 * java/awt/Container.java
27159 (getComponentAt): Fixed documentation.
27160 (getComponentAt): Likewise.
27162 2006-03-15 Roman Kennke <kennke@aicas.com>
27164 * javax/swing/JComponent.java
27165 (dragBuffer): New field.
27166 (dragBufferInitialized): New field.
27167 (paint): Added facility for buffered dragging of components.
27168 (initializeDragBuffer): New method.
27169 (getConditionForKeyStroke): Removed deprecated flag. Adjusted
27171 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27172 (BorderListener.mouseDragged): Turn on buffered dragging.
27173 (BorderListener.mouseReleased): Turn off buffered dragging.
27175 2006-03-15 Lillian Angel <langel@redhat.com>
27177 * java/awt/Container.java
27178 (getComponentAt): Fixed documentation.
27179 (getComponentAt): Likewise.
27180 (findComponentAt): Likewise.
27181 (findComponentAt): Likewise.
27183 2006-03-15 Roman Kennke <kennke@aicas.com>
27185 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27186 (PropertyChangeHandler.propertyChange): Call enableActions().
27187 Fixed 'iconable' property name.
27189 2006-03-15 Chris Burdess <dog@gnu.org>
27192 * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
27194 2006-03-15 Roman Kennke <kennke@aicas.com>
27196 * examples/gnu/classpath/examples/swing/Demo.java:
27197 (desktop): New field.
27198 (mkMenuBar): Added new subdemos.
27199 (mkButtonWorld): Removed.
27200 (CheckCellRenderer): Moved to ListDemo.
27201 (LabelCellRenderer): Moved to ListDemo.
27202 (mkTreeWorld): Moved to TreeDemo.
27203 (mkDesktopWorld): Removed.
27204 (mkTabWorld): Moved to TabbedPaneDemo.
27205 (mkTabbedPane): Removed.
27206 (Demo): Replaced 'worlds' tabbed pane with desktop.
27207 (PopupAction): Made class non-static.
27208 (PopupAction.actionPerformed): Bring up subdemos in internal
27210 (mkButtonBar): Added new demos.
27211 (createDesktop): New method.
27212 * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
27213 * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
27214 * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
27215 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
27216 * examples/gnu/classpath/examples/swing/badge.png: New image file.
27218 2006-03-15 Lillian Angel <langel@redhat.com>
27220 * java/awt/Container.java
27221 (getComponentAt): Fixed mistake in comments.
27222 (getComponentAt): Likewise.
27223 (locate): Likewise. Also, handled lightweight components.
27224 Heavyweights take precedence over lightweights, so we should
27225 iterate through the heavyweights first.
27227 2006-03-15 Lillian Angel <langel@redhat.com>
27229 * java/awt/Container.java
27230 (getComponentAt): Added API documentation.
27231 (getComponentAt): Likewise.
27232 (locate): Likewise. Also, removed lines to ignore
27233 invisible components.
27234 (findComponentAt): Added API documentation.
27235 (findComponentAt): Added API documentation.
27236 (findComponentForMouseEvent): Removed, never used.
27238 2006-03-15 Roman Kennke <kennke@aicas.com>
27240 * javax/swing/Popup.java
27241 (LightweightPopup.show): Repaint the panel after showing it.
27243 2006-03-15 Lillian Angel <langel@redhat.com>
27245 * java/awt/Component.java
27246 (show): repaint should only be called if the component
27247 isShowing and isLightweight.
27249 2006-03-15 Roman Kennke <kennke@aicas.com>
27251 * javax/swing/JInternalFrame.java
27252 (setClosable): Made this property bound.
27253 (setResizable): Made this property bound.
27254 (setIconifiable): Made this property bound.
27255 (setMaximizable): Made this property bound.
27257 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
27259 * javax/swing/table/TableColumn.java
27260 (sizeWidthToFit): Implemented.
27262 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
27264 * javax/swing/table/TableColumn.java: API docs updated all over, plus
27265 (setIdentifier): Fire required PropertyChangeEvent,
27266 (setCellEditor): Likewise.
27268 2006-03-15 Roman Kennke <kennke@aicas.com>
27270 * examples/gnu/classpath/examples/swing/ButtonDemo.java,
27271 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
27272 * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
27273 * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
27274 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
27275 * examples/gnu/classpath/examples/swing/SliderDemo.java,
27276 * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
27277 * examples/gnu/classpath/examples/swing/TableDemo.java,
27278 * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
27279 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
27280 Reworked to implemented DemoFactory and lazy loading of Sub-demos.
27281 * examples/gnu/classpath/examples/swing/Demo.java:
27282 Cleaned up. Reworked handling of Sub-demos to load lazily.
27283 * examples/gnu/classpath/examples/swing/DemoFactory.java:
27284 New interface. Used for loading the subdemos lazily.
27286 2006-03-15 Roman Kennke <kennke@aicas.com>
27288 * javax/swing/plaf/basic/BasicToolBarUI.java
27289 (PropertyListener.propertyChange): Added null check to avoid NPE.
27291 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27293 * javax/swing/table/TableColumn.java
27294 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27296 (minWidth): Likewise,
27297 (preferredWidth): Likewise,
27298 (maxWidth): Likewise,
27299 (headerRenderer): Likewise,
27300 (cellRenderer): Likewise,
27301 (cellEditor): Likewise,
27302 (changeSupport): Likewise,
27303 (firePropertyChange(String, Object, Object)): Removed,
27304 (firePropertyChange(String, int. int)): Likewise,
27305 (firePropertyChange(String, boolean, boolean)): Likewise,
27306 (setModelIndex): Fire property change,
27307 (setHeaderValue): Call changeSupport directly to generate event,
27308 (setHeaderRenderer): Likewise,
27309 (setCellRenderer): Likewise,
27310 (setWidth): Likewise,
27311 (setPreferredWidth): Likewise,
27312 (setMinWidth): Likewise,
27313 (setMaxWidth): Likewise,
27314 (createDefaultHeaderRenderer): Added API docs.
27316 2006-03-14 Roman Kennke <kennke@aicas.com>
27318 * examples/gnu/classpath/examples/swing/Demo.java
27319 Removed static initializer.
27320 (mkMenuBar): Made method non-static. Added themes menu.
27321 (ChangeThemeAction): New inner class, used to change themes.
27323 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27325 * javax/swing/table/TableColumn.java
27326 (setMaxWidth): Updated width and preferredWidth if necessary,
27327 (getMaxWidth): Updated API docs.
27329 2006-03-14 Roman Kennke <kennke@aicas.com>
27331 * javax/swing/plaf/basic/BasicSliderUI.java
27332 (TrackListener.mouseDragged): Only process event when slider is
27334 (TrackListener.mouseReleased): Only process event when slider is
27336 (TrackListener.mousePressed): Only process event when slider is
27339 2006-03-14 Roman Kennke <kennke@aicas.com>
27341 * NEWS: Added note about OceanTheme support.
27343 2006-03-14 Roman Kennke <kennke@aicas.com>
27345 * javax/swing/plaf/metal/MetalIconFactory.java
27346 (HorizontalSliderThumbIcon.gradientMask): New field
27347 (HorizontalSliderThumbIcon.paintIcon): Added support for the
27349 (VerticalSliderThumbIcon.gradientMask): New field
27350 (VerticalSliderThumbIcon.paintIcon): Added support for the
27352 * javax/swing/plaf/metal/MetalUtils.java
27353 (paintHorizontalGradient): Fixed painting of 'masked' gradients.
27354 (paintVerticalGradient): Fixed painting of 'masked' gradients.
27356 2006-03-14 Mark Wielaard <mark@klomp.org>
27359 * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
27360 of handleMouseEvent.
27361 (handleMouseEvent): Return boolean to indicate whether we handled the
27362 event by passing it to a lightweight.
27364 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27366 * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
27367 * org/omg/PortableServer/ServantActivatorPOA.java,
27368 * org/omg/PortableServer/ServantLocatorPOA.java:
27369 Make class abstract and minor api docs fixlets.
27370 * org/omg/PortableServer/ForwardRequest.java,
27371 * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java,
27372 * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java,
27373 * org/omg/PortableServer/POAPackage/AdapterNonExistent.java,
27374 * org/omg/PortableServer/POAPackage/InvalidPolicy.java,
27375 * org/omg/PortableServer/POAPackage/NoServant.java,
27376 * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java,
27377 * org/omg/PortableServer/POAPackage/ObjectNotActive.java,
27378 * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java,
27379 * org/omg/PortableServer/POAPackage/ServantNotActive.java,
27380 * org/omg/PortableServer/POAPackage/WrongAdapter.java,
27381 * org/omg/PortableServer/POAPackage/WrongPolicy.java,
27382 * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java,
27383 * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
27384 * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
27385 * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
27387 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27389 * NEWS: Added entry about printing support.
27391 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27393 * javax/swing/table/TableColumn.java
27394 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27395 (isResizable): Likewise,
27396 (setWidth): Likewise,
27397 (getWidth): Likewise,
27398 (setPreferredWidth): Likewise,
27399 (getPreferredWidth): Likewise,
27400 (setMinWidth): Check for negative argument and update width and
27401 preferredWidth if necessary,
27402 (getMinWidth): Updated API docs.
27404 2006-03-14 Lillian Angel <langel@redhat.com>
27406 * java/awt/Container.java
27407 (addImpl): Removed call to repaint. No need to repaint here.
27409 2006-03-14 Roman Kennke <kennke@aicas.com>
27411 * javax/swing/plaf/metal/MetalSliderUI.java
27412 (paintTrack): Added OceanTheme support.
27414 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27416 * javax/swing/table/TableColumn.java
27417 (setResizable): Fire PropertyChangeEvent if the flag value changes,
27418 (isResizable): Updated API docs.
27420 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27422 * javax/swing/LookAndFeel.java: Updated API docs.
27424 2006-03-14 Roman Kennke <kennke@aicas.com>
27426 * javax/swing/plaf/metal/MetalUtils.java
27427 (paintGradient): Added support for 'masked' gradients.
27428 (paintHorizontalGradient): Likewise.
27429 (paintVerticalGradient): Likewise.
27430 * javax/swing/plaf/metal/MetalIconFactory.java
27431 (RadioButtonIcon.gradientMask): New field.
27432 (RadioButtonIcon.paintIcon): Added mask for gradient painting.
27434 2006-03-14 Mark Wielaard <mark@klomp.org>
27437 * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
27439 (removeActionListener): Add listener to ComboBoxEditorListener.
27440 (removeActionListener): Remove listener from ComboBoxEditorListener.
27441 (ComboBoxEditorListener): New static helper class.
27443 2006-03-14 Roman Kennke <kennke@aicas.com>
27445 * javax/swing/plaf/metal/MetalBorders.java
27446 (getToolBarButtonBorder): Don't create a UIResource border
27448 * javax/swing/plaf/metal/MetalToolBarUI.java
27449 (installUI): New overridden method. Installs the rollover property.
27450 (uninstallUI): New overridden method. Resets the rollover property.
27451 * javax/swing/plaf/metal/MetalUtils.java
27452 (paintGradient): Fetch Float values from the UIManager. Adjusted
27453 method signatures accordingly.
27454 (paintHorizontalGradient): Adjusted signature to accept float
27456 (paintVerticalGradient): Adjusted signature to accept float
27458 * javax/swing/plaf/metal/OceanTheme.java
27459 (addCustomEntriesToTable): Added missing UIDefaults entries,
27460 except of Icons. Fixed gradient entries to use Float instead
27463 2006-03-14 Roman Kennke <kennke@aicas.com>
27465 * javax/swing/JInternalFrame.java
27466 (JInternalFrame): Make JInternalFrame opaque.
27467 * javax/swing/JToolBarFrame.java
27468 (JToolBar): Make JToolBar opaque.
27470 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27472 * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27473 * javax/swing/tree/TreePath.java: Likewise.
27475 2006-03-13 Tom Tromey <tromey@redhat.com>
27477 * javax/swing/text/html/StyleSheet.java (removeAttributes):
27479 * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27480 * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27482 2006-03-13 Keith Seitz <keiths@redhat.com>
27484 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27485 (executeMethods): Output number of methods.
27487 2006-03-13 Roman Kennke <kennke@aicas.com>
27489 * javax/swing/plaf/basic/BasicButtonUI.java
27490 (uninstallDefaults): Only uninstall border if it's a UIResource.
27491 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27492 (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27493 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27494 (installUI): Don't touch the opaque flag of the glassPane and
27495 the frame. Don't invalidate.
27496 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27497 (installUI): Don't touch the opaque flag of the glassPane.
27498 * javax/swing/plaf/basic/BasicMenuBarUI.java
27499 (properyChangeListener): Made field private.
27500 (ChangeHandler): Made class private.
27501 (ContainerHandler): Made class private.
27502 (PropertyChangeHandler): Made class private.
27503 * javax/swing/plaf/basic/BasicMenuUI.java
27504 (MenuHandler): Made class private.
27505 (PropertyChangeHandler): Removed unneeded class.
27506 (MenuDragMouseHandler): Made class private.
27507 (MenuKeyHandler): Made class private.
27508 * javax/swing/plaf/basic/BasicPanelUI.java
27509 (installDefaults): Made method protected. Don't set opaque
27511 * javax/swing/plaf/basic/BasicScrollBarUI.java
27512 (TrackListener.shouldScroll): Made method private.
27513 * javax/swing/plaf/basic/BasicSplitPaneUI.java
27514 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27515 Made constructor package private.
27516 * javax/swing/plaf/basic/BasicTableHeaderUI.java
27517 (cellBorder): Made field private.
27518 * javax/swing/plaf/basic/BasicTextUI.java
27519 (installDefaults): Don't make component opaque.
27520 * javax/swing/plaf/basic/BasicToolBarUI.java
27521 (createNonRollOverBorder): Don't create UIResource border.
27522 (createRollOverBorder): Don't create UIResource border.
27523 (installComponents): Moved setRolloverBorders call here.
27524 (installDefaults): Moved setRolloverBorders call from here.
27525 (installUI): Don't make toolbar opaque.
27526 (setBorderToNonRollover): Handle AbstractButton instead of
27528 (uninstallComponents): Don't nullify class fields here.
27530 2006-03-13 David Gilbert <david.gilbert@object-refinery.com>
27532 * javax/swing/SwingUtilities.java
27533 (calculateInnerArea): handle null component, and replace
27534 getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27537 2006-03-13 Roman Kennke <kennke@aicas.com>
27539 * javax/swing/JColorChooser.java
27540 (updateUI): Don't call revalidate().
27541 * javax/swing/JComboBox.java
27542 (updateUI): Don't call invalidate().
27543 * javax/swing/JDesktopPane.java
27544 (updateUI): Don't call invalidate().
27545 * javax/swing/JFileChooser.java
27546 (updateUI): Don't call revalidate().
27547 * javax/swing/JMenu.java
27548 (updateUI): Don't call invalidate().
27549 * javax/swing/JMenuBar.java
27550 (updateUI): Don't call invalidate().
27551 * javax/swing/JMenuItem.java
27552 (updateUI): Don't call invalidate().
27553 * javax/swing/JOptionPane.java
27554 (updateUI): Don't call invalidate().
27555 * javax/swing/JPopupMenu.java
27556 (updateUI): Don't call invalidate().
27557 * javax/swing/JProgressBar.java
27558 (updateUI): Don't call invalidate().
27559 * javax/swing/JScrollBar.java
27560 (updateUI): Don't call invalidate() and repaint().
27561 * javax/swing/JScrollPane.java
27562 (updateUI): Rewritten to be like the other updateUI()
27564 * javax/swing/JSlider.java
27565 (updateUI): Don't call invalidate() and repaint().
27566 * javax/swing/JSplitPane.java
27567 (updateUI): Don't call invalidate() and repaint().
27568 * javax/swing/JTabbedPane.java
27569 (updateUI): Don't call invalidate().
27570 * javax/swing/JTable.java
27571 (updateUI): Don't call revalidate() and repaint().
27572 * javax/swing/JToolBar.java
27573 (updateUI): Don't call revalidate() and repaint().
27574 * javax/swing/JToolTip.java
27575 (updateUI): Don't call revalidate() and repaint().
27577 2006-03-13 Roman Kennke <kennke@aicas.com>
27579 * javax/swing/SwingUtilities.java
27580 (updateComponentTreeUI): Rewritten to be more robust. Handling of
27581 menus and non-Swing components is improved.
27582 (updateComponentTreeUIImpl): New helper method.
27583 (replaceUIActionMap): Added check for uiActionMap==parent to
27585 (replaceUIInputMap): Added check for uiInputMap==parent to
27588 2006-03-13 Wolfgang Baer <WBaer@gmx.de>
27590 * gnu/classpath/debug/Component.java:
27591 (IPP) New component for IPP debugging.
27592 (EVERYTHING): Adapted to include IPP.
27593 * javax/print/PrintServiceLookup.java:
27594 (registerServiceProvider): New method.
27595 (registerService): Likewise.
27596 (lookupPrintServices): Likewise.
27597 (lookupMultiDocPrintServices): Likewise.
27598 (lookupDefaultPrintService): Likewise.
27599 (static_initializer): Likewise.
27600 (printServiceLookups): New field for found service providers.
27601 (printServices): New field for application registered providers.
27602 (systemProvider): New field for the system provider.
27603 * javax/print/ServiceUI.java: New file.
27604 * javax/print/package.html: Added more usage content.
27605 * javax/print/event/package.html: Likewise.
27606 * javax/print/attribute/package.html: Likewise.
27607 * javax/print/attribute/standard/package.html: Likewise.
27608 * gnu/javax/print/PrintUriException.java,
27609 gnu/javax/print/PrintFlavorException.java,
27610 gnu/javax/print/PrinterDialog.java,
27611 gnu/javax/print/PrintAttributeException.java,
27612 gnu/javax/print/CupsPrintServiceLookup.java,
27613 gnu/javax/print/CupsServer.java,
27614 gnu/javax/print/CupsPrintService.java,
27615 gnu/javax/print/CupsMediaMapping.java,
27616 gnu/javax/print/CupsIppOperation.java:
27617 New implementation files of the Java Print Service API.
27618 * gnu/javax/print/ipp/IppValueTag.java,
27619 gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27620 gnu/javax/print/ipp/IppStatusCode.java,
27621 gnu/javax/print/ipp/IppUtilities.java,
27622 gnu/javax/print/ipp/IppResponse.java,
27623 gnu/javax/print/ipp/IppException.java,
27624 gnu/javax/print/ipp/IppPrintService.java,
27625 gnu/javax/print/ipp/IppRequest.java,
27626 gnu/javax/print/ipp/IppMultiDocPrintService.java,
27627 gnu/javax/print/ipp/IppDelimiterTag.java,
27628 gnu/javax/print/ipp/DocPrintJobImpl.java:
27629 New files of the IPP client implementation.
27630 * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27631 gnu/javax/print/ipp/attribute/StatusMessage.java,
27632 gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27633 gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27634 gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27635 gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27636 gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27637 gnu/javax/print/ipp/attribute/CharsetSyntax.java:
27638 New attribute syntax/role files of the printing implementation.
27639 * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27640 gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27641 gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27642 gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27643 gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27644 gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27645 gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27646 gnu/javax/print/ipp/attribute/supported/
27647 OrientationRequestedSupported.java,
27648 gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27649 gnu/javax/print/ipp/attribute/supported/
27650 MultipleDocumentHandlingSupported.java,
27651 gnu/javax/print/ipp/attribute/supported/
27652 MultipleDocumentJobsSupported.java,
27653 gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27654 gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27655 gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27656 gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27657 gnu/javax/print/ipp/attribute/supported/
27658 GeneratedNaturalLanguageSupported.java,
27659 gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27660 gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27661 gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27662 gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27663 New supported attribute files.
27664 * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27665 gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27666 gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27667 gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27668 gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27669 gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27670 gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27671 gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27672 New printer description attribute files.
27673 * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27674 gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27675 gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27676 gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27677 gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27678 gnu/javax/print/ipp/attribute/job/JobId.java,
27679 gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27680 gnu/javax/print/ipp/attribute/job/JobUri.java,
27681 gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27682 New job description attribute files.
27683 * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27684 gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27685 gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27686 gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27687 gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27688 gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27689 gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27690 gnu/javax/print/ipp/attribute/defaults/
27691 MultipleDocumentHandlingDefault.java,
27692 gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27693 gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27694 gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27695 gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27696 gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27697 New default printing attribute files.
27698 * resource/gnu/javax/print/PrinterDialog.properties: New file.
27699 * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27700 * examples/gnu/classpath/examples/print/Demo.java:
27701 New demo application of the current implemented functionality.
27703 2006-03-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27705 * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27706 java/rmi/activation/ActivationDesc.java.java,
27707 java/rmi/activation/ActivationGroup.java,
27708 java/rmi/activation/ActivationID.java,
27709 java/rmi/activation/ActivationMonitor.java,
27710 java/rmi/activation/ActivationSystem.java,
27711 java/rmi/activation/package.html: Documenting.
27713 2006-03-13 Roman Kennke <kennke@aicas.com>
27715 * javax/swing/JInternalFrame.java
27716 (setSelected): Repaint frame when it is showing and the selection
27719 2006-03-13 Roman Kennke <kennke@aicas.com>
27721 * javax/swing/AbstractButton.java
27722 (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27725 2006-03-13 Roman Kennke <kennke@aicas.com>
27727 * javax/accessibility/AccessibleContext.java
27728 (getAccessibleRelationSet): Return empty set instead of null.
27730 2006-03-13 Roman Kennke <kennke@aicas.com>
27732 * javax/swing/ImageIcon.java
27733 (loadImage): Remove completed images from the MediaTracker. This
27734 avoids a potential memory leak.
27736 2006-03-12 Wolfgang Baer <WBaer@gmx.de>
27738 * javax/print/MultiDocPrintService.java,
27739 * javax/print/MultiDocPrintJob.java,
27740 * javax/print/MultiDoc.java: Added and enhanced documentation.
27742 2006-03-12 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27744 * java/rmi/activation/ActivationID.java (uid): New field.
27745 (writeExternal, readExternal): New methods.
27746 (equals, hashCode): Rewritten.
27747 * java/rmi/activation/ActivationInstantiator.java,
27748 * java/rmi/activation/ActivationSystem.java,
27749 * java/rmi/activation/Activator.java,
27750 * java/rmi/activation/Activatable.java,
27751 * java/rmi/activation/ActivationGroup.java,
27752 * java/rmi/activation/ActivationGroupDesc.java:
27753 Documented and autoformatted.
27754 * java/rmi/activation/package.html: Added content.
27756 2006-03-12 Chris Burdess <dog@gnu.org>
27759 * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27760 encoding are specified.
27762 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27764 * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27765 (changeEvent): Initialise in fireStateChange(),
27766 (setSelectedIndex): Check if change is made before firing event,
27767 (clearSelection): Delegate to setSelectedIndex(),
27768 (fireStateChanged): Initialise changeEvent if necessary,
27769 * javax/swing/SingleSelectionModel.java: API docs all over.
27771 2006-03-11 Tom Tromey <tromey@redhat.com>
27773 * java/util/zip/InflaterInputStream.java: Reverted previous
27776 2006-03-11 Mark Wielaard <mark@klomp.org>
27778 * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27781 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27783 * javax/swing/event/TreeSelectionEvent.java
27784 (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27785 not one of the added/removed paths,
27786 (cloneWithSource): Reformatted.
27788 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27790 * javax/swing/tree/TreeCellEditor.java: Added API docs,
27791 * javax/swing/tree/TreeCellRenderer.java: Likewise.
27793 2006-03-10 Casey Marshall <csm@gnu.org>
27796 * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27798 (doFinal, update): new methods.
27799 (init, init, init, init): initialize `state' after trying the
27800 implementation, which can throw an exception.
27801 * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27804 2006-03-11 Ito Kazumitsu <kaz@maczuka.gcd.org>
27806 * gnu/regexp/BacktrackStack.java: New file.
27807 * gnu/regexp/RE.java(findMatch): New method.
27808 * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27809 REMatchList): Removed. (backtrackStack): New field.
27810 * gnu/regexp/REToken.java(match): Changed from an abstract
27811 method to an ordinary method defined with the new method
27812 matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27813 findFixedLengthMatches, backtrack, toString): New methods.
27814 * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27815 * gnu/regexp/RETokenBackRef.java: Likewise.
27816 * gnu/regexp/RETokenChar.java: Likewise.
27817 * gnu/regexp/RETokenEnd.java: Likewise.
27818 * gnu/regexp/RETokenEndSub.java: Likewise.
27819 * gnu/regexp/RETokenIndependent.java: Likewise.
27820 * gnu/regexp/RETokenLookAhead.java: Likewise.
27821 * gnu/regexp/RETokenLookBehind.java: Likewise.
27822 * gnu/regexp/RETokenNamedProperty.java: Likewise.
27823 * gnu/regexp/RETokenPOSIX.java: Likewise.
27824 * gnu/regexp/RETokenRange.java: Likewise.
27825 * gnu/regexp/RETokenStart.java: Likewise.
27826 * gnu/regexp/RETokenWordBoundary.java: Likewise
27827 * gnu/regexp/RETokenOneOf.java: Rewriten.
27828 * gnu/regexp/RETokenRepeated.java: Rewriten.
27830 2006-03-10 Roman Kennke <kennke@aicas.com>
27832 * javax/swing/plaf/metal/MetalBorders.java
27833 (RolloverButtonBorder.paintBorder): Only call super here.
27834 * javax/swing/plaf/metal/MetalButtonListener.java
27835 (propertyChange): Only call super here.
27836 * javax/swing/plaf/metal/MetalButtonUI.java
27837 (update): Changed condition from isOpaque() to isContentAreaFilled()
27838 for the gradient fill.
27839 * javax/swing/plaf/metal/MetalToggleButtonUI.java
27840 (paintText): API doc fix. Makes paintText not deprecated as specified
27841 but adds comment that this is obsolete.
27842 * javax/swing/plaf/metal/MetalUtils.java
27843 (fillMetalPattern): Fixed condition so that the Java2D is not
27844 used when the noGraphics2D property is set.
27846 2006-03-10 Roman Kennke <kennke@aicas.com>
27848 * javax/swing/plaf/metal/MetalLookAndFeel.java
27849 (createDefaultTheme): Set OceanTheme as default metal theme.
27851 2006-03-10 Roman Kennke <kennke@aicas.com>
27853 * javax/swing/text/WrappedPlainView.java
27854 (metrics): Made field package private to avoid accessor method.
27855 (WrappedLine.paint): Call drawLine with y offset of the font ascent.
27856 The drawLine (righly) interprets the y parameter as the baseline.
27857 * javax/swing/text/Utilities.java
27858 (getBreakLocation): Don't consider the offset. The returned value
27859 for getTabbedTextOffset is already relative to the offset.
27861 2006-03-10 Wolfgang Baer <WBaer@gmx.de>
27863 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27864 (dateFormat): Made private.
27865 (put): Replace only the last occurance and the value.
27866 (putAll): Save one iteration. Clarified documentation.
27868 2006-03-10 Tom Tromey <tromey@redhat.com>
27870 * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
27872 * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
27875 2006-03-10 Lillian Angel <langel@redhat.com>
27877 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
27878 (comboboxgroup_get_widget): New function.
27879 (removed): Fixed to use new function to get the correct widget.
27880 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27881 (nativeSetCheckboxGroup): Reverted last patch to use get_widget
27884 2006-03-10 Lillian Angel <langel@redhat.com>
27886 * java/awt/GridBagLayout.java
27887 (ArrangeGrid): Added checks to determine if component
27888 is placed last in a row or column. If so, the location
27889 of the last component should be used to get the location
27890 of the current component.
27892 2006-03-10 Lillian Angel <langel@redhat.com>
27894 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27895 (nativeSetCheckboxGroup): No need to use new function here.
27896 Should just pass in pointer.
27898 2006-03-10 Lillian Angel <langel@redhat.com>
27900 * java/awt/GridBagLayout.java
27901 (distributeSizeAndWeight): Change else if to else. This
27902 allows for components to be added to a new row when
27903 their gridheight is REMAINDER.
27905 2006-03-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27907 * java/rmi/activation/ActivationDesc.java,
27908 java/rmi/activation/ActivationGroupID.java,
27909 java/rmi/activation/Activator.java,
27910 java/rmi/server/Operation.java,
27911 java/rmi/server/RemoteServer.java: Documented and formatted.
27913 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27915 * javax/swing/JToggleButton.java: Fixed API doc tags,
27916 * javax/swing/OverlayLayout.java: Likewise.
27918 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27920 * javax/swing/DefaultCellEditor.java
27921 (cancelCellEditing): Removed spurious API doc tag.
27923 2006-03-10 Lillian Angel <langel@redhat.com>
27925 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27926 (create): Put checkbox widget into an event box so it paints properly.
27927 (connectSignals): Fixed to use new function.
27928 (nativeSetCheckboxGroup): Likewise.
27929 (gtkToggleButtonSetActive): Likewise.
27930 (gtkWidgetModifyFont): Likewise.
27931 (gtkButtonSetLabel): Likewise.
27932 (combobox_get_widget): New function.
27934 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27936 * javax/swing/text/rtf/package.html: New file.
27938 2006-03-10 Roman Kennke <kennke@aicas.com>
27940 * javax/swing/plaf/metal/OceanTheme.java
27941 (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
27942 * javax/swing/plaf/metal/MetalScrollBarUI.java
27943 (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
27944 (paintThumbHorizontal): Added handling of OceanTheme.
27945 (paintThumbVertical): Added handling of OceanTheme.
27947 2006-03-10 Roman Kennke <kennke@aicas.com>
27949 Reported by Fridjof Siebert <siebert@aicas.com>
27950 * java/awt/MediaTracker.java
27951 (removeImage): Only set prev to e when the the images of the
27952 entries are not the same. This avoids a potentially corrupt list.
27954 2006-03-10 Chris Burdess <dog@gnu.org>
27957 * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
27958 checking while reindenting.
27960 2006-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
27962 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
27964 2006-03-09 Tom Tromey <tromey@redhat.com>
27966 PR classpath/26585:
27967 * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
27968 subdir. Added README.
27969 (install-data-local): Removed.
27970 (uninstall-local): Likewise.
27971 (EXTRA_DIST): Removed.
27973 2006-03-09 Tom Tromey <tromey@redhat.com>
27975 PR classpath/26623:
27976 * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27978 * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
27980 * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
27982 * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
27984 * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
27986 * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27988 * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
27990 * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
27992 * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
27994 * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
27996 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
27997 * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
27999 2006-03-09 Keith Seitz <keiths@redhat.com>
28001 * gnu/classpath/jdwp/processor/MethodCommandSet.java
28002 (executeVariableTable): Use VMMethod instead of reflection.
28003 (executeLineTable): Likewise.
28004 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
28005 (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
28006 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28007 (getLineTable): Removed. Now resides in VMMethod.
28008 (getVarTable): Likewise.
28009 (getAllClassMethods): New method.
28011 2006-03-09 Keith Seitz <keiths@redhat.com>
28013 * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
28014 * gnu/classpath/jdwp/event/ThreadStartEvent.java
28015 (ThreadStartEvent): Likewise.
28016 * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
28017 * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
28018 (ConditionalFilter): Likewise.
28019 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
28020 (ExceptionOnlyFilter): Likewise.
28021 * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
28022 (FieldOnlyFilter): Likewise.
28023 * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
28024 (getSize): Likewise.
28025 (StepFilter): Likewise.
28026 * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
28027 * gnu/classpath/jdwp/transport/JdwpPacket.java
28028 (JdwpPacket): Likewise.
28029 (fromBytes): Likewise.
28030 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
28031 (JdwpReplyPacket): Likewise.
28032 * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
28033 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
28034 (getReferenceType): Likewise.
28035 (newObjectId): Likewise.
28036 * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
28037 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28038 (getFrames): Fix typo in parameter name and update javadoc.
28039 (getClassMethod): Update javadoc.
28041 2006-03-09 David Gilbert <david.gilbert@object-refinery.com>
28043 * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
28044 * javax/swing/event/TreeSelectionListener.java: Likewise.
28046 2006-03-09 Lillian Angel <langel@redhat.com>
28048 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28049 (getHScrollbarHeight): Fixed property name.
28050 (getVScrollbarHeight): Likewise.
28052 2006-03-09 Lillian Angel <langel@redhat.com>
28054 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
28055 (get_widget): New function.
28056 (gtkWidgetSetParent): Changed to use new function.
28057 (gtkWidgetSetCursorUnlocked): Likewise.
28058 (gtkWidgetSetSensitive): Likewise.
28059 (gtkWidgetRequestFocus): Likewise.
28060 (gtkWindowGetLocationOnScreen): Likewise.
28061 (gtkWidgetGetDimensions): Likewise.
28062 (gtkWidgetGetPreferredDimensions): Likewise.
28063 (setNativeBounds): Likewise.
28064 (gtkWidgetGetBackground): Likewise.
28065 (gtkWidgetGetForeground): Likewise.
28066 (gtkWidgetSetBackground): Likewise.
28067 (gtkWidgetSetForeground): Likewise.
28068 (setVisibleNativeUnlocked): Likewise.
28069 (isEnabled): Likewise.
28070 (isRealized): Likewise.
28071 (setNativeEventMask): Likewise.
28073 2006-03-09 Lillian Angel <langel@redhat.com>
28076 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
28077 (create): Added combobox widget to an event box.
28078 (connectSignals): Added call to choice_get_widget to get the
28079 combobox out of the event box.
28080 (append): Likewise.
28081 (nativeRemoveAll): Likewise.
28082 (nativeRemove): Likwise.
28083 (nativeAdd): Likewise.
28084 (selectNative): Likewise.
28085 (choice_get_widget): New function.
28086 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
28087 (create): Added list scroll window widget to an event box.
28088 (connectSignals): Changed call to use new function to get the
28089 correct widget out of the event box.
28090 (getWidgetModifyFont): Likewise.
28091 (getWidgetRequestFocus): Likewise.
28092 (append): Likewise.
28094 (delItems): Likewise.
28095 (select): Likewise.
28096 (deselect): Likewise.
28097 (getSize): Likewise.
28098 (getSelectedIndexes): Likewise.
28099 (makeVisible): Likewise.
28100 (setMultipleMode): Likewise.
28101 (list_get_widget): New function.
28102 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28103 (create): Added scrollpane to an eventbox.
28104 (setScrollPosition): Changed call to use new function to get the
28105 correct widget out of the event box.
28106 (gtkScrolledWindowSetHScrollIncrement): Likewise.
28107 (gtkScrolledWindowSetVScrollIncrement): Likewise.
28108 (getHScrollbarHeight): Likewise.
28109 (getVScrollbarWidth): Likewise.
28110 (setPolicy): Likewise.
28111 (scrollpane_get_widget): New function.
28112 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
28113 (connectSignals): Changed call to use new function to get the
28114 correct widget out of the event box.
28115 (create): Added scrollbar to an eventbox.
28116 (setLineIncrement): Changed call to use new function to get the
28117 correct widget out of the event box.
28118 (setPageIncrement): Likewise.
28119 (setBarValues): Likewise.
28120 (scrollbar_get_widget): New function.
28121 * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
28122 (create): Added text area scroll window widget to an event box.
28123 (connectSignals): Changed call to use new function to get the
28124 correct widget out of the event box.
28125 (insert): Likewise.
28126 (replaceRange): Likewise.
28127 (gtkWidgetModifyFont): Likewise.
28128 (gtkWidgetRequestFocus): Likewise.
28129 (getHScrollbarHeight): Likewise.
28130 (getVScrollbarWidth): Likewise.
28131 (getCaretPosition): Likewise.
28132 (setCaretPosition):Likewise.
28133 (getSelectionStart): Likewise.
28134 (getSelectionEnd): Likewise.
28135 (select): Likewise.
28136 (setEditable): Likewise.
28137 (getText): Likewise.
28138 (setText): Likewise.
28139 (textarea_get_widget): New function.
28141 2006-03-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28143 * java/rmi/dgc/VMID.java:
28144 (equals, hashCode, static initializer): Rewritten.
28145 * java/rmi/dgc/package.html: Documented.
28147 2006-03-09 Mark Wielaard <mark@klomp.org>
28149 * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
28151 (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
28152 (canCache): Likewise.
28153 (GtkClipboard): Take String argument.
28154 (getInstance): Removed.
28155 (getClipboardInstance, getSelectionInstance): New static methods.
28156 (setSystemContents): Make synchronized. Takes boolean argument.
28157 (initNativeState): Add clipboard and selection.
28158 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
28159 (announceClipboardChange, announcePrimaryChange): New static field.
28160 (announce): Take GtkClipboard as argument.
28161 (run): Check which clipboard to announce change for.
28162 * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
28164 (GtkSelection): Take GtkClipboard as argument.
28165 (requestText, requestImage, requestURIs, requestBytes): Add boolean
28166 clipboard argument.
28167 (requestMimeTypes): Likewise.
28168 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
28170 * java/awt/Toolkit.java (getSystemSelection): Document.
28171 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
28172 (cp_gtk_selection_instance): New var.
28173 (current_selection, owner): Removed.
28174 (clipboard_owner_change_cb): Use clipboard argument.
28175 (initNativeState): Store clipboard and selection instances. Cache
28176 setSystemContentsID, provideContentID, provideTextID, provideImageID,
28178 (clipboard_get_func): Use clipboard argument.
28179 (clipboard_clear_func): Likewise. Always call method.
28180 (advertiseContent): Don't cache method ids here. Check whether to
28181 use clpboard or selection. Don't set owner or current_selection.
28182 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
28183 (requestText, requestImage, requestURIs, requestBytes): Use extra
28184 boolean argument to select clipboard.
28185 * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
28186 (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
28187 * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
28188 * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
28190 2006-03-09 Keith Seitz <keiths@redhat.com>
28192 * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
28193 * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
28194 * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
28195 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
28196 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
28197 * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
28198 * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
28199 * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
28200 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
28202 2006-03-09 Mark Wielaard <mark@klomp.org>
28204 * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
28205 bounds for index is valid.
28206 * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
28208 (getCellBounds): Update documentation.
28210 2006-03-09 Arnaud Vandyck <avdyk@gnu.org>
28212 * .classpath: added exclude pattern on source folders
28213 (Makefiles, README and .cvsignore)
28215 2006-03-08 Michael Koch <konqueror@gmx.de>
28217 * java/net/Proxy.java (NO_PROXY): Made final.
28218 (equals): Likewise.
28219 (hashCode): Likewise.
28221 2006-03-08 Keith Seitz <keiths@redhat.com>
28223 * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
28224 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28225 (getClassMethod): New method.
28227 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28229 * java/rmi/server/UID.java (getMachineId): Include the host IP address.
28231 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28233 * java/rmi/server/ObjID.java: Documented and autoformatted.
28235 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28238 * tools/Makefile.am (install-data-local,
28239 uninstall-local): Install/uninstall the tools/README only.
28240 * tools/gnu/classpath/tools/giop/README: Updated.
28241 * tools/README: New file.
28243 2006-03-08 Lillian Angel <langel@redhat.com>
28245 * java/awt/GridBagLayout.java
28246 (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
28247 then the next item should be set to current_y (not 0).
28249 2006-03-08 Lillian Angel <langel@redhat.com>
28251 * java/awt/GridBagLayout.java
28252 (GetLayoutInfo): If gridy is RELATIVE and there is no component
28253 in the bottom-most spot of the column, we need to place that component
28254 at the y-location of the other components in that row. If there are
28255 no other components in that row, then place it at y = 0.
28257 2006-03-08 David Gilbert <david.gilbert@object-refinery.com>
28259 * javax/swing/ProgressMonitor.java: Updated API docs,
28260 * javax/swing/ProgressMonitorInputStream.java: Likewise.
28262 2006-03-08 Michael Koch <konqueror@gmx.de>
28264 * java/net/InetSocketAddress.java
28265 (InetSocketAddress(String,int,resolve)): New private contructor.
28266 (InetSocketAddress(String,int)): Use new private constructor.
28267 (createUnresolved): New method.
28269 2006-03-07 Michael Koch <konqueror@gmx.de>
28271 * gnu/java/net/DefaultProxySelector.java,
28272 java/net/Proxy.java, java/net/ProxySelector.java:
28275 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28277 * java/rmi/server/UID.java (constructor): Assign last and time fields
28280 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28282 * java/rmi/server/UID.java: New file (replacing).
28284 2006-03-08 Raif S. Naffah <raif@swiftdsl.com.au>
28286 * java/util/jar/Manifest.java: Removed unused imports.
28287 (CRLF): New constant.
28288 (read): Added method documentation.
28289 Use UTF-8 encoding instead of 8859_1.
28290 (write): Added method documentation.
28291 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28292 (write_main_section): Replace PrintWriter arg with OutputStream.
28293 Replace JarException with IOException.
28294 (write_version_info): Likewise.
28295 (write_main_attributes): Likewise.
28296 (write_attribute_entry): Likewise.
28297 (write_individual_sections): Likewise.
28298 (write_entry_attributes): Likewise.
28299 (write_header): Replace PrintWriter arg with OutputStream.
28302 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28304 * javax/swing/tree/DefaultMutableTreeNode.java
28305 (getFirstChild): Updated API docs,
28306 (getLastChild): Likewise,
28307 (getChildAfter): Likewise,
28308 (getChildBefore): Likewise,
28309 (isNodeSibling): Return true if node == this,
28310 (getSiblingCount): Updated API docs,
28311 (getNextSibling): Likewise,
28312 (getPreviousSibling): Likewise,
28313 (isLeaf): Likewise,
28314 (getFirstLeaf): Likewise,
28315 (getLastLeaf): Likewise,
28316 (getNextLeaf): Implemented,
28317 (getPreviousLeaf): Implemented.
28319 2006-03-07 Tom Tromey <tromey@redhat.com>
28321 * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
28322 * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
28323 * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
28324 * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
28327 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28329 * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
28330 (clone): Reimplemented,
28331 (add): Throw IllegalArgumentException if child is an ancestor,
28332 (remove(int)): Set child's parent to null,
28333 (remove(MutableTreeNode)): Check arguments and set child's parent to
28335 (insert): Check allowsChildren flag, check for null argument, and
28336 check for a node that is an ancestor,
28337 (getIndex): Throw IllegalArgumentException for null argument,
28338 (setAllowsChildren): If setting to false, remove existing children,
28339 (removeAllChildren): Set parent to null for removed children.
28341 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28343 * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
28346 2006-03-06 Tom Tromey <tromey@redhat.com>
28348 * java/lang/StrictMath.java (ulp): New methods.
28349 * java/lang/Math.java (ulp): New methods.
28351 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28353 * gnu/java/rmi/server/UnicastRef.java,
28354 * gnu/java/rmi/server/UnicastServer.java: Formatted.
28356 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28358 * gnu/java/rmi/server/CombinedClassLoader.java
28359 (findClass, findLibrary, findResouce, findResources): check
28360 all loaders in array.
28362 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28365 * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
28366 (RefProtector): new inner class. (dirty): Rewritten.
28367 * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
28368 dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
28369 new methods. (readExternal): Create LeaseRenewingTask if non local.
28370 * gnu/java/rmi/server/UnicastServer.java (objects):
28371 Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
28372 (getExported): New method.
28373 * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
28375 2006-03-06 Mark Wielaard <mark@klomp.org>
28377 * doc/www.gnu.org/announce/20060306.wml: New file.
28378 * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
28379 * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
28381 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28383 * javax/swing/plaf/metal/MetalLookAndFeel.java
28384 (initComponentDefaults): Use Boolean.TRUE for
28385 'CheckBoxMenuItem.borderPainted'.
28387 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28389 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28390 (dateFormat): Made private.
28391 (put): Replace only the last occurance and the value.
28392 (putAll): Reimplemented with the put method.
28394 2006-03-06 Lillian Angel <langel@redhat.com>
28397 * java/awt/List.java
28398 (preferredSize): Return the size of the list if the peer is
28400 * gnu/java/awt/peer/gtk/GtkListPeer.java
28401 (preferredSize): Code was returning the minimum size of the
28402 list. Added adjustment to the width of the list so it is a
28405 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28407 * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
28408 (getRequestProperty): Remove duplicated null check.
28409 * java/net/URLConnection.java:
28410 (URLConnection): Javadoc fix.
28411 (addRequestProperty): Likewise.
28412 (getDefaultRequestProperty): Likewise.
28413 (getHeaderField): Likewise.
28414 (getHeaderFieldDate): Likewise.
28415 (getHeaderFieldKey): Likewise.
28416 (getHeaderFields): Likewise.
28417 (getRequestProperties): Likewise.
28418 (getRequestProperty): Likewise.
28419 (setDefaultRequestProperty): Likewise.
28420 (setRequestProperty): Likewise.
28422 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28424 * examples/gnu/classpath/examples/swing/TextArea.java: New file.
28425 * examples/gnu/classpath/examples/swing/Demo.java:
28426 (mkButtonBar): Changed layout manager to GridLayout, added entry for
28428 (mkMenuBar): Added entry for text area example.
28430 2006-03-06 Tom Tromey <tromey@redhat.com>
28432 * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
28433 (FORMATTED_TEXT_FIELD): Likewise.
28435 2006-03-06 Tom Tromey <tromey@redhat.com>
28437 * javax/swing/plaf/synth/SynthPainter.java: Finished.
28439 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28441 * examples/gnu/classpath/examples/swing/Demo.java:
28442 (mkMenuBar): Added menu entry that will display the VM's name,
28443 version and distributor.
28445 2006-03-06 Tom Tromey <tromey@redhat.com>
28447 * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription):
28449 (getName): Likewise.
28451 2006-03-06 Raif S. Naffah <raif@swiftdsl.com.au>
28453 * java/util/jar/Manifest.java: Removed unused imports.
28454 (CRLF): New constant.
28455 (read): Added method documentation.
28456 Use UTF-8 encoding instead of 8859_1.
28457 (write): Added method documentation.
28458 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28459 (write_main_section): Replace PrintWriter arg with OutputStream.
28460 Replace JarException with IOException.
28461 (write_version_info): Likewise.
28462 (write_main_attributes): Likewise.
28463 (write_attribute_entry): Likewise.
28464 (write_individual_sections): Likewise.
28465 (write_entry_attributes): Likewise.
28466 (write_header): Replace PrintWriter arg with OutputStream.
28469 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28472 * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28473 API doc tag warnings,
28474 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28476 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28478 * gnu/java/net/protocol/file/Connection.java (unquote):
28479 Update position in buffer after decoding a unicode character
28480 outside of the basic plane.
28482 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28484 * java/net/URI.java
28485 (quote): Pass Unicode characters outside the basic plane through.
28487 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28489 * javax/swing/plaf/basic/BasicTextUI.java:
28490 (damageRange): Rewritten if-expressions to correctly identify the
28493 2006-03-06 Mark Wielaard <mark@klomp.org>
28495 * configure.ac: Set version to 0.90-generics.
28498 2006-03-06 Mark Wielaard <mark@klomp.org>
28500 Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28501 * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28502 (isnan): Define explicitly isnan if it is not a macro.
28504 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28506 * javax/swing/text/GapContent.java:
28507 (insertString): Throw exception when argument is below
28510 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28512 * javax/swing/text/PlainDocument.java:
28513 (insertUpdate): Extended if-expression, added
28514 code to generate another Element when newly inserted characters
28515 and old ones will be on the same line.
28517 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28519 * javax/swing/text/DefaultCaret.java:
28520 (mouseDragged): Do selection when shift is pressed.
28521 (mouseClicked): Implemented.
28523 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28525 * javax/swing/text/PlainDocument.java: Fix copyright header,
28527 (insertUpdate): Do not copy the whole document any more, added some
28528 more variables to prevent needless method calls.
28530 2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
28532 * configure.ac: Check for FREETYPE2. This is a reverted patch and
28533 is required on Darwin.
28534 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28535 (AM_CFLAGS): Likewise.
28537 2006-03-06 Mark Wielaard <mark@klomp.org>
28539 * NEWS: Add updates for 0.90 release.
28541 2006-03-05 Robert Schuster <robertschuster@fsfe.org>
28543 * javax/swing/text/GapContent.java:
28544 (insertString): Throw exception when argument is below
28547 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28550 * javax/swing/filechooser/FileFilter.java:
28551 (accept): Fixed API doc tag,
28552 (getDescription): Likewise,
28553 * javax/swing/filechooser/FileView.java:
28554 (isTraversable): Fixed API doc tag.
28556 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28558 * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28559 added API docs all over.
28561 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28563 * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28564 and corrected a bad API doc tag.
28566 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28568 * javax/swing/undo/StateEditable.java
28569 (restoreState): Fixed bad API doc tag,
28570 * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28571 AbstractUndoableEdit.java,
28572 * javax/swing/undo/UndoableEditSupport.java
28573 (createCompoundEdit): Fixed bad API doc tag,
28574 * javax/swing/undo/UndoManager.java
28575 (editToBeUndone): Fixed bad API doc tag,
28576 (editToBeRedone): Likewise.
28578 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28580 * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28581 * javax/swing/FocusManager.java: Likewise.
28584 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28587 * javax/swing/plaf/metal/MetalComboBoxButton.java
28588 (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28589 JList)): Fixed API doc tag,
28590 * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28591 (createLayout): Fixed API doc warning.
28593 2006-03-05 Tom Tromey <tromey@redhat.com>
28595 * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28596 ClassHelper.getUserName.
28597 * vm/reference/java/lang/reflect/Method.java (toString): Use
28598 ClassHelper.getUserName.
28599 (getUserTypeName): Removed.
28600 * gnu/java/lang/ClassHelper.java (getUserName): New method.
28601 * vm/reference/java/lang/reflect/Field.java (toString): Use
28602 ClassHelper.getUserName.
28604 2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com>
28607 * java/net/URLClassLoader.java (FileURLLoader.getResource):
28608 Allows directories as valid resources.
28610 2006-03-05 Mark Wielaard <mark@klomp.org>
28612 * configure.ac (VERSION): Set to 0.90-pre-generics.
28613 * Merge with CVS trunk from classpath-0_90-branch-point.
28615 2006-03-04 Tom Tromey <tromey@redhat.com>
28617 * javax/swing/SpringLayout.java (Constraints): New constructor.
28618 * javax/swing/Spring.java (width): New method.
28619 (height): Likewise.
28622 2006-03-04 Mark Wielaard <mark@klomp.org>
28624 * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28625 existing connection from pool before returning.
28627 2006-03-04 Mark Wielaard <mark@klomp.org>
28629 * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28630 exceptions thrown by handlers while cleaning up and rethrow original
28633 2006-03-04 Tom Tromey <tromey@redhat.com>
28635 * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28637 (findConstructor): Likewise.
28638 (instantiateClass): Likewise.
28640 2006-03-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28642 * gnu/java/rmi/dgc/DGCImpl.java: More comments, boilerplate fix.
28643 (dirty): Do not synchronize on Hashtable. Use the passed (requested)
28644 lease value and not always the default one.
28645 (LeaseRecord): Remember the array of objects, marked as dirty.
28646 java/rmi/dgc/Lease.java: Boilerplate fix.
28648 2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au>
28650 * java/util/jar/Attributes.java (putValue): Made it public and updated
28651 method documentation.
28653 2006-03-04 Mark Wielaard <mark@klomp.org>
28655 * java/awt/Container.java (remove(int)): Always call removeNotify()
28656 on removed Component.
28658 2006-03-04 Mark Wielaard <mark@klomp.org>
28660 Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28661 * javax/swing/JEditorPane.java (setText): Check for empty String
28662 with equals(), not equality (==).
28664 2006-03-04 Mark Wielaard <mark@klomp.org>
28666 * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28667 DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28669 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28671 * javax/swing/text/GapContent.java
28672 (getArray): Mark as final.
28674 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28676 * javax/swing/text/StyleConstants.java
28677 (CharacterConstants.Background): Marked final,
28678 (CharacterConstants.BidiLevel): Likewise,
28679 (CharacterConstants.Bold): Likewise,
28680 (CharacterConstants.ComponentAttribute): Likewise,
28681 (CharacterConstants.Family): Likewise,
28682 (CharacterConstants.Size): Likewise,
28683 (CharacterConstants.Foreground): Likewise,
28684 (CharacterConstants.IconAttribute): Likewise,
28685 (CharacterConstants.Italic): Likewise,
28686 (CharacterConstants.StrikeThrough): Likewise,
28687 (CharacterConstants.Subscript): Likewise,
28688 (CharacterConstants.Superscript): Likewise,
28689 (CharacterConstants.Underline): Likewise,
28690 (ColorConstants.Foreground): Likewise,
28691 (ColorConstants.Background): Likewise,
28692 (FontConstants.Bold): Likewise,
28693 (FontConstants.Family): Likewise,
28694 (FontConstants.Italic): Likewise,
28695 (FontConstants.Size): Likewise,
28696 (ParagraphConstants.Alignment): Likewise,
28697 (ParagraphConstants.FirstLineIndent): Likewise,
28698 (ParagraphConstants.LeftIndent): Likewise,
28699 (ParagraphConstants.LineSpacing): Likewise,
28700 (ParagraphConstants.Orientation): Likewise,
28701 (ParagraphConstants.RightIndent): Likewise,
28702 (ParagraphConstants.SpaceAbove): Likewise,
28703 (ParagraphConstants.SpaceBelow): Likewise,
28704 (ParagraphConstants.TabSet): Likewise.
28706 2006-03-03 Tom Tromey <tromey@redhat.com>
28708 * javax/net/ssl/SSLException.java: Added missing @since.
28711 2006-03-03 Tom Tromey <tromey@redhat.com>
28713 * javax/net/ssl/SSLException.java (SSLException): New constructors.
28714 (serialVersionUID): New field.
28716 2006-03-03 Tom Tromey <tromey@redhat.com>
28718 * java/security/spec/InvalidKeySpecException.java
28719 (InvalidKeySpecException): New constructors.
28720 * java/security/cert/CertificateParsingException.java
28721 (CertificateParsingException): New constructors.
28722 * java/security/cert/CertificateEncodingException.java
28723 (CertificateEncodingException): New constructors.
28724 * java/security/cert/CertificateException.java (CertificateException):
28726 * java/security/cert/CRLException.java (CRLException): New
28729 2006-03-03 Tom Tromey <tromey@redhat.com>
28731 * java/security/SignatureException.java (SignatureException): New
28733 * java/security/ProviderException.java (ProviderException): New
28735 * java/security/NoSuchAlgorithmException.java
28736 (NoSuchAlgorithmException): New constructors.
28737 * java/security/KeyStoreException.java (KeyStoreException): New
28739 * java/security/KeyManagementException.java (KeyManagementException):
28741 * java/security/InvalidKeyException.java (InvalidKeyException): New
28743 * java/security/KeyException.java (KeyException): New constructors.
28744 * java/security/InvalidAlgorithmParameterException.java
28745 (InvalidAlgorithmParameterException): New constructors.
28746 * java/security/DigestException.java (DigestException): New
28748 * java/security/GeneralSecurityException.java
28749 (GeneralSecurityException): New constructors.
28751 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28753 * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc
28755 * javax/swing/event/DocumentEvent.java: Likewise,
28756 * javax/swing/event/EventListenerList.java: Likewise,
28757 * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28758 * javax/swing/event/MenuKeyEvent.java: Likewise,
28759 * javax/swing/event/TableColumnModelEvent.java: Likewise,
28760 * javax/swing/event/TreeExpansionEvent.java: Likewise,
28761 * javax/swing/event/TreeModelEvent.java: Likewise,
28762 * javax/swing/event/TreeSelectionEvent.java: Likewise,
28763 * javax/swing/event/UndoableEditEvent.java: Likewise.
28765 2006-03-03 Tom Tromey <tromey@redhat.com>
28767 * java/awt/Insets.java (set): New method.
28768 (equals): Added @since.
28770 2006-03-03 David Daney <ddaney@avtrex.com>
28772 * gnu/java/net/protocol/http/HTTPURLConnection.java
28773 (getRequestProperties): Rewrote.
28774 (addRequestProperty): Rewrote.
28775 (getHeaderFields): Rewrote.
28776 (getHeaderField): Rewrote.
28777 (getHeaderFieldKey): Rewrote.
28778 (getHeaderField): Removed useless cast.
28779 * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28780 * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28782 (notifyHeaderHandlers): Use new Headers interface.
28784 2006-03-03 Tom Tromey <tromey@redhat.com>
28786 * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28787 * javax/naming/spi/ResolveResult.java,
28788 javax/naming/event/NamingExceptionEvent.java,
28789 javax/naming/event/NamingEvent.java,
28790 javax/naming/directory/SearchResult.java,
28791 javax/naming/directory/SearchControls.java,
28792 javax/naming/directory/SchemaViolationException.java,
28793 javax/naming/directory/NoSuchAttributeException.java,
28794 javax/naming/directory/ModificationItem.java,
28795 javax/naming/directory/InvalidSearchFilterException.java,
28796 javax/naming/directory/InvalidSearchControlsException.java,
28797 javax/naming/directory/InvalidAttributesException.java,
28798 javax/naming/directory/InvalidAttributeIdentifierException.java,
28799 javax/naming/directory/AttributeModificationException.java,
28800 javax/naming/directory/AttributeInUseException.java,
28801 javax/naming/TimeLimitExceededException.java,
28802 javax/naming/SizeLimitExceededException.java,
28803 javax/naming/PartialResultException.java,
28804 javax/naming/Reference.java,
28805 javax/naming/ServiceUnavailableException.java,
28806 javax/naming/OperationNotSupportedException.java,
28807 javax/naming/NotContextException.java,
28808 javax/naming/NoPermissionException.java,
28809 javax/naming/NoInitialContextException.java,
28810 javax/naming/NameNotFoundException.java,
28811 javax/naming/NameAlreadyBoundException.java,
28812 javax/naming/NameClassPair.java,
28813 javax/naming/MalformedLinkException.java,
28814 javax/naming/LinkLoopException.java,
28815 javax/naming/LinkException.java,
28816 javax/naming/LimitExceededException.java,
28817 javax/naming/InvalidNameException.java,
28818 javax/naming/InterruptedNamingException.java,
28819 javax/naming/InsufficientResourcesException.java,
28820 javax/naming/ContextNotEmptyException.java,
28821 javax/naming/ConfigurationException.java,
28822 javax/naming/CannotProceedException.java,
28823 javax/naming/CommunicationException.java,
28824 javax/naming/Binding.java,
28825 javax/naming/AuthenticationNotSupportedException.java,
28826 javax/naming/AuthenticationException.java: Added serialVersionUID.
28828 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28830 * javax/swing/event/TableColumnModelEvent.java: Reformatted.
28832 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28834 * javax/swing/event/TableModelListener.java: Updated API docs.
28836 2006-03-03 Mark Wielaard <mark@klomp.org>
28838 * java/awt/Component.java (addNotify): Expand documentation.
28840 2006-03-03 Mark Wielaard <mark@klomp.org>
28842 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
28843 Always call setParentAndBounds().
28844 (setComponentBounds): Always call setBounds().
28845 (setBounds): Call setVisible().
28846 (setVisible): If no pixels are showing then don't make it visible.
28847 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
28848 to call setParentAndBounds() anymore.
28850 2006-03-03 Roman Kennke <kennke@aicas.com>
28852 * javax/swing/JInternalFrame.java
28853 (JInternalFrame): Set frame invisible.
28854 (show): Reformatted.
28855 * javax/swing/plaf/basic/BasicInternalFrameUI.java
28856 (installDefaults): Do not set invisible here.
28858 2006-03-03 Roman Kennke <kennke@aicas.com>
28860 * java/awt/Toolkit.java
28861 (getScreenInsets): Return (0,0,0,0) here.
28863 2006-03-03 Roman Kennke <kennke@aicas.com>
28865 * javax/swing/text/FlowView.java
28866 (FlowStrategy.layoutRow): Added check for rowCount == 0.
28867 (FlowStrategy.getLogicalView): Made method protected.
28869 2006-03-03 Chris Burdess <dog@gnu.org>
28871 * gnu/xml/validation/relaxng/AnyNameNameClass.java,
28872 gnu/xml/validation/relaxng/AttributePattern.java,
28873 gnu/xml/validation/relaxng/ChoiceNameClass.java,
28874 gnu/xml/validation/relaxng/ChoicePattern.java,
28875 gnu/xml/validation/relaxng/DataPattern.java,
28876 gnu/xml/validation/relaxng/Define.java,
28877 gnu/xml/validation/relaxng/ElementPattern.java,
28878 gnu/xml/validation/relaxng/EmptyPattern.java,
28879 gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
28880 gnu/xml/validation/relaxng/Grammar.java,
28881 gnu/xml/validation/relaxng/GrammarException.java,
28882 gnu/xml/validation/relaxng/GrammarValidator.java,
28883 gnu/xml/validation/relaxng/GroupPattern.java,
28884 gnu/xml/validation/relaxng/InterleavePattern.java,
28885 gnu/xml/validation/relaxng/ListPattern.java,
28886 gnu/xml/validation/relaxng/NSNameNameClass.java,
28887 gnu/xml/validation/relaxng/NameClass.java,
28888 gnu/xml/validation/relaxng/NameNameClass.java,
28889 gnu/xml/validation/relaxng/NotAllowedPattern.java,
28890 gnu/xml/validation/relaxng/OneOrMorePattern.java,
28891 gnu/xml/validation/relaxng/Param.java,
28892 gnu/xml/validation/relaxng/Pattern.java,
28893 gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
28894 gnu/xml/validation/relaxng/RefPattern.java,
28895 gnu/xml/validation/relaxng/TextPattern.java,
28896 gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
28897 builder and data model.
28898 * gnu/xml/validation/xmlschema/AnyAttribute.java,
28899 gnu/xml/validation/xmlschema/AttributeDeclaration.java,
28900 gnu/xml/validation/xmlschema/AttributeUse.java,
28901 gnu/xml/validation/xmlschema/ComplexType.java,
28902 gnu/xml/validation/xmlschema/ElementDeclaration.java,
28903 gnu/xml/validation/xmlschema/Particle.java,
28904 gnu/xml/validation/xmlschema/ValidationException.java,
28905 gnu/xml/validation/xmlschema/XMLSchema.java,
28906 gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
28907 gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
28908 gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
28909 gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
28910 gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
28911 gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
28912 gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
28913 gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
28914 W3C XML Schema builder and schema components.
28915 * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
28916 XML Schema namespace URIs.
28918 2006-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
28920 * NEWS: Add entry for --enable-collections.
28921 * configure.ac: Add --enable-collections option.
28922 * lib/Makefile.am (collections.jar): New target.
28923 (glibj_DATA): Add $(COLLECTIONS).
28924 * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
28925 configure substitution.
28926 (classpath): Read from command line.
28927 (javautilclasses): Remove BasicMapEntry. Add RandomAccess.
28929 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28931 * javax/swing/SpringLayout.java: Fixed API doc warnings.
28933 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28935 * javax/swing/event/ListSelectionEvent.java
28936 (toString): Implemented,
28937 plus updated API docs all over.
28939 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28941 * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
28943 * javax/swing/event/ListSelectionListener.java: Updated API docs.
28945 2006-03-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28947 * gnu/java/rmi/dgc/DGCImpl.java,
28948 java/rmi/dgc/DGC.java,
28949 java/rmi/dgc/Lease.java: Formatted and commented.
28951 2006-03-03 Roman Kennke <kennke@aicas.com>
28953 * NEWS: Added comment about text highlighting and copy+paste
28956 2006-03-03 Roman Kennke <kennke@aicas.com>
28958 * javax/swing/JTabbedPane.java
28959 (remove(int)): Call super.remove(int) instead of remove(Component).
28960 Avoids a stack overflow.
28962 2006-03-03 Roman Kennke <kennke@aicas.com>
28964 * javax/swing/JTable.java
28965 (distributeSpillResizing): Avoid ArithmeticException by checking
28968 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28970 * javax/swing/text/package.html: Added package description.
28972 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28974 * javax/swing/CellRendererPane.java: Minor API doc fix,
28975 * javax/swing/ComboBoxModel.java: Updated API docs.
28977 2006-03-03 Chris Burdess <dog@gnu.org>
28980 * gnu/xml/stream/EntityReferenceImpl.java,
28981 gnu/xml/stream/FilteredEventReader.java,
28982 gnu/xml/stream/SAXParser.java,
28983 gnu/xml/stream/XIncludeFilter.java,
28984 gnu/xml/stream/XMLEventAllocatorImpl.java,
28985 gnu/xml/stream/XMLEventFactoryImpl.java,
28986 gnu/xml/stream/XMLEventImpl.java,
28987 gnu/xml/stream/XMLEventReaderImpl.java,
28988 gnu/xml/stream/XMLEventWriterImpl.java,
28989 gnu/xml/stream/XMLInputFactoryImpl.java,
28990 gnu/xml/stream/XMLOutputFactoryImpl.java,
28991 gnu/xml/stream/XMLParser.java,
28992 javax/xml/stream/EventFilter.java,
28993 javax/xml/stream/Location.java,
28994 javax/xml/stream/StreamFilter.java,
28995 javax/xml/stream/XMLEventFactory.java,
28996 javax/xml/stream/XMLEventReader.java,
28997 javax/xml/stream/XMLEventWriter.java,
28998 javax/xml/stream/XMLInputFactory.java,
28999 javax/xml/stream/XMLOutputFactory.java,
29000 javax/xml/stream/XMLReporter.java,
29001 javax/xml/stream/XMLResolver.java,
29002 javax/xml/stream/XMLStreamConstants.java,
29003 javax/xml/stream/XMLStreamReader.java,
29004 javax/xml/stream/events/EntityDeclaration.java,
29005 javax/xml/stream/events/EntityReference.java,
29006 javax/xml/stream/events/XMLEvent.java,
29007 javax/xml/stream/util/EventReaderDelegate.java,
29008 javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
29009 StAX API as specified in JWSDP 2.0.
29010 * gnu/xml/stream/EndEntityImpl.java,
29011 gnu/xml/stream/LocationImpl.java,
29012 gnu/xml/stream/StartEntityImpl.java,
29013 gnu/xml/stream/XMLStreamReaderImpl.java,
29014 javax/xml/stream/XMLFilter.java,
29015 javax/xml/stream/XMLIterator.java,
29016 javax/xml/stream/events/EndEntity.java,
29017 javax/xml/stream/events/StartEntity.java: Removed legacy files.
29019 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29021 * javax/swing/CellEditor.java: API doc updates,
29022 * javax/swing/DefaultCellEditor.java: Likewise.
29024 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29026 * javax/swing/AbstractListModel.java:
29027 (AbstractListModel): Added API docs,
29028 (fireContentsChanged): Minor API doc correction,
29029 (fireIntervalAdded): Likewise,
29030 (fireIntervalRemoved): Likewise.
29032 2006-03-03 Roman Kennke <kennke@aicas.com>
29034 * NEWS: Added paragraph about Swing improvements.
29036 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29038 * javax/swing/AbstractAction.java: Updated API docs all over,
29039 * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
29040 (stopCellEditing): Minor API doc correction,
29041 * javax/swing/UnsupportedLookAndFeelException.java
29042 (UnsupportedLookAndFeelException): Changed argument name, updated API
29045 2006-03-03 Roman Kennke <kennke@aicas.com>
29047 * javax/swing/plaf/metal/MetalUtils.java
29048 (fillMetalPattern): Added switch to not use Graphics2D methods,
29049 even if they are available.
29051 2006-03-03 Roman Kennke <kennke@aicas.com>
29053 * javax/swing/plaf/basic/BasicHTML.java
29054 (isHTMLString): Check for string beeing null.
29055 * javax/swing/plaf/basic/BasicInternalFrameUI.java
29056 (BasicInternalFrameListener.internalFrameActivated): Implemented.
29057 (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
29058 (InternalFrameLayout): Don't touch the glass pane here.
29059 (installUI): Fix handling of glass pane.
29060 * javax/swing/plaf/basic/BasicLabelUI.java
29064 (BasicLabelUI): Initialize new fields.
29065 (getPreferredSize): Avoid creating new Rectangles by using
29066 SwingUtilities method.
29067 (paint): Avoid creating new Rectangles by reusing
29068 new fields. Added some preliminary handling of HTML inside the
29070 (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
29071 (uninstallComponents): Clear HTML renderer.
29072 (propertyChange): Check for HTML text and install renderer if
29074 * javax/swing/plaf/basic/BasicListUI.java
29075 (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
29077 * javax/swing/plaf/basic/BasicTextUI.java
29078 (RootView.getStartOffset): Implemented.
29079 (RootView.getEndOffset): Implemented.
29080 (RootView.getDocument): Implemented.
29082 2006-03-03 Roman Kennke <kennke@aicas.com>
29084 * javax/swing/text/DefaultStyledDocument.java
29085 (ElementBuffer.inserUpdate): Added check for zero-length
29087 * javax/swing/text/DefaultStyledDocument.java
29088 (setIndex): Improved exception message.
29089 * javax/swing/text/TableView.java
29090 Made class abstract.
29091 (TableRow.replace): Probably extend columnRequirements
29093 (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
29094 of super.layoutMajorAxis.
29095 (columnRequirements): Made field package private.
29096 (TableView): Do not load any child views here.
29097 (layoutColumns): Implemented this method.
29098 (updateColumnRequirements): New helper method.
29099 * javax/swing/text/Utilities.java
29100 (getBreakLocation): Also take offset into account when
29101 finding end location.
29102 * javax/swing/text/html/HTMLDocument.java
29103 (HTMLReader.parseStack): New field.
29104 (HTMLReader.blockOpen): Properly handle p-implied tags.
29105 (HTMLReader.blockClose): Properly handle p-implied and empty tags.
29106 (HTMLReader.addContent): Insert p-implied when adding content to
29108 * javax/swing/text/html/HTMLEditorKit.java
29109 (HTMLFactory.create): Create HTMLTableView for <table> tags and
29110 ParagraphView for TD tags. Print out warning for tags that don't have
29111 matching view yet and create NullView for them.
29112 (read): Only set document base when document != null.
29113 * javax/swing/text/html/HTMLTableView.java:
29116 2006-03-03 Roman Kennke <kennke@aicas.com>
29118 * javax/swing/plaf/basic/BasicHTML.java
29119 (HTMLRootView): New inner class.
29120 (createHTMLView): Embed view inside a HTMLRootView.
29122 2006-03-03 Wolfgang Baer <WBaer@gmx.de>
29124 * gnu/java/net/protocol/jar/Connection.java:
29125 (connect): Throw FileNotFoundException.
29126 (getInputStream): Remove duplicated code.
29128 2006-03-03 Roman Kennke <kennke@aicas.com>
29130 * javax/swing/RepaintManager.java
29131 (commitBuffer): Added null check for clip.
29133 2006-03-02 Lillian Angel <langel@redhat.com>
29135 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29136 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
29137 to use GtkWidget instead of GTKMenu.
29139 2006-03-02 Lillian Angel <langel@redhat.com>
29141 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29142 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to
29143 use the submenu to get the list of children. This now works
29144 in the same way as addItem.
29146 2006-03-02 Anthony Balkissoon <abalkiss@redhat.com>
29148 * java/lang/StringBuilder.java:
29149 (codePointAt): New method.
29150 (codePointBefore): Likewise.
29151 (codePointCount): Likewise.
29152 (trimToSize): Likewise.
29154 2006-03-02 Tom Tromey <tromey@redhat.com>
29156 * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
29158 2006-03-02 Tom Tromey <tromey@redhat.com>
29160 * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
29161 (getProviderInstance):
29163 2006-03-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
29165 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
29166 Fix regression caused by move to VM variant.
29167 PR classpath/22926.
29169 2006-03-01 Tom Tromey <tromey@redhat.com>
29171 * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
29172 * vm/reference/java/net/VMInetAddress.java: Organized imports.
29173 * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
29174 imports for javadoc.
29175 (getProxyClass): Javadoc fixes.
29176 (getProxyData): Likewise.
29177 (generateProxyClass): Likewise.
29178 * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
29179 (setOut): Likewise.
29180 (setErr): Likewise.
29181 * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
29182 * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
29184 * vm/reference/java/lang/VMClass.java (getComponentType): Import for
29186 (getModifiers): Likewise.
29187 (getDeclaredClasses): Javadoc fix.
29188 (getDeclaredFields): Likewise.
29189 (getDeclaredMethods): Likewise.
29190 (getDeclaredConstructors): Likewise.
29191 * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
29194 2006-03-01 Tom Tromey <tromey@redhat.com>
29196 * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
29197 * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
29198 (getVersion): Javadoc fix.
29200 * gnu/java/net/protocol/http/Headers.java: Organized imports.
29201 * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
29203 2006-03-01 David Daney <ddaney@avtrex.com>
29205 * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
29206 as relative if it contains a colon but no protocol handler can be
29209 2006-03-01 Roman Kennke <kennke@aicas.com>
29211 * javax/swing/text/AbstractDocument.java
29212 (LeafElement.LeafElement): Handle delta with respect to content
29213 length not document length.
29214 * javax/swing/text/CompositeView.java
29215 (getViewIndex): Handle bias correctly.
29216 * javax/swing/text/DefaultCaret.java
29217 (paint): Align caret position to document bounds to avoid trouble
29218 when removing large portions of content.
29219 * javax/swing/text/DefaultStyledDocument.java
29220 (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
29221 (ElementBuffer.createFracture): Copy old childs attribute. The
29222 ElementSpec usually doesn't carry attribute information.
29223 Use pos instead of offset.
29224 (ElementBuffer.insertFracture): Use pos instead of offset.
29225 (createDefaultRootElement): Don't use create* and instead directly
29226 instantiate the elements.
29227 (handleInsertAfterNewline): Compare the paragraphs startOffset
29228 rather than previous paragraphs endOffset.
29229 * javax/swing/text/JTextComponent.java
29230 (getScrollableTracksViewportWidth): Remove unnecessary cast to
29232 (getScrollableTracksViewportHeight): Remove unnecessary cast to
29234 * javax/swing/text/PlainView.java
29235 (damageLineRange): Avoid creating new Rectangle by using
29237 * javax/swing/text/View.java
29238 (forwardUpdate): Correct the use of bias.
29239 (modelToView): Avoid new Rectangles by using SwingUtilities.
29240 (dump): Made (temprorarily) protected for use in BasicTextUI.
29241 (dump(int)): Dump out the element of the view.
29243 2006-03-01 Lillian Angel <langel@redhat.com>
29245 * NEWS: javax.imageio.plugins.bmp implementation.
29247 2006-03-01 Lillian Angel <langel@redhat.com>
29249 * javax/imageio/ImageWriteParam.java:
29250 Added documentation for fields.
29251 * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
29252 New class implemented.
29254 2006-03-01 Tom Tromey <tromey@redhat.com>
29256 * NEWS: Mention java.util.prefs update.
29258 2006-03-01 Tom Tromey <tromey@redhat.com>
29260 * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
29261 * java/nio/charset/UnmappableCharacterException.java:
29262 (serialVersionUID): New field.
29263 * java/nio/charset/MalformedInputException.java:
29264 (serialVersionUID): New field.
29265 * java/nio/charset/CoderMalfunctionError.java:
29266 (serialVersionUID): New field.
29267 * java/nio/charset/CharacterCodingException.java:
29268 (serialVersionUID): New field.
29269 * java/nio/channels/UnsupportedAddressTypeException.java:
29270 (serialVersionUID): New field.
29271 * java/nio/channels/UnresolvedAddressException.java:
29272 (serialVersionUID): New field.
29273 * java/nio/channels/OverlappingFileLockException.java:
29274 (serialVersionUID): New field.
29275 * java/nio/channels/NotYetConnectedException.java:
29276 (serialVersionUID): New field.
29277 * java/nio/channels/NotYetBoundException.java
29278 (serialVersionUID): New field.
29279 * java/nio/channels/NonWritableChannelException.java
29280 (serialVersionUID): New field.
29281 * java/nio/channels/NonReadableChannelException.java
29282 (serialVersionUID): New field.
29283 * java/nio/channels/NoConnectionPendingException.java
29284 (serialVersionUID): New field.
29285 * java/nio/channels/IllegalSelectorException.java
29286 (serialVersionUID): New field.
29287 * java/nio/channels/IllegalBlockingModeException.java
29288 (serialVersionUID): New field.
29289 * java/nio/channels/FileLockInterruptionException.java
29290 (serialVersionUID): New field.
29291 * java/nio/channels/ConnectionPendingException.java
29292 (serialVersionUID): New field.
29293 * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
29295 * java/nio/channels/ClosedChannelException.java (serialVersionUID):
29297 * java/nio/channels/ClosedByInterruptException.java
29298 (serialVersionUID): New field.
29299 * java/nio/channels/CancelledKeyException.java (serialVersionUID):
29301 * java/nio/channels/AsynchronousCloseException.java
29302 (serialVersionUID): New field.
29303 * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
29305 * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
29306 * java/nio/InvalidMarkException.java (serialVersionUID): New field.
29307 * java/nio/BufferUnderflowException.java (serialVersionUID): New
29309 * java/nio/BufferOverflowException.java (serialVersionUID): New field.
29310 * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
29311 Javadoc fix. Added import.
29312 * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
29313 (validOps): Likewise.
29314 * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
29315 * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
29316 * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
29317 * java/nio/channels/Channels.java: Added import.
29318 * java/nio/channels/FileChannel.java (lock): Typo fix.
29319 (tryLock): Likewise.
29321 2006-03-01 Tom Tromey <tromey@redhat.com>
29323 * java/util/prefs/Preferences.java (defaultFactoryClass): Use
29325 * gnu/java/util/prefs/FileBasedPreferences.java: New file.
29326 * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
29328 (putSpi): Likewise.
29329 (newNode): Likewise.
29331 * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
29332 * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
29334 (systemRoot): Use it.
29335 (userPreferences): New field.
29336 (userRoot): Use it.
29338 2006-03-01 Jeroen Frijters <jeroen@frijters.net>
29340 * java/util/ResourceBundle.java
29341 (tryBundle): Catch and ignore all Exceptions.
29343 2006-02-28 Roman Kennke <kennke@aicas.com>
29345 * javax/swing/plaf/basic/BasicScrollBarUI.java
29346 (getPreferredSize): Fixed add a fixed space between the buttons
29347 instead of something related to min/max.
29348 (installComponents): Create and install buttons here.
29349 (installDefaults): Don't create buttons here.
29350 * javax/swing/plaf/metal/MetalScrollBarUI.java
29351 (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
29352 (getPreferredSize): New method.
29354 2006-02-28 David Gilbert <david.gilbert@object-refinery.com>
29356 * examples/gnu/classpath/examples/swing/Demo.java
29357 (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29358 connected 'Spinner' action to SpinnerDemo,
29359 (mkCheckbox): Removed,
29360 (mkRadio): Likewise,
29361 (mkSpinner): Likewise,
29362 (mkToggle): Likewise,
29363 (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29364 connected 'Spinner' action to SpinnerDemo.
29366 2006-02-28 Wolfgang Baer <WBaer@gmx.de>
29368 * javax/print/ServiceUIFactory.java: Added documentation to class.
29370 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29373 * javax/swing/DefaultListSelectionModel.java:
29374 (addSelectionInterval): Return early if either of the arguments is -1.
29375 (removeSelectionInterval): Likewise.
29376 (setSelectionInterval): Likewise.
29378 2006-02-28 Lillian Angel <langel@redhat.com>
29380 * javax/swing/text/DefaultFormatter.java
29381 (stringToValue): Added NPE check.
29383 2006-02-28 Roman Kennke <kennke@aicas.com>
29386 * javax/swing/JList.java
29387 (getPreferredScrollableViewportSize): Restored specified behaviour.
29388 * javax/swing/plaf/metal/MetalFileChooserUI.java
29389 (createList): Set filelist panel's preferredSize, so that it doesn't
29390 get size into infinity for big lists.
29392 2006-02-28 Lillian Angel <langel@redhat.com>
29394 * javax/swing/ViewportLayout.java
29395 (layoutContainer): Should not extend container to be
29396 minimum size. Mauve test shows that the preferred size
29397 and the size of the viewport can be set smaller than
29400 2006-02-28 Lillian Angel <langel@redhat.com>
29403 * javax/swing/JList.java
29404 (getPreferredScrollableViewportSize): Added a check to determine
29405 if orientation is VERTICAL_WRAP. If it is, we should only
29408 2006-02-28 Lillian Angel <langel@redhat.com>
29411 * javax/swing/ViewportLayout.java:
29412 Patch submitted by Audrius Meskauskas
29413 (addLayoutComponent): Added documentation.
29414 (removeLayoutComponent): Likewise.
29415 (preferredLayoutSize): Likewise.
29416 (minimumLayoutSize): Likewise.
29417 (layoutContainer): Fixed code, so view is set
29418 to the right position when inside a scrollpane.
29420 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29422 * java/math/BigInteger.java:
29423 Committed patch by Rafael:
29424 developer.classpath.org/pipermail/classpath-patches/
29425 2006-February/000473.html
29426 (signum): Return early 0 if words == null and ival == 0.
29427 (readObject): Handle special case of magnitude.length or signum being
29429 (writeObject): If signum is zero return a zero-sized byte[].
29431 2006-02-28 Lillian Angel <langel@redhat.com>
29433 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29434 (create): Initially set the directory to the current working directory.
29435 (setDirectory): Removed else-if. No need for this check.
29437 2006-02-28 Tom Tromey <tromey@redhat.com>
29439 * .project: Run java builder before header generation.
29441 2006-02-28 Tom Tromey <tromey@redhat.com>
29443 * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
29445 * gnu/java/util/prefs/EventDispatcher.java: New file.
29446 * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29447 (NodeWriter): Specify UTF-8.
29448 (writeHeader): Emit DOCTYPE.
29449 * java/util/prefs/Preferences.java (getFactory): Add cause to
29451 (exportNode): Documented.
29452 (exportSubtree): Likewise.
29453 (importPreferences): Likewise.
29454 * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29455 (writeObject): Likewise.
29456 * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29457 (writeObject): Likewise.
29458 * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29459 (nodeListeners): New field.
29460 (preferenceListeners): Likewise.
29461 (addNodeChangeListener): Implemented.
29462 (addPreferenceChangeListener): Likewise.
29463 (removeNodeChangeListener): Likewise.
29464 (removePreferenceChangeListener): Likewise.
29465 (fire): New methods.
29467 (remove): Likewise.
29468 (purge): Likewise. Fixed synchronization.
29469 (removeNode): Fixed synchronization.
29470 (getNode): Fire event.
29471 (flushNode): Fixed synchronization.
29473 2006-02-28 Roman Kennke <kennke@aicas.com>
29475 * javax/swing/text/BranchElement.java
29476 (startOffset): New field.
29477 (endOffset): New field.
29478 (BranchElement): Initialize new fields.
29479 (getEndOffset): Rewritten to possibly return cached values
29480 if element has no children.
29481 (getStartOffset): Rewritten to possibly return cached values
29482 if element has no children.
29483 * javax/swing/text/LeafElement.java
29484 (startDelta): New field.
29485 (endDelta): New field.
29486 (LeafElement): Handle possible delta of start/endOffset when
29487 these parameters lie outside the document range.
29488 (getStartOffset): Handle possible startDelta.
29489 (getEndOffset): Handle possible startDelta.
29491 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29493 * NEWS: Added line about Unicode 4.0.0 support.
29495 2006-02-28 Roman Kennke <kennke@aicas.com>
29497 * javax/swing/SwingUtilities.java
29498 (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29500 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29502 * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29504 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29506 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29507 Amended class documentation.
29508 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29510 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29511 a BIT STRING construct.
29512 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29514 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29516 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29517 a BIT STRING construct.
29518 * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29519 (engineVerify): Added logging.
29521 2006-02-28 Roman Kennke <kennke@aicas.com>
29523 * java/awt/Component.java
29524 (dispatchEventImpl): Let the Toolkit dispatch global events.
29525 * java/awt/Container.java
29526 (dispatchEventImpl): Let the LightweightDispatcher handle events
29528 * java/awt/EventQueue.java
29529 (dispatchEvent): Don't do the global event dispatching here. This
29530 is moved to the Component.
29531 (globalDispatchEvent): Moved this method to Toolkit.
29532 * java/awt/LightweightDispatcher.java
29533 (instances): New field.
29534 (getInstance): New method. Delivers an instance of
29535 LightweightDispatcher.
29536 (LightweightDispatcher): Made default constructor private.
29537 (dispatchEvent): New method. Replaces the eventDispatched method.
29538 This now returns true when the event was actually dispatched.
29539 (eventDispatched): Replaced by dispatchEvent.
29540 (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29541 received the last MOUSE_RELEASED.
29542 * java/awt/Toolkit.java
29543 (Toolkit): Don't register LightweightDispatcher as global event
29545 (globalDispatchEvent): Moved here from EventQueue.
29547 2006-02-27 David Daney <ddaney@avtrex.com>
29550 * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29552 (getRequestProperties): Rewrote.
29554 2006-02-27 David Daney <ddaney@avtrex.com>
29557 * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29559 (ChunkedInputStream): Extend InputStream.
29561 (headers): Moved to top of class.
29562 (constructor): Save referenct to in.
29563 (read(byte[])): Removed method.
29564 (read(byte[], int, int)): Made synchronized and throw IOException
29565 on error parsing chunk header.
29566 (available): New method.
29567 (close): New method.
29569 2006-02-27 David Daney <ddaney@avtrex.com>
29571 * gnu/java/net/protocol/http/HTTPURLConnection.java
29572 (imports): Cleaned up.
29573 (GetHTTPPropertiesAction): Removed, and moved contents to ...
29574 (constructor): ... Here, using SystemProperties instead of System.
29576 2006-02-27 Lillian Angel <langel@redhat.com>
29578 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29579 (setDirectory): GtkFileChooser requires an absolute directory
29580 name. Added a check to make the directory passed to nativeSetDirectory
29583 2006-02-27 Roman Kennke <kennke@aicas.com>
29585 * javax/swing/SwingUtilities.java
29586 (computeIntersection): Changed to store result in rect, instead of
29587 creating new Rectangle instances. Fixed API docs accordingly.
29588 (computeUnion): Changed to store result in rect, instead of
29589 creating new Rectangle instances. Fixed API docs accordingly.
29591 2006-02-27 Roman Kennke <kennke@aicas.com>
29593 * javax/swing/JViewport.java
29594 (static_init): Changed default scrollmode to BLIT.
29595 (paintSimple): Added some clipping to avoid painting problems.
29596 (paintBlit): Added some clipping to avoid painting problems.
29598 2006-02-27 Roman Kennke <kennke@aicas.com>
29600 * javax/swing/JComponent.java
29601 (rectCache): Made field static to save memory.
29602 (getVisibleRect): Don't use rectCache and create new Rectangle
29604 (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29605 (repaint(long,int,int,int,int)): Directly call
29606 RepaintManager.addDirtyRegion(). The visibleRect check is now
29607 performed in the RepaintManager.
29609 2006-02-27 Roman Kennke <kennke@aicas.com>
29611 * javax/swing/RepaintManager.java
29612 (currentRepaintManagers): Made field private.
29613 (rectCache): New field.
29614 (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29615 component. Changed Rectangle handling to avoid unnecessary new
29616 Rectangle instances.
29617 (getOffscreenBuffer): Create buffer with size of the root window.
29618 Respect the maximum buffer size here.
29619 (commitBuffer): Align the regions so that they are inside the buffer
29620 image and inside the clip. This avoids problems with a bug in GTKImage.
29621 Fixed Rectangle handling to avoid creation of new Rectangle instances.
29623 2006-02-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
29625 * native/fdlibm/e_acos.c,
29626 * native/fdlibm/e_asin.c,
29627 * native/fdlibm/e_atan2.c,
29628 * native/fdlibm/e_cosh.c,
29629 * native/fdlibm/e_exp.c,
29630 * native/fdlibm/e_fmod.c,
29631 * native/fdlibm/e_hypot.c,
29632 * native/fdlibm/e_log.c,
29633 * native/fdlibm/e_log10.c,
29634 * native/fdlibm/e_rem_pio2.c,
29635 * native/fdlibm/e_remainder.c,
29636 * native/fdlibm/e_sinh.c,
29637 * native/fdlibm/e_sqrt.c,
29638 * native/fdlibm/k_cos.c,
29639 * native/fdlibm/k_sin.c,
29640 * native/fdlibm/k_tan.c,
29641 * native/fdlibm/s_atan.c,
29642 * native/fdlibm/s_cbrt.c,
29643 * native/fdlibm/s_ceil.c,
29644 * native/fdlibm/s_copysign.c,
29645 * native/fdlibm/s_cos.c,
29646 * native/fdlibm/s_expm1.c,
29647 * native/fdlibm/s_fabs.c,
29648 * native/fdlibm/s_finite.c,
29649 * native/fdlibm/s_floor.c,
29650 * native/fdlibm/s_log1p.c,
29651 * native/fdlibm/s_rint.c,
29652 * native/fdlibm/s_scalbn.c,
29653 * native/fdlibm/s_sin.c,
29654 * native/fdlibm/s_tan.c,
29655 * native/fdlibm/s_tanh.c:
29656 Fixed to call our macros rather than __HI and __LO.
29657 * native/fdlibm/fdlibm.h:
29658 Reintroduced previous extraction code.
29659 (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29660 (GET_HIGH_WORD(i,d)): Readded.
29661 (GET_LOW_WORD(i,d)): Readded.
29662 (INSERT_WORDS(d,ix0,ix1)): Readded.
29663 (SET_HIGH_WORD(d,i)): Readded.
29664 (SET_LOW_WORD(d,i)): Readded.
29665 * native/jni/gtk-peer/gthread-jni.c:
29666 Use Glib macros to convert integers/pointers portably.
29668 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29670 * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29671 as the fallback SPI.
29672 * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29673 ones referencing GNU-CRYPTO classes.
29674 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29675 (engineValidate): Use GNU-CRYPTO class.
29676 * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29677 * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29678 * gnu/java/security/provider/DSAKeyFactory: Likewise.
29679 * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29680 * gnu/java/security/provider/DSAParameters: Likewise.
29681 * gnu/java/security/provider/DSASignature: Likewise.
29682 * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29683 * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29684 * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29685 * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29686 * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29687 * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29688 * gnu/java/security/provider/MD2withRSA: Likewise.
29689 * gnu/java/security/provider/MD4withRSA: Likewise.
29690 * gnu/java/security/provider/MD5: Likewise.
29691 * gnu/java/security/provider/MD5withRSA: Likewise.
29692 * gnu/java/security/provider/RSA: Likewise.
29693 * gnu/java/security/provider/RSAKeyFactory: Likewise.
29694 * gnu/java/security/provider/SHA: Likewise.
29695 * gnu/java/security/provider/SHA1PRNG: Likewise.
29696 * gnu/java/security/provider/SHA1withRSA: Likewise.
29697 * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29699 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29701 * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29702 (engineGeneratePublic): Added logging.
29703 (engineGeneratePrivate): Likewise.
29704 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29705 (encodePublicKey): Added logging.
29706 Clarified in method documentation that params is optional, but is
29707 always NULL if present.
29708 (decodePublicKey): Added logging.
29709 Handle optional NULL element.
29711 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29713 * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29715 2006-03-03 Tom Tromey <tromey@redhat.com>
29717 * java/awt/MenuBar.java (shortcuts): Genericized.
29719 2006-03-03 Tom Tromey <tromey@redhat.com>
29721 * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29723 (getListenerType): Likewise.
29724 * java/beans/Introspector.java (getBeanInfo): Genericized.
29725 * java/beans/DefaultPersistenceDelegate.java (initialize):
29728 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29730 * java/math/BigDecimal.java:
29731 (precision): Fixed overflow problem with large numbers.
29732 (longValueExact): New method.
29733 (intValueExact): Likewise.
29734 (byteValueExact): Likewise.
29735 (shortValueExact): Likewise.
29737 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29739 * java/math/BigDecimal.java:
29740 (remainder(BigDecimal)): New method.
29741 (divideAndRemainder(BigDecimal)): Likewise.
29742 (divideToIntegralValue(BigDecimal)): Likewise.
29743 (floor): New implementation method.
29745 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29747 * java/math/BigDecimal.java:
29748 (divide(BigDecimal, int, RoundingMode)): New method.
29749 (divide(BigDecimal, RoundingMode)): Likewise.
29750 (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29751 when the new scale is < 0.
29752 (setScale(int, RoundingMode)): New method.
29755 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29757 * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29758 with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29759 (add(BigDecimal, MathContext)): New method.
29760 (subtract(BigDecimal, MathContext)): Likewise.
29761 (precision): Fixed to correctly handle BigIntegers with more than 19
29763 (pow(int, MathContext)): New method.
29765 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29767 * java/math/BigDecimal.java: Added @throws clause to constructors.
29768 (mathContext): Removed this unneeded field.
29769 (BigDecimal(int, MathContext)): New constructor.
29770 (BigDecimal(BigInteger, int, MathContext)): Likewise.
29771 (multiply(BigDecimal, MathContext)): New method.
29772 (negate(MathContext)): Likewise.
29773 (plus(MathContext)): Likewise.
29774 (numDigitsInLong): Fixed to properly handle negatives.
29776 2006-02-25 Chris Burdess <dog@gnu.org>
29778 * gnu/java/net/CRLFInputStream.java,
29779 gnu/java/net/LineInputStream.java: Streams that use mark
29780 capabilities on the underlying stream do not expose mark
29781 functionality themselves.
29782 * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29785 2006-02-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
29787 * gnu/regexp/REMatch.java(matchFlags): New int field used as
29788 option flags passed to match methods.
29789 (MF_FIND_ALL): New flag.
29790 * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29791 do not try other possibilties once a match is found.
29792 * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29793 so that all possibilities can be found.
29794 (match): Rewritten using new methods matchMinimum and _match.
29795 (_match): New method which performs a depth-first recursive search.
29796 (matchMinimum): New method.
29797 (initVisited), (visitedContains), (addVisited): New methods for
29798 manipulating an array of icharacter positions which _match has
29801 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29803 * java/math/BigDecimal.java:
29804 (BigDecimal(long, MathContext)): New constructor.
29805 (BigDecimal(BigInteger, MathContext)): Likewise.
29806 (BigDecimal(String, MathContext)): Likewise.
29807 (BigDecimal(double, MathContext)): Likewise.
29808 (round): Fixed a typo where the precision field was used instead of a
29809 call to the precision method, and also store the new precision in the
29810 returned BigDecimal.
29811 (abs(MathContext)): New method.
29813 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29815 * java/math/BigDecimal.java
29816 (toBigInteger): Fixed problem where this method couldn't handle
29817 negative values for scale.
29818 (toBigIntegerExact): New method.
29819 (stripTrailingZeros): Likewise.
29821 2006-02-24 David Daney <ddaney@avtrex.com>
29824 * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
29826 (Pool): New inner class.
29827 (timeLastUsed): New field.
29828 (setPool): Changed parameter type to Pool.
29829 (release): Moved pool management logic to new class Pool.
29830 * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
29832 (maxConnections) : Removed.
29833 (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
29834 (getConnection): Moved pool management logic to HTTPConnection.Pool.
29836 2006-02-24 Lillian Angel <langel@redhat.com>
29838 * java/awt/Container.java:
29839 Added new field. True if Container has been cleared and
29840 heavyweights need to be repainted.
29841 (paint): Fixed comment. Fixed to use backCleared and
29843 (update): Set backCleared to true after the background
29844 of the container has been cleared.
29846 2006-02-24 Lillian Angel <langel@redhat.com>
29848 * java/awt/TextField.java
29849 (addNotify): Added call to super.
29851 2006-02-24 Lillian Angel <langel@redhat.com>
29853 * java/awt/Component.java
29854 (reshape): Reverted last patch. Should have check here.
29855 (addNotify): Added check. If parent is lightweight, then
29856 initialize listener on the parent.
29857 (HeavyweightInLightweightListener): New class.
29859 2006-02-24 Roman Kennke <kennke@aicas.com>
29861 * javax/swing/plaf/basic/BasicComboPopup.java
29862 (show): Register the popup with the autocloser after it has been
29863 opened completely, by putting the registration on the eventqueue.
29865 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29867 * gnu/java/security/prng/BasePRNG.java:
29868 (clone()): Added cast of buffer to byte[].
29869 * gnu/javax/crypto/mac/TMMH16.java:
29870 (clone()): Fixed casting of cloned arrays.
29871 * native/fdlibm/fdlibm.h:
29872 Added missing defines from old fdlibm.h needed by Darwin.
29873 (GET_FLOAT_WORD(i,d)): Re-added.
29874 (SET_FLOAT_WORD(d,i)): Re-added.
29876 2006-02-24 Roman Kennke <kennke@aicas.com>
29878 * java/awt/Container.java:
29879 (dispatcher): Removed field.
29880 (dispatchEventImpl): Removed lightweight dispatching.
29881 (addNotifyContainerChildren): Removed LightweightDispatcher
29883 (LightweightDispatcher): Removed class.
29884 * java/awt/LightweightDispatcher.java: New class.
29885 * java/awt/Toolkit.java
29886 (Toolkit): Install LightweightDispatcher in global listener
29889 2006-02-24 Chris Burdess <dog@gnu.org>
29892 * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
29895 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29897 * NEWS: Mentions the VMMath runtime changes.
29898 * doc/vmintegration.texinfo: Updated to include
29901 2006-02-24 Roman Kennke <kennke@aicas.com>
29903 * javax/swing/plaf/basic/BasicLookAndFeel.java
29904 (PopupHelper.autoClosePopups): New field.
29905 (PopupHelper.mousePressed): Also autoclose any registered popups.
29906 (PopupHelper.registerForAutoClose): New method.
29907 (PopupHelper.autoClosePopups): New method.
29908 (popupHelper): Changed type of field to PopupHelper.
29909 (registerForAutoClose): New method.
29910 * javax/swing/plaf/basic/BasicComboPopup.java
29911 (show): Register this popup for autoclosing.
29913 2006-02-24 Raif S. Naffah <raif@swiftdsl.com.au>
29915 * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
29916 * gnu/java/security/prng/MDGenerator.java (clone): New method.
29917 * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
29919 2006-02-24 Roman Kennke <kennke@aicas.com>
29921 Reported by Ingo Proetel <proetel@aicas.com>
29922 * java/util/logging/LogManager.java
29923 (addLogger): Search the parent loggers for log level
29924 configuration and inherit that.
29925 (readConfiguration): Provide minimal default configuration
29926 if no configuration can be found otherwise.
29928 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29930 * java/math/BigDecimal.java:
29931 (toString): Fixed a problem where the negative sign was being displayed
29932 twice in the exponent.
29933 (toEngineeringString): New method.
29934 (toPlainString): Likewise.
29937 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29939 * java/math/BigDecimal.java:
29940 (toString): Rewrote this method to behave as specified. Added API
29941 comments to explain behaviour.
29942 (scaleByPowerOfTen): New method.
29944 2006-02-23 Roman Kennke <kennke@aicas.com>
29946 * javax/swing/JRootPane.java
29947 (isOptimizedDrawingEnabled): Implemented to return true
29948 when the glassPane is not visible.
29950 2006-02-23 Roman Kennke <kennke@aicas.com>
29952 * javax/swing/plaf/basic/BasicLookAndFeel.java
29953 (PopupHelper): New inner class.
29954 (popupHelper): New field.
29955 (initialize): New method.
29956 (uninitialize): New method.
29957 * javax/swing/plaf/basic/BasicPopupMenuUI.java
29958 (mouseInputListener): Removed field.
29959 (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
29960 handling of GlassPane.
29961 (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
29962 handling of GlassPane.
29963 (MouseInputHandler): Removed class.
29965 2006-02-23 Roman Kennke <kennke@aicas.com>
29967 * java/awt/AWTEvent.java
29968 (eventIdToMask): New utility method.
29969 * java/awt/EventQueue.java
29970 (dispatchEvent): Also globally dispatch events via the toolkit.
29971 (globalDispatchEvent): New method.
29972 * java/awt/Toolkit.java
29973 (awtEventListeners): New field.
29974 (Toolkit()): Initialize new field.
29975 (createComponent): Create GLightweightPeer here.
29976 (addAWTEventListener): Implemented and documented.
29977 (removeAWTEventListener): Implemented and documented.
29978 (getAWTEventListeners): Implemented and documented both method
29980 * java/awt/event/AWTEventListenerProxy.java
29981 (eventDispatched): Don't filter events here.
29983 2006-02-23 Chris Burdess <dog@gnu.org>
29986 * gnu/xml/dom/DomDocumentBuilderFactory.java,
29987 gnu/xml/dom/JAXPFactory.java,
29988 gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
29989 javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
29990 implement DocumentBuilderFactory.get/setFeature methods.
29992 2006-02-23 Lillian Angel <langel@redhat.com>
29994 * gnu/java/awt/peer/GLightweightPeer.java
29995 (repaint): Scott's proposed fix. Send repaint to the
29996 component's parent.
29997 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
29998 (setBounds): Removed next_parent, not needed. Removed
29999 lightweightChild, we always need to compensate for the
30001 * java/awt/Component.java
30002 (setBounds): Removed check. Caused lots of problems, because some
30003 components were not being invalidated. Components should be
30004 invalidated when they are resized or moved, and in some cases,
30005 when a parent is resized/moved, the components do not know
30006 about it and do not adjust.
30007 * java/awt/Graphics.java
30008 (hitClip): Scott's proposed fix. Added check to handle a
30011 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
30013 * javax/print/attribute/standard/MediaSize.java:
30014 (media): Field renamed to mediaName for serialization.
30015 (MediaSize): Adapted to new fieldname.
30016 (getMediaSizeName): Likewise.
30017 * javax/print/attribute/HashAttributeSet.java:
30018 (interfaceName): Field renamed to myInterface for serialization.
30019 (HashAttributeSet): Adapted to the new fieldname.
30021 (addAll): Likewise.
30022 (addInternal): Likewise.
30023 (attributeMap): Made transient.
30024 (readObject): New serialization method.
30025 (writeObject): Likewise.
30026 * javax/print/attribute/AttributeSetUtilities.java:
30027 (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
30028 (SynchronizedAttributeSet.add): Adapted to the new fieldname.
30029 (SynchronizedAttributeSet.addAll): Likewise.
30030 (SynchronizedAttributeSet.clear): Likewise.
30031 (SynchronizedAttributeSet.containsKey): Likewise.
30032 (SynchronizedAttributeSet.containsValue): Likewise.
30033 (SynchronizedAttributeSet.equals): Likewise.
30034 (SynchronizedAttributeSet.get): Likewise.
30035 (SynchronizedAttributeSet.hashCode): Likewise.
30036 (SynchronizedAttributeSet.isEmpty): Likewise.
30037 (SynchronizedAttributeSet.remove): Likewise.
30038 (SynchronizedAttributeSet.size): Likewise.
30039 (SynchronizedAttributeSet.toArray): Likewise.
30040 (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
30041 (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
30042 (UnmodifiableAttributeSet.addAll): Likewise.
30043 (UnmodifiableAttributeSet.clear): Likewise.
30044 (UnmodifiableAttributeSet.containsKey): Likewise.
30045 (UnmodifiableAttributeSet.containsValue): Likewise.
30046 (UnmodifiableAttributeSet.equals): Likewise.
30047 (UnmodifiableAttributeSet.get): Likewise.
30048 (UnmodifiableAttributeSet.hashCode): Likewise.
30049 (UnmodifiableAttributeSet.isEmpty): Likewise.
30050 (UnmodifiableAttributeSet.remove): Likewise.
30051 (UnmodifiableAttributeSet.size): Likewise.
30052 (UnmodifiableAttributeSet.toArray): Likewise.
30053 * javax/print/attribute/standard/MediaPrintableArea.java:
30054 (width): Field renamed to w for serialization.
30055 (height): Field renamed to h for serialization.
30056 (MediaPrintableArea): Adapted to the new fieldnames.
30057 (MediaPrintableArea): Likewise.
30058 (equals): Likewise.
30059 (hashCode): Likewise.
30060 (getHeight): Likewise.
30061 (getWidth): Likewise.
30063 2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
30065 * include/java_lang_VMMath.h:
30066 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
30067 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
30068 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
30069 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
30070 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
30071 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
30072 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
30073 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
30074 * java/lang/Math.java:
30075 (cbrt(double)): Implemented.
30076 (cosh(double)): Implemented.
30077 (expm1(double)): Implemented.
30078 (hypot(double,double)): Implemented.
30079 (log10(double)): Implemented.
30080 (log1p(double)): Implemented.
30081 (signum(double)): Implemented.
30082 (signum(float)): Implemented.
30083 (sinh(double)): Implemented.
30084 (tanh(double)): Implemented.
30085 * native/fdlibm/Makefile.am:
30086 Added new files from fdlibm 5.3.
30087 * native/fdlibm/e_acos.c,
30088 * native/fdlibm/e_asin.c,
30089 * native/fdlibm/e_atan2.c,
30090 * native/fdlibm/e_exp.c,
30091 * native/fdlibm/e_fmod.c,
30092 * native/fdlibm/e_log.c,
30093 * native/fdlibm/e_rem_pio2.c,
30094 * native/fdlibm/e_remainder.c,
30095 * native/fdlibm/e_scalb.c,
30096 * native/fdlibm/e_sqrt.c,
30097 * native/fdlibm/k_cos.c,
30098 * native/fdlibm/k_rem_pio2.c,
30099 * native/fdlibm/k_sin.c,
30100 * native/fdlibm/k_tan.c,
30101 * native/fdlibm/s_atan.c,
30102 * native/fdlibm/s_ceil.c,
30103 * native/fdlibm/s_copysign.c,
30104 * native/fdlibm/s_cos.c,
30105 * native/fdlibm/s_fabs.c,
30106 * native/fdlibm/s_finite.c,
30107 * native/fdlibm/s_floor.c,
30108 * native/fdlibm/s_rint.c,
30109 * native/fdlibm/s_scalbn.c,
30110 * native/fdlibm/s_sin.c,
30111 * native/fdlibm/s_tan.c,
30112 * native/fdlibm/w_acos.c,
30113 * native/fdlibm/w_asin.c,
30114 * native/fdlibm/w_atan2.c,
30115 * native/fdlibm/w_acos.c,
30116 * native/fdlibm/w_exp.c,
30117 * native/fdlibm/w_fmod.c,
30118 * native/fdlibm/w_log.c,
30119 * native/fdlibm/w_pow.c,
30120 * native/fdlibm/w_remainder.c,
30121 * native/fdlibm/w_sqrt.c:
30122 Updated to fdlibm 5.3.
30123 * native/fdlibm/e_cosh.c,
30124 * native/fdlibm/e_hypot.c,
30125 * native/fdlibm/e_log10.c,
30126 * native/fdlibm/e_sinh.c,
30127 * native/fdlibm/s_cbrt.c,
30128 * native/fdlibm/s_expm1.c,
30129 * native/fdlibm/s_log1p.c,
30130 * native/fdlibm/s_tanh.c,
30131 * native/fdlibm/w_cosh.c,
30132 * native/fdlibm/w_hypot.c,
30133 * native/fdlibm/w_log10.c,
30134 * native/fdlibm/w_sinh.c:
30135 Imported from fdlibm 5.3.
30136 * native/fdlibm/fdlibm.h:
30137 Imported from fdlibm 5.3 with Classpath additions.
30138 * native/fdlibm/namespace.h:
30139 Updated from new math_symbols file.
30140 * native/jni/java-lang/java_lang_VMMath.c:
30141 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
30142 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
30143 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
30144 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
30146 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
30147 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
30148 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
30149 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
30150 * scripts/math_symbols:
30151 Added tanh, expm1, log10 and log1p.
30152 * vm/reference/java/lang/VMMath.java:
30153 (cbrt(double)): Implemented.
30154 (cosh(double)): Implemented.
30155 (expm1(double)): Implemented.
30156 (hypot(double,double)): Implemented.
30157 (log10(double)): Implemented.
30158 (log1p(double)): Implemented.
30159 (sinh(double)): Implemented.
30160 (tanh(double)): Implemented.
30162 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
30164 * javax/print/DocFlavor.java: Added documentation all over.
30165 (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
30166 (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
30167 (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
30168 (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
30169 (URL.TEXT_HTML_HOST): Likewise.
30170 (URL.TEXT_PLAIN_HOST): Likewise.
30171 (hostEncoding): Initialize with host default charset encoding.
30172 (mediaSubtype): Made transient.
30173 (mediaType): Likewise.
30174 (params): Made transient. Changed type to TreeMap.
30175 (className): Removed, changed to myClassName.
30176 (myClassName): New field as defined in serialized form.
30177 (DocFlavor): Adapted to new variable types, names.
30178 (parseMimeType): Reimplemented.
30179 (getParameter): Search with lowercase name.
30180 (getRepresentationClassName): Adapted to changed variable name.
30181 (hashCode): Likewise.
30182 (toString): Reimplemented.
30183 (readObject): New method for serialization.
30184 (writeObject): Likewise.
30186 2006-02-23 Roman Kennke <kennke@aicas.com>
30188 * javax/swing/RepaintManager.java
30189 (commitBuffer): Clip the repaint area with the current clip.
30191 2006-02-23 Raif S. Naffah <raif@swiftdsl.com.au>
30193 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
30194 (DEFAULT_PRIME_SIZE): Made public.
30195 (DEFAULT_EXPONENT_SIZE): Likewise.
30196 (setup): Handle DHParameterSpec as well.
30197 * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
30198 defaultFormat instead of Raw.
30199 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
30200 (checkIsConstructed): Removed.
30201 (checkIsBigInteger): Likewise.
30202 (decodePublicKey): Use DerUtil.
30203 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
30204 (checkIsConstructed): Removed.
30205 (checkIsBigInteger): Likewise.
30206 (decodePrivateKey): Use DerUtil.
30207 * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
30209 Added mappings for AlgorithmParameters.DH and
30210 AlgorithmParameterGenerator.DH.
30211 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
30212 * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
30213 * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
30214 * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
30216 (engineGeneratePublic): Likewise.
30217 * gnu/java/security/util/DerUtil.java: New file.
30218 * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
30219 Include only valid RSA PKCS1 (v1.5) signature names.
30220 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
30221 (RSAPKCS1V1_5SignatureX509Codec): Removed.
30222 (checkIsConstructed): Likewise.
30223 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
30224 (checkIsConstructed): Removed.
30225 (checkIsBigInteger): Likewise.
30226 (decodeSignature): Use DerUtil.
30227 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
30228 (checkIsConstructed): Removed.
30229 (checkIsBigInteger): Likewise.
30230 (decodePublicKey): Use DerUtil.
30231 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
30232 (checkIsConstructed): Removed.
30233 (checkIsBigInteger): Likewise.
30234 (decodePrivateKey): Use DerUtil.
30235 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
30236 (checkIsConstructed): Removed.
30237 (checkIsBigInteger): Likewise.
30238 (decodePublicKey): Use DerUtil.
30239 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
30240 (checkIsConstructed): Removed.
30241 (checkIsBigInteger): Likewise.
30242 (decodePrivateKey): Use DerUtil.
30243 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
30244 (DEFAULT_MODULUS_LENGTH): Made it public.
30245 * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
30246 defaultFormat instead of Raw.
30247 * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
30248 * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
30249 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
30251 (engineGeneratePublic): Likewise.
30252 * gnu/javax/crypto/DiffieHellmanImpl: Removed.
30254 2006-02-22 Anthony Balkissoon <abalkiss@redhat.com>
30256 * java/math/BigDecimal.java:
30257 (BigDecimal(char[], int, int, MathContext)): New constructor.
30258 (BigDecimal(char[], MathContext)): Likewise.
30259 (BigDecimal(char[])): Likewise.
30260 (BigDecimal(char[], int, int)): Likewise.
30261 (BigDecimal(String)): Fixed handling of exponent and scale.
30263 2006-02-22 Mark Wielaard <mark@klomp.org>
30265 * java/awt/Checkbox.java (setState): Check that state actually changed
30266 before calling peer.
30267 (dispatchEventImpl): Set new state if ItemEvent.
30268 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
30269 (create): Set currentState.
30270 (setState): Make synchronized, check and set currentState before
30271 calling gtkToggleButtonSetActive.
30272 (postItemEvent): Make synchronized, check and set currentState before
30274 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
30275 (postItemEventID): Method now takes boolean.
30276 (item_toggled_cb): Likewise.
30278 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30280 * javax/swing/text/DefaultHighlighter.java:
30281 (changeHighlight): Added code to minimize the damaged area.
30283 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30285 * javax/swing/text/PlainView.java:
30286 (getPreferredSpan): Added missing 'break'.
30287 statement which corrects an unwanted fall through.
30288 (updateDamage): Update maxLineLength correctly when text is
30289 removed, call preferenceChanged accordingly.
30290 (viewToModel): Restrict line number to be within 0 and the
30291 number of elements-1.
30293 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30295 * javax/swing/text/Utilities.java:
30296 (getPositionAbove): Prefer first value by changing comparison
30298 (getPositionBelow): Dito.
30300 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30302 * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
30303 behavior when magic caret position is null.
30305 2006-02-22 Roman Kennke <kennke@aicas.com>
30307 * javax/swing/JTextField.java
30308 (isValidateRoot): New method.
30310 2006-02-22 Roman Kennke <kennke@aicas.com>
30312 * javax/swing/JEditorPane.java
30313 (getPreferredSize): Rewritten to behave like the reference impl.
30314 (getScrollableTracksViewportWidth): Likewise.
30315 (getScrollableTracksViewportHeight): Likewise.
30317 2006-02-22 Roman Kennke <kennke@aicas.com>
30319 * javax/swing/RepaintManager.java
30320 (addInvalidComponent): Also consider the component itself.
30322 2006-02-22 Mark Wielaard <mark@klomp.org>
30324 * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
30325 qualify AbstractDocument.AttributeContext.
30326 (blockOpen): Likewise.
30328 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30330 * java/math/BigDecimal.java:
30331 (mathContext): New field.
30332 (precision): Likewise.
30333 (BigDecimal(int)): New constructor.
30334 (BigDecimal(long)): Likewise.
30335 (BigDecimal(BigInteger)): Added API docs.
30336 (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
30337 and added API docs.
30338 (plus): New method.
30340 (precision): Likewise.
30341 (valueOf): Likewise.
30342 (numDigitsInLong): New implementation method.
30344 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30346 * java/math/MathContext.java: New class.
30347 * java/math/RoundingMode: New Enum.
30349 2006-02-21 Mark Wielaard <mark@klomp.org>
30351 * java/awt/Component.java (translateEvent): Translate
30352 AdjustmentEvents to 1.0 Events.
30353 * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
30354 Call setValue() before processing event.
30355 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
30356 whether we are currently changing and being called back from the
30357 Scrollbar component.
30358 (setBarValues): New native method.
30359 (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
30360 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
30361 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
30362 Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
30363 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
30365 2006-02-21 Roman Kennke <kennke@aicas.com>
30367 * javax/swing/text/View.java
30368 (setParent): Set child parent to null when disconnecting
30369 the view from the View hierarchy.
30371 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30373 * javax/print/StreamPrintService.java: Added and enhanced documentation.
30375 2006-02-21 Roman Kennke <kennke@aicas.com>
30377 * javax/swing/text/WrappedPlainView.java
30378 (calculateBreakPosition): Changed to use the view's allocation instead
30379 of the container's preferredSize.
30381 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30383 * java/awt/CardLayout.java:
30384 (first): Updated api documentation.
30387 (previous): Likewise.
30388 (show): Clarified api docs. Return if name is null. Throw
30389 IllegalArgumentException if layout of container is not this.
30390 (gotoComponent): Updated api documentation. Throw
30391 IllegalArgumentException if layout of container is not this.
30393 2006-02-21 Roman Kennke <kennke@aicas.com>
30395 * javax/swing/text/NavigationFilter.java
30396 (getNextVisualPositionFrom): New method.
30398 2006-02-21 Roman Kennke <kennke@aicas.com>
30400 * javax/swing/plaf/basic/BasicTextUI.java
30401 (RootView.setView): Call setParent() on the view with this as
30402 argument instead of null.
30403 (setView): Don't set root view's parent here.
30405 2006-02-21 Roman Kennke <kennke@aicas.com>
30407 * javax/swing/text/AbstractDocument.java
30408 (AbstractElement.getAttribute): Use getResolveParent() to fetch
30409 the resolving parent.
30410 (AbstractElement.getResolveParent): Fixed to handle possible null
30412 * javax/swing/text/BoxView.java
30413 (childReqs): New field.
30414 (paint): Added debugging code (commented out).
30415 (getPreferredSpan): Rewritten to use new update* methods.
30416 (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
30417 for the minor axis and preferredSpan for the major axis.
30418 (getMinimumSpan): Rewritten to use new update* methods.
30419 (baselineRequirements): Rewritten to avoid creation of
30420 unnecessary SizeRequirements objects.
30421 (baselineLayout): Rewritten to use new update* methods.
30422 (calculateMajorAxisRequirements): Rewritten to avoid creation of
30423 unnecessary SizeRequirements objects.
30424 (calculateMinorAxisRequirements): Rewritten to avoid creation of
30425 unnecessary SizeRequirements objects.
30426 (layout): Some robustness fixes for the layout. Turned AssertionErrors
30428 (layoutMajorAxis): Rewritten to use new update* methods.
30429 (layoutMinorAxis): Rewritten to use new update* methods.
30430 (getChildRequirements): Replaced by the update* methods.
30431 (getAlignment): Use update* methods.
30432 (updateChildRequirements): New methods. Updates the child requirements
30434 (updateRequirements): New methods. Updates the BoxView requirements
30436 * javax/swing/text/DefaultStyledDocument.java
30437 (ElementBuffer.insert): Added warning for illegal replacement operation.
30438 * javax/swing/text/FlowView.java
30439 (layoutRow): When offset doesn't change, return -1.
30440 (LogicalView): Now subclasses BoxView.
30441 (loadChildren): Let the CompositeView.setParent() load the children
30442 of the logicalView.
30443 (calculateMinorRequirements): New overridden method.
30444 * javax/swing/text/GlyphView.java
30445 (DefaultGlyphPainter.paint): Fixed typo.
30446 (startOffset): Made field private.
30447 (endOffset): Made field private.
30448 (paint): Call getStartOffset() and getEndOffset() instead of the
30450 (isStrikeThrough): Fixed typo.
30451 (breakView): Use Utilities.getBreakLocation() to determine best
30453 (changedUpdate): Call preferencedChange on this instead of parent.
30454 (removeUpdate): Call preferencedChange on this instead of parent.
30455 * javax/swing/text/ParagraphView.java
30456 (Row.getAlignment): For Y_AXIS, call super.
30457 (getAlignment): Likewise.
30458 * javax/swing/text/Utilities.java
30459 (getBreakLocation): Set Segment object directly on the BreakIterator.
30460 * javax/swing/text/html/HTML.java
30461 (Attribute): Made class non-serializable and final as specified.
30462 (Attribute(String)): Made constructor private.
30463 (Attribute.compareTo): Removed.
30464 (Attribute.equals): Removed.
30465 (Attribute.hashCode): Removed.
30466 (Tag): Made class non-comparable and non-serializable as specified.
30467 (Tag.compareTo): Removed.
30468 (Tag.equals): Removed.
30469 (Tag.hashCode): Removed.
30470 * javax/swing/text/html/HTMLDocument.java
30471 (HTMLReader.blockOpen): Add tag as name attribute to element.
30472 * javax/swing/text/html/HTMLEditorKit.java
30473 (HTMLFactory.create): Create NullView for <head> tags, removed unused
30475 * javax/swing/text/html/InlineView.java
30476 (setPropertiesFromAttributes): Call super.
30477 * javax/swing/text/html/NullView.java: New class.
30479 2006-02-21 Roman Kennke <kennke@aicas.com>
30482 * javax/swing/text/GapContent.java
30483 (GapContentPosition): Made class private.
30484 (InsertUndo): Made class private.
30485 (UndoRemove): Made class private.
30486 (WeakPositionComparator): New inner class.
30487 (positions): Made field private.
30488 (createPosition): Clear up GC'ed positions before creating
30489 a new one. Store position as WeakReference.
30490 (getPositionsInRange): Changed to handle WeakReference
30492 (setPositionsInRange): Changed to handle WeakReference
30494 (adjustPositionsInRange): Changed to handle WeakReference
30496 (dumpPositions): Handle WeakReference positions.
30497 (clearPositionReferences): New method.
30499 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
30501 * javax/swing/plaf/basic/BasicTextUI.java:
30502 (paint): Remove unneccessary part of the if-expression.
30503 (damageRange): Added case where the range spans multiple lines.
30504 * javax/swing/text/DefaultCaret.java:
30505 (clearHighlight): New method.
30506 (handleHighlight): Removed unneccessary part of the if-expression.
30507 (setDot): Use clearHighlight method.
30508 * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30510 (paint): Prevented calling size() on every loop iteration, fixed
30511 calculation of allocation area bounds.
30512 (getHighlights): Implemented.
30513 (removeHighlight): Mark damaged area in textcomponent.
30514 (addHighlight): Mark damaged area in textcomponent.
30515 (changeHighlight): Mark damaged area in textcomponent.
30516 (DefaultHighlighter.HighlightEntry): Made it a real
30517 Highlighter.Highlight implementation.
30518 (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30521 2006-02-20 Stuart Ballard <stuart.a.ballard@gmail.com>
30523 * java/util/zip/ZipConstants.java
30524 (LOCSIG): Change type to long.
30525 (EXTSIG): Likewise.
30526 (CENSIG): Likewise.
30527 (ENDSIG): Likewise.
30528 * java/util/zip/ZipOutputStream.java
30529 (writeLeInt(long)): New method.
30531 2006-02-21 Michael Koch <konqueror@gmx.de>
30533 * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30535 2006-02-20 Mark Wielaard <mark@klomp.org>
30537 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30538 (begin_drawing_operation): Output stacktrace and return on bad cairo
30540 (end_drawing_operation): Likewise. And reset cairo_t.
30542 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30544 * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30545 in backward selection action.
30547 2006-02-20 Olivier Jolly <olivier.jolly@pcedev.com>
30549 * java/lang/reflect/Proxy.java:
30550 (ProxyData.getProxyData): Skipped overriding of core methods.
30551 (ProxyData.isCoreObjectMethod): New method.
30553 2006-02-20 Mark Wielaard <mark@klomp.org>
30555 * gnu/java/nio/charset/Provider.java (Provider): Package private.
30557 2006-02-20 Roman Kennke <kennke@aicas.com>
30559 * javax/swing/text/html/Option.java: New class.
30561 2006-02-20 Lillian Angel <langel@redhat.com>
30563 * java/swt/Window.java
30564 (show): Calling show() on the owned windows caused problems.
30565 Changed back to get the peer and call setVisible.
30567 2006-02-20 Roman Kennke <kennke@aicas.com>
30569 * javax/swing/plaf/basic/BasicTextUI.java
30570 (damageRange): Implemented this method.
30572 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30574 * javax/swing/text/GapContent.java:
30575 (shiftGapEndUp): Corrected new mark value.
30576 * javax/swing/text/AbstractDocument.java:
30577 (remove): Changed order of operations.
30579 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30581 * javax/swing/text/GapContent.java:
30582 (shiftGapEndUp): Reverted.
30583 * javax/swing/text/AbstractDocument.java:
30584 (remove): Reverted.
30586 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30588 * javax/swing/text/GapContent.java:
30589 (shiftGapEndUp): Corrected new mark value.
30590 * javax/swing/text/AbstractDocument.java:
30591 (remove): Changed order of operations.
30593 2006-02-20 Mark Wielaard <mark@klomp.org>
30595 * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30597 (insert): Likewise.
30598 (addNotify): Add the item after addNotifying it.
30599 * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30600 there is a peer. Use getParent() and setParent() to manipulate parent
30602 (add(Menu)): Use getParent() and setParent() to manipulate parent
30603 field. Call addNotify() and addMenu() when there is a peer.
30604 (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30605 (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30606 when there is a peer.
30607 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30608 (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30609 (setFont): Call setFont(Font).
30610 (setFont(Font)): Document. Only set font when not null.
30611 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30613 (connectSignals): Likewise.
30614 (GtkMenuItemPeer): Document. Don't try to add item. Always call
30616 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30618 (postMenuActionEvent): Document.
30619 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30621 (addItem): Document. Made private.
30622 (addTearOff): Made private.
30623 (connectSignals): New protected overridden method.
30624 (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30625 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30626 (create): Document.
30627 (addMenu): Made private, take GtkMenuPeer as argument and document.
30628 (GtkMenuBarPeer): Document.
30629 (nativeSetHelpMenu): Removed.
30630 (addHelpMenu): Implement.
30631 (delMenu): Document.
30632 (addMenu): Implement.
30633 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30634 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30635 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30636 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30639 2006-02-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30641 * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30642 Expect that proxy interfaces may have different class loaders.
30643 * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30644 * java/rmi/registry/Registry.java,
30645 * java/rmi/server/UnicastRemoteObject.java:
30646 Documented about proxy stubs.
30647 * gnu/java/rmi/server/CombinedClassLoader.java,
30648 java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30649 * NEWS: Added entry.
30651 2006-02-19 Mark Wielaard <mark@klomp.org>
30653 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30654 Parent and Bounds of our children if either or parent is showing, or
30655 we are a Window and are showing ourselves now.
30657 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30659 * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName):
30661 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav:
30662 Another stub name fix.
30664 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30666 * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30667 Call convertStubName. (convertStubName): New method.
30668 * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30669 * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java
30670 (convertStubName): New method.
30671 (getMethodHashCode):
30672 Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30673 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30675 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30677 * java/rmi/server/UnicastRemoteObject.java: Documenting.
30679 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30681 * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30683 2006-02-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30685 * javax/swing/JViewport.java (paintBackingStore): If the component has
30686 not been scrolled, only repaint the buffer part, indicated by
30687 the parameter graphics clip.
30689 2006-02-19 Raif S. Naffah <raif@swiftdsl.com.au>
30691 * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30693 (writePrivateKey): Likewise.
30694 (writeKey): New method.
30695 (getKeyType): Likewise.
30696 * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30698 (readPrivateKey): Likewise.
30699 (getKeyPairCodec): New method.
30700 * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30701 * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30702 * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30703 (RSA_PSS_ENCODING): Likewise..
30704 (RSA_PKCS1_V1_5_ENCODING): Likewise.
30705 (RSA_PSS_SIG): Redefined using other constants.
30706 (RSA_PKCS1_V1_5_SIG): Likewise.
30707 (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30708 * gnu/java/security/util/FormatUtil.java: New file.
30709 * gnu/java/security/sig/SignatureFactory.java (names): New field.
30710 (getInstance): Let RSASignatureFactory handle RSA signature names.
30711 (getNames): Handle new RSA signature (with format) names.
30712 * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30713 * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30715 (name): Include hash algorithm name.
30716 * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30717 * gnu/java/security/sig/rsa/RSAPSSSignature.java
30718 (RSAPSSSignature): Call constructor with IMessageDigest.
30719 (RSAPSSSignature(ImessageDigest,int)): New constructor.
30720 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30722 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30724 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30725 (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30726 (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30727 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30728 hash algorithm name to exception.
30729 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30730 * gnu/java/security/key/KeyPairCodecFactory.java
30731 (names): New class field.
30732 (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30733 (getInstance(String,String)): New method.
30734 (getInstance(String,int)): New method.
30735 (getInstance(byte[])): Removed.
30736 (getInstance(Key)): Handle new formats.
30737 (getNames): Likewise.
30738 (getEncodingName(int)): Moved to FormatUtil.
30739 (getEncodingShortName(int)): Likewise.
30740 (getRawCodec(String)): New method.
30741 (getX509Codec(String)): Likewise.
30742 (getPKCS8Codec(String)): Likewise.
30743 (getRawCodec(Key)): Likewise.
30744 (getX509Codec(Key)): Likewise.
30745 (getPKCS8Codec(Key)): Likewise.
30746 * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30747 * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30748 * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30749 * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30750 * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30751 * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30752 * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30753 * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30754 * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30756 2006-02-18 Mark Wielaard <mark@klomp.org>
30758 * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30760 (NoDragGestureRecognizer): New static class.
30761 (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30762 Toolkit doesn't support drag and drop.
30764 2006-02-18 Mark Wielaard <mark@klomp.org>
30766 * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30767 (AbstractAction(String)): Just call putValue() for NAME.
30768 (putValue): Nothing to do is old and new value are both null.
30770 2006-02-18 Mark Wielaard <mark@klomp.org>
30772 * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30773 through getContentPane().
30774 (preferredLayoutSize): Likewise.
30776 2006-02-18 Mark Wielaard <mark@klomp.org>
30778 * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30779 actually set before painting.
30781 2006-02-18 Mark Wielaard <mark@klomp.org>
30783 * javax/swing/text/html/HTMLDocument.java (addContent):
30784 Fully qualify AbstractDocument.AttributeContext and
30785 DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30787 2006-02-18 Mark Wielaard <mark@klomp.org>
30789 * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30790 (getRepresentationClassFromMime): Add exception cause to
30791 IllegalArgumentException.
30793 2006-02-17 Lillian Angel <langel@redhat.com>
30795 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30796 Removed unneeded import.
30797 * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30798 Removed unneeded imports.
30799 * java/awt/BorderLayout.java:
30800 Fixed comment, this is not yet handled in the JDK 1.5.
30801 * java/awt/Container.java:
30802 Removed unneeded import.
30804 2006-02-17 Lillian Angel <langel@redhat.com>
30806 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30807 (setBounds): Removed check. Coordinates should always be changed
30808 to incorporate the parent's coordinates.
30809 * gnu/java/awt/peer/gtk/GtkFramePeer.java
30810 (setMenuBar): Added checks. Don't validate component if it has
30811 not been validated yet, it will be validated later. Only validate
30812 if it has already been validated, in that case it needs to be
30814 * java/awt/Window.java
30815 (show): Added check. If the window is visible, then bring it to the
30816 front. Otherwise, iterate through all its children windows and show them.
30817 No need to do both.
30819 2006-02-17 Roman Kennke <kennke@aicas.com>
30821 * javax/swing/text/html/ParagraphView.java: New file.
30823 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30825 * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
30826 is included. (moveToCellBeingEdited): Adjusted to start editing at the
30827 same location where was the initial text.
30828 * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
30830 2006-02-17 Chris Burdess <dog@gnu.org>
30832 Fixes PRs 26319, 26320, 26321, 26322, 26325
30833 * gnu/xml/stream/SAXParser.java: On error, reset parser before
30834 rethrowing exception.
30835 * gnu/xml/stream/XMLParser.java: Only report "illegal use of
30836 1.1-style prefix unbinding in 1.0 document" error for xmlns
30837 prefixes, not xmlns attributes. Fix a problem with empty namespace
30838 stack at the end of a document. Permit parameter entity references
30839 in element and attribute-list definition name area. Corrected
30840 normalisation of whitespace character entity references in CDATA
30841 attribute values. Fixed number of characters read following a
30842 reset when detecting end of character data with characters after a
30843 Unicode surrogate pair.
30845 2006-02-17 Roman Kennke <kennke@aicas.com>
30847 * javax/swing/text/html/HTMLEditorKit.java
30848 (HTMLFactory.create): Create InlineView for content tags.
30849 * javax/swing/text/html/HTMLDocument.java
30850 (HTMLReader.flush): Call create() on first flush and insert
30851 on subsequent flushes.
30853 2006-02-17 Roman Kennke <kennke@aicas.com>
30855 * javax/swing/text/AbstractDocument.java
30856 (BranchElement.getStartOffset): Implemented workaround for wrong
30858 (BranchElement.getEndOffset): Implemented workaround for wrong
30860 (ElementBuffer.split): Use createBranchElement() instead of
30861 new BranchElement().
30862 (ElementBuffer.insertFracture): Use createBranchElement() instead of
30863 new BranchElement().
30864 (ElementBuffer.recreateAfterFracture): Use createBranchElement()
30865 instead of new BranchElement().
30866 (createDefaultRoot): Use createBranchElement() and createLeafElement
30867 instead of the constructors.
30868 (create): Rewritten.
30870 2006-02-17 Keith Seitz <keiths@redhat.com>
30872 * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
30873 (SIZE): New constant.
30874 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30875 (executeIDsizes): Use SIZE constant.
30876 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
30877 (SIZE): New constant.
30879 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30881 * javax/swing/JTable.java (IconCellRenderer): Set the component
30882 text to empty string. (createDefaultRenderers): Register
30883 IconCellRenderer also for ImageIcon.
30884 (getCellEditor(int, int), getCellRenderer(int, int)):
30885 Use model index for data model and column index for column model.
30886 (getColumnClass): Convert to model index before requesting class
30889 2006-02-17 Roman Kennke <kennke@aicas.com>
30891 * javax/swing/text/html/HTMLDocument.java
30892 (createDefaultRoot): Implemented.
30893 (createLeafElement): Implemented.
30894 (createBranchElement): Implemented.
30895 (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
30896 (RunElement.getName): Fixed to handle HTML.Tag objects as name.
30897 (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
30898 (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
30899 (HTMLReader.blockOpen): Add name attribute with the current tag.
30900 (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
30902 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30904 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30906 * javax/swing/table/JTableHeader.java: Documenting related methods.
30908 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30911 * gnu/java/net/protocol/ftp/FTPURLConnection.java
30912 (connect): Changed to use SystemProperties.
30913 (getInputStream): Try changeWorkingDirectory to figure out if
30914 url is a directory, if not use retrieve.
30915 (getOutputStream): Don't worry about directories, simply always
30918 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30920 * gnu/java/net/protocol/ftp/ActiveModeDTP.java
30921 (ActiveModeDTP): Mark accept thread as daemon.
30923 2006-02-17 Michael Koch <konqueror@gmx.de>
30925 * tools/.cvsignore: Ignore tools.zip.
30927 2006-02-16 Keith Seitz <keiths@redhat.com>
30929 * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
30930 Set the ID's reference.
30931 (<clinit>): Remove comments for field, method, and frame ID types,
30932 which will not be handled by VMIdManager.
30934 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30936 * javax/swing/JTable.java (getCellEditor, getCellRenderer):
30937 Use model index, not the column number.
30938 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30939 Rewritten. (draggingHeaderRect): New field. (paint): Animate column
30940 movement by painting draggingHeaderRect.
30941 * NEWS: Added entry about JTable columns.
30943 2006-02-16 Keith Seitz <keiths@redhat.com>
30945 * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
30946 default size of eight bytes.
30947 * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
30948 * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
30949 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30950 (executeIDsizes): Use new static methods.
30951 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
30954 2006-02-16 David Daney <ddaney@avtrex.com>
30957 * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
30958 return value with 0xff.
30960 2006-02-16 Keith Seitz <keiths@redhat.com>
30962 * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
30963 (matches): Use Iterator instead of ListIterator.
30965 2006-02-16 Keith Seitz <keiths@redhat.com>
30967 * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
30968 processor thread for easier debugging.
30969 (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
30972 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30974 * javax/swing/JTable.java
30975 (TableColumnPropertyChangeHandler.propertyChange): Return without
30976 action if table header resizing column in not null. (doLayout):
30977 Only repaint the header if it is not null.
30978 * javax/swing/plaf/basic/BasicTableHeaderUI.java
30979 (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
30980 Rewritten. (MouseInputHandler.endResizing): New method.
30982 2006-02-16 Roman Kennke <kennke@aicas.com>
30984 * javax/swing/text/html/InlineView.java: New file.
30986 2006-02-16 Roman Kennke <kennke@aicas.com>
30988 * javax/swing/JTabbedPane.java
30989 (AccessibleJTable.getAccessibleChild): Implemented to return
30990 the Page instance for the specified index.
30991 (Page): Changed to implement Accessible and extend
30993 (Page.getAccessibleContext): New method.
30994 (Page.getAccessibleRole): New method.
30995 (Page.getAccessibleStateSet): New method.
30996 (Page.getAccessibleIndexInParent): New method.
30997 (Page.getAccessibleChildrenCount): New method.
30998 (Page.getAccessibleChild): New methdod.
30999 (Page.getLocale): New method.
31001 2006-02-16 Roman Kennke <kennke@aicas.com>
31003 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
31004 (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
31005 tabCount gets greater than tabRuns.length.
31006 (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
31007 when tabCount gets greater than tabRuns.length.
31008 (paintTabArea): Don't set tabCount == runCount.
31010 2006-02-16 Roman Kennke <kennke@aicas.com>
31012 * javax/swing/plaf/basic/BasicTextUI.java
31013 (installUI): Moved installation of PropertyChangeListener
31014 to installListeners(). Call modelChanged() after everything is
31016 (installListeners): Install PropertyChangeListener here.
31017 (uninstallUI): Moved uninstallation of PropertyChangeListener
31018 to uninstallListeners.
31019 (uninstallListeners): Uninstall PropertyChangeListener here.
31021 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31023 * javax/swing/JTable.java (doLayout):
31024 case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
31026 javax/swing/plaf/basic/BasicTableHeaderUI.java
31027 (MouseInputHandler.mouseDragged): Do not repaint the header.
31029 2006-02-16 Roman Kennke <kennke@aicas.com>
31031 * javax/swing/JViewport.java
31032 (static_initializer): Set default scrollMode to backingstore.
31034 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31036 * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
31037 returned by getCellRect. To not translate the component.
31039 2006-02-16 Roman Kennke <kennke@aicas.com>
31041 * javax/swing/JComponent.java
31042 (rectCache): Made field non-static to avoid nasty interferences.
31043 (computeVisibleRect): Avoid creation of new Rectangles and double
31044 calculations on ints by using Swing.computeIntersection() instead
31045 of Rectangle2D.intersect().
31046 (repaint): Interect the dirty region with the visible rectangle
31047 of this component to avoid unnecessary painting.
31049 2006-02-16 Gary Benson <gbenson@redhat.com>
31051 * java/lang/Thread.java (stop): Add a missing access check.
31053 2006-02-16 Robert Schuster <robertschuster@fsfe.org>
31055 * javax/swing/text/JTextComponent.java:
31056 (replaceSelection): Added code to update the magic caret position.
31057 * javax/swing/text/DefaultEditorKit.java: Added code to update
31058 the magic caret position of the text component in all relevant
31059 movement actions, make use of the magic caret position in up
31060 and down movements and selections, simplified some actions
31063 2006-02-15 Anthony Balkissoon <abalkiss@redhat.com>
31065 * gnu/java/lang/CharData.java: Regenerated from
31066 doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
31067 and scripts/unicode-muncher.pl.
31068 * java/lang/Character.java:
31069 (PrivateUseCharacters): New private static class.
31070 (UnassignedCharacters): Likewise.
31071 (blocks): Changed from char[] to char[][] to reflect the changes in
31072 gnu/java/lang/CharData. There is now one char[] per Unicode code
31075 (numValue): Likewise.
31078 (direction): Likewise.
31079 (readChar): Replaced this method with new method readCodePoint.
31080 (readCodePoint): New method.
31081 (isLowerCase(char)): Redirected to new isLowerCase(int).
31082 (isLowerCase(int)): New method.
31083 (isUpperCase(char)): Redirected to new isUpperCase(int).
31084 (isUpperCase(int)): New method.
31085 (isTitleCase(char)): Redirected to new isTitleCase(int).
31086 (isTitleCase(int)): New method.
31087 (isDigit(char)): Redirected to new isDigit(int).
31088 (isDigit(int)): New method.
31089 (isDefined(char)): Redirected to new isDefined(int).
31090 (isDefined(int)): New method.
31091 (isLetter(char)): Redirected to new isLetter(int).
31092 (isLetter(int)): New method.
31093 (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
31094 (isLetterOrDigit(int)): New method.
31095 (isJavaIdentifierStart(char)): Redirected to new
31096 isJavaIdentifierStart(int).
31097 (isJavaIdentifierStart(int)): New method.
31098 (isJavaIdentifierPart(char)): Redirected to new
31099 isJavaIdentifierPart(int).
31100 (isJavaIdentifierPart(int)): New method.
31101 (isUnicodeIdentifierStart(char)): Redirected to new
31102 isUnicodeIdentifierStart(int).
31103 (isUnicodeIdentifierStart(int)): New method.
31104 (isUnicodeIdentifierPart(char)): Redirected to new
31105 isUnicodeIdentifierPart(int).
31106 (isUnicodeIdentifierPart(int)): New method.
31107 (isIdentifierIgnorable(char)): Redirected to new
31108 isIdentifierIgnorable(int).
31109 (isIdentifierIgnorable(int)): New method.
31110 (toLowerCase(char)): Changed access to lower to correspond with new
31111 char[][] type of lower.
31112 (toLowerCase(int)) New method.
31113 (toUpperCase(char)): Changed access to upper to correspond with new
31114 char[][] type of upper.
31115 (toUpperCase(int)): New method.
31116 (toTitleCase(int)): New method.
31117 (digit(char, int)): Replaced call to readChar with call to
31118 readCodePoint and changed access to numValue to reflect new char[][]
31120 (digit(int, int)): New method.
31121 (getNumericValue(char)): Changed access to numValue to reflect new
31122 char[][] type of numValue.
31123 (getNumericValue(int)): New method.
31124 (isSpaceChar(char)): Redirected to new isSpaceChar(int).
31125 (isSpaceChar(int)): New method.
31126 (isWhitespace(char)): Redirected to new isWhitespace(int).
31127 (isWhitespace(int)): New method.
31128 (isISOControl(char)): Redirected to new isISOControl(int).
31129 (isISOControl(int)): New method.
31130 (getType(char)): Redirected to new getType(int).
31131 (getType(int)): New method.
31132 (getDirectionality(char)): Redirected to new getDirectionality(int).
31133 (getDirectionality(int)): New method.
31134 (isMirrored(char)): Changed call to readChar to readCodePoint.
31135 (isMirrored(int)): New method.
31136 * java/lang/String.java:
31137 (upperCaseExpansion): Changed access to Character.direction to reflect
31138 new char[][] type of direction.
31139 (offsetByCodePoints): New method.
31140 * scripts/unicode-muncher.pl: Adapted this script to handle Unicode
31141 4.0.0 which introduced supplementary character assignments.
31143 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31145 * javax/swing/JTable.java,
31146 javax/swing/plaf/basic/BasicTableHeaderUI.java,
31147 javax/swing/table/DefaultTableModel.java: Documented.
31149 2006-02-15 Lillian Angel <langel@redhat.com>
31151 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
31152 Removed duplicate methods.
31154 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31156 * javax/swing/JTable.java (distributeSpillResizing): New method.
31157 (doLayout): Use distributeSpillResizing when resizing.
31158 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31159 Rewritten. (installListeners): Add mouse motion listener.
31160 (uninstallListeners): Remove mouse motion listener.
31162 2006-02-15 Lillian Angel <langel@redhat.com>
31164 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31165 (setVisible): Removed method.
31166 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31167 (setLocation): New method.
31168 (setLocationUnlocked): New method.
31169 (show): Changed to use setLocation instead of setBounds.
31170 * java/awt/Component.java
31171 (show): Should call peer.show(), not peer.setVisible(), so the
31172 location of the component is correctly set.
31173 (preferredSize): Added curly braces so else statements are
31174 properly associated with if's.
31175 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31176 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation):
31178 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
31179 LocationUnlocked): New function.
31180 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
31181 Added declarations for Java_gnu_java_awt_peer_gtk_
31182 GtkWindowPeer_nativeSetLocation and
31183 Java_gnu_java_awt_peer_gtk_GtkWindowPeer
31184 _nativeSetLocationUnlocked.
31186 2006-02-15 Mark Wielaard <mark@klomp.org>
31188 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31189 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31190 Downcast gtk_plug_new result when used.
31192 2006-02-15 Olivier Jolly <olivier.jolly@pcedev.com>
31194 * java/io/ObjectOutputStream.java (writeClassDescriptor):
31195 Call assignNewHandle() after writing Proxy class.
31197 2006-02-15 Olivier jolly <olivier.jolly@pcedev.com>
31200 * java/io/ObjectInputStream.java (readClassDescriptor):
31201 Class doesn't have to be abstract for first_nonserial.
31203 2006-02-15 Roman Kennke <kennke@aicas.com>
31205 * javax/swing/JInternalFrame.java
31206 (setClosed): Call dispose to actually make the frame invisible
31209 2006-02-15 Roman Kennke <kennke@aicas.com>
31211 * javax/swing/JInternalFrame.java
31212 (dispose): Call setVisible(false) instead of hide.
31213 (doDefaultCloseOperation): Likewise.
31215 2006-02-15 Roman Kennke <kennke@aicas.com>
31217 * javax/swing/JComponent.java
31218 (paintChildren): Also check for the visibility of a child component
31219 to avoid artifacts.
31220 (repaint): Simply add this component to the RepaintManager rather than
31221 trying to do useless optimization here.
31223 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
31225 * javax/swing/JSpinner.java
31226 (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a
31227 PropertyChangeListener,
31228 (DefaultEditor.getSpinner): Updated API docs,
31229 (DefaultEditor.dismiss): Likewise,
31230 (DefaultEditor.getTextField): Likewise,
31231 (DefaultEditor.layoutContainer): Likewise,
31232 (DefaultEditor.minimumLayoutSize): Likewise,
31233 (DefaultEditor.preferredLayoutSize): Likewise,
31234 (DefaultEditor.propertyChange): Implemented,
31235 (DefaultEditor.stateChanged): Implemented,
31236 (DefaultEditor.removeLayoutComponent): Updated API docs,
31237 (DefaultEditor.addLayoutComponent): Likewise,
31238 (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
31239 (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
31240 (NumberEditor.getFormat): Implemented,
31241 (NumberEditor.getModel): Updated API docs,
31242 (NumberEditorFormatter): New static inner class,
31243 (ListEditor.getModel): Updated API docs,
31244 (DateEditor.dateFormat): Removed,
31245 (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
31246 (DateEditor.DateEditor(JSpinner, String)): Likewise,
31247 (DateEditor.init): Removed,
31248 (DateEditor.getFormat): Reimplemented,
31249 (DateEditorFormatter): New static inner class,
31250 (ModelListener): New inner class,
31251 (model): Updated API docs,
31252 (editor): Likewise,
31253 (listener): Removed,
31254 (JSpinner()): Updated API docs,
31255 (JSpinner(SpinnerModel)): Set up ModelListener,
31256 (setEditor): Fire property change,
31257 (getModel): Updated API docs,
31258 (setModel): Removed check for null editor,
31259 (setValue): Updated API docs,
31260 (getUIClassID): Updated API docs,
31261 (createEditor): Handle SpinnerListModel case,
31262 * javax/swing/plaf/basic/BasicSpinnerUI.java
31263 (createUI): Updated API docs,
31264 (createPropertyChangeListener): Added FIXME,
31265 (installDefaults): Set text field border to null,
31266 (DefaultLayoutManager): Updated API docs,
31267 (DefaultLayoutManager.layoutContainer): Modified layout,
31268 (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
31269 (DefaultLayoutManager.preferredLayoutSize): Likewise,
31270 (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
31271 (DefaultLayoutManager.addLayoutComponent): Likewise,
31272 (DefaultLayoutManager.minSize): Renamed prefSize,
31273 (DefaultLayoutManager.setBounds): Reformatted,
31274 (DefaultLayoutManager.editor): Added API docs,
31275 (DefaultLayoutManager.next): Likewise,
31276 (DefaultLayoutManager.previous): Likewise,
31277 * javax/swing/plaf/metal/MetalLookAndFeel.java
31278 (initComponentDefaults): Added entry for 'Spinner.border',
31279 * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
31281 2006-02-15 Chris Burdess <dog@gnu.org>
31283 * gnu/xml/validation/datatype/BooleanType.java,
31284 gnu/xml/validation/datatype/ByteType.java,
31285 gnu/xml/validation/datatype/DateTimeType.java,
31286 gnu/xml/validation/datatype/DateType.java,
31287 gnu/xml/validation/datatype/DecimalType.java,
31288 gnu/xml/validation/datatype/DoubleType.java,
31289 gnu/xml/validation/datatype/DurationType.java,
31290 gnu/xml/validation/datatype/FloatType.java,
31291 gnu/xml/validation/datatype/GDayType.java,
31292 gnu/xml/validation/datatype/GMonthDayType.java,
31293 gnu/xml/validation/datatype/GMonthType.java,
31294 gnu/xml/validation/datatype/GYearMonthType.java,
31295 gnu/xml/validation/datatype/GYearType.java,
31296 gnu/xml/validation/datatype/IntType.java,
31297 gnu/xml/validation/datatype/IntegerType.java,
31298 gnu/xml/validation/datatype/LongType.java,
31299 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31300 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31301 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31302 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31303 gnu/xml/validation/datatype/NegativeIntegerType.java,
31304 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31305 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31306 gnu/xml/validation/datatype/PositiveIntegerType.java,
31307 gnu/xml/validation/datatype/ShortType.java,
31308 gnu/xml/validation/datatype/SimpleType.java,
31309 gnu/xml/validation/datatype/TimeType.java,
31310 gnu/xml/validation/datatype/TypeBuilder.java,
31311 gnu/xml/validation/datatype/UnsignedByteType.java,
31312 gnu/xml/validation/datatype/UnsignedIntType.java,
31313 gnu/xml/validation/datatype/UnsignedLongType.java,
31314 gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
31315 objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
31316 minInclusive facets use the value space of the base type, and
31319 2006-02-15 Mark Wielaard <mark@klomp.org>
31321 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31322 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31323 gtk_plug_new() returns a GtkWindow.
31325 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
31327 * javax/swing/SpinnerNumberModel.java
31328 (getNextValue): Check for null maximum,
31329 (getPreviousValue): Check for null minimum.
31331 2006-02-15 Roman Kennke <kennke@aicas.com>
31333 * javax/swing/plaf/basic/BasicTableUI.java
31334 (paint): Paint vertical and horizontal lines one pixel shifted
31337 2006-02-15 Jeroen Frijters <jeroen@frijters.net>
31339 * java/util/zip/ZipFile.java
31340 (checkZipFile): Inlined readLeInt and rewritten for robustness.
31341 (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
31342 readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
31343 (readEntries): Rewritten to use PartialInputStream.
31344 (locBuf, checkLocalHeader): Removed.
31345 (getInputStream): Rewritten to use new PartialInputStream.
31346 (PartialInputStream): Rewritten to do buffering.
31348 2006-02-15 Michael Koch <konqueror@gmx.de>
31350 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31351 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31352 Make sure the embedded window gets no decorations.
31353 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31354 (window_get_frame_extents): Return early of the window has no
31357 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31359 * examples/gnu/classpath/examples/swing/TableDemo.java
31360 (TModel, createContent): Explain which value appears in the header.
31361 * javax/swing/JTable.java (setColumnModel): Only set the
31362 column header value if the getHeaderValue() returns null.
31364 2006-02-14 Mark Wielaard <mark@klomp.org>
31367 * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
31368 (getErrorImage): New static method.
31369 * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
31370 (bufferedImageOrError): Renamed to ...
31371 (imageOrError): Renamed from bufferedImageOrError, takes Image.
31372 Returns GtkImage.getErrorImage() when argument null.
31373 (createImage(String)): Always use imageOrError.
31374 (createImage(URL)): Likewise.
31375 (createImage(ImageProducer)): Likewise.
31376 (createImage(byte[],int,int)): Likewise.
31378 2006-02-14 Roman Kennke <kennke@aicas.com>
31380 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
31382 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
31383 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
31384 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
31385 * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
31386 * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
31388 2006-02-14 Roman Kennke <kennke@aicas.com>
31390 * javax/swing/text/AsyncBoxView.java
31391 (ChildState.locator): Removed wrong field.
31392 (ChildState): Removed initialization of removed field.
31393 (locator): Changed access modifier to be protected as specified.
31395 2006-02-14 Roman Kennke <kennke@aicas.com>
31397 * javax/swing/ToolTipManager.java: Removed unneeded imports.
31398 * javax/swing/Timer.java: Some small reindention.
31399 (task): Made package private to avoid synthetic accessor method.
31401 2006-02-14 Roman Kennke <kennke@aicas.com>
31403 * javax/swing/SwingUtilities.java
31404 (layoutCompoundLabel): Dont set textIconGap to 0 when there is
31407 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31409 * examples/gnu/classpath/examples/swing/TableDemo.java:
31410 Making the columns variable width.
31411 * javax/swing/JTable.java (distributeSpill, doLayout):
31412 Call getPreferredSize and not getSize().
31414 2006-02-14 Roman Kennke <kennke@aicas.com>
31416 * javax/swing/DefaultCellEditor.java
31417 (DefaultCellEditor): API doc fixlet.
31419 2006-02-14 Roman Kennke <kennke@aicas.com>
31421 * javax/swing/JViewport.java
31422 (isPaintRoot): New field.
31423 (repaint): Only call super here. Also added a comment regarding
31424 the diversion from the JDK.
31425 (paintBlit): Implemented real blitting.
31426 (paintImmediately2): New method. Overrides the same package private
31427 method in JComponent.
31429 2006-02-14 Roman Kennke <kennke@aicas.com>
31431 * javax/swing/plaf/basic/BasicTableUI.java
31432 (paint): Check for boundary cases when determining the painting
31435 2006-02-14 Mark Wielaard <mark@klomp.org>
31437 * java/awt/Menu.java (add): Always set parent of item to this. Call
31438 addNotify() on item when we have a MenuPeer already.
31439 (insert): Always adjust parent for item. Call addNotify() on item if
31440 we already have a peer.
31441 (remove(int)): Always clear item parent. Call removeNotify() on item
31444 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31446 * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed
31447 row == getRowCount().
31449 2006-02-14 Lillian Angel <langel@redhat.com>
31451 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31452 (setVisible): New method to override super. Need to set the
31453 native bounds of the component, so it appears at the
31456 2006-02-14 Mark Wielaard <mark@klomp.org>
31458 * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31459 (remove): If menu component is the current MenuBar remove it,
31460 otherwise call super.remove().
31461 * java/awt/MenuBar.java (frame): Remove field.
31462 * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31464 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31466 * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31467 to NameServicePersistent.
31468 * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31469 * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31471 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31473 * NEWS: Updated tool status.
31474 * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31475 (constructor, bind, rebind): Rewritten.
31476 * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31477 * tools/gnu/classpath/tools/giop/README: Updated.
31478 * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31479 tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31480 tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31481 tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31482 tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:
31485 2006-02-14 David Gilbert <david.gilbert@object-refinery.com>
31487 * javax/swing/JComponent.java
31488 (getListeners): Check for PropertyChangeListener.class and delegate to
31489 getPropertyChangeListeners() for that case.
31491 2006-02-13 Roman Kennke <kennke@aicas.com>
31493 * javax/swing/plaf/basic/BasicTableUI.java
31494 (paint): Determine the cells that need painting based on the
31495 current clip. Use getCellRect() for calculating the cell
31498 2006-02-13 Roman Kennke <kennke@aicas.com>
31500 * javax/swing/JTable.java
31501 (rectCache): New field.
31502 (getCellRect): Returns cached Rectangle instance.
31504 2006-02-13 Roman Kennke <kennke@aicas.com>
31506 * javax/swing/JLayeredPane.java
31507 (removeAll): New method. Avoid potential memory leak.
31508 (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31511 2006-02-14 Stuart Ballard <stuart.a.ballard@gmail.com>
31513 * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31514 * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31516 2006-02-13 Tom Tromey <tromey@redhat.com>
31518 * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31519 * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31521 2006-02-13 Roman Kennke <kennke@aicas.com>
31523 * javax/swing/RepaintManager.java
31524 (offscreenBuffers): New field.
31525 (doubleBuffer): Removed field.
31526 (repaintUnderway): New field.
31527 (commitRequests): New field.
31528 (RepaintManager): Initialize new fields.
31529 (paintDirtyRegions): Handle repaintUnderway flag. Commit
31531 (getOffscreenBuffer): Returns the offscreen buffer for the
31532 corresponding root component.
31533 (commitBuffer): New method.
31534 (commitRemainingBuffers): New method.
31535 * javax/swing/JComponent.java
31536 (paint): Call paintDoubleBuffered with the current clip.
31537 (paintImmediately2): Don't paint on screen here.
31538 (paintDoubleBuffered): Rewritten for real double buffering.
31539 (paintSimple): Draw to screen in this method.
31541 2006-02-13 Roman Kennke <kennke@aicas.com>
31543 * javax/swing/JRootPane.java
31544 (JRootPane): Set opaque property to true.
31546 2006-02-13 Tom Tromey <tromey@redhat.com>
31548 * .classpath: Updated for external/relaxngDatatype.
31550 2006-02-13 Chris Burdess <dog@gnu.org>
31552 * gnu/xml/stream/UnicodeReader.java,
31553 gnu/xml/validation/datatype/Annotation.java,
31554 gnu/xml/validation/datatype/AnySimpleType.java,
31555 gnu/xml/validation/datatype/AnyType.java,
31556 gnu/xml/validation/datatype/AnyURIType.java,
31557 gnu/xml/validation/datatype/AtomicSimpleType.java,
31558 gnu/xml/validation/datatype/Base64BinaryType.java,
31559 gnu/xml/validation/datatype/BooleanType.java,
31560 gnu/xml/validation/datatype/ByteType.java,
31561 gnu/xml/validation/datatype/DateTimeType.java,
31562 gnu/xml/validation/datatype/DateType.java,
31563 gnu/xml/validation/datatype/DecimalType.java,
31564 gnu/xml/validation/datatype/DoubleType.java,
31565 gnu/xml/validation/datatype/DurationType.java,
31566 gnu/xml/validation/datatype/EntitiesType.java,
31567 gnu/xml/validation/datatype/EntityType.java,
31568 gnu/xml/validation/datatype/EnumerationFacet.java,
31569 gnu/xml/validation/datatype/Facet.java,
31570 gnu/xml/validation/datatype/FloatType.java,
31571 gnu/xml/validation/datatype/FractionDigitsFacet.java,
31572 gnu/xml/validation/datatype/GDayType.java,
31573 gnu/xml/validation/datatype/GMonthDayType.java,
31574 gnu/xml/validation/datatype/GMonthType.java,
31575 gnu/xml/validation/datatype/GYearMonthType.java,
31576 gnu/xml/validation/datatype/GYearType.java,
31577 gnu/xml/validation/datatype/HexBinaryType.java,
31578 gnu/xml/validation/datatype/IDRefType.java,
31579 gnu/xml/validation/datatype/IDRefsType.java,
31580 gnu/xml/validation/datatype/IDType.java,
31581 gnu/xml/validation/datatype/IntType.java,
31582 gnu/xml/validation/datatype/IntegerType.java,
31583 gnu/xml/validation/datatype/LanguageType.java,
31584 gnu/xml/validation/datatype/LengthFacet.java,
31585 gnu/xml/validation/datatype/ListSimpleType.java,
31586 gnu/xml/validation/datatype/LongType.java,
31587 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31588 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31589 gnu/xml/validation/datatype/MaxLengthFacet.java,
31590 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31591 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31592 gnu/xml/validation/datatype/MinLengthFacet.java,
31593 gnu/xml/validation/datatype/NCNameType.java,
31594 gnu/xml/validation/datatype/NMTokenType.java,
31595 gnu/xml/validation/datatype/NMTokensType.java,
31596 gnu/xml/validation/datatype/NameType.java,
31597 gnu/xml/validation/datatype/NegativeIntegerType.java,
31598 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31599 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31600 gnu/xml/validation/datatype/NormalizedStringType.java,
31601 gnu/xml/validation/datatype/NotationType.java,
31602 gnu/xml/validation/datatype/PatternFacet.java,
31603 gnu/xml/validation/datatype/PositiveIntegerType.java,
31604 gnu/xml/validation/datatype/QNameType.java,
31605 gnu/xml/validation/datatype/ShortType.java,
31606 gnu/xml/validation/datatype/SimpleType.java,
31607 gnu/xml/validation/datatype/StringType.java,
31608 gnu/xml/validation/datatype/TimeType.java,
31609 gnu/xml/validation/datatype/TokenType.java,
31610 gnu/xml/validation/datatype/TotalDigitsFacet.java,
31611 gnu/xml/validation/datatype/Type.java,
31612 gnu/xml/validation/datatype/TypeBuilder.java,
31613 gnu/xml/validation/datatype/TypeLibrary.java,
31614 gnu/xml/validation/datatype/TypeLibraryFactory.java,
31615 gnu/xml/validation/datatype/UnionSimpleType.java,
31616 gnu/xml/validation/datatype/UnsignedByteType.java,
31617 gnu/xml/validation/datatype/UnsignedIntType.java,
31618 gnu/xml/validation/datatype/UnsignedLongType.java,
31619 gnu/xml/validation/datatype/UnsignedShortType.java,
31620 gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31621 resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31622 RELAX NG datatype library implementation for XML Schema Datatypes.
31624 2006-02-13 Chris Burdess <dog@gnu.org>
31630 external/Makefile.am,
31631 external/relaxngDatatype/.cvsignore,
31632 external/relaxngDatatype/Makefile.am,
31633 external/relaxngDatatype/README.txt,
31634 external/relaxngDatatype/copying.txt,
31635 external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31636 external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31637 external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31638 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31639 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31640 external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31641 external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31642 external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31643 external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31644 external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31646 lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31647 datatypes library API.
31649 2006-02-13 Mark Wielaard <mark@klomp.org>
31651 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31653 (gtkWidgetModifyFont(Font)): New protected helper method.
31654 (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31655 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31656 protected and document.
31657 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31659 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31661 * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31663 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31664 (setFont): Removed method. Done in GtkMenuComponent.
31665 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31666 abstract and protected.
31667 (setFont): Made private, add implementation.
31668 (setFont(Font)): Implemented.
31669 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31670 Made protected and document.
31671 (create): Made protected.
31672 (setFont): Removed method. Done in GtkMenuComponent.
31673 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31674 (gtkWidgetModifyFont): Made protected and document.
31675 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31676 Removed, similar to GtkGenericPeer super class implementation.
31677 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31678 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31679 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31682 2006-02-13 Mark Wielaard <mark@klomp.org>
31684 * java/lang/Math.java (static): Explicitly call
31685 System.loadLibrary("javalang").
31687 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31689 * javax/print/StreamPrintServiceFactory.java: New file.
31691 2006-02-13 Tom Tromey <tromey@redhat.com>
31693 * tools/.cvsignore: Added Makefile.
31695 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31697 * java/awt/print/PrinterGraphics.java: Reformatted.
31698 * java/awt/print/Paper.java: Likewise.
31699 * java/awt/print/PageFormat.java: Likewise.
31700 * java/awt/print/Pageable.java: Likewise.
31702 2006-02-13 Lillian Angel <langel@redhat.com>
31704 * java/awt/BorderLayout.java
31705 (layoutContainer): Rewrote part of this function to
31706 properly set the bounds of the components.
31707 (setBounds): Removed method, not needed.
31709 2006-02-13 Roman Kennke <kennke@aicas.com>
31711 * javax/swing/text/DefaultStyledDocument.java
31712 (ElementBuffer.clone): Fixed replace call.
31713 (clone): Removed method.
31715 2006-02-13 Roman Kennke <kennke@aicas.com>
31717 * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31719 2006-02-13 Roman Kennke <kennke@aicas.com>
31721 * java/rmi/server/UnicastRemoteObject.java
31722 (exportObject(Remote)): Forward method call to export(Remote,int).
31724 2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
31726 * include/Makefile.am:
31727 Swapped Math.h for VMMath.h
31728 * include/java_lang_Math.h:
31730 * include/java_lang_VMMath.h:
31731 New autogenerated header for the new class.
31732 * java/lang/Math.java:
31733 (sin(double)): Changed to link to VMMath.
31734 (cos(double)): Changed to link to VMMath.
31735 (tan(double)): Changed to link to VMMath.
31736 (asin(double)): Changed to link to VMMath.
31737 (acos(double)): Changed to link to VMMath.
31738 (atan(double)): Changed to link to VMMath.
31739 (atan2(double)): Changed to link to VMMath.
31740 (exp(double)): Changed to link to VMMath.
31741 (log(double)): Changed to link to VMMath.
31742 (sqrt(double)): Changed to link to VMMath.
31743 (pow(double,double)): Changed to link to VMMath.
31744 (IEEEremainder(double,double)): Changed to link to VMMath.
31745 (ceil(double)): Changed to link to VMMath.
31746 (floor(double)): Changed to link to VMMath.
31747 (rint(double)): Changed to link to VMMath.
31748 * native/jni/java-lang/Makefile.am:
31749 Replaced java_lang_Math.c with java_lang_VMMath.c
31750 * native/jni/java-lang/java_lang_Math.c:
31752 * native/jni/java-lang/java_lang_VMMath.c:
31753 Renamed from java_lang_Math.c.
31754 * vm/reference/java/lang/VMMath.java:
31756 (sin(double)): New native method.
31757 (cos(double)): New native method.
31758 (tan(double)): New native method.
31759 (asin(double)): New native method.
31760 (acos(double)): New native method.
31761 (atan(double)): New native method.
31762 (atan2(double)): New native method.
31763 (exp(double)): New native method.
31764 (log(double)): New native method.
31765 (sqrt(double)): New native method.
31766 (pow(double,double)): New native method.
31767 (IEEEremainder(double,double)): New native method.
31768 (ceil(double)): New native method.
31769 (floor(double)): New native method.
31770 (rint(double)): New native method.
31772 2006-02-13 Lillian Angel <langel@redhat.com>
31774 * java/awt/Component.java
31775 (repaint): No need to call isShowing, it is done in the other repaint call.
31776 (repaint): Likewise.
31777 (repaint): Likewise.
31779 2006-02-13 Lillian Angel <langel@redhat.com>
31781 * java/awt/Component.java
31782 (repaint): Reverted last change.
31783 (repaint): Likewise.
31784 (repaint): Likewise.
31786 2006-02-13 Lillian Angel <langel@redhat.com>
31788 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31789 (handleEvent): Made more efficent by handling paint event and
31790 setting the clip for the graphics.
31791 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31792 (handleEvent): Likewise.
31793 * java/awt/Component.java
31794 (repaint): No need to call isShowing, it is done in the other repaint call.
31795 (repaint): Likewise.
31796 (repaint): Likewise.
31798 2006-02-13 Roman Kennke <kennke@aicas.com>
31800 * javax/swing/text/AbstractDocument.java
31801 (setParent): Added API docs. Call setParent(null) on children before
31802 disconnecting this view from the View hierarchy.
31804 2006-02-13 Roman Kennke <kennke@aicas.com>
31806 * javax/swing/text/AbstractDocument.java
31807 (readUnlock): Don't attempt to unlock when the current threads also
31808 holds a write lock.
31810 2006-02-13 David Gilbert <david.gilbert@object-refinery.com>
31812 * javax/swing/plaf/metal/MetalBorders.java
31813 (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31814 (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31816 (Flush3DBorder.borderInsets): New field,
31817 (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
31818 (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for
31819 null insets argument, and populate result from borderInsets,
31820 (PaletteBorder.borderInsets): New field,
31821 (PaletteBorder.getBorderInsets(Component)): Return insets directly,
31822 (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for
31823 null insets argument, and populate result from borderInsets,
31824 (InternalFrameBorder.borderInsets): New field,
31825 (InternalFrameBorder.getBorderInsets(Component)): Return insets
31827 (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check
31828 for null insets argument, and populate result from borderInsets,
31829 (MenuItemBorder.borderInsets): Initialise to correct value.
31831 2006-02-13 Roman Kennke <kennke@aicas.com>
31833 * javax/swing/text/AsyncBoxView.java: New file.
31835 2006-02-13 Ito Kazumitsu <kaz@maczuka.gcd.org>
31838 * gnu/regexp/RE.java(initialize): Parsing of character class expression
31839 was moved to a new method parseCharClass.
31840 (parseCharClass): New method originally in initialize. Added parsing
31841 of nested character classes.
31842 (ParseCharClassResult): New inner class used as a return value of
31844 (getCharExpression),(getNamedProperty): Made static.
31845 * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
31846 * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
31847 nested character classes.
31848 (RETokenOneOf): New constructor accepting the Vector addition.
31849 (getMinimumLength), (getMaximumLength): Returns 1 if the token
31850 stands for only one character.
31851 (match): Added the processing of the Vector addition.
31852 (matchN), (matchP): Do not check next token if addition is used.
31854 2006-02-12 Olivier Jolly <olivier.jolly@pcedev.com>
31856 * AUTHORS: add self.
31858 2006-02-12 Tom Tromey <tromey@redhat.com>
31860 * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
31861 * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
31862 (securityContext): Likewise.
31865 2006-02-12 Dalibor Topic <robilad@kaffe.org>
31869 * gnu/java/net/protocol/file/Connection.java (unquote):
31870 Convert Unicode characters outside basic plane to UTF-8,
31871 rather than throwing an exception.
31873 2006-02-12 Tom Tromey <tromey@redhat.com>
31875 * javax/sound/sampled/LineEvent.java (readObject): New method.
31876 (writeObject): Likewise.
31877 (serialVersionUID): New field.
31879 2006-02-12 Mark Wielaard <mark@klomp.org>
31881 * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
31882 Silently ignores null listener.
31883 (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
31884 (getPropertyChangeListeners): Returns empty PropertyChangeListener
31885 array for null propertyName.
31887 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31889 * java/rmi/MarshalledObject.java: Added api docs to the class.
31890 * java/rmi/Remote.java: Added interface api docs.
31891 * java/rmi/package.html: Added package description.
31892 * java/rmi/AccessException.java: Minor api doc fixes.
31893 * java/rmi/NoSuchObjectException.java: Likewise.
31894 * java/rmi/AlreadyBoundException.java: Likewise.
31895 * java/rmi/RemoteException.java: Likewise.
31896 * java/rmi/NotBoundException.java: Likewise.
31897 * java/rmi/RMISecurityException.java: Likewise.
31898 * java/rmi/StubNotFoundException.java: Likewise.
31900 2006-02-12 Mark Wielaard <mark@klomp.org>
31902 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
31903 q() to get EventQueue.
31904 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
31905 (enableQueue): Remove static method.
31906 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
31907 Don't call GtkGenericPeer.enableQueue().
31909 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31911 * java/rmi/MarshalledObject.java: Reformatted.
31912 * java/rmi/Naming.java: Likewise.
31914 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31916 * java/io/InputStream.java
31917 (read(byte[],int,int)): Changed argument validation to prevent
31918 integer overflow. Remove redundant check.
31920 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31923 * java/io/InputStreamReader.java
31924 (InputStreamReader(InputStream)): Use SystemProperties.
31925 (InputStreamReader(InputStream,Charset)): Corrected @since tag.
31926 Throw NullPointerException if in is null.
31927 Added maxBytesPerChar initialisation.
31928 (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
31929 Throw NullPointerException if in is null.
31931 2006-02-12 Raif S. Naffah <raif@swiftdsl.com.au>
31933 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
31934 (GnuDHPublicKey(4)): Call constructor with 5 arguments.
31935 (GnuDHPublicKey): New constructor.
31936 (getEncoded): Removed.
31937 (valueOf): Added support for ASN.1 encoding.
31938 (getEncoded(int)): Likewise.
31939 (equals): New method.
31940 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
31941 (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
31942 (GnuDHPrivateKey(5)): New constructor.
31943 (getEncoded): Removed.
31944 (valueOf): Added support for ASN.1 encoding.
31945 (getEncoded(int)): Likewise.
31946 (equals): New method.
31947 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
31948 (PREFERRED_ENCODING_FORMAT): New constant.
31949 (DEFAULT_ENCODING_FORMAT): Likewise.
31950 (preferredFormat): New field.
31951 (setup): Handle preferred encoding format identifier.
31952 (generate): Call constructors with format identifier.
31953 * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
31954 (GnuDHKey): Added an int argument.
31955 (getEncoded): New method.
31956 (getFormat): New implementation.
31957 (getEncoded(int)): New abstract method.
31958 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
31959 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
31960 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
31961 key-pair generator and key-factory.
31962 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
31963 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
31964 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
31965 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31966 (invokeConstructor): New method.
31967 (getConcreteClass): Likewise.
31968 (getConcreteCtor): Likewise.
31969 (invokeValueOf): Likewise.
31970 (getValueOfMethod): Likewise.
31971 (engineGeneratePublic): Add support for DH keys.
31972 (engineGeneratePrivate): Likewise.
31973 (decodeDHPublicKey(DHPublicKeySpec)): New method.
31974 (decodeDHPublicKey(byte[])): Likewise.
31975 (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
31976 (decodeDHPrivateKey(byte[])): Likewise.
31978 2006-02-11 Mark Wielaard <mark@klomp.org>
31980 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
31982 (repaint): Immediately post to queue when tm <= 0, otherwise call
31983 RepaintTimerTask.schedule().
31984 (RepaintTimerTask): Make static.
31985 (RepaintTimerTask.repaintTimer): New static final field.
31986 (RepaintTimerTask.awtComponent): New field.
31987 (schedule): New static method.
31989 2006-02-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31991 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
31992 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
31993 * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
31994 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
31995 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
31997 * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
31999 2006-02-11 Raif S. Naffah <raif@swiftdsl.com.au>
32001 * gnu/java/security/jce/sig/EncodedKeyFactory.java
32002 (engineGeneratePublic): Added support for raw key-specifications.
32003 (engineGeneratePrivate): Likewise.
32004 (decodeDSSPublicKey): New method.
32005 (decodeRSAPublicKey): Likewise.
32006 (decodeDSSPrivateKey): Likewise.
32007 (decodeRSAPrivateKey): Likewise.
32008 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
32009 (encodePrivateKey): Throw InvalidParameterException.
32010 (decodePublicKey): Likewise.
32011 (decodePrivateKey): Likewise.
32012 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
32013 (encodePublicKey): Likewise.
32014 (encodePrivateKey): Likewise.
32015 (decodePublicKey): Likewise.
32016 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
32017 (encodePrivateKey): Likewise.
32018 (decodePublicKey): Likewise.
32019 (decodePrivateKey): Likewise.
32020 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32021 (encodePublicKey): Likewise.
32022 (encodePrivateKey): Likewise.
32023 (decodePublicKey): Likewise.
32025 2006-02-10 Roman Kennke <kennke@aicas.com>
32027 * javax/swing/text/StyleContext.java
32028 (registerStaticAttributeKey): New static method.
32030 2006-02-10 Roman Kennke <kennke@aicas.com>
32032 * javax/swing/text/DefaultStyledDocument.java
32033 (ElementBuffer.clone): New method.
32035 2006-02-10 Roman Kennke <kennke@aicas.com>
32037 * javax/swing/text/ParagraphView.java
32038 (findOffsetToCharactersInString): New method.
32039 (getClosestPositionTo): New method.
32040 (getPartialSize): New method.
32041 (getTabBase): New method.
32042 (adjustRow): New method.
32043 (breakView): New method.
32044 (getBreakWeight): New method.
32046 2006-02-10 Roman Kennke <kennke@aicas.com>
32048 * javax/swing/text/GapContent.java
32049 (updateUndoPositions): New method.
32050 * javax/swing/text/StringContent.java
32051 (updateUndoPositions): New method.
32053 2006-02-10 Raif S. Naffah <raif@swiftdsl.com.au>
32055 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
32057 * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
32058 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
32059 Added support for encoded key specifications.
32060 (engineGeneratePrivate): Likewise.
32061 (engineGetKeySpec): Likewise.
32062 (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
32064 2006-02-10 Robert Schuster <robertschuster@fsfe.org>
32066 * javax/swing/text/Utilities.java:
32067 (getTabbedTextOffset): Fixed usage of variable p0.
32068 (getPositionAbove): Rewritten.
32069 (getPositionBelow): Rewritten.
32071 2006-02-09 Roman Kennke <kennke@aicas.com>
32073 * javax/swing/text/BoxView.java
32074 (getAxis): Added @since tag.
32075 (setAxis): Added @since tag.
32076 (layoutChanged): Added @since tag.
32077 (isLayoutValid): Added @since tag.
32078 (paint): Don't call setSize here. This is done in RootView already.
32079 (getMaximumSpan): Reimplemented to return the requirements'
32080 maximum size. Added API docs.
32081 (getMinimumSpan): New method.
32082 (layout): Fixed layout order.
32083 (modelToView): Call layout instead of setSize here.
32084 (getResizeWeight): New method.
32085 (getChildAllocation): New method.
32086 (forwardUpdate): New method.
32087 (viewToModel): New method.
32088 (flipEastEndWestEnds): New method.
32089 * javax/swing/text/CompositeView.java
32090 (modelToView): Made this method more robust by returning a default
32091 location if it's not possible to calculate one via the children.
32092 This default location returns the left or right edge of this
32094 (createDefaultLocation): New helper method.
32095 * javax/swing/text/IconView.java
32096 (modelToView): Don't throw BadLocationException. This should
32097 really only be thrown if the position is outside the document
32098 model, not if it's outside the view's boundary.
32100 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32102 * tools/Makefile.am: Handle rmi and giop folders separately.
32104 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
32106 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
32107 * javax/swing/SpinnerNumberModel.java: Likewise.
32109 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
32111 * javax/swing/SpinnerDateModel.java: Removed tabs,
32112 * javax/swing/SpinnerNumberModel.java: Likewise.
32114 2006-02-09 Anthony Balkissoon <abalkiss@redhat.com>
32116 * doc/unicode/SpecialCasing-4.0.0.txt: New file.
32117 * doc/unicode/UnicodeData-4.0.0.txt: New file.
32119 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32122 * gnu/java/net/protocol/http/HTTPURLConnection.java:
32123 (isRedirect): Removed, moved to Response.java.
32124 (connect): If error condition redirect responseSink to errorSink.
32125 (getInputStream): If error condition throw IOException, for the error
32126 codes 404 and 410 throw a FileNotFoundException.
32127 * gnu/java/net/protocol/http/Response.java (isError): New method.
32128 (isRedirect): New method, moved from HTTPURLConnection.java.
32130 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32132 * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
32133 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
32134 * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource):
32136 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
32138 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
32139 AbstractMethodGenerator.
32140 * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
32141 tools/gnu/classpath/tools/rmi/RMIC.java,
32142 tools/gnu/classpath/tools/rmi/RMIC.txt,
32143 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
32144 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
32145 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
32146 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
32147 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
32148 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
32150 * NEWS: Corrected entry about the tools.
32152 2006-02-09 Lillian Angel <langel@redhat.com>
32154 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32155 (handleEvent): Added more to check to prevent assertion errors.
32156 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32157 (handleEvent): Likewise.
32158 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32159 (handleEvent): Likewise.
32161 2006-02-09 Mark Wielaard <mark@klomp.org>
32163 * javax/swing/JTable.java (tableChanged): Interpret null event as
32164 "everything changed".
32166 2006-02-09 Roman Kennke <kennke@aicas.com>
32168 * javax/swing/text/DefaultCaret.java
32169 (DocumentHandler.removeUpdate): When update policy is
32170 'on eventqueue', and the update doesn't come from the
32171 event queue, check if the current dot location is still
32173 (moveDot): Make sure the new dot location is valid.
32174 (setDot): Set the mark the same as the dot.
32176 2006-02-09 Roman Kennke <kennke@aicas.com>
32178 * javax/swing/text/AbstractDocument.java
32179 (remove): Perform all operations within a write lock and in the
32182 2006-02-09 Mark Wielaard <mark@klomp.org>
32184 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
32185 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
32186 creater than min, adjusting page_size if necessary.
32187 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
32189 2006-02-09 Lillian Angel <langel@redhat.com>
32191 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32192 (handleEvent): Added code to handle PaintEvent.UPDATE.
32193 Sun does not call update(Graphics g) on Panels.
32194 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32195 (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
32196 Sun does not call update(Graphics g) on Panels.
32198 2006-02-09 Roman Kennke <kennke@aicas.com>
32200 * javax/swing/text/BoxView.java
32201 (myAxis): Made field private.
32202 (xLayoutValid): Replaced by layoutValid array.
32203 (yLayoutValid): Replaced by layoutValid array.
32204 (layoutValid): New field.
32205 (spansX): Replaced by spans array.
32206 (spansY): Replaced by spans array.
32207 (spans): New field.
32208 (offsetsX): Replaced by offsets array.
32209 (offsetsY): Replaced by offsets array.
32210 (offsets): New field.
32211 (requirements): New field.
32212 (BoxView): Initialize new fields.
32213 (layoutChanged): Rewritten to use the layoutValid array.
32214 (isLayoutValid): Rewritten to use the layoutValid array.
32215 (replace): Use the new arrays.
32216 (getPreferredSpan): Rewritten to call calculateXXXRequirements
32217 instead of baselineRequirements.
32218 (baselineRequirements): Rewritten to calculate baseline requirements.
32219 (baselineLayout): Rewritten to calculate baseline layout.
32220 (childAllocation): Use new arrays.
32221 (layout): Rewritten. Only update the layout if necessary.
32222 (layoutMajorAxis): Directly set layoutValid.
32223 (layoutMinorAxis): Directly set layoutValid. Use cached size
32225 (getWidth): Use new span array.
32226 (getHeight): Likewise.
32227 (setSize): Rewritten to simply call layout().
32228 (validateLayout): Removed unneeded method.
32229 (getSpan): Use new arrays.
32230 (getOffset): Use new arrays.
32231 (getAlignment): Use cached requirements if possible.
32232 (preferenceChanged): Use new arrays.
32233 * javax/swing/text/FlowView.java
32234 (FlowStrategy.insertUpdate): Do nothing here.
32235 (FlowStrategy.removeUpdate): Do nothing here.
32236 (FlowStrategy.changedUpdate): Do nothing here.
32237 (FlowStrategy.layoutRow): Rewritten.
32238 (FlowStrategy.createView): Rewritten.
32239 (FlowStrategy.adjustRow): New method.
32240 (LogicalView.getViewIndex): Fixed condition for finding child
32242 (layoutDirty): New field indicating the state of the layout.
32243 (FlowView): Initialize new field.
32244 (loadChildren): Set parent on logical view so that preferenceChanges
32245 get propagated upwards.
32246 (layout): Rewritten to match the specs.
32247 (insertUpdate): Set layout to dirty.
32248 (removeUpdate): Set layout to dirty.
32249 (changedUpdate): Set layout to dirty.
32250 * javax/swing/text/GlyphView.java
32251 (getBreakWeight): Rewritten to use the Utilities class. Commented
32252 out though because that is broken.
32253 (insertUpdate): Call preferenceChanged on this object instead of
32255 * javax/swing/text/ParagraphView.java
32256 (Row.loadChildren): Overridden to be a noop to prevent initial
32257 creation of child views. This is carried out by the flow layout.
32258 * javax/swing/text/View.java
32259 (getPreferredSpan): Added API docs.
32260 (getResizeWeight): Added API docs.
32261 (getMaximumSpan): Added API docs. Rewritten to only have one exit
32263 (getMinimumSpan): Added API docs. Rewritten to return 0 when
32264 resizable instead of Integer.MAX_VALUE.
32265 (getAlignment): Added API docs.
32266 (replace): Added API docs.
32267 (forwardUpdate): Rewritten to only notify child views that need to
32270 2006-02-09 Roman Kennke <kennke@aicas.com>
32272 * javax/swing/plaf/basic/BasicTextUI.java
32273 (RootView.paint): Call setSize() before painting the view.
32275 2006-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
32278 * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
32279 flag which enables backslash escape in a replacement.
32280 (getReplacement): New public static method.
32281 (substituteImpl),(substituteAllImpl): Use getReplacement.
32282 * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
32283 * java/util/regex/Matcher.java(appendReplacement)
32284 Use RE#getReplacement.
32285 (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
32287 2006-02-09 Raif S. Naffah <raif@swiftdsl.com.au>
32289 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
32290 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
32291 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
32292 (PREFERRED_ENCODING_FORMAT): New constant.
32293 (DEFAULT_ENCODING_FORMAT): Likewise.
32294 (preferredFormat): New field.
32295 (setup): Add support for preferred encoding format.
32296 (generate): Call key constructors with explicit format identifier.
32297 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)):
32298 Call constructor with 3 arguments..
32299 (GnuRSAPublicKey(3)): New constructor.
32300 (valueOf): Added support for ASN.1 format.
32301 (getEncoded): Likewise.
32302 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
32303 Call constructor with 5 arguments.
32304 (GnuRSAPrivateKey(5)): New constructor.
32305 (GnuRSAPrivateKey(9)): New constructor.
32306 (valueOf): Added support for ASN.1 format.
32307 (getEncoded): Likewise.
32308 * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
32309 (GnuRSAKey): Modified constructor.
32310 (getFormat): Return preferred format identifier.
32311 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32312 (decodePrivateKey): Fixed documentation.
32313 Check Version field.
32314 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
32315 (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
32317 (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
32318 * gnu/java/security/jce/sig/EncodedKeyFactory.java
32319 (engineGeneratePublic): Added support for RSA.
32320 (engineGeneratePrivate): Likewise.
32322 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32324 * java/net/URLConnection.java:
32325 (setAllowUserInteraction): Throw IllegalStateException if connected.
32326 (getRequestProperty): Document return value if key is null.
32327 * gnu/java/net/protocol/http/HTTPURLConnection.java:
32328 (getRequestProperty): Return null if key is null.
32329 (getRequestProperties): Throw IllegalStateException if connected.
32330 (setRequestProperty): Call super method for exception tests.
32331 (addRequestProperty): Likewise.
32333 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32335 * gnu/java/net/protocol/http/Request.java:
32336 (Request): Remove initialization of removed field.
32337 (requestBodyNegotiationThreshold): Removed now unused field.
32338 (setRequestBodyNegotiationThreshold): Remove now unused method.
32339 (dispatch): Do not use 'Expect 100-continue' header if content-length
32340 is over a treshold. If user specified 'Expect 100-continue' still
32341 initialize the expectingContinue variable.
32343 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32345 * javax/swing/SpinnerNumberModel.java
32346 (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow
32347 maximum and minimum to take null values,
32348 (setValue): Only fire ChangeEvent if new value is different to old
32350 (setMinimum): Fixed test for updating value,
32351 (setMaximum): Likewise,
32352 (setStepSize): Likewise.
32354 2006-02-08 Tom Tromey <tromey@redhat.com>
32356 * tools/.cvsignore: Added Makefile.in.
32358 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32360 * java/rmi/server/RemoteRef.java,
32361 java/rmi/server/RemoteStub.java: Commented.
32363 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32365 * javax/swing/SpinnerDateModel.java
32366 (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
32368 (getPreviousValue): Check result against start, not end,
32369 (setValue): Check that value actually changes before firing
32372 2006-02-08 Lillian Angel <langel@redhat.com>
32374 * java/awt/Choice.java
32375 (select): Fixed up code, added some checks to prevent errors.
32376 (dispatchEventImpl): Removed. This function is not needed. It
32377 causes several assertion errors.
32379 2006-02-08 Roman Kennke <kennke@aicas.com>
32381 * javax/swing/text/PlainView.java
32382 (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
32383 drawing unnecessary characters.
32385 2006-02-08 Lillian Angel <langel@redhat.com>
32387 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32388 (handleEvent): Fixed check to determine if height or
32389 width is less than 1.
32391 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32393 *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
32395 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32397 * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
32398 examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
32399 Documenting the code generator.
32400 * gnu/CORBA/IOR.java (toStringFormatted,
32401 CodeSet_component.toStringFormatted): New methods.
32402 * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
32403 * tools/gnu/classpath/tools/giop/README: Rewritten.
32404 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten.
32405 (printHelpAndExit): Removed.
32406 *tools/gnu/classpath/tools/giop/IorParser.java,
32407 tools/gnu/classpath/tools/giop/IorParser.txt,
32408 tools/gnu/classpath/tools/giop/NameService.java,
32409 tools/gnu/classpath/tools/giop/NamingService.txt,
32410 tools/gnu/classpath/tools/HelpPrinter.java: New files.
32411 NEWS: Added note about GIOP tools.
32413 2006-02-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32415 * .classpath: New source patch (tools).
32416 * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
32417 * configure.ac (AC_CONFIG_FILES): added tools/Makefile
32418 * tools/gnu/classpath/tools/Makefile.am,
32419 tools/gnu/classpath/tools/giop/GRMIC.java
32420 tools/gnu/classpath/tools/giop/GRMIC.txt,
32421 tools/gnu/classpath/tools/giop/README,
32422 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
32423 tools/gnu/classpath/tools/giop/grmic/Generator.java,
32424 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
32425 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
32426 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
32427 tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
32428 tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
32429 tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
32430 tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
32431 tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32432 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32433 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
32435 2006-02-07 David Gilbert <david.gilbert@object-refinery.com>
32437 * java/awt/BasicStroke.java: Updated API docs all over,
32438 * java/awt/doc-files/capjoin.png: New file.
32440 2006-02-07 Lillian Angel <langel@redhat.com>
32442 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32443 (handleEvent): Added check. Should not paint or update the
32444 component if it's width and height are both 0.
32446 2006-02-07 Roman Kennke <kennke@aicas.com>
32448 * javax/swing/text/AbstractDocument.java
32449 (insertString): Enclose locking/unlocking in try-finally block
32450 and also keep locked while notifying the listeners.
32452 2006-02-07 Roman Kennke <kennke@aicas.com>
32454 * javax/swing/text/GlyphView.java
32455 (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32457 (getStartOffset): Return element boundary if startOffset < 0.
32458 (getEndOffset): Return element boundary if endOffset < 0.
32459 (createFragment): Set startOffset and endOffset fields of fragment
32460 if one of p0 or p1 is not at the element boundary.
32462 2006-02-07 Roman Kennke <kennke@aicas.com>
32464 * javax/swing/CellRendererPane.java
32465 (paintComponent): Enclosed painting in try finally to properly
32466 clean up even when throwing an exception.
32468 2006-02-07 Roman Kennke <kennke@aicas.com>
32470 * javax/swing/UIManager.java
32471 (listeners): Made this an instance of
32472 java.beans.PropertyChangeSupport instead of the obsoleted
32473 SwingPropertyChangeSupport.
32475 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32477 * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32478 of actions "delete-next" and "delete-previous", added new TextAction
32479 implementations for "selection-begin", "selection-begin-line",
32480 "selection-end" and "selection-end-line".
32482 2006-02-07 Roman Kennke <kennke@aicas.com>
32484 * javax/swing/plaf/basic/BasicTextUI.java
32485 (paint): Acquire read lock on the document before calling
32487 (paintSafely): Added comment about what this method does.
32488 (paintBackground): Implemented to actually paint the background.
32489 (update): Overridden to _not_ paint the background. This is done
32490 in paintBackground in this UI.
32492 2006-02-07 Roman Kennke <kennke@aicas.com>
32494 * javax/swing/text/View.java
32495 (forwardUpdate): Don't notify newly added child views as specified.
32497 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32499 * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32501 2006-02-07 Roman Kennke <kennke@aicas.com>
32503 * javax/swing/text/DefaultStyledDocument.java
32504 (ElementBuffer.insert): Only register change when the element
32507 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32509 * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32511 (getEncodingShortName): Likewise.
32512 * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32513 (PKCS8_FORMAT): Likewise.
32514 (ASN1_FORMAT): Likewise.
32515 * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32516 constructor with 5 arguments.
32517 (DSSPublicKey(5)): New constructor.
32518 (valueOf): Handle ASN.1 encoding.
32519 (getEncoded): Likewise.
32520 * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32521 constructor with 5 arguments.
32522 (DSSPrivateKey(5)): New constructor.
32523 (valueOf): Handle ASN.1 encoding.
32524 (getEncoded): Likewise.
32525 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32526 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32527 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32528 (PREFERRED_ENCODING_FORMAT): New constant.
32529 (DEFAULT_ENCODING_FORMAT): Likewise.
32530 (preferredFormat): New field.
32531 (setup): Handle preferred format ID.
32532 (generate): Use new ctors with 5 arguments.
32533 * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32534 ID as an additional argument.
32535 (defaultFormat): new field.
32536 (getFormat): Returns the preferred format as a short string.
32537 * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32538 * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32540 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32541 (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32543 (initialize(int,boolean,SecureRandom)): Likewise.
32544 * gnu/java/security/der/DERWriter.java (writeBitString): Use
32545 writeLength() instead of write().
32546 return buf.length + 1 instead of buf.length.
32548 2006-02-07 Roman Kennke <kennke@aicas.com>
32550 * javax/swing/plaf/basic/BasicTextUI.java
32551 (RootView.preferenceChange): Changed view parameter to view so
32552 that it doesn't hide a field of that class.
32553 (RootView.getViewCount): Rewritten to clean up ECJ warning.
32554 (RootView.modelToView): Removed unnecessary cast from View to View.
32555 (PropertyChangeHandler): Made inner class private.
32556 (updateHandler): Made field private.
32557 (getVisibleEditorRect): Removed unneeded local variable that
32558 shadowed a field with the same name and purpose.
32560 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32562 * javax/swing/text/JTextComponent.java:
32563 (getSelectedText): Calculate offset and use that as
32566 2006-02-07 Roman Kennke <kennke@aicas.com>
32568 * javax/swing/JTextPane.java
32569 (setCharacterAttributes): Replace input attributes when
32572 2006-02-07 Roman Kennke <kennke@aicas.com>
32574 * java/awt/Component.java
32575 (firePropertyChange(String,byte,byte)): Made method public.
32576 (firePropertyChange(String,char,char)): Made method public.
32577 (firePropertyChange(String,short,short)): Made method public.
32578 (firePropertyChange(String,long,long)): Made method public.
32579 (firePropertyChange(String,float,float)): Made method public.
32580 (firePropertyChange(String,double,double)): Made method public.
32582 2006-02-06 Tom Tromey <tromey@redhat.com>
32584 * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32586 * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32588 2006-02-06 Anthony Green <green@redhat.com>
32590 * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32592 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32594 * .settings/org.eclipse.jdt.core.prefs:
32595 Force a line split on extends and implements.
32596 Force a white-space after unary operators.
32597 Don't force a new-line after @params.
32598 Add new-line at end-of-file.
32599 * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32601 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32603 * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32605 * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32607 * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32609 * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32611 * gnu/java/security/provider/EncodedKeyFactory.java
32612 (ID_DSA): Redefined in terms of Registry constant.
32613 (ID_DSA): Redefined in terms of Registry constant.
32614 (ID_DH): Redefined in terms of Registry constant.
32615 * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32616 (PKCS8_ENCODING): Likewise.
32617 (ASN1_ENCODING): Likewise.
32618 (RAW_ENCODING_SHORT_NAME): Likewise.
32619 (X509_ENCODING_SORT_NAME): Likewise.
32620 (PKCS8_ENCODING_SHORT_NAME): Likewise.
32621 (ASN1_ENCODING_SHORT_NAME): Likewise.
32622 (X509_ENCODING_ID): Likewise.
32623 (PKCS8_ENCODING_ID): Likewise.
32624 (ASN1_ENCODING_ID): Likewise.
32625 (DSA_OID_STRING): Likewise.
32626 (RSA_OID_STRING): Likewise.
32627 (DH_OID_STRING): Likewise.
32629 2006-02-06 Roman Kennke <kennke@aicas.com>
32631 * javax/swing/text/GlyphView.java:
32632 (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32633 Only fill background if there is a background set on the view.
32634 Call Utilities.drawTabbedText with the baseline height, rather than
32635 the upper left corner of the view rectangle.
32636 (getBackground): Return null if no background is set.
32637 * javax/swing/text/GlyphView.java:
32638 (setPropertiesFromAttributes): Use null for background when no
32639 background is set. StyleConstants.getBackground() doesn't work
32640 for this, because it returns Color.BLACK in that case.
32642 2006-02-06 Roman Kennke <kennke@aicas.com>
32644 * java/awt/Container.java
32645 (changeSupport): Removed duplicate (from Component) field.
32646 (addPropertyChangeListener): Call super.
32648 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32650 * java/util/regex/Matcher.java(matches):
32651 set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32653 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32656 * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32657 * gnu/regexp/CharIndexedCharArray.java
32658 (lookBehind),(length): Implemented.
32659 * gnu/regexp/CharIndexedInputStream.java: Likewise.
32660 * gnu/regexp/CharIndexedString.java: Likewise.
32661 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32662 * gnu/regexp/REToken.java(getMaximumLength): New method.
32663 * gnu/regexp/RE.java(internal constructor RE): Added new argument
32665 (initialize): Parse (?<=X), (?<!X), (?>X).
32666 (getMaximumLength): Implemented.
32667 * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32668 * gnu/regexp/RETokenChar.java: Likewise.
32669 * gnu/regexp/RETokenEnd.java: Likewise.
32670 * gnu/regexp/RETokenEndSub.java: Likewise.
32671 * gnu/regexp/RETokenLookAhead.java: Likewise.
32672 * gnu/regexp/RETokenNamedProperty.java: Likewise.
32673 * gnu/regexp/RETokenOneOf.java: Likewise.
32674 * gnu/regexp/RETokenPOSIX.java: Likewise.
32675 * gnu/regexp/RETokenRange.java: Likewise.
32676 * gnu/regexp/RETokenRepeated.java: Likewise.
32677 * gnu/regexp/RETokenStart.java: Likewise.
32678 * gnu/regexp/RETokenWordBoundary.java: Likewise.
32679 * gnu/regexp/RETokenIndependent.java: New file.
32680 * gnu/regexp/RETokenLookBehind.java: New file.
32682 2006-02-06 Roman Kennke <kennke@aicas.com>
32684 * java/awt/Component.java
32685 (firePropertyChange(String,byte,byte)): New method.
32686 (firePropertyChange(String,char,char)): New method.
32687 (firePropertyChange(String,short,short)): New method.
32688 (firePropertyChange(String,long,long)): New method.
32689 (firePropertyChange(String,float,float)): New method.
32690 (firePropertyChange(String,double,double)): New method.
32692 2006-02-06 Roman Kennke <kennke@aicas.com>
32694 * javax/swing/JComponent.java
32695 (AccessibleJComponent.changeSupport): Changed to be a
32696 java.beans.PropertyChangeSupport rather than
32697 SwingPropertyChangeSupport.
32698 (AccessibleJComponent.AccessibleJComponent()): Change initialization
32700 (changeSupport): Removed unneeded field.
32701 (removePropertyChangeListener): Removed unneeded methods.
32702 (addPropertyChangeListener): Removed unneeded methods.
32703 (getPropertyChangeListeners): Removed unneeded methods.
32704 (firePropertyChange(String,boolean,boolean)): Changed to simply
32705 call super. Added specnote.
32706 (firePropertyChange(String,char,char)): Changed to simply
32707 call super. Added specnote.
32708 (firePropertyChange(String,int,int)): Changed to simply
32709 call super. Added specnote.
32710 (firePropertyChange(String,byte,byte)): Removed.
32711 (firePropertyChange(String,Object,Object)): Removed.
32712 (firePropertyChange(String,double,double)): Removed.
32713 (firePropertyChange(String,float,float)): Removed.
32714 (firePropertyChange(String,long,long)): Removed.
32715 (firePropertyChange(String,short,short)): Removed.
32717 2006-02-06 Roman Kennke <kennke@aicas.com>
32719 * javax/swing/event/SwingPropertyChangeSupport.java
32720 (listeners): Removed field.
32721 (propertyListeners): Removed field.
32722 (source): Removed field.
32723 (SwingPropertyChangeSupport()): Removed initialization of removed
32725 (addPropertyChangeListener): Removed methods.
32726 (removePropertyChangeListener): Removed methods.
32727 (getPropertyChangeListeners): Removed methods.
32728 (firePropertyChange): Removed methods.
32729 (hasListeners): Removed methods.
32731 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32734 * java/net/InetAddress.java
32735 (readResolve): Implemented.
32737 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32740 * java/io/ObjectInputStream.java
32741 (readNextBlock()): Handle TC_RESET.
32743 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32745 * javax/print/attribute/standard/Compression.java,
32746 * javax/print/attribute/standard/Finishings.java,
32747 * javax/print/attribute/standard/JobMediaSheets.java,
32748 * javax/print/attribute/standard/JobSheets.java,
32749 * javax/print/attribute/standard/JobState.java,
32750 * javax/print/attribute/standard/JobStateReason.java,
32751 * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32752 * javax/print/attribute/standard/PrintQuality.java,
32753 * javax/print/attribute/standard/Media.java,
32754 * javax/print/attribute/standard/MultipleDocumentHandling.java,
32755 * javax/print/attribute/standard/PrinterStateReason.java,
32756 * javax/print/attribute/standard/PDLOverrideSupported.java:
32757 (getName): Make method final.
32758 (getCategory): Likewise.
32759 * javax/print/attribute/standard/MediaSize.java:
32760 (getName): Make method final.
32761 (getCategory): Likewise.
32762 (ISO): Added private default constructor.
32766 (Engineering): Likewise.
32768 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32770 * native/jni/java-net/javanet.c (_javanet_connect):
32771 Throw ConnectException instead of IOException if connection failed.
32772 * native/jni/java-net/javanet.h:
32773 Add a define for java.net.ConnectException
32775 2006-02-05 Mark Wielaard <mark@klomp.org>
32778 reported by Egon Willighagen <egon.willighagen@gmail.com>
32779 * javax/swing/DefaultListCellRenderer.java
32780 (getListCellRendererComponent): Turn null value into empty string.
32782 2006-02-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
32784 * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32785 a Unicode block if the name starts with "In".
32786 (UnicodeBlockHandler): New inner class.
32788 2006-02-04 Roman Kennke <kennke@aicas.com>
32790 * java/awt/Container.java
32791 (getComponentZOrder): New method.
32792 (setComponentZOrder): New method.
32793 * javax/swing/JLayeredPane.java
32794 (setPosition): Reimplemented to use setComponentZOrder().
32795 (getIndexOf): Reimplemented to use getComponentZOrder().
32796 (addImpl): Pass layerContraint to super call. Important for possibly
32797 installed layout managers.
32798 (swapComponents): Remove unneeded method.
32800 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32802 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32803 DSAKeyPairGenerator.
32804 (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32805 (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32807 Surround call to adaptee in a try/catch.
32808 (initialize((DSAParams,SecureRandom)): New method.
32809 (initialize(int,boolean,SecureRandom)): New method.
32810 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32811 KeyPairGenerator rather than KeyPairGeneratorSpi.
32812 (KeyPairGeneratorAdapter): Call super with algorithm name.
32814 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32816 * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
32817 (getDefaultPRNG): New method.
32818 (parseO): Use method above.
32819 * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
32820 (getDefaultPRNG): New method.
32821 (createO): Use method above.
32822 * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
32823 (nextByte): Use above field.
32824 * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
32825 * gnu/java/security/sig/rsa/RSA.java: New class field.
32826 (newR): Use above field
32827 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
32828 (encode): Use field.above.
32829 * gnu/java/security/key/dss/FIPS186.java (prng): New field.
32830 (getDefaultPRNG): new method.
32831 (nextRandomBytes): Use above method.
32832 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
32833 * gnu/java/security/sig/BaseSignature.java: Likewise.
32834 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
32835 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
32836 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
32837 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
32838 * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
32839 (getDefaultPRNG): new method.
32840 (nextRandomBytes): Use above method.
32841 (STRICT_DEFAULTS): new class field.
32842 (USE_DEFAULTS): more documentation to clarify behavior.
32843 (setup): amended to handle new attribute.
32844 * gnu/java/security/util/PRNG.java: New file.
32846 2006-02-03 Lillian Angel <langel@redhat.com>
32848 * javax/swing/plaf/basic/BasicColorChooserUI.java:
32849 chooser field should be protected, not package-private.
32851 2006-02-03 Lillian Angel <langel@redhat.com>
32853 * javax/swing/text/DefaultStyledDocument.java
32854 (changeUpdate): Cleaned up code.
32856 (insertUpdate): Set offset to be equal to pos after
32857 insertContentTag call.
32858 (insertContentTag): If paragraph has no children, should use
32859 replace instead of Edit.
32860 (insertFracture): Moved around code to prevent any exception. Also,
32861 left side of tree should not be recreated if it has already been
32862 edited. In that case, we should only be creating a new right branch
32864 (getEditForParagraphAndIndex): No need to check index. We should
32865 use the same edit for each paragraph.
32867 2006-02-03 Mark Wielaard <mark@klomp.org>
32869 * javax/swing/event/SwingPropertyChangeSupport.java
32870 (propertyListeners): Change type to HashMap.
32871 (SwingPropertyChangeSupport): Allocate HashMap.
32873 2006-02-03 Raif S. Naffah <raif@swiftdsl.com.au>
32875 * java/security/KeyPairGenerator.java (getInstance): Test for
32876 instanceof KeyPairGenerator before KeyPairGeneratorSpi.
32878 2006-02-02 Roman Kennke <kennke@aicas.com>
32880 * javax/swing/RepaintManager.java
32881 Made fields private.
32882 (RepaintWorker.run): Enclosed work stuff in try finally block in
32883 order to clean up correctly if invalidation or painting fails,
32884 otherwise we would get no more RepaintWorkers onto the EventQueue.
32885 Also, now the RepaintWorker is marked 'dead' only after it has
32886 finished its work, avoid more than one RepaintWorker on the queue.
32887 (ComponentComparator.compareTo): Compare dirty rectangle sizes
32888 instead of hierarchy depths.
32889 (workDirtyComponents): Removed unused field.
32890 (repaintOrder): Removed unused field.
32891 (workRepaintOrder): Removed unused field.
32892 (workInvalidComponents): Removed unused field.
32893 (RepaintManager()): Removed initialization of removed fields.
32894 (addInvalidComponent): Fine tuned synchronization.
32895 (removeInvalidComponent): Fine tune synchronization.
32896 (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
32897 synchronization. Don't manager repaintOrder here.
32898 (insertRepaintOrder): Removed method.
32899 (markCompletelyClean): Fine tuned synchronization.
32900 (validateInvalidComponents): Dont use a working copy of the
32901 invalidComponents list, instead fine tuned synchronization on this
32902 list. Also, don't search validateRoot, this is already done in
32903 addInvalidComponent().
32904 (paintDirtyRegions): Compute repaint order here, based on size of
32905 damaged regions. Fine tuned synchronization. Avoid use of working
32906 copies of dirtyComponent.
32908 2006-02-02 Lillian Angel <langel@redhat.com>
32910 * javax/swing/text/DefaultStyledDocument.java
32911 (insertUpdate): JoinNextDirection should push the
32912 'next' paragraph on the stack.
32914 2006-02-02 Lillian Angel <langel@redhat.com>
32916 * javax/swing/text/DefaultStyledDocument.java
32917 (insertUpdate): Rewrote code for Originate. This prevents
32918 leaves being created multiple times. If it is on the last
32919 ElementSpec, the leaves need to be created right then;
32920 otherwise, only a branch is created.
32921 (insertContentTag): Rewrote to add new leaf directly if
32922 this is a branch with no children. Otherwise, it
32923 recreates the remainder of the tree as before.
32925 2006-02-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
32927 * gnu/regexp/REMatch.java(REMatchList): New inner utility class
32928 for making a list of REMatch instances.
32929 * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
32930 * gnu/regexp/RETokenRepeated.java(findDoables): New method.
32931 (match): Rewritten using REMatchList.
32932 (matchRest): Rewritten using REMatchList.
32934 2006-02-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32936 * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
32937 (friendsMove): Call repaint() only after endOfGame is assigned.
32939 2006-02-02 Mark Wielaard <mark@klomp.org>
32941 Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
32942 * java/util/AbstractCollection.java (toString): Only use Iterator,
32943 check whether collection contains itself.
32945 2006-02-01 Casey Marshall <csm@gnu.org>
32947 Partial fix for PR classpath/25143.
32948 * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
32949 (<init>): fill in `algName,' derive `algOid' from `algName.'
32950 (getOid): new method.
32951 (encode): embed NULL value for parameters if `params' is `null.'
32953 2006-02-01 Casey Marshall <csm@gnu.org>
32955 Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
32956 <monoman@gmail.com>.
32957 * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
32958 check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
32960 2006-02-01 Casey Marshall <csm@gnu.org>
32962 toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
32963 * gnu/java/security/der/DERValue.java
32964 (getLength, getEncoded, getEncodedLength): throw an exception,
32965 don't initialize `encoded' to a bogus value.
32966 (toString): return a more helpful string.
32968 Partial fix for PR classpath/25144.
32969 * gnu/java/security/der/DERWriter.java (write): if the value is
32970 the pseudo-value used for CONSTRUCTED, write the encoded value
32973 2006-02-01 Tom Tromey <tromey@redhat.com>
32975 * java/security/Security.java (loadProviders): Use system class
32978 2006-02-01 Mark Wielaard <mark@klomp.org>
32980 * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
32981 * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
32982 SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
32983 (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
32984 (UnicodeCategoriesHandler): New private static class.
32986 2006-02-01 Lillian Angel <langel@redhat.com>
32988 * javax/swing/text/DefaultStyledDocument.java:
32989 Removed unneeded fields.
32990 (insertUpdate): Removed field initialization.
32991 (insertContentTag): Rewrote part of function. Still
32994 2006-02-01 Lillian Angel <langel@redhat.com>
32996 * javax/swing/text/DefaultStyledDocument.java
32997 (insertParagraph): Cleaned up code.
32998 (insertFirstContentTag): Fixed call to recreateLeaves.
32999 (insertContentTag): Added check to code to determine where
33000 content should be inserted with respect to next element.
33001 (createFracture): Removed check, recreateLeaves is called in
33002 other places when needed.
33003 (recreateLeaves): Added new parameter for paragraph instead
33004 of checking the stack. Removed editing for newBranch, replaced
33005 with a replace call.
33007 2006-02-01 Anthony Balkissoon <abalkiss@redhat.com>
33009 * doc/unicode/Blocks-4.0.0.txt: New file.
33010 * java/lang/Character.java: Regenerated inner class UnicodeBlock from
33011 scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
33012 * scripts/unicode-blocks.pl: Copied this over from the generics branch
33013 but replaced some 1.5-only features (such as enum).
33015 2006-01-31 Roman Kennke <kennke@aicas.com>
33017 * javax/swing/text/PasswordView.java
33018 (drawSelectedText): Use drawEchoCharacter() method to draw echo
33020 (drawUnselectedText): Use drawEchoCharacter() method to draw echo
33023 2006-01-31 Roman Kennke <kennke@aicas.com>
33025 * javax/swing/JTextField.java
33026 (getPreferredSize): Also include textfield's insets in width
33029 2006-01-31 Roman Kennke <kennke@aicas.com>
33031 * javax/swing/plaf/basic/BasicTextUI.java
33032 (getPreferredSize): Include the textcomponent's insets in
33035 2006-01-31 Roman Kennke <kennke@aicas.com>
33037 * javax/swing/table/DefaultTableCellRenderer.java
33038 (getTableCellRendererComponent): Moved setting of the value into
33039 setValue(). Removed (bogus) special handling of JTextField values.
33040 (setValue): Made ?: statement more clear by rewriting it
33043 2006-01-31 Roman Kennke <kennke@aicas.com>
33045 * javax/swing/JLayeredPane.java
33046 (insertIndexForLayer): Fixed algorithm to correctly determine
33047 inser index for positions >= 0.
33048 (addImpl): Fixed API docs for the index parameter.
33050 2006-01-31 Mark Wielaard <mark@klomp.org>
33052 * java/net/URI.java (getURIGroup): Check for null to see whether
33053 group actually exists.
33055 2006-01-31 Lillian Angel <langel@redhat.com>
33057 * javax/swing/text/DefaultStyledDocument.java
33058 (changeUpdate): Fixed calls to split to incorporate
33060 (insertParagraph): Likewise. Uses 0 as editIndex
33061 because inserting into a new paragraph.
33062 (insertContentTag): Fixed check to use
33063 recreateLeaves. Added a FIXME comment.
33064 (split): Added a new parameter for edits.
33066 2006-01-31 Roman Kennke <kennke@aicas.com>
33068 * javax/swing/plaf/basic/BasicRootPaneUI.java
33069 (installDefaults): Don't install a background color here.
33071 2006-01-31 Lillian Angel <langel@redhat.com>
33073 * javax/swing/text/DefaultStyledDocument.java
33074 (insert): Removed comment.
33075 (insertUpdate): Added comment.
33076 (recreateLeaves): Removed call to push newBranch onto the
33077 stack. This does not need to be done here.
33079 2006-01-31 Chris Burdess <dog@gnu.org>
33081 * gnu/xml/stream/SAXParser.java,
33082 gnu/xml/stream/UnicodeReader.java,
33083 gnu/xml/stream/XIncludeFilter.java,
33084 gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
33085 only resolved the system ID not the stream. Make some utility methods
33086 public and static for use by other private XML APIs.
33087 * java/lang/ClassNotFoundException.java: Ensure that initCause can be
33088 called without throwing IllegalStateException.
33089 * java/util/logging/SimpleFormatter.java: Write thrown exception if
33092 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
33095 * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
33096 for an invalid index and return null for a skipped group.
33098 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
33101 * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
33102 (NamedProperty): New inner class.
33103 (getNamedProperty): New method.
33104 (getRETokenNamedProperty): New Method.
33105 * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
33106 * gnu/regexp/RETokenNamedProperty.java: New file.
33108 2006-01-31 Roman Kennke <kennke@aicas.com>
33110 * javax/swing/plaf/PlainView.java
33111 (paint): Call drawLine with baseline coordinates.
33112 (drawLine): Documented and indented this method.
33113 (drawUnselecetedText): Documented and indented this method.
33114 * javax/swing/plaf/text/Utilites.java
33115 (drawTabbedText): The coordinates denote the baseline of the text
33116 not the upper left corner.
33118 2006-01-31 Roman Kennke <kennke@aicas.com>
33120 * javax/swing/plaf/basic/BasicTextUI.java
33121 (createKeymap): Don't store KeyBindings[] as focusInputMap in
33122 UIManager. Added FIXME regarding the implementation of this method.
33124 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
33126 * examples/gnu/classpath/examples/swing/ButtonDemo.java
33127 (ButtonDemo): Move content initialisation to new method,
33128 (initFrameContent): New method,
33129 (main): Call initFrameContent(),
33130 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
33131 * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
33132 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
33133 * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
33134 * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
33136 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
33138 * examples/gnu/classpath/examples/swing/Demo.java
33139 (Demo): Set frame size,
33140 (mkButtonBar): Removed stacked sub-panels.
33142 2006-01-30 Lillian Angel <langel@redhat.com>
33144 * javax/swing/text/DefaultStyledDocument.java:
33146 (insert): Initialized fields. Removed call to addEdit,
33147 and created ElementEdit instead.
33148 (insertUpdate): Added check for fracturing. If the
33149 fracturing was not successful, we should push the
33150 last element back on the stack.
33151 (insertParagraph): Fixed call to getEditForParagraphAndIndex.
33152 Also, changed replace calls to use Edit.
33153 (insertFirstContentTag): Removed unneeded check and fixed call
33155 (insertContent): Fixed check to use new fields. Added code in
33156 to check if leaves overlap.
33157 (createFracture): Fixed call to recreateLeaves.
33158 (recreateLeaves): Fixed code and cleaned it up a bit.
33159 (insertFracture): Set fracNotCreated field.
33160 (addEdit): Removed, this method is not needed.
33162 2006-01-30 Roman Kennke <kennke@aicas.com>
33164 * javax/swing/JRootPane.java
33165 (RootLayout.prefSize): Removed caching for preferredSize.
33166 (RootLayout.invalidateLayout): Likewise.
33167 (RootLayout.preferredLayoutSize): Likewise.
33169 2006-01-30 Roman Kennke <kennke@aicas.com>
33172 * javax/swing/JFrame.java
33173 (frameInit): Handle the defaultLookAndFeelDecorated flag.
33174 * javax/swing/plaf/metal/MetalRootPaneUI.java
33175 (MetalFrameBorder): New inner class, provides the border for
33176 top level containers with L&F decorations.
33177 (MetalTitlePane): New inner class, provides the title pane for
33178 top level containers with L&F decorations.
33179 (MetalRootLayout): New inner class. Used to layout the root pane
33180 when L&F window decorations are enabled.
33181 (installUI): New method. Handles window decorations.
33182 (uninstallUI): New method. Handles window decorations.
33183 (propertyChange): Handles window decorations.
33184 (installWindowDecorations): New method. Handles window
33186 (uninstallWindowDecorations): New method. Handles window
33188 * javax/swing/plaf/metal/MetalLookAndFeel.java
33189 (getSupportsWindowDecorations): Overridden to return true.
33191 2006-01-30 Mark Wielaard <mark@klomp.org>
33193 * javax/swing/JProgressBar.java (JProgressBar(int)): Document
33194 IllegalArgumentException when orientation is illegal.
33195 (JProgressBar(int, int, int)): Likewise and throw exception.
33196 (setOrientation): Likewise.
33198 2006-01-30 Roman Kennke <kennke@aicas.com>
33200 * javax/swing/ViewportLayout.java
33201 (minimumLayoutSize): Rewritten to unconditionally return (4,4).
33203 2006-01-30 Mark Wielaard <mark@klomp.org>
33205 * javax/swing/JProgressBar.java (orientation): Always set by
33207 (JProgressBar(int)): Document default on 'illegal' value.
33208 (JProgressBar(int, int, int)): Likewise and set orientation to
33209 HORIZONTAL when 'illegal'.
33210 (setOrientation): Likewise.
33212 2006-01-30 Roman Kennke <kennke@aicas.com>
33214 * javax/swing/plaf/basic/BasicListUI.java
33215 (ListDataHandler.contentsChanged): Update the
33216 updateLayoutStateNeeded flag.
33217 (ListDataHandler.intervalAdded): Update the
33218 updateLayoutStateNeeded flag.
33219 (ListDataHandler.intervalRemoved): Update the
33220 updateLayoutStateNeeded flag.
33221 (PropertyChangeHandler.propertyChange): Correctly update the
33222 listeners on new list model.
33223 (maybeUpdateLayoutState): Don't consider the validation state
33226 2006-01-30 Mark Wielaard <mark@klomp.org>
33228 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
33231 2006-01-30 Roman Kennke <kennke@aicas.com>
33233 * javax/swing/JLayeredPane.java
33234 (insertIndexForLayer): Fixed algorithm to correctly insert
33235 components within different layers and -1 position.
33237 2006-01-30 Mark Wielaard <mark@klomp.org>
33239 * doc/api/Makefile.am (create_html): Add -validhtml.
33241 2006-01-30 Roman Kennke <kennke@aicas.com>
33243 * javax/swing/JLayeredPane.java
33244 (insertIndexForLayer): Fixed algorithm to correctly insert
33245 components within same layer and -1 position.
33247 2006-01-30 Ito Kazumitsu <kaz@maczuka.gcd.org>
33250 * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
33251 New execution flag.
33252 (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
33253 implicit RETokenEnd at the end of the regexp chain.
33254 Do not select the longest match, but select the first match.
33255 (match): Do not take care of REMatch.empty.
33256 * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
33257 * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
33258 * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
33259 * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
33260 Do not take care of REMatch.empty. Set and check REMatch.empty
33261 when trying to match the single token.
33263 2006-01-30 Mark Wielaard <mark@klomp.org>
33265 * java/awt/Cursor.java (toString): Include name and type.
33267 2006-01-30 Raif S. Naffah <raif@swiftdsl.com.au>
33269 * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
33271 * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
33273 2006-01-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33276 * javax/swing/plaf/basic/BasicListUI.java (maybeUpdateLayoutState):
33277 Consider the validation state of the list.
33279 2006-01-29 Robert Schuster <robertschuster@fsfe.org>
33281 * gnu/java/beans/DefaultExceptionListener.java: Constant public field
33283 * java/beans/XMLDecoder.java:
33284 (setExceptionListener): Use shared DefaultExceptionListener
33286 * java/beans/Encoder.java:
33287 (setExceptionListener): Use shared DefaultExceptionListener
33290 2006-01-29 Roman Kennke <kennke@aicas.com>
33292 * javax/swing/ScrollPaneLayout.java
33293 (minimumLayoutSize): Rewritten to match JDKs behaviour.
33295 2006-01-29 Mark Wielaard <mark@klomp.org>
33297 * java/net/SocketPermission.java (setActions): Trim and lower case
33300 2006-01-29 Raif S. Naffah <raif@swiftdsl.com.au>
33302 * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
33303 incorrectly failing primality test for some known primes. Fixed.
33304 (passFermatLittleTheorem): Removed.
33305 (passMillerRabin): Removed.
33306 (isProbablePrime): Cache primes that pass the primality tests.
33307 Use BigInteger.isProbablePrime(int) for primality tests.
33308 (debugBI): New static debugging method.
33310 2006-01-28 Roman Kennke <kennke@aicas.com>
33312 * javax/swing/plaf/basic/BasicListUI.java
33313 (updateLayoutState): Removed unneeded special case for VERTICAL.
33315 2006-01-28 Roman Kennke <kennke@aicas.com>
33317 * javax/swing/plaf/basic/BasicListUI.java
33318 (getCellBounds): Determine correct list width when having a
33319 layoutOrientation of VERTICAL.
33320 (maybeUpdateLayoutState): Don't consider the validation state of
33323 2006-01-28 Mark Wielaard <mark@klomp.org>
33325 Reported by Dimitri Fontaine <dimitri@dalibo.com>
33326 * java/awt/print/NoPrinterJob.java: New (fake) class.
33327 * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
33329 2006-01-28 Mark Wielaard <mark@klomp.org>
33331 * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
33333 2006-01-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33335 * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
33336 (addChildren): New method.
33338 2006-01-28 Raif S. Naffah <raif@swiftdsl.com.au>
33340 * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
33341 constructor for cloning purposes.
33342 (clone): New implementation that ensures cloning.
33343 * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
33344 * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
33347 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33349 * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
33350 Call updateCurrentVisiblePath.
33352 2006-01-27 Roman Kennke <kennke@aicas.com>
33354 * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
33356 2006-01-27 Roman Kennke <kennke@aicas.com>
33358 * examples/gnu/classpath/examples/swing/ButtonDemo.java
33359 (createContent): Only create new content if we don't have one
33361 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
33362 (createContent): Only create new content if we don't have one
33364 * examples/gnu/classpath/examples/swing/FileChooserDemo.java
33365 (createContent): Only create new content if we don't have one
33367 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
33368 (createContent): Only create new content if we don't have one
33370 * examples/gnu/classpath/examples/swing/SliderDemo.java
33371 (createContent): Only create new content if we don't have one
33373 * examples/gnu/classpath/examples/swing/TableDemo.java
33374 (createContent): Only create new content if we don't have one
33376 * examples/gnu/classpath/examples/swing/TextFieldDemo.java
33377 (createContent): Only create new content if we don't have one
33380 2006-01-27 Lillian Angel <langel@redhat.com>
33382 * javax/swing/text/DefaultStyledDocument.java
33383 (insertFirstContentTag): Removed check, not needed. This
33384 still needs to be fixed for some cases. Added call to
33386 (createFracture): Added call to recreateLeaves.
33387 (recreateLeaves): New method used to recreate all the
33388 leaves after the initial insertion. This still needs
33390 (handleInsertAfterNewline): Removed else, not needed.
33392 2006-01-27 Roman Kennke <kennke@aicas.com>
33394 * javax/swing/JLayeredPane.java
33395 (inserIndexForLayer): Fixed direction of search.
33397 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33399 * javax/swing/JTree.java (constructor): Put EXPANDED for the root
33400 node into nodeStates.
33402 2006-01-27 Roman Kennke <kennke@aicas.com>
33404 * javax/swing/JLayeredPane.java
33405 (FRAME_CONTENT_LAYER): Made field final.
33406 (componentToLayer): Made field private.
33407 (rectCache): Removed field.
33408 (layers): Removed field.
33409 (JLayeredPane()): Removed initialization of removed fields.
33410 (getLayer): Rewritten to make use of client properties in
33411 JComponents and to be more straighforward.
33412 (static getLayer): Rewritten to make use of client properties in
33414 (layerToRange): Removed method.
33415 (incrLayer): Removed method.
33416 (decrLayer): Removed method.
33417 (highestLayer): Rewritten to be more straightforward.
33418 (lowestLayer): Rewritten to be more straightforward.
33419 (getPosition): Rewritten to be more straightforward.
33420 (getComponentsInLayer): Rewritten to be more straightforward.
33421 (getComponentCountInLayer): Rewritten to be more straightforward.
33422 (getIndexOf): Rewritten to be more straightforward.
33423 (inserIndexForLayer): Rewritten to be more straightforward.
33424 (remove): Rewritten to be more straightforward.
33425 (setLayer): Rewritten to be more straightforward.
33426 (addImpl): Rewritten to be more straightforward.
33427 (putLayer): Rewritten to be more straightforward.
33429 2006-01-27 Anthony Balkissoon <abalkiss@redhat.com>
33431 * java/lang/Character.java:
33432 (offsetByCodePoints(CharSequence, int, int)): New API method.
33433 (offsetByCodePoints(char[], int, int, int, int)): Likewise.
33434 (toChars): Throw the Exception that the docs say we throw.
33435 (codePointAt): Fixed an off-by-one error in the bounds of the if
33437 * java/lang/String.java:
33438 (String(int[], int, int)): New API constructor.
33440 2006-01-27 Lillian Angel <langel@redhat.com>
33442 * javax/swing/text/DefaultStyledDocument.java
33443 (insert): Moved this loop to insertUpdate.
33444 (insertUpdate): Likewise. Fixed variable
33445 names. Incremented pos if new paragraph
33447 (split): Changed edits to use replace instead. Prevents
33449 (insertFirstContentTag): Removed else.
33450 (insertContentTag): Implemented else for JoinNextDirection.
33451 (createFracture): Fixed up code, still not fully complete.
33452 (insertFracture): Fixed to use return value from
33453 recreateAfterFracture.
33454 (recreateAfterFracture): Changed to return an array of the
33455 elements to be added. This prevents an assertion error.
33456 (contains): New function checks if an element is already in
33457 the Vector. Vector's contain function was not enough to use.
33458 (addAddedElement): Changed to use new contains function.
33459 (addAddedElements): Likewise.
33460 (addRemovedElement): Likewise.
33461 (addRemovedElements): Likewise.
33463 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33466 * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33467 If no user class loaders found on the stack, return the thread
33468 context class loader. (currentClassLoader): Explained.
33470 2006-01-27 Roman Kennke <kennke@aicas.com>
33472 * java/awt/Container.java
33473 (swapComponents): Removed unspecified method.
33474 * javax/swing/JLayeredPane.java
33475 (setPosition): Reimplemented correctly.
33476 (swapComponents): New helper method.
33478 2006-01-27 Mark Wielaard <mark@klomp.org>
33480 * configure.ac: Set version to 0.21-pre.
33482 2006-01-27 Roman Kennke <kennke@aicas.com>
33485 * javax/swing/JComponent.java
33486 (findOverlapFreeParent): Improved the algorithm to make better use
33487 of the optimizedDrawingEnabled flag.
33488 * javax/swing/JLayeredPane.java
33489 (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33490 * javax/swing/JViewport.java
33491 (computeBlit): Fixed check to decide if blitting is possible or not,
33492 so that it doesn't blit if nothing was scrolled (in order to
33493 update the buffer when the view updates itself).
33495 2006-01-27 Roman Kennke <kennke@aicas.com>
33497 * javax/swing/plaf/metal/MetalFileChooserUI.java
33498 (createList): Don't set scrollbar policy.
33500 2006-01-27 Roman Kennke <kennke@aicas.com>
33502 * javax/swing/plaf/basic/BasicPopupMenuUI.java
33503 (PopupMenuHandler.popupMenuWillBecomeInvisible):
33504 Fixed to also handle non-Swing toplevel containers.
33505 (PopupMenuHandler.popupMenuWillBecomeVisible):
33506 Fixed to also handle non-Swing toplevel containers.
33507 * javax/swing/Popup.java
33508 (JWindowPopup.JWindowPopup()): Correctly set parent window on
33511 2006-01-27 Roman Kennke <kennke@aicas.com>
33513 * javax/swing/plaf/basic/BasicInternalFrameUI.java
33514 (InternalFramePropertyChangeListener): Don't implement
33515 VetoableChangeListener.
33516 (InternalFramePropertyChangeListener.vetoableChange): Removed.
33517 (internalFrameVetoableChangeListener): Removed unneeded field.
33518 (installListeners): Don't install vetoableChangeListener.
33519 * javax/swing/event/DocumentEvent.java
33520 (EventType): Made class final.
33522 2006-01-27 Roman Kennke <kennke@aicas.com>
33524 * javax/swing/SwingUtilities.java
33525 (calculateInsetArea): Removed unneeded method. The method
33526 calculateInnerArea has the same purpose and is actually specified.
33527 (calculateInnerArea): Rewritten to not use calculateInsetArea.
33528 * javax/swing/plaf/basic/BasicMenuItemUI.java
33529 (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33530 of SwingUtilities.calculateInsetArea().
33532 2006-01-27 Roman Kennke <kennke@aicas.com>
33534 * javax/swing/plaf/basic/BasicTreeUI.java
33535 (installDefaults): Removed requestFocusInWindow() call.
33536 * javax/swing/JComponent.java
33537 (requestFocusInWindow(boolean)): Made method protected.
33538 (printComponent): Made method protected.
33539 (printChildren): Made method protected.
33540 (printComponent): Made method protected.
33541 (printBorder): Made method protected.
33543 2006-01-27 Roman Kennke <kennke@aicas.com>
33545 * javax/swing/AbstractButton.java
33546 (ButtonChangeListener.ButtonChangeListener()): Made constructor
33548 * javax/swing/ImageIcon.java
33549 (component): Made field final.
33550 (tracker): Made field final.
33551 * javax/swing/JApplet.java
33552 (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33553 * javax/swing/JCheckBox.java
33554 (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33556 * javax/swing/JDialog.java
33557 (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33558 * javax/swing/JFrame.java
33559 (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33560 * javax/swing/JLayeredPane.java
33561 (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33563 (DEFAULT_LAYER): Made field final.
33564 (PALETTE_LAYER): Made field final.
33565 (MODAL_LAYER): Made field final.
33566 (POPUP_LAYER): Made field final.
33567 (DRAG_LAYER): Made field final.
33568 * javax/swing/JMenu.java
33569 (ActionChangeListener): Made class private.
33570 * javax/swing/JOptionPane.java
33571 (UNITITIALIZED_VALUE): Made field final.
33572 * javax/swing/JPanel.java
33573 (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33574 * javax/swing/JPopupMenu.java
33575 (ActionChangeListener): Made class private.
33576 * javax/swing/JTree.java
33577 (paramString): Made method protected.
33578 * javax/swing/JViewport.java
33579 (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33580 * javax/swing/JWindow.java
33581 (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33582 * javax/swing/RepaintManager.java
33583 (RepaintWorker): Made class private.
33585 2006-01-27 Roman Kennke <kennke@aicas.com>
33587 * gnu/java/awt/peer/swing/SwingComponentPeer.java
33588 (handleEvent): Removed debug statement.
33590 2006-01-27 Roman Kennke <kennke@aicas.com>
33592 * java/awt/Component.java
33593 (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33594 more than it helps.
33596 2006-01-26 Lillian Angel <langel@redhat.com>
33598 * javax/swing/text/DefaultStyledDocument.java
33599 (createFracture): Commented out a known problem,
33602 2006-01-26 Lillian Angel <langel@redhat.com>
33604 * javax/swing/text/DefaultStyledDocument.java
33605 (ElementBuffer): Added fields.
33606 (remove): Initialized pos.
33607 (change): Likewise.
33608 (insert): Likewise.
33609 (insertUpdate): Incremented pos. Fixed check, createFracture should
33610 be called on first tag if it is not ContentType.
33611 (insertFirstContentTag): Reworked to use proper offsets and
33612 set offset accordingly. This might need more work in the future.
33613 (insertContentTag): Likewise. Fixed to use pos, instead of
33615 (createFracture): Fixed to recreate other leaves. Still needs
33617 (insertFracture): Reimplemented.
33618 (recreateAfterFracture): New method.
33619 (getParagraphElement): Reimplemented, more efficent.
33621 2006-01-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
33623 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33624 (doubleToRawLongBits, longBitsToDouble): Swap the byte
33625 ordering for little-endian arms without VFP.
33627 2006-01-26 Raif S. Naffah <raif@swiftdsl.com.au>
33630 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33632 2006-01-26 Mark Wielaard <mark@klomp.org>
33634 Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33635 * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33636 Add trailing zeros to the fraction of the decimal with the smallest
33639 2006-01-26 Roman Kennke <kennke@aicas.com>
33641 * javax/swing/text/html/ObjectView.java: New file.
33643 2006-01-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33645 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
33646 Call startEditing when appropriate.
33647 (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33648 (startEditing): Always edit if directly ordered from
33649 MouseHandler.mousePressed.
33650 * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START):
33651 New field. (createTreeCellEditor): Set click count to start.
33652 (getTreeCellEditorComponent): Assing realEditor directly.
33654 2006-01-25 Casey Marshall <csm@gnu.org>
33656 Merging GNU Crypto and Jessie.
33658 * NEWS: mention the merge in the 0.21 notes.
33659 * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33660 (SSL_RECORD_LAYER): new constants.
33661 * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33663 * resource/java/security/classpath.security: add new providers.
33664 * gnu/javax/crypto/assembly/Assembly.java,
33665 gnu/javax/crypto/assembly/Cascade.java,
33666 gnu/javax/crypto/assembly/CascadeStage.java,
33667 gnu/javax/crypto/assembly/CascadeTransformer.java,
33668 gnu/javax/crypto/assembly/DeflateTransformer.java,
33669 gnu/javax/crypto/assembly/Direction.java,
33670 gnu/javax/crypto/assembly/LoopbackTransformer.java,
33671 gnu/javax/crypto/assembly/ModeStage.java,
33672 gnu/javax/crypto/assembly/Operation.java,
33673 gnu/javax/crypto/assembly/PaddingTransformer.java,
33674 gnu/javax/crypto/assembly/Stage.java,
33675 gnu/javax/crypto/assembly/Transformer.java,
33676 gnu/javax/crypto/assembly/TransformerException.java,
33677 gnu/javax/crypto/cipher/Anubis.java,
33678 gnu/javax/crypto/cipher/BaseCipher.java,
33679 gnu/javax/crypto/cipher/Blowfish.java,
33680 gnu/javax/crypto/cipher/Cast5.java,
33681 gnu/javax/crypto/cipher/CipherFactory.java,
33682 gnu/javax/crypto/cipher/DES.java,
33683 gnu/javax/crypto/cipher/IBlockCipher.java,
33684 gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33685 gnu/javax/crypto/cipher/Khazad.java,
33686 gnu/javax/crypto/cipher/NullCipher.java,
33687 gnu/javax/crypto/cipher/Rijndael.java,
33688 gnu/javax/crypto/cipher/Serpent.java,
33689 gnu/javax/crypto/cipher/Square.java,
33690 gnu/javax/crypto/cipher/TripleDES.java,
33691 gnu/javax/crypto/cipher/Twofish.java,
33692 gnu/javax/crypto/cipher/WeakKeyException.java,
33693 gnu/javax/crypto/jce/GnuCrypto.java,
33694 gnu/javax/crypto/jce/GnuSasl.java,
33695 gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33696 gnu/javax/crypto/jce/cipher/AESSpi.java,
33697 gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33698 gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33699 gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33700 gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33701 gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33702 gnu/javax/crypto/jce/cipher/DESSpi.java,
33703 gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33704 gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33705 gnu/javax/crypto/jce/cipher/PBES2.java,
33706 gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33707 gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33708 gnu/javax/crypto/jce/cipher/SquareSpi.java,
33709 gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33710 gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33711 gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33712 gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33713 gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33714 gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33715 gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33716 gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33717 gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33718 gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33719 gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33720 gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33721 gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33722 gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33723 gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33724 gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33725 gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33726 gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33727 gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33728 gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33729 gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33730 gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33731 gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33732 gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33733 gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33734 gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33735 gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33736 gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33737 gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33738 gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33739 gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33740 gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33741 gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33742 gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33743 gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33744 gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33745 gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33746 gnu/javax/crypto/jce/mac/MacAdapter.java,
33747 gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33748 gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33749 gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33750 gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33751 gnu/javax/crypto/jce/mac/OMacImpl.java,
33752 gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33753 gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33754 gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33755 gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33756 gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33757 gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33758 gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33759 gnu/javax/crypto/jce/mac/UHash32Spi.java,
33760 gnu/javax/crypto/jce/mac/UMac32Spi.java,
33761 gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33762 gnu/javax/crypto/jce/params/DEREncodingException.java,
33763 gnu/javax/crypto/jce/params/DERReader.java,
33764 gnu/javax/crypto/jce/params/DERWriter.java,
33765 gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33766 gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33767 gnu/javax/crypto/jce/prng/FortunaImpl.java,
33768 gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33769 gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33770 gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33771 gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33772 gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33773 gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33774 gnu/javax/crypto/key/GnuSecretKey.java,
33775 gnu/javax/crypto/key/IKeyAgreementParty.java,
33776 gnu/javax/crypto/key/IncomingMessage.java,
33777 gnu/javax/crypto/key/KeyAgreementException.java,
33778 gnu/javax/crypto/key/KeyAgreementFactory.java,
33779 gnu/javax/crypto/key/OutgoingMessage.java,
33780 gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33781 gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33782 gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33783 gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33784 gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33785 gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33786 gnu/javax/crypto/key/dh/ElGamalSender.java,
33787 gnu/javax/crypto/key/dh/GnuDHKey.java,
33788 gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33789 gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33790 gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33791 gnu/javax/crypto/key/dh/RFC2631.java,
33792 gnu/javax/crypto/key/srp6/SRP6Host.java,
33793 gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33794 gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33795 gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33796 gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33797 gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33798 gnu/javax/crypto/key/srp6/SRP6User.java,
33799 gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33800 gnu/javax/crypto/key/srp6/SRPKey.java,
33801 gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33802 gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33803 gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33804 gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33805 gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33806 gnu/javax/crypto/keyring/BaseKeyring.java,
33807 gnu/javax/crypto/keyring/BinaryDataEntry.java,
33808 gnu/javax/crypto/keyring/CertPathEntry.java,
33809 gnu/javax/crypto/keyring/CertificateEntry.java,
33810 gnu/javax/crypto/keyring/CompressedEntry.java,
33811 gnu/javax/crypto/keyring/EncryptedEntry.java,
33812 gnu/javax/crypto/keyring/Entry.java,
33813 gnu/javax/crypto/keyring/EnvelopeEntry.java,
33814 gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33815 gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33816 gnu/javax/crypto/keyring/IKeyring.java,
33817 gnu/javax/crypto/keyring/IPrivateKeyring.java,
33818 gnu/javax/crypto/keyring/IPublicKeyring.java,
33819 gnu/javax/crypto/keyring/MalformedKeyringException.java,
33820 gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
33821 gnu/javax/crypto/keyring/MeteredInputStream.java,
33822 gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
33823 gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
33824 gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
33825 gnu/javax/crypto/keyring/PrimitiveEntry.java,
33826 gnu/javax/crypto/keyring/PrivateKeyEntry.java,
33827 gnu/javax/crypto/keyring/Properties.java,
33828 gnu/javax/crypto/keyring/PublicKeyEntry.java,
33829 gnu/javax/crypto/mac/BaseMac.java,
33830 gnu/javax/crypto/mac/HMac.java,
33831 gnu/javax/crypto/mac/HMacFactory.java,
33832 gnu/javax/crypto/mac/IMac.java,
33833 gnu/javax/crypto/mac/MacFactory.java,
33834 gnu/javax/crypto/mac/MacInputStream.java,
33835 gnu/javax/crypto/mac/MacOutputStream.java,
33836 gnu/javax/crypto/mac/OMAC.java,
33837 gnu/javax/crypto/mac/TMMH16.java,
33838 gnu/javax/crypto/mac/UHash32.java,
33839 gnu/javax/crypto/mac/UMac32.java,
33840 gnu/javax/crypto/mode/BaseMode.java,
33841 gnu/javax/crypto/mode/CBC.java,
33842 gnu/javax/crypto/mode/CFB.java,
33843 gnu/javax/crypto/mode/CTR.java,
33844 gnu/javax/crypto/mode/EAX.java,
33845 gnu/javax/crypto/mode/ECB.java,
33846 gnu/javax/crypto/mode/IAuthenticatedMode.java,
33847 gnu/javax/crypto/mode/ICM.java,
33848 gnu/javax/crypto/mode/IMode.java,
33849 gnu/javax/crypto/mode/ModeFactory.java,
33850 gnu/javax/crypto/mode/OFB.java,
33851 gnu/javax/crypto/pad/BasePad.java,
33852 gnu/javax/crypto/pad/IPad.java,
33853 gnu/javax/crypto/pad/PKCS1_V1_5.java,
33854 gnu/javax/crypto/pad/PKCS7.java,
33855 gnu/javax/crypto/pad/PadFactory.java,
33856 gnu/javax/crypto/pad/SSL3.java,
33857 gnu/javax/crypto/pad/TBC.java,
33858 gnu/javax/crypto/pad/TLS1.java,
33859 gnu/javax/crypto/pad/WrongPaddingException.java,
33860 gnu/javax/crypto/prng/ARCFour.java,
33861 gnu/javax/crypto/prng/CSPRNG.java,
33862 gnu/javax/crypto/prng/Fortuna.java,
33863 gnu/javax/crypto/prng/ICMGenerator.java,
33864 gnu/javax/crypto/prng/IPBE.java,
33865 gnu/javax/crypto/prng/PBKDF2.java,
33866 gnu/javax/crypto/prng/PRNGFactory.java,
33867 gnu/javax/crypto/prng/UMacGenerator.java,
33868 gnu/javax/crypto/sasl/AuthInfo.java,
33869 gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
33870 gnu/javax/crypto/sasl/ClientFactory.java,
33871 gnu/javax/crypto/sasl/ClientMechanism.java,
33872 gnu/javax/crypto/sasl/ConfidentialityException.java,
33873 gnu/javax/crypto/sasl/IAuthInfoProvider.java,
33874 gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
33875 gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
33876 gnu/javax/crypto/sasl/InputBuffer.java,
33877 gnu/javax/crypto/sasl/IntegrityException.java,
33878 gnu/javax/crypto/sasl/NoSuchMechanismException.java,
33879 gnu/javax/crypto/sasl/NoSuchUserException.java,
33880 gnu/javax/crypto/sasl/OutputBuffer.java,
33881 gnu/javax/crypto/sasl/SaslEncodingException.java,
33882 gnu/javax/crypto/sasl/SaslInputStream.java,
33883 gnu/javax/crypto/sasl/SaslOutputStream.java,
33884 gnu/javax/crypto/sasl/SaslUtil.java,
33885 gnu/javax/crypto/sasl/ServerFactory.java,
33886 gnu/javax/crypto/sasl/ServerMechanism.java,
33887 gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
33888 gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
33889 gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
33890 gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
33891 gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
33892 gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
33893 gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
33894 gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
33895 gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
33896 gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
33897 gnu/javax/crypto/sasl/plain/PasswordFile.java,
33898 gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
33899 gnu/javax/crypto/sasl/plain/PlainClient.java,
33900 gnu/javax/crypto/sasl/plain/PlainRegistry.java,
33901 gnu/javax/crypto/sasl/plain/PlainServer.java,
33902 gnu/javax/crypto/sasl/srp/CALG.java,
33903 gnu/javax/crypto/sasl/srp/ClientStore.java,
33904 gnu/javax/crypto/sasl/srp/IALG.java,
33905 gnu/javax/crypto/sasl/srp/KDF.java,
33906 gnu/javax/crypto/sasl/srp/PasswordFile.java,
33907 gnu/javax/crypto/sasl/srp/SRP.java,
33908 gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
33909 gnu/javax/crypto/sasl/srp/SRPClient.java,
33910 gnu/javax/crypto/sasl/srp/SRPRegistry.java,
33911 gnu/javax/crypto/sasl/srp/SRPServer.java,
33912 gnu/javax/crypto/sasl/srp/SecurityContext.java,
33913 gnu/javax/crypto/sasl/srp/ServerStore.java,
33914 gnu/javax/crypto/sasl/srp/StoreEntry.java,
33915 gnu/javax/net/ssl/Base64.java,
33916 gnu/javax/net/ssl/EntropySource.java,
33917 gnu/javax/net/ssl/NullManagerParameters.java,
33918 gnu/javax/net/ssl/PrivateCredentials.java,
33919 gnu/javax/net/ssl/SRPManagerParameters.java,
33920 gnu/javax/net/ssl/SRPTrustManager.java,
33921 gnu/javax/net/ssl/StaticTrustAnchors.java,
33922 gnu/javax/net/ssl/provider/Alert.java,
33923 gnu/javax/net/ssl/provider/AlertException.java,
33924 gnu/javax/net/ssl/provider/Certificate.java,
33925 gnu/javax/net/ssl/provider/CertificateRequest.java,
33926 gnu/javax/net/ssl/provider/CertificateType.java,
33927 gnu/javax/net/ssl/provider/CertificateVerify.java,
33928 gnu/javax/net/ssl/provider/CipherSuite.java,
33929 gnu/javax/net/ssl/provider/ClientHello.java,
33930 gnu/javax/net/ssl/provider/ClientKeyExchange.java,
33931 gnu/javax/net/ssl/provider/CompressionMethod.java,
33932 gnu/javax/net/ssl/provider/Constructed.java,
33933 gnu/javax/net/ssl/provider/ContentType.java,
33934 gnu/javax/net/ssl/provider/Context.java,
33935 gnu/javax/net/ssl/provider/DiffieHellman.java,
33936 gnu/javax/net/ssl/provider/DigestInputStream.java,
33937 gnu/javax/net/ssl/provider/DigestOutputStream.java,
33938 gnu/javax/net/ssl/provider/Enumerated.java,
33939 gnu/javax/net/ssl/provider/Extension.java,
33940 gnu/javax/net/ssl/provider/Extensions.java,
33941 gnu/javax/net/ssl/provider/Finished.java,
33942 gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
33943 gnu/javax/net/ssl/provider/Handshake.java,
33944 gnu/javax/net/ssl/provider/JCESecurityParameters.java,
33945 gnu/javax/net/ssl/provider/JDBCSessionContext.java,
33946 gnu/javax/net/ssl/provider/Jessie.java,
33947 gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
33948 gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
33949 gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
33950 gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
33951 gnu/javax/net/ssl/provider/KeyPool.java,
33952 gnu/javax/net/ssl/provider/MacException.java,
33953 gnu/javax/net/ssl/provider/OverflowException.java,
33954 gnu/javax/net/ssl/provider/PRNG.java,
33955 gnu/javax/net/ssl/provider/ProtocolVersion.java,
33956 gnu/javax/net/ssl/provider/Random.java,
33957 gnu/javax/net/ssl/provider/RecordInput.java,
33958 gnu/javax/net/ssl/provider/RecordInputStream.java,
33959 gnu/javax/net/ssl/provider/RecordOutputStream.java,
33960 gnu/javax/net/ssl/provider/RecordingInputStream.java,
33961 gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
33962 gnu/javax/net/ssl/provider/SSLHMac.java,
33963 gnu/javax/net/ssl/provider/SSLRSASignature.java,
33964 gnu/javax/net/ssl/provider/SSLRandom.java,
33965 gnu/javax/net/ssl/provider/SSLServerSocket.java,
33966 gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
33967 gnu/javax/net/ssl/provider/SSLSocket.java,
33968 gnu/javax/net/ssl/provider/SSLSocketFactory.java,
33969 gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
33970 gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
33971 gnu/javax/net/ssl/provider/SecurityParameters.java,
33972 gnu/javax/net/ssl/provider/ServerHello.java,
33973 gnu/javax/net/ssl/provider/ServerKeyExchange.java,
33974 gnu/javax/net/ssl/provider/Session.java,
33975 gnu/javax/net/ssl/provider/SessionContext.java,
33976 gnu/javax/net/ssl/provider/Signature.java,
33977 gnu/javax/net/ssl/provider/SynchronizedRandom.java,
33978 gnu/javax/net/ssl/provider/TLSHMac.java,
33979 gnu/javax/net/ssl/provider/TLSRandom.java,
33980 gnu/javax/net/ssl/provider/Util.java,
33981 gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
33982 gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
33983 gnu/javax/net/ssl/provider/XMLSessionContext.java,
33984 gnu/javax/security/auth/Password.java,
33985 gnu/javax/security/auth/callback/AWTCallbackHandler.java,
33986 gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
33987 gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
33988 gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
33989 gnu/javax/security/auth/callback/GnuCallbacks.java,
33990 gnu/javax/security/auth/callback/SwingCallbackHandler.java,
33991 gnu/java/security/Registry.java,
33992 gnu/java/security/Properties.java,
33993 gnu/java/security/hash/BaseHash.java,
33994 gnu/java/security/hash/HashFactory.java,
33995 gnu/java/security/hash/Haval.java,
33996 gnu/java/security/hash/IMessageDigest.java,
33997 gnu/java/security/hash/MD2.java,
33998 gnu/java/security/hash/MD4.java,
33999 gnu/java/security/hash/MD5.java,
34000 gnu/java/security/hash/RipeMD128.java,
34001 gnu/java/security/hash/RipeMD160.java,
34002 gnu/java/security/hash/Sha160.java,
34003 gnu/java/security/hash/Sha256.java,
34004 gnu/java/security/hash/Sha384.java,
34005 gnu/java/security/hash/Sha512.java,
34006 gnu/java/security/hash/Tiger.java,
34007 gnu/java/security/hash/Whirlpool.java,
34008 gnu/java/security/jce/hash/HavalSpi.java,
34009 gnu/java/security/jce/hash/MD2Spi.java,
34010 gnu/java/security/jce/hash/MD4Spi.java,
34011 gnu/java/security/jce/hash/MD5Spi.java,
34012 gnu/java/security/jce/hash/MessageDigestAdapter.java,
34013 gnu/java/security/jce/hash/RipeMD128Spi.java,
34014 gnu/java/security/jce/hash/RipeMD160Spi.java,
34015 gnu/java/security/jce/hash/Sha160Spi.java,
34016 gnu/java/security/jce/hash/Sha256Spi.java,
34017 gnu/java/security/jce/hash/Sha384Spi.java,
34018 gnu/java/security/jce/hash/Sha512Spi.java,
34019 gnu/java/security/jce/hash/TigerSpi.java,
34020 gnu/java/security/jce/hash/WhirlpoolSpi.java,
34021 gnu/java/security/jce/prng/HavalRandomSpi.java,
34022 gnu/java/security/jce/prng/MD2RandomSpi.java,
34023 gnu/java/security/jce/prng/MD4RandomSpi.java,
34024 gnu/java/security/jce/prng/MD5RandomSpi.java,
34025 gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
34026 gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
34027 gnu/java/security/jce/prng/SecureRandomAdapter.java,
34028 gnu/java/security/jce/prng/Sha160RandomSpi.java,
34029 gnu/java/security/jce/prng/Sha256RandomSpi.java,
34030 gnu/java/security/jce/prng/Sha384RandomSpi.java,
34031 gnu/java/security/jce/prng/Sha512RandomSpi.java,
34032 gnu/java/security/jce/prng/TigerRandomSpi.java,
34033 gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
34034 gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
34035 gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
34036 gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
34037 gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
34038 gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
34039 gnu/java/security/jce/sig/SignatureAdapter.java,
34040 gnu/java/security/key/IKeyPairCodec.java,
34041 gnu/java/security/key/IKeyPairGenerator.java,
34042 gnu/java/security/key/KeyPairCodecFactory.java,
34043 gnu/java/security/key/KeyPairGeneratorFactory.java,
34044 gnu/java/security/key/dss/DSSKey.java,
34045 gnu/java/security/key/dss/DSSKeyPairGenerator.java,
34046 gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
34047 gnu/java/security/key/dss/DSSPrivateKey.java,
34048 gnu/java/security/key/dss/DSSPublicKey.java,
34049 gnu/java/security/key/dss/FIPS186.java,
34050 gnu/java/security/key/rsa/GnuRSAKey.java,
34051 gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
34052 gnu/java/security/key/rsa/GnuRSAPublicKey.java,
34053 gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
34054 gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
34055 gnu/java/security/prng/BasePRNG.java,
34056 gnu/java/security/prng/EntropySource.java,
34057 gnu/java/security/prng/IRandom.java,
34058 gnu/java/security/prng/LimitReachedException.java,
34059 gnu/java/security/prng/MDGenerator.java,
34060 gnu/java/security/prng/PRNGFactory.java,
34061 gnu/java/security/prng/RandomEvent.java,
34062 gnu/java/security/prng/RandomEventListener.java,
34063 gnu/java/security/sig/BaseSignature.java,
34064 gnu/java/security/sig/ISignature.java,
34065 gnu/java/security/sig/ISignatureCodec.java,
34066 gnu/java/security/sig/SignatureFactory.java,
34067 gnu/java/security/sig/dss/DSSSignature.java,
34068 gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
34069 gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
34070 gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
34071 gnu/java/security/sig/rsa/EMSA_PSS.java,
34072 gnu/java/security/sig/rsa/RSA.java,
34073 gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
34074 gnu/java/security/sig/rsa/RSAPSSSignature.java,
34075 gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
34076 gnu/java/security/util/Base64.java,
34077 gnu/java/security/util/ExpirableObject.java,
34078 gnu/java/security/util/Prime2.java,
34079 gnu/java/security/util/Sequence.java,
34080 gnu/java/security/util/SimpleList.java,
34081 gnu/java/security/util/Util.java,
34082 resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
34083 new files imported from GNU Crypto and Jessie.
34085 2006-01-25 Tom Tromey <tromey@redhat.com>
34087 * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
34088 Fixed calculation of number of bytes to read.
34089 (size, count, meta, eof): Document.
34091 2006-01-25 Anthony Balkissoon <abalkiss@redhat.com>
34093 * java/lang/Character.java:
34094 (codePointCount(char[], int, int)): New API method.
34095 (codePointCount(CharSequence, int, int)): Likewise.
34097 2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34100 * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent):
34102 * javax/swing/JTree.java (stopEditing, cancelEditing): Return without
34103 action if not editing.
34104 * javax/swing/plaf/basic/BasicTreeUI.java
34105 (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
34106 (CellEditorHandler.editingStopped): Delegate to stopEditing.
34107 (EditorUpdateTimer): Removed.
34108 (TreeAction.actionPerformed): Stop and not cancel the current editing
34109 when starting editing another node.
34110 (editorTimer, newVal): Removed.
34111 (cancelEditing): Do not send the cancel message.
34112 (completeEditing): Obtain the edited value from the editor.
34113 (finish): New method.
34114 (paintRow): Do not paint the editing component here.
34115 (startEditing, stopEditing): Rewritten.
34116 * javax/swing/tree/DefaultTreeCellEditor.java
34117 (DefaultTextField): Added SVUID.
34118 (EditorContainer): Rewritten.
34119 (RealEditorListener): New inner class.
34120 (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
34121 (constructor): Add cell editor listener. Do not instantiate timer.
34122 (actionPerformed): Return without action.
34123 (cancelCellEditing): Rewritten.
34124 (createTreeCellEditor): Add cell editor listener to the editor.
34125 (getCellEditorValue): Request the value from the realEditor.
34126 (isCellEditable): Removed timer management.
34127 (prepareForEditing): Remove all components befor adding the
34129 (startEditingTimer): Start only if it is not null.
34130 (stopCellEditing): Rewritten.
34131 (stopEditingTimer): New method.
34132 (valueChanged): Do not configure editing component here.
34134 2006-01-25 Roman Kennke <kennke@aicas.com>
34136 * javax/swing/text/html/FormView.java: New file.
34138 2006-01-25 Roman Kennke <kennke@aicas.com>
34140 * javax/swing/JSplitPane.java
34141 (addImpl): Call resetToPreferredSizes() when no dividerLocation
34142 has been set in order to set an initial layout.
34143 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34144 (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
34145 layout of the right component.
34146 (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
34147 dividerLocation to the size of the left component.
34148 (createDefaultNonContinuousLayoutDivider): Fetch the color from
34150 (setDividerLocation): Don't validate the location here. Sometimes
34151 the divider needs to be set to an invalid location.
34152 (startDragging): Don't revalidate and repaint here.
34153 (finishDraggingTo): Don't repaint here. Also, don't call
34154 dragDividerTo() here.
34155 * javax/swing/plaf/basic/BasicLookAndFeel.java
34156 (initComponentDefaults): Added SplitPaneDivider.draggingColor
34159 2006-01-25 Roman Kennke <kennke@aicas.com>
34161 * javax/swing/JSplitPane.java
34162 (addImpl): Removed invalidate() and layout() call.
34163 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34164 (PropertyHandler.propertyChange): Remove layoutContainer() and
34167 2006-01-25 Roman Kennke <kennke@aicas.com>
34170 * native/Makefile.am
34171 * native/jni/classpath/Makefile.am
34172 * native/jni/classpath/jcl.c
34173 * native/jni/classpath/jcl.h
34174 * native/jni/classpath/native_state.c
34175 * native/jni/gtk-peer/Makefile.am
34176 * native/jni/java-io/Makefile.am
34177 * native/jni/java-io/java_io_VMFile.c
34178 * native/jni/java-io/java_io_VMObjectStreamClass.c
34179 * native/jni/java-lang/Makefile.am
34180 * native/jni/java-net/Makefile.am
34181 * native/jni/java-net/java_net_VMInetAddress.c
34182 * native/jni/java-net/javanet.c
34183 * native/jni/java-net/javanet.h
34184 * native/jni/java-nio/Makefile.am
34185 * native/jni/java-nio/gnu_java_nio_VMPipe.c
34186 * native/jni/java-nio/gnu_java_nio_VMSelector.c
34187 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
34188 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
34189 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
34190 * native/jni/java-util/Makefile.am
34191 * native/jni/java-util/java_util_VMTimeZone.c
34192 * native/jni/midi-dssi/Makefile.am
34193 * native/jni/xmlj/Makefile.am
34194 * native/target/Makefile.am
34195 * native/target/Linux/target_native_math.h
34196 * native/target/Linux/target_native_memory.h
34197 * native/target/Linux/Makefile.am
34198 * native/target/Linux/target_native_io.h
34199 * native/target/Linux/target_native_math_float.h
34200 * native/target/Linux/target_native_math_int.h
34201 * native/target/generic/target_generic.c
34202 * native/target/generic/target_generic_io.c
34203 * native/target/generic/target_generic_math.h
34204 * native/target/generic/target_generic_memory.h
34205 * native/target/generic/target_generic_misc.c
34206 * native/target/generic/target_generic_network.c
34207 * native/target/generic/Makefile.am
34208 * native/target/generic/target_generic.h
34209 * native/target/generic/target_generic_file.h
34210 * native/target/generic/target_generic_io.h
34211 * native/target/generic/target_generic_math_float.h
34212 * native/target/generic/target_generic_math_int.h
34213 * native/target/generic/target_generic_misc.h
34214 * native/target/generic/target_generic_network.h:
34215 Reverted target native related changes back to the state of the
34217 * native/target/MinGW/.cvsignore
34218 * native/target/MinGW/Makefile.am
34219 * native/target/MinGW/target_native.h
34220 * native/target/MinGW/target_native_file.h
34221 * native/target/MinGW/target_native_io.h
34222 * native/target/MinGW/target_native_math.h
34223 * native/target/MinGW/target_native_memory.h
34224 * native/target/MinGW/target_native_misc.h
34225 * native/target/MinGW/target_native_network.h
34226 * native/target/RTEMS/.cvsignore
34227 * native/target/RTEMS/Makefile.am
34228 * native/target/RTEMS/target_native.h
34229 * native/target/RTEMS/target_native_file.h
34230 * native/target/RTEMS/target_native_io.h
34231 * native/target/RTEMS/target_native_math.h
34232 * native/target/RTEMS/target_native_memory.h
34233 * native/target/RTEMS/target_native_misc.h
34234 * native/target/RTEMS/target_native_network.h
34235 * native/target/SunOS/.cvsignore
34236 * native/target/SunOS/Makefile.am
34237 * native/target/SunOS/target_native.h
34238 * native/target/SunOS/target_native_file.h
34239 * native/target/SunOS/target_native_io.h
34240 * native/target/SunOS/target_native_math.h
34241 * native/target/SunOS/target_native_memory.h
34242 * native/target/SunOS/target_native_misc.h
34243 * native/target/SunOS/target_native_network.h
34244 * native/target/embOS/.cvsignore
34245 * native/target/embOS/Makefile.am
34246 * native/target/embOS/target_native.h
34247 * native/target/embOS/target_native_file.h
34248 * native/target/embOS/target_native_io.c
34249 * native/target/embOS/target_native_io.h
34250 * native/target/embOS/target_native_math.h
34251 * native/target/embOS/target_native_memory.h
34252 * native/target/embOS/target_native_misc.h
34253 * native/target/embOS/target_native_network.h
34254 * native/target/posix/.cvsignore
34255 * native/target/posix/Makefile.am
34256 * native/target/posix/target_posix.c
34257 * native/target/posix/target_posix.h
34258 * native/target/posix/target_posix_file.c
34259 * native/target/posix/target_posix_file.h
34260 * native/target/posix/target_posix_io.c
34261 * native/target/posix/target_posix_io.h
34262 * native/target/posix/target_posix_math.c
34263 * native/target/posix/target_posix_math.h
34264 * native/target/posix/target_posix_memory.c
34265 * native/target/posix/target_posix_memory.h
34266 * native/target/posix/target_posix_misc.c
34267 * native/target/posix/target_posix_misc.h
34268 * native/target/posix/target_posix_network.c
34269 * native/target/posix/target_posix_network.h:
34272 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
34274 * javax/print/PrintService.java,
34275 * javax/print/DocPrintJob.java,
34276 * javax/print/CancelablePrintJob.java:
34277 Added and enhanced api documentation for class and methods.
34279 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
34281 * javax/print/SimpleDoc.java: Make class final.
34282 * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
34283 * javax/print/attribute/DateTimeSyntax.java:
34284 (toString): New overridden method.
34285 * javax/print/attribute/standard/JobStateReasons.java:
34286 (add): Use the super.add method to avoid recursion.
34287 * javax/print/attribute/standard/PrinterStateReasons.java:
34288 (put): Use the super.put method to avoid recursion.
34290 2006-01-24 Robert Schuster <robertschuster@fsfe.org>
34292 * java/beans/XMLEncoder.java:
34293 (writeExpression): Added early return (fixes PR #25941).
34294 (setExceptionListener, anonymous Class): Removed printStackTrace
34296 * java/beans/Encoder: Removed unused imports.
34297 (setupDefaultPersistenceDelegates): Removed unneccessary
34298 PersistenceDelegates for subclasses.
34299 * java/beans/PersistenceDelegate:
34300 (initialize): Use local variable as first argument as it was
34302 * java/beans/DefaultPersistenceDelegate:
34303 (initialize): Added call to superclass' implementation, added
34306 2006-01-24 Tom Tromey <tromey@redhat.com>
34308 * java/util/regex/PatternSyntaxException.java: Added @since.
34309 * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
34310 * java/util/regex/MatchResult.java: New file.
34312 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34314 * javax/swing/text/StringContent.java: Added API docs all over, plus
34315 minor reformatting.
34317 2006-01-24 Gary Benson <gbenson@redhat.com>
34319 * java/net/SocketPermission.java: Implemented serialization.
34321 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34323 * javax/swing/text/StringContent.java
34324 (remove): Modified argument check to prevent removal of last character,
34325 (getChars): Removed null argument check to allow NullPointerException,
34327 (checkLocation): Added API docs and white space.
34329 2006-01-23 Lillian Angel <langel@redhat.com>
34331 * javax/swing/text/DefaultStyledDocument.java
34332 (insertUpdate): Should only call createFracture with
34333 StartTagType. Added check.
34334 (insertContentTag): Should use the tags length for splitting.
34335 Also, added a check to determine if current's start and end offset are
34336 equal to the offset and endOffset. If so, only one leaf element
34338 (createFracture): Removed FIXME. This function is complete.
34339 (split): Added calls to replace. Changed so the child is
34340 added immediately to the paragraph. Prevents NPEs.
34342 2006-01-23 Mark Wielaard <mark@klomp.org>
34344 * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
34346 2006-01-23 Tom Tromey <tromey@redhat.com>
34348 * gnu/java/security/x509/X509Certificate.java (parse):
34349 Unconditionally read value; for version==1 case when reading
34352 2006-01-23 Roman Kennke <kennke@aicas.com>
34354 * javax/swing/plaf/synth/ColorType.java,
34355 * javax/swing/plaf/synth/Region.java,
34356 * javax/swing/plaf/synth/SynthConstants.java,
34357 * javax/swing/plaf/synth/SynthContext.java
34358 * javax/swing/plaf/synth/SynthGraphicsUtils.java,
34359 * javax/swing/plaf/synth/SynthLookAndFeel.java,
34360 * javax/swing/plaf/synth/SynthPainter.java,
34361 * javax/swing/plaf/synth/SynthStyle.java,
34362 * javax/swing/plaf/synth/SynthStyleFactory.java,
34363 * javax/swing/plaf/synth/package.html:
34364 New files. Added the public API and framework classes for the
34365 Synth look and feel.
34367 2006-01-23 David Gilbert <david.gilbert@object-refinery.com>
34369 * javax/swing/text/Segment.java: API docs all over.
34371 2006-01-23 Lillian Angel <langel@redhat.com>
34373 * javax/swing/text/DefaultStyledDocument.java
34374 (split): Should not use createLeafElement and createBranchElement here.
34375 We should just instaniate the LeafElements and BranchElements instead
34376 to avoid the case where create*Element is overridden.
34378 2006-01-23 Lillian Angel <langel@redhat.com>
34380 * javax/swing/text/DefaultStyledDocument.java
34381 (insertFirstContentTag): Moved check outside of if-statement.
34382 This should be checked before creating the new leaf element.
34383 (insertFracture): Fixed check to prevent an NPE. The previous
34384 leaf should only be recreated if it has been created by
34385 insertFirstContentTag. Also, fixed up code: if the endOffset is
34386 greater than the offset, then we need to create a temp leaf
34387 as a place holder. Otherwise, the leaf elements should be
34390 2006-01-23 Gary Benson <gbenson@redhat.com>
34392 * java/net/SocketPermission.java: Almost completely rewritten.
34394 2006-01-23 Lillian Angel <langel@redhat.com>
34396 * javax/swing/text/DefaultStyledDocument.java
34397 (insertFracture): Set temp leaf's attributes to prevent an NPE.
34399 2006-01-23 Lillian Angel <langel@redhat.com>
34401 * javax/swing/text/DefaultStyledDocument.java:
34402 Formatted ElementBuffer and added new fields.
34403 (remove): Added check to determine if length is 0.
34404 (insertFirstContentTag): Initialized firstCreated to the element that is created
34405 by the first tag encountered. Removed check in JoinPreviousDirection case, no
34406 longer needed. In OriginateDirection case, added a loop to remove all old leafs
34407 that have been recreated.
34408 (insertContentTag): Cleaned up code. Removed checks that did not do anything.
34409 (insertFracture): Fixed up code, removed unneeded objects and checks. Added
34410 FIXME tags to the lines that need to be rewritten.
34412 2006-01-23 Mark Wielaard <mark@klomp.org>
34414 * examples/Makefile.am: Add support for fastjar.
34416 2006-01-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
34418 * gnu/regexp/REToken.java(empty): Made Cloneable.
34419 * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
34420 Use separate methods matchN and matchP depending on the
34422 (matchN): New method used when negative. Done as before.
34423 (matchP): New method used when not negative. Each token is
34424 tried not by itself but by a clone of it.
34426 2006-01-23 Chris Burdess <dog@gnu.org>
34429 * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
34430 class to avoid getLength method contention.
34431 * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
34433 2006-01-23 Chris Burdess <dog@gnu.org>
34435 * native/jni/java-util/Makefile.am: Include library required
34436 explicitly by BSD systems.
34437 * native/target/generic/target_generic_misc.h: Remove old commented
34439 * native/target/generic/target_generic_network.h: Fallbacks (to
34440 SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
34442 2006-01-22 Tom Tromey <tromey@redhat.com>
34444 * native/target/posix/.cvsignore: Added .deps.
34446 2006-01-22 Mark Wielaard <mark@klomp.org>
34449 reported by James Damour <James.Damour@corp.request.com>
34450 * java/awt/Container.java (addImpl): Use empty string as name when
34451 null constraints for LayoutManager.addLayoutComponent().
34453 2006-01-22 Chris Burdess <dog@gnu.org>
34456 * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34457 representing current directory as base for relative URLs.
34459 2006-01-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
34462 * gnu/regexp/REMatch.java(empty): New boolean indicating
34463 an empty string matched.
34464 * gnu/regexp/RE.java(match): Sets empty flag when an empty
34466 (initialize): Support back reference \10, \11, and so on.
34467 (parseInt): renamed from getEscapedChar and returns int.
34468 * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34469 when an empty string matched. Fixed a bug of the case where
34470 an empty string matched. Added special handling of {0}.
34471 * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34472 when an empty string matched. Fixed the case insensitive matching.
34474 2006-01-21 Roman Kennke <kennke@aicas.com>
34476 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34477 (paint): Added painting of border if one is installed.
34479 2006-01-21 Roman Kennke <kennke@aicas.com>
34481 PR classpath/25843:
34482 * javax/swing/plaf/basic/BasicBorders.java
34483 (getSplitPaneDividerBorder): Use new border constructor
34485 (SplitPaneDividerBorder.highlight): Removed unneeded field.
34486 (SplitPaneDividerBorder.shadow): Removed unneeded field.
34487 (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34488 colors are fetched dynamically in the paintBorder method.
34489 (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34491 (SplitPaneDividerBorder.isBorderOpaque): Returns true
34493 * javax/swing/plaf/basic/BasicLookAndFeel.java
34494 (initComponentDefaults): Added default for SplitPaneDivider.border.
34495 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34496 (tmpBorder): Removed unneeded inner class.
34497 (BasicSplitPaneDivider): Removed setting of border.
34498 (setSplitPaneUI): Don't add the mouse handler to the splitpane
34500 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34501 (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34502 to get behaviour right.
34503 (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34504 implementation. This must be rewritten since the layout now works
34505 slightly different (basically, it shouldn't modify the sizes[]
34506 here but instead the dividerLocation.
34507 (dividerLocation): New field.
34508 (installDefaults): Initialize border on divider.
34509 (uninstallDefaults): Only remove background color and border from
34510 splitPane if they are instances of UIDefaults (== not set by
34512 (setDividerLocation): Set the dividerLocation field instead of
34513 doing stunt acts here.
34514 (getDividerLocation): Return dividerLocation field.
34515 (getMinimumDividerLocation): Fixed calculation of minimum location.
34517 2006-01-21 Guilhem Lavaux <guilhem@kaffe.org>
34520 (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34522 * lib/Makefile.am: Likewise.
34524 2006-01-21 Roman Kennke <kennke@aicas.com>
34526 * javax/swing/PopupFactory.java
34527 (getPopup): If there is no Swing root found in any way, use a
34528 heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34529 for the Swing AWT peers.
34531 2006-01-20 Tom Tromey <tromey@redhat.com>
34533 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34534 Read response body for redirect.
34536 2006-01-20 Chris Burdess <dog@gnu.org>
34538 * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34541 2006-01-20 Lillian Angel <langel@redhat.com>
34543 * javax/swing/text/DefaultStyledDocument.java
34544 (pad): Removed, not needed.
34545 (printElements): Likewise.
34546 (printEdit): Likewise.
34548 2006-01-20 Roman Kennke <kennke@aicas.com>
34550 * javax/swing/text/DefaultFormatter.java
34551 (DefaultFormatter): Don't set a value class.
34553 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34555 * javax/swing/DefaultCellEditor.java: Commented.
34557 2006-01-19 Roman Kennke <kennke@aicas.com>
34559 * javax/swing/JOptionPane.java
34560 Added cast to Frame for JDialog constructor.
34562 2006-01-19 Roman Kennke <kennke@aicas.com>
34564 * javax/swing/JWindow.java
34565 (JWindow(Window)): Fixed to accept null owner argument.
34566 (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34568 * javax/swing/SwingUtilities.java
34569 (getOwnerFrame): Owner parameter and return value are fixed to
34570 be of type Window for compatibity with the above JWindow
34572 * javax/swing/JDialog.java
34573 (JDialog): Added cast to Frame to make sure the correct constructor
34575 * javax/swing/JFileChooser.java
34576 (createDialog): Added cast to Frame for JDialog constructor.
34578 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34580 * javax/swing/JTable.java (rowAtPoint): Rewritten.
34582 2006-01-19 Roman Kennke <kennke@aicas.com>
34584 * javax/swing/JWindow.java: Added API docs to the constructors.
34586 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34588 * javax/swing/JTable.java: Commenting method headers.
34589 (EditorUpdateTimer): Removed.
34591 2006-01-19 Roman Kennke <kennke@aicas.com>
34593 * javax/swing/JDialog.java
34594 (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34595 (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34596 SwingUtilities.getOwnerFrame() with the owner argument.
34597 * javax/swing/JFileChooser.java
34598 (showOpenDialog(Component)): Call pack() on the dialog instead of
34599 setting a fixed height.
34600 (showSaveDialog()): Likewise.
34601 (showDialog()): Likewise.
34602 (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34603 * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34605 * javax/swing/JWindow.java
34606 (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34607 (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34609 * javax/swing/SwingUtilities.java
34610 (getOwnerFrame): Changed to take a owner parameter that is returned
34611 as owner frame when not null.
34613 2006-01-19 Roman Kennke <kennke@aicas.com>
34615 * gnu/java/awt/peer/swing/SwingFramePeer.java
34616 (handleMouseEvent): Fixed handling of mouse events.
34617 (handleMouseMotionEvent): Fixed handling of mouse events.
34619 2006-01-19 Roman Kennke <kennke@aicas.com>
34621 * native/target/generic/target_generic_misc.c:
34622 (targetGenericMisc_formatString): Added missing method.
34624 2006-01-19 Wolfgang Baer <WBaer@gmx.de>
34626 * m4/acinclude.m4: Test also for ecj found before exiting configure
34627 with no javac found error message.
34629 2006-01-19 Ito Kazumitsu <kaz@maczuka.gcd.org>
34632 * gnu/regexp/RE.java(initialize): Support escaped characters such as
34633 \0123, \x1B, \u1234.
34634 (getEscapedChar): New method.
34635 (CharExpression): New inner class.
34636 (getCharExpression): New Method.
34637 * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34638 RE_UNICODE_CHAR): New syntax bits.
34640 2006-01-19 Roman Kennke <kennke@aicas.com>
34642 * native/target/Makefile.am: Fixed so that posix stuff is really
34643 only built when requested.
34645 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34647 * javax/swing/JTable.java (editingStopped, editingCancelled):
34648 Repaint the edited cell.
34649 (setValueAt): Do not add the value object to this container.
34650 (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34651 (editingStopped): Use editingRow, editingColumn and not
34652 rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34653 (doLayout): Move the editor component, if present, into the new
34654 location and call repaint(). (moveToCellBeingEdited): new method.
34655 (TableTextField): new inner class.
34656 (getDefaultEditor): Instantiante TableTextField, not JTextField.
34657 (setValueAt): Repaint the changed segment.
34658 (createDefaultEditors): Implemented.
34659 (BooleanCellRenderer): Center the checkbox and use the default foreground
34660 and background colors.
34661 * javax/swing/plaf/basic/BasicTableUI.java
34662 (paintCell): Do not paint the caret here. Do not accept unused parameters.
34663 (paint): No need to allocate rectangle for each cell.
34664 * javax/swing/DefaultCellEditor.java: Rewritten.
34665 * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34666 Use TableDemo.java table example.
34667 * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34669 2006-01-19 Roman Kennke <kennke@aicas.com>
34671 * configure.ac: Added/fixed --enable-posix-layer option to enable
34672 build of posix layer.
34673 * native/target/Makefile.am: Added build for posix layer.
34675 2006-01-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
34677 * configure.ac: Set TARGET to Linux per default.
34678 * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34680 * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34681 * native/target/generic/Makefile.am (INCLUDES): Renamed to
34684 2006-01-19 Raif S. Naffah <raif@swiftdsl.com.au>
34686 * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34687 what looked like proprietary documentation with original or new one.
34688 * java/security/spec/PSSParameterSpec.java: Likewise.
34689 * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34690 * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34691 * java/security/AlgorithmParameterGenerator.java: Likewise.
34692 * java/security/AlgorithmParameters.java: Likewise.
34693 * java/security/Identity.java: Likewise.
34694 * java/security/IdentityScope.java: Likewise.
34695 * java/security/KeyFactory.java: Likewise.
34696 * java/security/KeyPairGenerator.java: Likewise.
34697 * java/security/MessageDigest.java: Likewise.
34698 * java/security/Policy.java: Likewise.
34699 * java/security/ProtectionDomain.java: Likewise.
34700 * java/security/Security.java: Likewise.
34701 * java/security/Signature.java: Likewise.
34702 * java/security/SignatureSpi.java: Likewise.
34703 * java/security/SignedObject.java: Likewise.
34704 * java/security/Signer.java: Likewise.
34706 2006-01-18 Roman Kennke <kennke@aicas.com>
34708 * configure.ac: Added --enable-posix-layer option to enable
34709 build of the posix target layer.
34711 2006-01-18 Roman Kennke <kennke@aicas.com>
34713 * native/jni/java-net/java_net_VMInetAddress.c
34714 (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34717 2006-01-18 Roman Kennke <kennke@aicas.com>
34719 * native/jni/java-util/java_util_VMTimeZone.c:
34720 (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34721 to use target native layer.
34722 (jint_to_charbuf): Removed unneeded helper function.
34724 2006-01-18 Roman Kennke <kennke@aicas.com>
34726 * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34727 Removed unnecessary include.
34728 * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34729 Reorganized includes to only include sys/* headers when available.
34730 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34731 (get_pagesize): Return 0 when nothing else works.
34732 (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34733 Replaced munmap() and strerror() with corresponding target macros.
34734 (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34735 Replaced strerror() with corresponding target macro.
34736 (Java_java_nio_MappedByteBufferImpl_forceImpl):
34737 Replaced strerror() with corresponding target macro.
34738 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34739 (Java_java_nio_VMDirectByteBuffer_allocate):
34740 Replaced malloc() with the corresponding target macro.
34741 (Java_java_nio_VMDirectByteBuffer_free):
34742 Replaced free() with the corresponding target macro.
34743 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34744 Add index to pointer when assigning the value.
34745 (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34746 Replaced memcpy with corresponding target macro. Add index when
34747 doing the memcpy, not when fetching the pointer.
34748 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34749 Replaced memcpy with corresponding target macro.
34750 (Java_java_nio_VMDirectByteBuffer_shiftDown):
34751 Replaced memmove with the corresponding target macro.
34753 2006-01-17 Tom Tromey <tromey@redhat.com>
34755 PR classpath/20198:
34756 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34757 (JarURLLoader): Likewise.
34758 (addURLImpl): Canonicalize file URLs.
34760 2006-01-17 Christian Thalinger <twisti@complang.tuwien.ac.at>
34762 * configure.ac: Set TARGET.
34763 * native/Makefile.am, native/jni/classpath/Makefile.am,
34764 native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34765 native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34766 native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34767 native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34768 native/target/Linux/Makefile.am,
34769 native/target/generic/Makefile.am,
34770 native/target/posix/Makefile.am: Build libclasspath.so with jcl
34771 and target stuff linked in and link it against lib*.so libraries.
34773 2006-01-17 Roman Kennke <kennke@aicas.com>
34775 * native/jni/java-net/javanet.c:
34776 (_javanet_connect): Changed type of some local variables to jint.
34777 Fixed error handling to throw a SocketTimeoutException if the
34778 connection attempt times out.
34779 (_javanet_bind): Changed type of some local variables to jint.
34780 (_javanet_accept): Likewise.
34781 (_javanet_recvfrom): Likewise.
34782 (_javanet_sendto): Fixed error handling to throw a
34783 PortUnreachableException when connection is refused.
34784 (_javanet_get_option): Changed type of some local variables to jint.
34785 Implemented SOCKOPT_SO_BROADCAST.
34786 (_javanet_shutdownInput): Replaced shutdown call with corresponding
34787 target native macro.
34788 (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34789 target native macro.
34790 * native/jni/java-net/javanet.h:
34791 Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34792 SOCKOPT_SO_BROADCAST.
34794 2006-01-17 Lillian Angel <langel@redhat.com>
34796 * javax/swing/text/DefaultStyledDocument.java
34797 (insert): Cleaned up loop. No need to make so many calls
34798 to getAddedElements and getRemovedElements.
34799 (insertFracture): Removed unneeded array.
34801 2006-01-17 Lillian Angel <langel@redhat.com>
34803 * javax/swing/text/JTextComponent.java
34804 (AccessibleJTextComponent): Implemented.
34805 (getCaretPosition): Implemented.
34806 (getSelectedText): Implemented.
34807 (getSelectionStart): Implemented.
34808 (getSelectionEnd): Implemented.
34809 (getSelectionEnd): Implemented.
34810 (getCharCount): Implemented.
34811 (insertTextAtIndex): Implemented.
34812 (getTextRange): Implemented.
34813 (delete): Implemented.
34814 (cut): Implemented.
34815 (paste): Implemented.
34816 (replaceText): Implemented.
34817 (selectText): Implemented.
34819 2006-01-17 Anthony Balkissoon <abalkiss@redhat.com>
34821 * javax/swing/text/DefaultStyledDocument.java:
34822 (pad): New debugging method.
34823 (printElements): Likewise.
34824 (printPendingEdits): Likewise.
34825 (printElement): Likewise.
34826 (Edit): Improved docs, moved this class to be an inner class of
34827 ElementBuffer since it only applies within that scope. Changed added
34828 and removed to be Vectors instead of arrays because we need to be able
34829 to add to them after construction.
34830 (ElementBuffer): Updated docs with link to article that helped in this
34831 classes implementation.
34832 (ElementBuffer.Edit.getRemovedElements): New method.
34833 (ElementBuffer.Edit.getAddedElements): Likewise.
34834 (ElementBuffer.Edit.addRemovedElement): Likewise.
34835 (ElementBuffer.Edit.addRemovedElements): Likewise.
34836 (ElementBuffer.Edit.addAddedElement): Likewise.
34837 (ElementBuffer.Edit.addAddedElements): Likewise.
34838 (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and
34840 (ElementBuffer.getEditForParagraphAndIndex): New method.
34841 (ElementBuffer.removeUpdate): Changed type of paragraph to
34842 BranchElement. Corrected style of adding the edit to use the new Edit
34844 (ElementBuffer.changeUpdate): Changed style of adding the edit to use
34845 the new Edit facilities.
34846 (ElementBuffer.split): Likewise.
34847 (ElementBuffer.insertParagraph): Likewise.
34848 (ElementBuffer.insertContentTag): Likewise.
34849 (ElementBuffer.insert): Push all BranchElements until the deepest one,
34850 not just the root and the first one. Apply the structural changes to
34851 the tree at the same time as updating the DocumentEvent.
34852 (ElementBuffer.insertUpdate): Fixed docs. Removed the special case
34853 handling of EndTags as the first ElementSpec. Instead have to handle
34854 ContentTags as a special case if they are the first ElementSpec and if
34855 not have to fracture the tree.
34856 (ElementBuffer.createFracture): New method. May not be complete yet.
34857 Added FIXME indicating what may remain to be done.
34858 (ElementBuffer.insertFirstContentTag): New method.
34859 (ElementBuffer.insertFracture): Added FIXME explaining what remains to
34860 be done. Changed the adding of edits to use the new Edit facilities.
34861 Removed the adding of edits for Elements that weren't in the tree prior
34863 (insertUpdate): Removed incorrect condition for setting a StartTag's
34864 direction to JoinNextDirection.
34865 * javax/swing/text/StyleContent.java:
34866 (SmallAttributeSet.toString): Fixed an off-by-one error in the loop
34867 that was causing an ArrayOutOfBoundsException.
34869 2006-01-17 Roman Kennke <kennke@aicas.com>
34871 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34872 (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
34873 exception messages a little.
34874 (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
34875 alternative implementation for systems without filesystems.
34876 Replaced snprintf with the corresponding target native macro.
34877 (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
34878 Only do something when we have a filesystem.
34879 (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
34880 alternative implementation for systems without filesystems.
34881 (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
34882 alternative implementation for systems without filesystems.
34883 (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
34884 alternative implementation for systems without filesystems.
34885 (Java_gnu_java_nio_channels_FileChannelImpl_seek):
34886 Only do something when we have a filesystem.
34887 (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
34888 Only do something when we have a filesystem.
34889 (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
34890 alternative implementation for systems without filesystems.
34891 (Java_gnu_java_nio_channels_FileChannelImpl_read__):
34892 Replaced ssize_t variables with jint. Provided
34893 alternative implementation for systems without filesystems.
34894 (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
34895 Replaced ssize_t variables with jint. Provided
34896 alternative implementation for systems without filesystems.
34897 (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
34898 Replaced ssize_t variables with jint. Provided
34899 alternative implementation for systems without filesystems.
34900 (Java_gnu_java_nio_channels_FileChannelImpl_force):
34901 Only do something when we have a filesystem.
34902 (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
34903 Replaced ssize_t variables with jint. Provided
34904 alternative implementation for systems without filesystems.
34905 (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
34906 to use the corresponding target native macro.
34907 (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
34908 to use the corresponding target native macro.
34910 2006-01-17 Lillian Angel <langel@redhat.com>
34912 * javax/swing/text/DefaultTextUI.java:
34913 Added deprecated tag.
34914 * javax/swing/text/JTextComponent.java
34915 (AccessibleJTextComponent): Fixed API doc and
34916 partiall9 implemented.
34917 (getCaretPosition): Fixed API doc and implemented.
34918 (getSelectedText): Fixed API doc.
34919 (getSelectionStart): Likewise.
34920 (getSelectionEnd): Likewise.
34921 (caretUpdate): Fixed API doc and
34922 partially implemented.
34923 (getAccessibleStateSet): Likewise.
34924 (getAccessibleRole): Fixed API doc and implemented.
34925 (getAccessibleEditableText): Implemented.
34926 (getAccessibleText): Fixed API doc and implemented.
34927 (insertUpdate): Fixed API doc.
34928 (changedUpdate): Likewise.
34929 (getIndexAtPoint): Likewise.
34930 (getRootEditorRect): Removed.
34931 (getCharacterBounds): Fixed API doc.
34932 (getCharCount): Likewise.
34933 (getCharacterAttribute): Likewise.
34934 (getAtIndex): Likewise.
34935 (getAfterIndex): Likewise.
34936 (getBeforeIndex): Likewise.
34937 (getAccessibleActionCount): Added function stub.
34938 (getAccessibleActionDescription): Added function,
34939 partially implemented.
34940 (doAccessibleAction): Added function stub.
34941 (setTextContents): Likewise.
34942 (insertTextAtIndex): Likewise.
34943 (delete): Likewise.
34946 (replaceText): Likewise.
34947 (selectText): Likewise.
34948 (setAttributes): Likewise.
34949 (getAccessibleContext): Implemented.
34951 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34954 * gnu/regexp/RETokenRange.java(constructor):
34955 Keep lo and hi as they are.
34956 (match): Changed the case insensitive comparison.
34958 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34960 * gnu/regexp/RETokenChar.java(chain):
34961 Do not concatenate tokens whose insens flags are diffent.
34963 2006-01-17 Roman Kennke <kennke@aicas.com>
34965 * native/target/generic/target_generic_network.c:
34966 (targetGenericNetwork_receive): Fixed signature to match the
34967 corresponding .h file.
34968 (targetGenericNetwork_receiveWithAddressPort): Fixed signature
34969 to match the corresponding .h file.
34971 2006-01-17 Roman Kennke <kennke@aicas.com>
34973 * native/jni/classpath/jcl.c:
34974 (JCL_malloc): Replaced calls to malloc with the corresponding
34975 target layer macro.
34976 (JCL_free): Replaced calls to free with the corresponding
34977 target layer macro.
34978 * native/jni/classpath/native_state.c:
34979 (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
34980 calloc with the corresponding target layer macro.
34981 (remove_node): Replaced calls to free with the corresponding
34982 target layer macro.
34983 (add_node): Replaced calls to malloc with the corresponding
34984 target layer macro.
34986 2006-01-17 Roman Kennke <kennke@aicas.com>
34988 * native/jni/java-io/java_io_VMObjectStreamClass.c:
34989 (getFieldReference): Use MALLOC/FREE macros for portability instead
34990 of direct call to malloc() and free().
34992 2006-01-17 Roman Kennke <kennke@aicas.com>
34994 * native/jni/classpath/jcl.c: Added missing imports.
34995 (JCL_realloc): Fixed signature to include oldsize. This is needed
34996 for some targets. Make this function use the MEMORY_REALLOC macro
34998 * native/jni/classpath/jcl.h
34999 (JCL_realloc): Adjusted signature.
35000 * native/jni/java-io/java_io_VMFile.c:
35001 (Java_java_io_VMFile_create): Use target layer macro for handling
35002 errno, for portability.
35003 (Java_java_io_VMFile_length): Release filename string in error cases
35005 (Java_java_io_VMFile_list): Initialize filename variable. Use new
35006 version of JCL_realloc.
35007 * native/jni/java-net/java_net_VMInetAddress.c:
35008 (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
35009 TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
35010 * native/jni/java-net/javanet.c:
35011 (_javanet_bind): Make errorstr variable const to avoid compiler
35013 (_javanet_set_option): Fixed typo.
35014 (_javanet_get_option): Fixed typo.
35015 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35016 (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
35017 error_string variable const to avoid compiler warning.
35018 * native/target/generic/target_generic_file.h:
35019 Replaced // comments with /* */ comments to avoid compiler warnings.
35020 Added some spaces to make code better readable.
35021 * native/target/generic/target_generic_memory.h:
35022 Replaced // comments with /* */ comments to avoid compiler warnings.
35023 * native/target/generic/target_generic_misc.c:
35024 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35025 compiler warnings due to use of varargs.
35026 * native/target/generic/target_generic_misc.h:
35027 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35028 compiler warnings due to use of varargs.
35029 * native/target/generic/target_generic_network.h:
35030 Replaced // comments with /* */ comments to avoid compiler warnings.
35031 (targetGenericNetwork_receive): Fixed signature to use signed chars
35032 for buffer parameter to avoid warning when passing a jbyte to the
35035 2006-01-17 David Gilbert <david.gilbert@object-refinery.com>
35037 * javax/swing/text/StyleConstants.java
35038 (getAlignment): Removed isDefined() check, so that resolving parent is
35040 (getBackground): Likewise, plus changed default value to Color.BLACK,
35041 (getBidiLevel): Removed isDefined() check,
35042 (getComponent): Likewise,
35043 (getFirstLineIndent): Likewise,
35044 (getFontFamily): Likewise,
35045 (getFontSize): Likewise,
35046 (getForeground): Likewise,
35047 (getIcon): Likewise,
35048 (getLeftIndent): Likewise,
35049 (getLineSpacing): Likewise,
35050 (getRightIndent): Likewise,
35051 (getSpaceAbove): Likewise,
35052 (getSpaceBelow): Likewise,
35053 (getTabSet): Likewise,
35054 (isBold): Likewise,
35055 (isItalic): Likewise,
35056 (isStrikeThrough): Likewise,
35057 (isSubscript): Likewise,
35058 (isSuperscript): Likewise,
35059 (isUnderline): Likewise.
35061 2006-01-17 Gary Benson <gbenson@redhat.com>
35063 * java/lang/System.java (setSecurityManager): Catch
35064 ClassNotFoundException not Throwable.
35066 2006-01-16 Anthony Green <green@redhat.com>
35069 * gnu/java/net/protocol/http/Request.java
35070 (createResponseBodyStream): Remove Content-Encoding for
35071 compressed streams.
35073 2006-01-16 Chris Burdess <dog@gnu.org>
35075 * gnu/xml/stream/XMLParser.java,
35076 gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
35077 XMLStreamWriter arguments for conformance to the XML specifications.
35078 * gnu/xml/transform/Stylesheet.java,
35079 gnu/xml/transform/Template.java,
35080 gnu/xml/transform/TransformerImpl.java,
35081 gnu/xml/xpath/LangFunction.java,
35082 gnu/xml/xpath/Selector.java: better handling of template priorities;
35083 fix indents when pretty-printing; recursive tests for xml:lang.
35084 * gnu/xml/util/XHTMLWriter.java,
35085 gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
35087 2006-01-16 Roman Kennke <kennke@aicas.com>
35089 * native/target/MinGW/.cvsignore: New file.
35090 * native/target/RTEMS/.cvsignore: New file.
35091 * native/target/SunOS/.cvsignore: New file.
35092 * native/target/embOS/.cvsignore: New file.
35093 * native/target/posix/.cvsignore: New file.
35095 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35097 * javax/swing/text/StyleConstants.java: Updated API docs all over.
35099 2006-01-16 Roman Kennke <kennke@aicas.com>
35101 * configure.ac: Include new target native directories in build.
35103 2006-01-16 Roman Kennke <kennke@aicas.com>
35105 * native/target/generic/target_generic_file.h: Added missing
35107 * native/target/generic/target_generic_network.c: Fixed several
35108 typos and includes.
35109 * native/target/generic/target_generic_network.h: Likewise.
35111 2006-01-16 Roman Kennke <kennke@aicas.com>
35113 * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
35114 to include the new targets.
35115 * native/target/posix/Makefile.am: Fixed filenames.
35117 2006-01-16 Roman Kennke <kennke@aicas.com>
35119 * native/target/Makefile.am: Include new targets.
35120 * native/target/Linux/Makefile.am: Include new memory layer.
35121 * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
35122 * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
35123 * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
35124 * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
35125 * native/target/generic/Makefile.am: Include new memory and math
35127 * native/target/posix/Makefile.am: New file. Includes posix in dist.
35129 2006-01-16 Ito Kazumitsu <kaz@maczuka.gcd.org>
35132 * gnu/regexp/RE.java(initialize): Parse embedded flags.
35133 * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
35135 2006-01-16 Roman Kennke <kennke@aicas.com>
35137 * native/target/generic/target_generic_network.c: Fixed typo.
35138 * native/target/generic/target_generic_network.h: Fixed typo.
35140 2006-01-16 Nicolas Geoffray <nicolas.geoffray@menlina.com>
35142 * doc/vmintegration.texinfo: Updated subsection of the
35143 java.lang.InstrumentationImpl documentation.
35145 2006-01-16 Roman Kennke <kennke@aicas.com>
35147 * native/target/RTEMS/target_native.h,
35148 * native/target/RTEMS/target_native_file.h,
35149 * native/target/RTEMS/target_native_io.h,
35150 * native/target/RTEMS/target_native_math.h,
35151 * native/target/RTEMS/target_native_memory.h,
35152 * native/target/RTEMS/target_native_misc.h,
35153 * native/target/RTEMS/target_native_network.h:
35154 New files. Implement the target native layer for the RTEMS platform.
35156 2006-01-16 Roman Kennke <kennke@aicas.com>
35158 * native/target/SunOS/target_native.h,
35159 * native/target/SunOS/target_native_file.h,
35160 * native/target/SunOS/target_native_io.h,
35161 * native/target/SunOS/target_native_math.h,
35162 * native/target/SunOS/target_native_memory.h,
35163 * native/target/SunOS/target_native_misc.h,
35164 * native/target/SunOS/target_native_network.h:
35165 New files. Implement the target native layer for the SunOS platform.
35167 2006-01-16 Roman Kennke <kennke@aicas.com>
35169 * native/target/MinGW/target_native.h,
35170 * native/target/MinGW/target_native_file.h,
35171 * native/target/MinGW/target_native_io.h,
35172 * native/target/MinGW/target_native_math.h,
35173 * native/target/MinGW/target_native_memory.h,
35174 * native/target/MinGW/target_native_misc.h,
35175 * native/target/MinGW/target_native_network.h:
35176 New files. Implement the target native layer for the MinGW
35179 2006-01-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35182 * javax/swing/DefaultCellEditor.java
35183 (delegate): Assign new instance immediately.
35184 (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
35185 (getTableCellEditorComponent): Rewritten.
35186 (prepareAsJTextField):New method (add listener only once).
35187 * javax/swing/JTable.java
35188 (editingCanceled): Rewritten.
35189 (editingStopped ): Rewritten.
35190 (rowAtPoint): Mind row margin.
35191 (getCellRect): Mind row margin.
35192 (getDefaultEditor): Removing JTextComponent border.
35193 (editCellAt): Rewritten.
35194 * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
35195 Activate editing mode by the mouse clicks.
35196 (getMaximumSize): Mind row margin.
35197 (getPreferredSize): Mind row margin.
35198 (TableAction): Added 'stop editing' command.
35200 2006-01-16 Roman Kennke <kennke@aicas.com>
35202 * jni/java-io/java_io_VMFile.c
35203 (Java_java_io_VMFile_list): Use new 4 argument version of
35204 TARGET_NATIVE_FILE_READ_DIR macro.
35205 * target/Linux/target_native_io.h: Fixed comment at #endif.
35206 * target/Linux/target_native_memory.h: New file. Contains
35207 portability macros for memory operations.
35208 * target/generic/target_generic.c: New file. Contains some functions
35210 * target/generic/target_generic.h: Use posix target and shorter macro
35211 names if CP_NEW is set.
35212 * target/generic/target_generic_file.h: Use posix target and shorter
35213 macro names if CP_NEW is set.
35214 (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
35215 * target/generic/target_generic_io.c: New file. Contains some
35216 functions for IO portability.
35217 * target/generic/target_generic_io.h: Use posix target and shorter
35218 macro names if CP_NEW is set.
35219 * target/generic/target_generic_misc.c: New file. Contains some
35220 functions for miscallaneaous portability issues.
35221 * target/generic/target_generic_misc.h: Use posix target and shorter
35222 macro names if CP_NEW is set.
35223 * target/generic/target_generic_network.c: New file. Contains some
35224 functions for networking portability.
35225 * target/generic/target_generic_network.h: Use posix target and
35226 shorter macro names if CP_NEW is set.
35227 * target/posix/Makefile.am,
35228 * target/posix/target_posix.c,
35229 * target/posix/target_posix.h,
35230 * target/posix/target_posix_file.c,
35231 * target/posix/target_posix_file.h,
35232 * target/posix/target_posix_io.c,
35233 * target/posix/target_posix_io.h,
35234 * target/posix/target_posix_math.c,
35235 * target/posix/target_posix_math.h,
35236 * target/posix/target_posix_memory.c,
35237 * target/posix/target_posix_memory.h,
35238 * target/posix/target_posix_misc.c,
35239 * target/posix/target_posix_misc.h,
35240 * target/posix/target_posix_network.c,
35241 * target/posix/target_posix_network.h:
35242 New files. This implements the target native layer macros for
35243 Posix-like systems.
35245 2006-01-16 Gary Benson <gbenson@redhat.com>
35247 * java/net/SocketPermission.java (implies): Fix action checks.
35249 2006-01-16 Roman Kennke <kennke@aicas.com>
35251 * native/target/generic/target_generic_math_float.h: Removed. This
35252 file has been replaced by target_generic_math.h.
35253 * native/target/generic/target_generic_math_int.h: Removed. This
35254 file has been replaced by target_generic_math.h.
35255 * native/target/generic/target_generic_math.h: New file. Replaces
35256 the old _int and _float versions.
35257 * native/target/Linux/target_native_math_float.h: Removed. This
35258 file has been replaced by target_native_math.h.
35259 * native/target/Linux/target_native_math_int.h: Removed. This
35260 file has been replaced by target_native_math.h.
35261 * native/target/Linux/target_native_math.h: New file. Replaces
35262 the old _int and _float versions.
35263 * native/target/Linux/Makefile.am: Adjusted for the changed
35265 * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
35266 instead of target_native_math_int.h.
35267 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35269 * native/target/generic/target_generic_file.h: Likewise.
35271 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35273 * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
35275 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35277 * javax/swing/text/SimpleAttributeSet.java
35278 (SimpleAttributeSet()): Initialise storage directly,
35279 (SimpleAttributeSet(AttributeSet)): Removed null check and documented
35280 NullPointerException,
35281 (containsAttribute): If key is found locally, don't check resolving
35282 parent if the value doesn't match,
35283 (getAttribute): Removed redundant instanceof and cast.
35285 2006-01-16 Gary Benson <gbenson@redhat.com>
35287 * java/lang/System.java (setSecurityManager): Ensure policy
35288 files are loaded before a security manager is put in place.
35290 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35292 * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
35294 2006-01-16 Wolfgang Baer <WBaer@gmx.de>
35296 * javax/print/attribute/standard/MediaSize.java:
35297 (static_initializer): Added comment.
35298 (MediaSize): Added javadoc to mention cache registration.
35299 (MediaSize): Likewise.
35300 (MediaSize): Likewise.
35301 (MediaSize): Likewise.
35303 2006-01-16 Raif S. Naffah <raif@swiftdsl.com.au>
35306 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
35307 * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
35308 * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
35309 * javax/security/auth/login/AppConfigurationEntry.java: Updated
35311 (toString): Added method implementation.
35312 (LoginModuleControlFlag.toString): Removed class name from result.
35313 * javax/security/auth/login/Configuration.java: Updated copyright year.
35314 (getConfig(): replaced calls to NullConfiguration with
35317 2006-01-15 Tom Tromey <tromey@redhat.com>
35319 * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
35320 * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
35321 * java/beans/PersistenceDelegate.java (initialize): Genericized.
35322 * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
35323 (setPersistenceDelegate): Likewise.
35325 2006-01-15 Wolfgang Baer <WBaer@gmx.de>
35327 * javax/print/attribute/standard/PrinterStateReasons.java:
35328 (printerStateReasonSet): Genericize the return type.
35330 2006-01-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35332 * javax/swing/table/DefaultTableCellRenderer.java
35333 (getTableCellRendererComponent): Render null as the empty cell.
35335 2006-01-14 Anthony Green <green@redhat.com>
35337 * java/net/ServerSocket.java (accept): Remove bogus
35339 (implAccept): Add FIXME comment.
35341 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35344 * javax/print/Doc.java: Added and enhanced documentation.
35345 * javax/print/SimpleDoc.java: New file.
35347 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35349 * javax/print/attribute/standard/MediaSize.java:
35350 (Other.TABLOID): New MediaSize added in 1.5
35352 2006-01-14 Chris Burdess <dog@gnu.org>
35354 * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
35355 correctly when I/O and runtime exceptions occur during parsing.
35357 2006-01-13 Roman Kennke <kennke@aicas.com>
35359 * gnu/java/awt/peer/swing/SwingButtonPeer.java,
35360 * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
35361 * gnu/java/awt/peer/swing/SwingComponent.java,
35362 * gnu/java/awt/peer/swing/SwingComponentPeer.java,
35363 * gnu/java/awt/peer/swing/SwingContainerPeer.java,
35364 * gnu/java/awt/peer/swing/SwingFramePeer.java,
35365 * gnu/java/awt/peer/swing/SwingLabelPeer.java,
35366 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
35367 * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
35368 * gnu/java/awt/peer/swing/SwingMenuPeer.java,
35369 * gnu/java/awt/peer/swing/SwingPanelPeer.java,
35370 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
35371 * gnu/java/awt/peer/swing/SwingToolkit.java,
35372 * gnu/java/awt/peer/swing/SwingWindowPeer.java,
35373 * gnu/java/awt/peer/swing/package.html:
35374 New files. Implemented some basic AWT peers based on Swing.
35376 2006-01-13 Roman Kennke <kennke@aicas.com>
35378 * java/awt/peer/ComponentPeer.java: Added API docs all over.
35380 2006-01-13 Roman Kennke <kennke@aicas.com>
35382 * java/awt/MenuComponent.java: Reformatted to better match our
35385 2006-01-13 Roman Kennke <kennke@aicas.com>
35387 * java/awt/Frame.java: Reformatted to better match our
35390 2006-01-13 Roman Kennke <kennke@aicas.com>
35392 * java/awt/MenuBar.java
35393 (accessibleContext): Removed unnecessary field. This is already
35394 defined in MenuComponent.
35395 (setHelpMenu): Renamed the peer variable to myPeer because it was
35396 hiding a field of MenuComponent.
35397 (addNotify): Removed unnecessary cast.
35399 2006-01-13 Roman Kennke <kennke@aicas.com>
35401 * java/awt/MenuBar.java: Reformatted to better match our
35404 2006-01-13 Roman Kennke <kennke@aicas.com>
35406 * java/awt/MenuBar.java
35407 (frame): New field.
35408 (removeNotify): Clear frame field when beeing removed from the
35410 * java/awt/Frame.java
35411 (setMenuBar): Store a reference of the frame in the MenuBar.
35412 * java/awt/MenuComponent.java
35413 (postEvent): Implemented to forward the call to the parent until
35414 a parent can handle the event.
35415 (dispatchEvent): Moved handling of old style events from
35416 dispatchEventImpl() to here.
35417 (dispatchEventImpl): Moved handling of old style events to
35420 2006-01-13 Roman Kennke <kennke@aicas.com>
35422 * java/awt/Component.java
35423 (dispatchEvent): Moved handling of old style events from
35424 dispatchEventImpl() to this method.
35425 (translateEvent): Removed unnecessary cast.
35426 (dispatchEventImpl): Moved handling of old style events to
35429 2006-01-13 Lillian Angel <langel@redhat.com>
35431 * javax/swing/text/DefaultStyledDocument.java
35432 (createDefaultRoot): Removed FIXME.
35433 (setLogicalStyle): Added fireUndoableEditUpdate call and
35436 2006-01-13 Lillian Angel <langel@redhat.com>
35438 * javax/swing/text/DefaultStyledDocument.java
35439 (Edit): New inner class.
35440 (changeUpdate): Changed addEdit call to add a new
35441 instance of Edit to the edits Vector, so addEdits can
35444 (insertParagraph): Likewise.
35445 (insertFracture): Likewise.
35446 (insertContentTag): Likewise.
35447 (insert): Added loop to go through edits Vector and perform
35448 addEdit on each object.
35450 2006-01-13 Chris Burdess <dog@gnu.org>
35452 * gnu/xml/transform/AbstractNumberNode.java,
35453 gnu/xml/transform/ApplyImportsNode.java,
35454 gnu/xml/transform/ApplyTemplatesNode.java,
35455 gnu/xml/transform/AttributeNode.java,
35456 gnu/xml/transform/CallTemplateNode.java,
35457 gnu/xml/transform/ChooseNode.java,
35458 gnu/xml/transform/CommentNode.java,
35459 gnu/xml/transform/CopyNode.java,
35460 gnu/xml/transform/CopyOfNode.java,
35461 gnu/xml/transform/DocumentFunction.java,
35462 gnu/xml/transform/ElementNode.java,
35463 gnu/xml/transform/ForEachNode.java,
35464 gnu/xml/transform/IfNode.java,
35465 gnu/xml/transform/LiteralNode.java,
35466 gnu/xml/transform/MessageNode.java,
35467 gnu/xml/transform/OtherwiseNode.java,
35468 gnu/xml/transform/ParameterNode.java,
35469 gnu/xml/transform/ProcessingInstructionNode.java,
35470 gnu/xml/transform/Stylesheet.java,
35471 gnu/xml/transform/Template.java,
35472 gnu/xml/transform/TemplateNode.java,
35473 gnu/xml/transform/TextNode.java,
35474 gnu/xml/transform/TransformerImpl.java,
35475 gnu/xml/transform/ValueOfNode.java,
35476 gnu/xml/transform/WhenNode.java,
35477 gnu/xml/xpath/NodeTypeTest.java,
35478 gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35479 with-param parameters when template does not define parameters; apply
35480 conflict resolution for templates; strip whitespace on documents
35481 retrieved via document() function; allow node() to match document
35484 2006-01-13 Mark Wielaard <mark@klomp.org>
35486 * doc/www.gnu.org/announce/20060113.wml: New file.
35487 * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35488 * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35490 2006-01-13 Lillian Angel <langel@redhat.com>
35492 * javax/swing/text/DefaultStyledDocument.java:
35493 Removed unused fields.
35494 (insert): Removed unused fields.
35495 (endEdit): Removed, not needed.
35496 (insertUpdate): Removed call to endEdit.
35497 (prepareContentInsertion): Removed, not needed.
35498 (insertContentTag): Removed call to prepareContentInsertion.
35499 (printElements): Removed, not needed.
35500 (attributeSetsAreSame): Removed, not needed.
35502 2005-01-13 Mark Wielaard <mark@klomp.org>
35504 * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35505 Duplicate of toString(int, StringBuilder).
35507 2005-01-13 Mark Wielaard <mark@klomp.org>
35509 * configure.ac: Set version to 0.20.
35510 * NEWS: Add entries for all the new work done.
35512 2005-01-13 Mark Wielaard <mark@klomp.org>
35514 * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35516 2005-01-13 Mark Wielaard <mark@klomp.org>
35518 * java/util/regex/Pattern.java (Pattern): Chain REException.
35520 2006-01-13 Chris Burdess <dog@gnu.org>
35522 * gnu/xml/xpath/NameTest.java: Removed debugging output.
35524 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35526 * java/security/Security.java
35527 (getProperty): Added hack to skip security check when trusted
35528 code is direct caller.
35530 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35532 * java/io/PrintStream.java
35533 (line_separator, PrintStream(OutputStream,boolean)): Use
35536 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35538 * gnu/java/nio/charset/Provider.java: Added comment about its
35539 special relation with CharsetProvider.
35541 * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35542 its special relation with CharsetProvider.
35544 * java/nio/charset/spi/CharsetProvider.java
35545 (CharsetProvider): Add special case to skip security check for
35546 built in providers.
35548 2005-01-13 Mark Wielaard <mark@klomp.org>
35550 * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35551 name, accel, mnemonic and command are defined before setting.
35553 2005-01-12 Mark Wielaard <mark@klomp.org>
35555 * javax/swing/plaf/metal/MetalFileChooserUI.java
35556 (FileRenderer.getListCellRendererComponent): Set empty name and null
35557 icon when File is null.
35559 2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35561 * gnu/java/rmi/server/UnicastRef.java (newCall):
35562 Throw ConnectException after catching IOException.
35564 2006-01-12 Lillian Angel <langel@redhat.com>
35566 * javax/swing/text/DefaultStyledDocument.java
35567 (insertUpdate): Removed unneeded check.
35569 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35571 * javax/swing/text/DefaultStyledDocument.java:
35572 (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35573 and we haven't come immediately after a fracture, adjust the Element
35574 offsets. Added comment explaining the situation.
35575 (insert): Return early if no ElementSpecs passed in. Removed redundant
35576 call to insertUpdate. Fired the UndoableEditUpdate.
35578 2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
35581 * gnu/regexp/RE.java(initialize): Fixed the parsing of
35582 character classes within a subexpression.
35584 2006-12-12 Lillian Angel <langel@redhat.com>
35586 * javax/swing/text/DefaultStyledDocument.java
35587 (insertUpdate): Added check to check if attribute set is
35589 (insertUpdate): Added check to determine if last character
35590 is a newline. If it is, we should not be fracturing.
35591 (insert): Added check to determine if attribute set is empty.
35592 If it is, insertUpdate should not be called.
35594 2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
35596 * configure.ac: Check for isnan.
35598 * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35601 2006-01-12 Chris Burdess <dog@gnu.org>
35603 * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35604 1.1 character ranges.
35606 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35608 * javax/swing/TransferHandler.java:
35609 (TransferAction<init>): Call super constructor. Fixes Mauve regression
35610 gnu/testlet/javax/swing/JTextField/CopyPaste.
35612 2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
35614 * resource/Makefile.am: Install
35615 logging.properties into $(prefix)/lib.
35616 * resource/Makefile.am (securitydir): Changed to
35617 $(prefix)/lib/security.
35619 2006-01-12 Roman Kennke <kennke@aicas.com>
35621 * javax/swing/JTextField.java
35622 (createDefaultModel): Moved installation of the filterNewlines
35623 property to setDocument().
35624 (setDocument): New method. Installs the filterNewlines property
35627 2006-01-12 Chris Burdess <dog@gnu.org>
35629 * gnu/xml/dom/DomNode.java,
35630 gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35632 * gnu/xml/xpath/NameTest.java,
35633 gnu/xml/xpath/NamespaceTest.java,
35634 gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35636 * gnu/xml/transform/MessageNode.java: Use standard logging system
35637 for outputting messages.
35639 2006-01-12 Tom Tromey <tromey@redhat.com>
35641 * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35642 (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35643 (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35644 (static initializer): Removed cache code.
35645 (checkCacheFor, addToCache): Removed.
35646 (getAllByName): Removed cache code.
35647 (lookup_time): Removed.
35648 (InetAddress): Updated.
35650 2006-01-12 Chris Burdess <dog@gnu.org>
35652 * gnu/xml/dom/DomDocument.java,
35653 gnu/xml/dom/DomElement.java,
35654 gnu/xml/dom/DomNode.java,
35655 gnu/xml/stream/XMLParser.java,
35656 gnu/xml/transform/Bindings.java,
35657 gnu/xml/transform/ElementAvailableFunction.java,
35658 gnu/xml/transform/ElementNode.java,
35659 gnu/xml/transform/FunctionAvailableFunction.java,
35660 gnu/xml/transform/NamespaceProxy.java,
35661 gnu/xml/transform/StreamSerializer.java,
35662 gnu/xml/transform/Stylesheet.java,
35663 gnu/xml/transform/TransformerImpl.java,
35664 gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35665 document and element nodes; correct coalescing semantics when parsing;
35666 attribute-sets can only refer to top-level variables and parameters;
35667 fix namespace retrieval during element-available and
35668 function-available functions; implement xsl:fallback for extension
35669 elements; tokenize whitespace correctly during whitespace stripping;
35670 correct following and previous node axes selectors.
35672 2006-01-12 Roman Kennke <kennke@aicas.com>
35674 * java/util/Hashtable.java
35675 (KeyEnumerator.nextElement): Added null check to avoid NPE.
35676 (ValueEnumerator.nextElement): Added null check to avoid NPE.
35678 2006-01-12 Lillian Angel <langel@redhat.com>
35680 * javax/swing/text/GapContent.java
35681 (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35683 2006-01-12 Mark Wielaard <mark@klomp.org>
35685 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35686 Throw UnknowHostException when name could not be resolved.
35688 2006-01-12 Jeroen Frijters <jeroen@frijters.net>
35690 * java/net/URL.java
35691 (static, getURLStreamHandler): Use SystemProperties.
35693 2006-01-12 Mark Wielaard <mark@klomp.org>
35695 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35696 Use packet.getLength().
35697 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35698 (nativeReceive): Check whether the receiver wants zero bytes.
35700 2006-01-12 Mark Wielaard <mark@klomp.org>
35702 * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35703 other side orderly closed connection.
35704 * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35705 (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35706 when end of stream reached.
35708 2006-01-12 Mark Wielaard <mark@klomp.org>
35710 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35712 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35713 * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35714 * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35715 * native/jni/java-net/javanet.c: Likewise.
35717 2006-01-12 Mark Wielaard <mark@klomp.org>
35719 * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35720 PR classpath/23863.
35722 2006-01-11 Chris Burdess <dog@gnu.org>
35724 * gnu/xml/transform/AttributeNode.java,
35725 gnu/xml/transform/ElementNode.java,
35726 gnu/xml/transform/LiteralNode.java,
35727 gnu/xml/transform/StreamSerializer.java,
35728 gnu/xml/transform/StrippingInstruction.java,
35729 gnu/xml/transform/Stylesheet.java,
35730 gnu/xml/transform/TransformerImpl.java,
35731 gnu/xml/transform/ValueOfNode.java,
35732 gnu/xml/xpath/Expr.java,
35733 gnu/xml/xpath/LocalNameFunction.java,
35734 gnu/xml/xpath/NameFunction.java,
35735 gnu/xml/xpath/NameTest.java,
35736 gnu/xml/xpath/NamespaceUriFunction.java,
35737 gnu/xml/xpath/NodeTypeTest.java,
35738 gnu/xml/xpath/SubstringFunction.java,
35739 javax/xml/namespace/QName.java: don't determine element namespace
35740 from namespace aliases when specified; better namespace handling
35741 when serializing elements; don't create HTML meta element unless
35742 head element exists; correct encoding of CDATA sections containing
35743 ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35744 default encoding for HTML output; rewrite of XSLT
35745 strip-space/preserve-space handling; correct doctype-public and
35746 doctype-system output attributes; insert generated doctype before
35747 document element; fixed result tree whitespace stripping
35748 algorithm; fixed semantics of XPath name, local-name, and
35749 namespace-uri functions; name tests handle XML/XMLNS namespaces
35750 correctly; fixed semantics of processing-instruction node test.
35751 * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35754 2006-01-11 Lillian Angel <langel@redhat.com>
35756 * javax/swing/text/DefaultStyledDocument.java
35757 (insertFracture): Added calls to addEdit for each time a structure
35758 is changed. addEdit is called on the newBranch, previous, and parent
35761 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35763 * javax/swing/text/DefaultStyledDocument.java:
35764 (ElementBuffer.insertContentTag): Don't adjust the structure here.
35765 This will have been taken care of in insertFracture. Added a comment
35766 explaining that we need to add edits to the DocumentEvent and that
35767 this may be the place to do it.
35769 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35771 * javax/swing/text/DefaultStyledDocument.java:
35772 (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35773 tag is an end tag. Avoid NPE by pushing the proper Element on to the
35774 elementStack when there is a start tag with JoinNextDirection.
35776 2006-01-11 Roman Kennke <kennke@aicas.com>
35778 Reported by: Fridjof Siebert <siebert@aicas.com>
35779 * java/util/Hashtable.java
35780 (KEYS): Removed unneeded field.
35781 (VALUES): Removed unneeded field.
35782 (ENTRIES): Removed unneeded field.
35783 (keys): Return a KeyEnumerator instance.
35784 (elements): Returns a ValueEnumerator instance.
35785 (toString): Use an EntryIterator instance.
35786 (keySet): Return a KeyIterator instance.
35787 (values): Return a ValueIterator instance.
35788 (entrySet): Return an EntryIterator instance.
35789 (hashCode): Use EntryIterator instance.
35790 (rehash): Changed this loop to avoid redundant reads and make
35791 it obvious that null checking is not needed.
35792 (writeObject): Use EntryIterator instance.
35793 (HashIterator): Removed class.
35794 (Enumerator): Removed class.
35795 (EntryIterator): New class.
35796 (KeyIterator): New class.
35797 (ValueIterator): New class.
35798 (EntryEnumerator): New class.
35799 (KeyEnumerator): New class.
35800 (ValueEnumerator): New class.
35802 2006-01-11 Lillian Angel <langel@redhat.com>
35804 * javax/swing/text/DefaultStyledDocument.java
35805 (toString): Shouldn't append the '>' character here.
35806 (createDefaultRoot): Should not set the resolve parent. This
35807 causes problems when comparing attribute sets.
35809 2006-01-10 Anthony Balkissoon <abalkiss@redhat.com>
35811 * javax/swing/text/DefaultStyledDocument.java:
35812 (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35814 (ElementBuffer.insertFracture): New method.
35815 (ElementBuffer.insertContentTag): Removed unnecessary case for
35816 JoinFractureDirection - this only applies to start tags, not content
35818 (insertUpdate): Corrected conditions for setting direction to
35821 2006-01-10 Roman Kennke <kennke@aicas.com>
35823 * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
35824 * ChangeLog-2005: New File.
35826 2006-01-10 Roman Kennke <kennke@aicas.com>
35828 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
35829 (get): Release the array with the correct pointer.
35830 (put): Release the array with the correct pointer. Copy the array
35831 around _before_ releasing it.
35833 2006-01-10 Roman Kennke <kennke@aicas.com>
35835 * javax/swing/ViewportLayout.java
35836 (layoutContainer): Fixed condition, to avoid ClasscastException.
35838 2006-01-10 Roman Kennke <kennke@aicas.com>
35840 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35841 (MouseHandler.mousePressed): Fixed indendation.
35842 (MouseHandler.mouseDragged): Fixed indendation.
35844 2006-01-10 Roman Kennke <kennke@aicas.com>
35846 * javax/swing/plaf/basic/BasicLookAndFeel.java
35847 (playSound): Added @since 1.4 to the API docs.
35849 2006-01-10 Roman Kennke <kennke@aicas.com>
35851 * javax/swing/plaf/basic/BasicListUI.java
35852 (maybeUpdateLayoutState): Also update the layout state, if the
35853 list has been invalidated since the last update.
35855 2006-01-10 Roman Kennke <kennke@aicas.com>
35857 * javax/swing/plaf/ComponentUI.java
35858 (update): Fixed indendation.
35860 2006-01-10 Roman Kennke <kennke@aicas.com>
35862 * javax/swing/ViewportLayout.java
35863 (layoutContainer): Fixed condition, so that Scrollable components
35864 are always forced to have to Viewport size, when they
35865 return true for getScrollableTracksViewportHeight() and ..Width().
35867 2006-01-10 Roman Kennke <kennke@aicas.com>
35869 * javax/swing/RepaintManager.java
35870 (validateInvalidComponents): Fixed condition to avoid NPE.
35872 2006-01-10 Roman Kennke <kennke@aicas.com>
35874 * javax/swing/JViewport.java:
35875 (static_initializer): Removed unused variable myScrollMode.
35877 2006-01-10 Roman Kennke <kennke@aicas.com>
35879 * javax/swing/JTabbedPane.java:
35880 Cleared API docs a little.
35882 2006-01-10 Roman Kennke <kennke@aicas.com>
35884 * java/util/StringTokenizer.java
35885 (StringTokenizer(String, String, boolean)):
35886 Don't trigger NPE here for conformance with the spec.
35888 2006-01-10 Roman Kennke <kennke@aicas.com>
35890 * java/util/ArrayList.java
35891 (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
35893 2006-01-10 Roman Kennke <kennke@aicas.com>
35895 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
35896 (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
35897 field to avoid NPE.
35899 2006-01-10 Roman Kennke <kennke@aicas.com>
35901 * native/jni/java-net/javanet.c
35902 (_javanet_shutdownOutput): Replaced strerror() with
35903 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35904 (_javanet_shutdownInput): Replaced strerror() with
35905 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35907 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35909 * java/beans/EventSetDescriptor.java: Reformatted and
35912 2006-01-10 Roman Kennke <kennke@aicas.com>
35914 * java/lang/SecurityManager.java
35915 Fully qualified AWT class references in API docs.
35917 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35919 * java/beans/EventSetDescriptor.java:
35920 (getGetListenerMethod): New method.
35922 2006-01-10 Mark Wielaard <mark@klomp.org>
35924 * lib/Makefile.am (GCJX): Add -g to get linenumber info.
35926 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35929 * java/util/Hashtable.java
35930 (contains): Call equals on existing value.
35931 (containsKey, get, put, remove): Call equals on existing key.
35932 (getEntry): Call equals on existing entry.
35934 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35937 * java/util/AbstractMap.java
35938 (equals(Object,Object)): Test for identity first.
35939 * java/util/WeakHashMap.java
35940 (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
35941 (WeakBucket.WeakEntry.toString): Fixed string representation of
35943 (internalGet): Use helper method to determine equality.
35945 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35947 * java/beans/EventSetDescriptor.java: Implemented the two 1.4
35950 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35952 * javax/swing/text/PlainDocument.java:
35953 (insertUpdate): Handle special case of an insertion immediately
35954 following a newline character.
35956 2006-01-09 Roman Kennke <kennke@aicas.com>
35958 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
35959 (connect): Added stream parameter to _connect() call.
35960 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35961 (connect): Added stream parameter to _connect() call.
35962 * native/jni/java-net/javanet.c
35963 (_javanet_create_localfd): Added stream parameter. Look up
35964 fd field based on the stream parameter either in SocketImpl or
35965 in DatagramSocketImpl.
35966 (_javanet_connect): Added stream parameter. Call create_localfd
35967 using this stream parameter. Set localPort field either in
35968 SocketImpl or in DatagramSocketImpl, depending on the stream
35970 * native/jni/java-net/javanet.c
35971 (_javanet_connect): Added stream parameter.
35973 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35975 * javax.management.Attribute.java: Grammar and
35978 2006-01-09 Mark Wielaard <mark@klomp.org>
35980 * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
35981 exception when channel is not readable or writable.
35982 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
35983 (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
35984 there is enough space to mmap().
35986 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35988 * java/beans/Introspector.java:
35989 (getBeanInfo(Class, int)): New method.
35990 (getBeanInfo(Class, Class): Moved common code in a new method.
35991 (merge): New method.
35993 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35995 * java/beans/XMLEncoder.java: Fix spelling mistakes.
35997 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35999 * javax/swing/text/DefaultStyledDocument.java:
36000 (insertUpdate): Removed call to checkForInsertAfterNewline and instead
36001 inlined this method because it needs to change the value of the
36002 finalStartTag and finalStartDirection variables.
36003 (checkForInsertAfterNewline): Removed this method.
36004 (handleInsertAfterNewline): Added case for making the start tag's
36005 direction JoinNextDirection.
36007 2006-01-09 Lillian Angel <langel@redhat.com>
36009 * javax/swing/plaf/basic/BasicTreeUI.java:
36011 (setRowHeight): Row height is set to the max height of
36012 all the nodes, or 20 as a default value.
36013 (getPathBounds): Cleaned up code.
36014 (getMaxHeight): New helper function that gets the max
36015 height of all the rows.
36016 (getClosestPathForLocation): Fixed to use getMaxHeight.
36017 (updateCachedPreferredSize): Likewise.
36018 (installUI): Shouldn't expand tree on startup.
36019 (getNodeDimensions): Fixed to use getMaxHeight.
36021 2006-01-09 Mark Wielaard <mark@klomp.org>
36023 * javax/swing/JList.java (setSelectedIndex): Clear selection when
36024 argument is negative.
36026 2006-01-08 Mark Wielaard <mark@klomp.org>
36028 * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
36030 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36032 * javax.management.Attribute.java: New file.
36034 2006-01-09 Roman Kennke <kennke@aicas.com>
36036 * java/net/DatagramSocketImpl.java
36037 (localPort): Renamed to localport for correct access from native
36040 2006-01-09 Roman Kennke <kennke@aicas.com>
36042 * javax/swing/Popup.java
36043 (LightweightPopup.hide): Repaint the layered pane when popup is
36046 2006-01-09 Roman Kennke <kennke@aicas.com>
36048 * java/awt/Container.java
36049 (remove): Don't repaint the container here.
36051 2006-01-08 Tom Tromey <tromey@redhat.com>
36053 * java/lang/InheritableThreadLocal.java: Organized imports.
36055 2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org>
36058 * gnu/regexp/RETokenRepeated.java(match): Optimized the case
36059 when an empty string matched an empty token.
36061 2006-01-08 Chris Burdess <dog@gnu.org>
36063 * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
36064 content models from external entities.
36065 * gnu/xml/stream/UnicodeReader.java: Report error instead of
36066 attempting to continue with unpaired surrogates.
36067 * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
36068 resolving entities with character entity references; better
36069 checking of valid character ranges; don't report an error for URI
36070 fragments in notation declarations; check unbound namespace
36071 prefixes for elements and attributes, including XML 1.1 unbinding
36072 syntax; namespace-aware checking of attribute duplicates.
36074 2006-01-08 Robert Schuster <robertschuster@fsfe.org>
36076 * java/beans/Statement.java: Doc fixes.
36077 (doExecute): Workaround for Class.forName call.
36078 (toString): Made output look more like on the JDK.
36079 * java/beans/Expression.java: Doc fixes.
36080 (toString): Made output look more like on the JDK.
36081 * java/beans/PersistenceDelegate.java,
36082 java/beans/DefaultPersistenceDelegate.java,
36083 java/beans/Encoder.java,
36084 java/beans/XMLEncoder.java: New file.
36085 * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
36086 gnu/java/beans/encoder/ClassPersistenceDelegate.java,
36087 gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
36088 gnu/java/beans/encoder/Context.java,
36089 gnu/java/beans/encoder/GenericScannerState.java,
36090 gnu/java/beans/encoder/IgnoringScannerState.java,
36091 gnu/java/beans/encoder/MapPersistenceDelegate.java,
36092 gnu/java/beans/encoder/ObjectId.java,
36093 gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
36094 gnu/java/beans/encoder/ReportingScannerState.java,
36095 gnu/java/beans/encoder/Root.java,
36096 gnu/java/beans/encoder/ScanEngine.java,
36097 gnu/java/beans/encoder/ScannerState.java,
36098 gnu/java/beans/encoder/StAXWriter.java,
36099 gnu/java/beans/encoder/Writer.java: New file.
36100 * gnu/java/beans/encoder/elements/Array_Get.java,
36101 gnu/java/beans/encoder/elements/Element.java,
36102 gnu/java/beans/encoder/elements/List_Set.java,
36103 gnu/java/beans/encoder/elements/Array_Set.java,
36104 gnu/java/beans/encoder/elements/NullObject.java,
36105 gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
36106 gnu/java/beans/encoder/elements/StaticFieldAccess.java,
36107 gnu/java/beans/encoder/elements/StringReference.java,
36108 gnu/java/beans/encoder/elements/ClassResolution.java,
36109 gnu/java/beans/encoder/elements/ArrayInstantiation.java,
36110 gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
36111 gnu/java/beans/encoder/elements/ObjectReference.java,
36112 gnu/java/beans/encoder/elements/ObjectInstantiation.java,
36113 gnu/java/beans/encoder/elements/List_Get.java,
36114 gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
36116 2006-01-08 Chris Burdess <dog@gnu.org>
36118 * java/lang/Character.java (toChars,toCodePoint): Correct these
36119 methods to use algorithms from Unicode specification.
36121 2006-01-08 Mark Wielaard <mark@klomp.org>
36123 * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
36125 2006-01-07 Paul Jenner <psj@harker.dyndns.org>
36128 * examples/Makefile.am: Corrected DESTDIR install paths.
36130 2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36132 * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non -
36133 ASCII character (line 46).
36135 2006-01-07 Roman Kennke <kennke@aicas.com>
36137 * javax/swing/text/TableView.java: New file.
36139 2006-01-07 Chris Burdess <dog@gnu.org>
36141 * gnu/xml/stream/BufferedReader.java: Removed commented out code.
36142 * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
36143 * gnu/xml/stream/XMLParser.java: Make additional StAX properties
36144 available; correct handling of unparsed entity references;
36145 absolutize all base URIs; remove commented out code.
36147 2006-01-07 Chris Burdess <dog@gnu.org>
36149 * gnu/xml/stream/SAXParser.java,
36150 gnu/xml/stream/XMLParser.java: Add SAX property to return base
36151 URI of the current event.
36153 2006-01-07 Chris Burdess <dog@gnu.org>
36155 * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
36158 2006-01-07 Chris Burdess <dog@gnu.org>
36160 * gnu/xml/stream/SAXParser.java,
36161 gnu/xml/stream/XIncludeFilter.java,
36162 gnu/xml/stream/XMLParser.java: Updated documentation.
36164 2006-01-07 Chris Burdess <dog@gnu.org>
36166 * AUTHORS: add self.
36168 2006-01-06 Casey Marshall <csm@gnu.org>
36170 * AUTHORS: add myself.
36172 2006-01-06 Casey Marshall <csm@gnu.org>
36175 * javax/crypto/CipherInputStream.java (logger): new constant.
36176 (cipher): make final.
36177 (outLength, inBuffer, inLength): removed.
36178 (isStream): make final.
36179 (VIRGIN, LIVING, DYING, DEAD, state): removed.
36181 (<init>): call `super,' not `this;' remove `inBuffer' and
36182 `outBuffer' initialization; init `eof;' add debug logging.
36183 (<init>): call `this' with a new null cipher.
36184 (available): fix javadoc to reflect the real semantics; if we
36185 don't have a buffer, call `nextBlock.'
36186 (close): synchronize.
36187 (read): synchronize; fix testing for buffered data.
36188 (read): synchronize; add `skip' semantics if first argument is
36189 `null;' decrypt stream cipher data only if there is any; fix tests
36191 (skip): stop using `available' to see how many data are buffered.
36192 (nextBlock): simplify to use cipher-allocated output buffers
36193 instead of internally allocated ones.
36195 2006-01-06 Tom Tromey <tromey@redhat.com>
36197 * java/lang/String.java (codePointCount): Fixed javadoc.
36199 2006-01-06 Tom Tromey <tromey@redhat.com>
36201 * java/lang/String.java (contains): Added @since.
36203 2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
36206 * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
36207 * gnu/regexp/RETokenRepeated.java(match): Break the loop
36208 when an empty string matched an empty token.
36210 2006-01-06 Jeroen Frijters <jeroen@frijters.net>
36213 * gnu/java/util/WeakIdentityHashMap.java: New file.
36214 * java/lang/InheritableThreadLocal.java
36215 (newChildThread): Modified to remove key indirection.
36216 * java/lang/Thread.java
36217 (locals): Changed type to WeakIdentityHashMap.
36218 (getThreadLocals): Instantiate WeakIdentityHashMap instead of
36220 * java/lang/ThreadLocal.java
36221 (key, Key): Removed.
36222 (get, set): Changed to use "this" instead of "key".
36224 2006-01-06 Dalibor Topic <robilad@kaffe.org>
36226 * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
36228 * native/fdlibm/java-assert.h: Removed file.
36230 * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
36231 Replaced use of JvAssert by assert.
36233 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
36235 * javax/swing/text/DefaultCaret.java:
36236 (setDot): Fixed paramater to Math.max to be this.dot and not the
36239 2006-01-05 Roman Kennke <kennke@aicas.com>
36241 * javax/swing/plaf/basic/BasicListUI.java
36242 (getCellHeight): New helper method.
36243 (getCellBounds): Use new helper method for determining the cell
36245 (paint): Don't call list.indexToLocation() but instead call
36246 directly into the same UI method.
36247 (locationToIndex): Fixed calculation of # visible rows and handling
36249 (indexToLocation): Fixed calculation of # visible rows and handling
36252 2006-01-05 Roman Kennke <kennke@aicas.com>
36254 * javax/swing/plaf/metal/MetalFileChooserUI.java
36255 (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
36256 in the file chooser.
36258 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
36260 * javax/swing/JTextPane.java:
36261 (replaceSelection): If the document is an AbstractDocument, use replace
36262 rather than remove and insert.
36263 * javax/swing/event/EventListenerList.java:
36264 (getListeners): Reversed the order of the listeners to match the
36265 reference implementation.
36266 * javax/swing/text/AbstractDocument.java:
36267 (insertString): Add the UndoableEdit from the content.insertString call
36268 to the DocumentEvent.
36269 (DefaultDocumentEvent.toString): Implemented.
36270 * javax/swing/text/DefaultCaret.java:
36271 (setDot): Make sure dot is > 0 and less than the length of the
36273 * javax/swing/text/DefaultStyledDocument.java:
36274 (ElementBuffer.insertUpdate): Set the modified tag of the document
36275 event when we get start and end tags. This ensures that we create the
36276 proper BranchElements in endEdit().
36277 (ElementBuffer.insertUpdate): Added FIXME to handle
36278 JoinFractureDirection case.
36279 (insertUpdate): Added code to check if we're inserting immediately
36280 after a newline and to handle this case (create start and end tags).
36281 Only change the direction of the first and last tags if they are of
36283 (checkForInsertAfterNewline): New helper method.
36284 (handleInsertAfterNewline): Likewise.
36285 * javax/swing/text/View.java:
36286 (updateLayout): Avoid NPE by checking if shape is null. Repaint
36289 2006-01-05 Mark Wielaard <mark@klomp.org>
36291 * newsitems.txt: Add fosdem meeting.
36292 * events/events.wml: Likewise.
36293 * events/fosdem06.wml: New file.
36295 2006-01-05 Lillian Angel <langel@redhat.com>
36297 * javax/swing/text/GapContent.java
36298 (createPosition): No positions should be created inside the
36299 gap. Fixed check to ensure this does not happen.
36301 2006-01-05 Roman Kennke <kennke@aicas.com>
36303 * javax/swing/RepaintManager.java
36304 (validateInvalidComponents): Search for the validate root
36305 and start validating there.
36307 2006-01-05 Roman Kennke <kennke@aicas.com>
36309 * javax/swing/plaf/basic/BasicListUI.java
36310 (ComponentHandler): Removed unneeded class.
36311 (ListDataHandler.contentsChanged): Revalidate instead of calling
36313 (ListDataHandler.intervalAdded): Revalidate instead of calling
36315 (ListDataHandler.intervalRemoved): Revalidate instead of calling
36317 (PropertyChangeHandler.propertyChange): Or flags together instead
36318 of adding them. Don't call damageLayout().
36319 (componentListener): Removed unnecessary field.
36320 (damageLayout): Removed unnecessary method.
36321 (installListeners): Don't install unnecessary listeners.
36322 (uninstallListeners): Dito.
36323 (getPreferredSize): Don't ask for the real list height and
36324 calculate with the previously calculated list height.
36325 (locationToIndex): Renamed list parameter to l so that it doesn't
36326 shadow the field with the same name.
36327 (indexToLocation): Renamed list parameter to l so that it doesn't
36328 shadow the field with the same name.
36330 2006-01-04 Tom Tromey <tromey@redhat.com>
36332 * include/.cvsignore: Ignore config-int.h.
36334 2006-01-04 Roman Kennke <kennke@aicas.com>
36336 * javax/swing/plaf/basic/BasicListUI.java
36337 (getPreferredSize): Rewritten to match the specs.
36339 2006-01-04 Roman Kennke <kennke@aicas.com>
36341 * javax/swing/JFileChooser.java
36342 (showOpenDialog): Set fixed width on the dialog.
36343 (showSaveDialog): Set fixed width on the dialog.
36344 (showDialog): Set fixed width on the dialog.
36346 2006-01-04 Roman Kennke <kennke@aicas.com>
36348 * javax/swing/plaf/basic/BasicListUI.java
36349 (locationToIndex): Added FIXME about getVisibleRowCount() usage.
36350 Adjusted iteration to not use visibleRowCount and instead iterate
36351 over the real number of elements in cellHeights.
36352 (indexToLocation): Added FIXME about getVisibleRowCount() usage.
36353 Adjusted iteration to not use visibleRowCount and instead iterate
36354 over the real number of elements in cellHeights.
36356 2006-01-04 Roman Kennke <kennke@aicas.com>
36358 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
36359 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36360 Added __attribute__((__unused__)) macros to avoid gcc warnings.
36362 2006-01-04 Roman Kennke <kennke@aicas.com>
36364 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
36365 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
36367 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
36368 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36370 * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
36372 * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
36373 * native/jni/java-net/Makefile.am: Adjusted for new source files.
36374 * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
36375 * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
36376 * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
36377 * include/gnu_java_net_PlainSocketImpl.h: Removed.
36378 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
36379 * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
36381 2006-01-04 Lillian Angel <langel@redhat.com>
36383 * javax/swing/plaf/metal/MetalFileChooserUI.java
36384 (propertyChange): Fixed to change the combo box label
36385 appropriately. Also, fixed to set the textfield's text
36387 (editFile): Fixed size of editing field.
36388 (installComponents): Correctly aligned all panels.
36389 (installStrings): Fixed to set the label's text
36390 appropriately depending on the dialog type.
36392 2006-01-04 Lillian Angel <langel@redhat.com>
36396 * javax/swing/JTree.java
36397 (JTree): Because some L&F defaults have been updated,
36398 the selectionMode for the tree needed to be set to SINGLE.
36399 * javax/swing/plaf/basic/BasicFileChooserUI.java:
36400 Initialized accessoryPanel.
36401 * javax/swing/plaf/metal/MetalFileChooserUI.java
36402 (installComponents): Added accessoryPanel to the filechooser.
36404 2006-01-04 Dalibor Topic <robilad@kaffe.org>
36406 * configure.ac: Added AX_CREATE_STDINT_H
36408 * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
36410 * m4/ax_create_stdint_h.m4: New file.
36412 * native/fdlibm/mprec.h: Include config-int.h. Removed C99
36413 typedefs. Removed stdint.h and inttypes.h includes.
36415 2006-01-03 Mark Wielaard <mark@klomp.org>
36417 * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
36418 register keyboard action when accelerator is not null.
36419 * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
36420 re-register accelerator if not null.
36421 (installKeyboardActions): Only put accelerator in map when not null.
36423 2006-01-04 Lillian Angel <langel@redhat.com>
36425 * javax/swing/plaf/basic/BasicLookAndFeel.java
36426 (initComponentDefaults): Removed unneeded default.
36427 * javax/swing/plaf/metal/MetalLookAndFeel.java
36428 (initComponentDefaults): Added and fixed several defaults.
36430 2006-01-04 Roman Kennke <kennke@aicas.com>
36432 * javax/swing/plaf/basic/BasicHTML.java: New class.
36434 2006-01-03 Tom Tromey <tromey@redhat.com>
36436 * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
36437 * java/io/InputStreamReader.java (InputStreamReader): Added @since.
36439 2006-01-03 Mark Wielaard <mark@klomp.org>
36441 * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
36443 2006-01-03 Mark Wielaard <mark@klomp.org>
36445 * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36446 Always call createDefaultTheme().
36447 (createDefaultTheme): Check whether theme is still null.
36449 2006-01-03 Mark Wielaard <mark@klomp.org>
36451 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36452 Color.WHITE if null.
36454 2006-01-03 Lillian Angel <langel@redhat.com>
36456 * javax/swing/plaf/metal/MetalLookAndFeel.java
36457 (getDescription): Fixed to return the correct string.
36459 (getName): Likewise.
36460 (getDefaults): Added check to avoid NPE.
36461 (getAcceleratorForeground): Likewise.
36462 (getAcceleratorSelectedForeground): Likewise.
36463 (getBlack): Likewise.
36464 (getControl): Likewise.
36465 (getControlDarkShadow): Likewise.
36466 (getControlDisabled): Likewise.
36467 (getControlHighlight): Likewise.
36468 (getControlInfo): Likewise.
36469 (getControlShadow): Likewise.
36470 (getControlTextColor): Likewise.
36471 (getControlTextFont): Likewise.
36472 (getDesktopColor): Likewise.
36473 (getFocusColor): Likewise.
36474 (getHighlightedTextColor): Likewise.
36475 (getInactiveControlTextColor): Likewise.
36476 (getInactiveSystemTextColor): Likewise.
36477 (getMenuBackground): Likewise.
36478 (getMenuDisabledForeground): Likewise.
36479 (getMenuForeground): Likewise.
36480 (getMenuSelectedBackground): Likewise.
36481 (getMenuSelectedForeground): Likewise.
36482 (getMenuTextFont): Likewise.
36483 (getPrimaryControl): Likewise.
36484 (getPrimaryControlDarkShadow): Likewise.
36485 (getPrimaryControlHighlight): Likewise.
36486 (getPrimaryControlInfo): Likewise.
36487 (getPrimaryControlShadow): Likewise.
36488 (getSeparatorBackground): Likewise.
36489 (getSeparatorForeground): Likewise.
36490 (getSubTextFont): Likewise.
36491 (getSystemTextColor): Likewise.
36492 (getSystemTextFont): Likewise.
36493 (getTextHighlightColor): Likewise.
36494 (getUserTextColor): Likewise.
36495 (getUserTextFont): Likewise.
36496 (getWhite): Likewise.
36497 (getWindowBackground): Likewise.
36498 (getWindowTitleBackground): Likewise.
36499 (getWindowTitleFont): Likewise.
36500 (getWindowTitleForeground): Likewise.
36501 (getWindowTitleInactiveBackground): Likewise.
36502 (getWindowTitleInactiveForeground): Likewise.
36504 2006-01-03 Mark Wielaard <mark@klomp.org>
36506 * javax/swing/JTextArea.java
36507 (JTextArea(Document,text,int,int)): Only call setText() when text is
36510 2006-01-03 Lillian Angel <langel@redhat.com>
36512 * javax/swing/plaf/basic/BasicFileChooserUI.java
36513 (installStrings): Fixed installation of defaults that
36514 were changed in BasicLookAndFeel.
36515 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36516 (installDefaults): Fixed installation of defaults that
36517 were changed in BasicLookAndFeel.
36519 2006-01-03 Lillian Angel <langel@redhat.com>
36521 * javax/swing/plaf/basic/BasicLookAndFeel.java
36522 (initComponentDefaults): Fixed several defaults that differed
36525 2006-01-03 Lillian Angel <langel@redhat.com>
36527 * javax/swing/tree/DefaultTreeSelectionModel.java
36528 (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36530 2006-01-03 Lillian Angel <langel@redhat.com>
36532 * javax/swing/AbstractAction.java
36533 (AbstractAction): Fixed to pass in null. Should not be
36534 an empty string. Removed TODO comment.
36535 (AbstractAction): Removed TODO comment.
36536 * javax/swing/JList.java
36537 (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36538 * javax/swing/JMenuItem.java
36539 (JMenuItem): Set all defaults if the action passed in is not null.
36540 * javax/swing/JProgressBar.java
36541 (JProgressBar): Added check to prevent NPE.
36543 2006-01-03 Lillian Angel <langel@redhat.com>
36545 * javax/swing/plaf/basic/BasicListUI.java
36546 (getPreferredSize): The JDK adds some extra space to
36547 the list, so we should as well.
36548 * javax/swing/plaf/metal/MetalFileChooserUI.java
36549 (getPreferredSize): Should only take the fileListPanel's
36550 width into account when getting the size. Also, the buttonPanel's
36551 size should not be checked, since it is in the bottomPanel already.
36552 (getMinimumSize): Likewise.
36554 2006-01-03 Lillian Angel <langel@redhat.com>
36556 * javax/swing/JList.java
36557 (init): visibleRowCount should be 7, like the JDK.
36558 * javax/swing/plaf/metal/MetalFileChooserUI.java
36559 (installComponents): No need to add the fileFilterCombo
36560 to a panel. It can be added to the row directly.
36562 2006-01-03 Lillian Angel <langel@redhat.com>
36564 PR classpath/25480 PR classpath/25478
36565 * javax/swing/plaf/basic/BasicScrollPaneUI.java
36566 (updateViewport): Made changes suggested by
36568 * javax/swing/plaf/metal/MetalFileChooserUI.java:
36569 Removed unneeded import.
36570 (createList): Removed comment, JList wrapping
36572 (getPreferredSize): Made changes suggested by
36573 Chris Lansdown. Uses fileListPanel, instead
36575 (getMinimumSize): Uses fileListPanel, instead
36577 * javax/swing/plaf/metal/MetalRadioButtonUI.java
36578 (paintFocus): Fixed height.
36580 2006-01-03 Roman Kennke <kennke@aicas.com>
36582 * javax/swing/plaf/basic/BasicListUI.java
36583 (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36585 2006-01-03 Roman Kennke <kennke@aicas.com>
36587 * javax/swing/plaf/basic/BasicListUI.java
36588 (locationToIndex): Special case for when variable cell heights
36589 are possible. (cellHeights is used instead of cellHeight).
36590 (indexToLocation): Special case for when variable cell heights
36591 are possible. (cellHeights is used instead of cellHeight).
36593 2006-01-03 Roman Kennke <kennke@aicas.com>
36595 * javax/swing/text/DefaultStyledDocument.java
36596 (ElementBuffer.remove): New method.
36597 (ElementBuffer.removeUpdate): New method.
36598 (removeUpdate): New method.
36600 2006-01-03 Roman Kennke <kennke@aicas.com>
36603 (dist-hook): Preserve attributes of Java sources when copying to
36606 2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au>
36608 * AUTHORS: Added self.
36609 * java/security/Security.java (getProvider): Ensures provider's name is
36610 not null, not an empty string, and is trimmed before usage.
36612 2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36614 * gnu/CORBA/Poa/AOM.java (add):
36615 Changed parameter Object into gnuServantObject.
36616 (Obj.object): Changed type to gnuServantObject.
36617 (findObject): Rewritten.
36619 2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
36621 * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36622 buffering. Ability has gone in Qt-4.1.x.
36624 * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36625 to have the right include flags.
36627 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36629 * java/security/MessageDigest.java (getInstance(String,String)):
36630 Use trimmed copy of provider name.
36631 * gnu/java/security/Engine.java
36632 (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36633 service and algorithm names.
36635 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36637 * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36638 localhost is null or is an empty string. Trim hostname before